Fix doc generation

This commit is contained in:
thepaperpilot 2022-07-09 22:02:44 -05:00
parent 439e10d7b1
commit 804e596fa7
2 changed files with 8 additions and 4 deletions

View file

@ -16,6 +16,11 @@ declare global {
vue: VueApp; vue: VueApp;
projInfo: typeof projInfo; projInfo: typeof projInfo;
} }
/** Fix for typedoc treating import functions as taking AssertOptions instead of GlobOptions */
interface AssertOptions {
as: string;
}
} }
document.title = projInfo.title; document.title = projInfo.title;

View file

@ -17,7 +17,8 @@
"sourceMap": true, "sourceMap": true,
"baseUrl": "src", "baseUrl": "src",
"types": [ "types": [
"vite/client" "vite/client",
"node"
], ],
"lib": [ "lib": [
"esnext", "esnext",
@ -29,9 +30,7 @@
"include": [ "include": [
"src/**/*.ts", "src/**/*.ts",
"src/**/*.tsx", "src/**/*.tsx",
"src/**/*.vue", "src/**/*.vue"
"tests/**/*.ts",
"tests/**/*.tsx"
], ],
"exclude": [ "exclude": [
"node_modules" "node_modules"