Using the shape tool there are 3 options, vector-filled shape, vector shape, and raster shape. the raster shape is the 3rd option on the right in the top left corner of the options. I think when you have this selected you will be able to turn on aliasing if it isn’t already on.
Thanks,
Andrew Kramer