Template literals throwing typescript error in V2

Prior to v2 I used to construct my select off other variables like so:

.select(
        `
        ${PROPS},
        ${DATABASE}!${FOREIGN_KEY.parent} (
          ${PROPS}
        ),
        ${vendorService.DATABASE}!${FOREIGN_KEY.vendor} (${vendorService.PROPS})

Now that I am trying to migrate to v2 typescript is throwing an error like the image.

Is there anything I can do to fix that?
Screen_Shot_2022-10-25_at_8.42.19_PM.png
Was this page helpful?