diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-18 15:47:05 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-18 15:47:05 +0900 |
| commit | 2b50e1778b164e641c03c2e77176b6f47ca1e278 (patch) | |
| tree | 3fa48f5c5c3c2b9d8753ce82d438aa2523856660 /nuldoc-src/types/highlight-js.d.ts | |
| parent | 4ce1f674055ac1dd1c4864f366aac212f5643248 (diff) | |
| download | blog.nsfisis.dev-2b50e1778b164e641c03c2e77176b6f47ca1e278.tar.gz blog.nsfisis.dev-2b50e1778b164e641c03c2e77176b6f47ca1e278.tar.zst blog.nsfisis.dev-2b50e1778b164e641c03c2e77176b6f47ca1e278.zip | |
refactor: add RawHTML type to represent text node not being escaped
Diffstat (limited to 'nuldoc-src/types/highlight-js.d.ts')
| -rw-r--r-- | nuldoc-src/types/highlight-js.d.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuldoc-src/types/highlight-js.d.ts b/nuldoc-src/types/highlight-js.d.ts index 312cd06..d7bd0b5 100644 --- a/nuldoc-src/types/highlight-js.d.ts +++ b/nuldoc-src/types/highlight-js.d.ts @@ -1,4 +1,8 @@ declare module "highlight.js" { + function getLanguage( + name: string, + ): string | undefined; + function highlight( code: string, options: { language: string }, |
