aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/types
diff options
context:
space:
mode:
Diffstat (limited to 'nuldoc-src/types')
-rw-r--r--nuldoc-src/types/highlight-js.d.ts4
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 },