what connector type do I neeed for the enclosure
The connector type for the enclosure is probably M.2.
It remains to be seen if your drive uses the older SATA interface or the newer NVMe interface.
The best way to work out if you have a SATA drive or an NVMe drive is to carefully peel the silver foil heatsink off the M.2 drive and check the manufacturer's part number printed on the label.
When you have pulled the drive out of the laptop's M.2 socket, you can check the cutout (key) on the edge connector. These keys are intended to stop you from fitting the drive into an incompatible system.
https://en.wikipedia.org/wiki/M.2
If you buy a USB enclosure with an incompatible M.2 socket, you won't be able to install the drive.
Even if the drive fits the USB enclosure, you still need to check if the enclosure supports your drive's type, e.g. SATA or NVMe.
SATA is slowly being phased out and modern M.2 drives tend to be NVMe.
If your laptop is quite old, the drive might be SATA. If your laptop is quite new, the drive is probably NVMe.
A typical USB M.2 drive enclosure on Amazon:
https://www.amazon.com/UGREEN-Enclo...150&sprefix=nvme+enclosure+usb,aps,246&sr=8-4
When I'm upgrading laptops, I "clone" the orginal drive to a larger capacity drive using Macrium Reflect, then transfer the original drive into a USB enclosure as a backup. If the new drive stops working, I transfer the old drive back into the laptop. This does of course assume I haven't wiped Windows off the old drive in the mean time.