Commit d18c5f1
committed
fix(hljs): import highlight.js types explicitly for v11
highlight.js v11 ships its type defs inside `declare module
'highlight.js'` instead of as global ambient types, so the v10-era
`/// <reference types="highlight.js" />` stopped exposing HLJSApi /
Language / Mode (TS2304). Replace it with an `import type`.
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>1 parent ee1b4fb commit d18c5f1
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
0 commit comments