language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

bug(highlighting): Multi-line return type breaks inline sql highlighting for `queryRaw`

Open Druue opened this issue 3 years ago • 0 comments

Bug description

Bug report extracted from #1219

// This works
prisma.$queryRaw<{ id: number }[]>`
  SELECT id from machine
`

// This does not work
prisma.$queryRaw<{
  id: number
}[]>`
  SELECT id from machine
`

Druue avatar Dec 07 '22 14:12 Druue