From 804e596fa7e4e233f4681464c85aacd83939b78f Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 9 Jul 2022 22:02:44 -0500 Subject: [PATCH] Fix doc generation --- src/main.ts | 5 +++++ tsconfig.json | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 8db628b..5b8cf9c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,6 +16,11 @@ declare global { vue: VueApp; projInfo: typeof projInfo; } + + /** Fix for typedoc treating import functions as taking AssertOptions instead of GlobOptions */ + interface AssertOptions { + as: string; + } } document.title = projInfo.title; diff --git a/tsconfig.json b/tsconfig.json index af329eb..96f5d91 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,8 @@ "sourceMap": true, "baseUrl": "src", "types": [ - "vite/client" + "vite/client", + "node" ], "lib": [ "esnext", @@ -29,9 +30,7 @@ "include": [ "src/**/*.ts", "src/**/*.tsx", - "src/**/*.vue", - "tests/**/*.ts", - "tests/**/*.tsx" + "src/**/*.vue" ], "exclude": [ "node_modules"