From 2b50e1778b164e641c03c2e77176b6f47ca1e278 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 18 Mar 2023 15:47:05 +0900 Subject: refactor: add RawHTML type to represent text node not being escaped --- nuldoc-src/types/highlight-js.d.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuldoc-src/types') 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 }, -- cgit v1.2.3-70-g09d2