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"