You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This: `{ [K in keyof typeof HighlightSubject]?: string } `
- gives a type with UPPER CASE keys, but the default theme and how it's
resolved via `TOKEN_TYPE_TO_HIGHLIGHT` expects the values, i.e.
lower case
- string is wrong type as a `StyleFunction` is expected and then called
I.e. the types suggest this
`new SqlHighlighter({ RESERVED: 'red' })`
but this has no effect. To get it to work w/o this fix:
`new SqlHighlighter({ reserved: c.red.bold } as any)`
0 commit comments