fix(aidocs): correct smartconfig file handling and tighten TypeScript typings

This commit is contained in:
2026-05-09 12:34:16 +00:00
parent 5eed13258a
commit abe7717eed
11 changed files with 1027 additions and 881 deletions
+2 -3
View File
@@ -14,7 +14,7 @@ export class TypeDoc {
// Instance
public typedocDirectory: string;
constructor(dirPathArg) {
constructor(dirPathArg: string) {
this.typedocDirectory = dirPathArg;
}
@@ -28,9 +28,8 @@ export class TypeDoc {
moduleResolution: 'NodeNext',
esModuleInterop: true,
verbatimModuleSyntax: true,
skipLibCheck: true,
},
include: [],
include: [] as string[],
};
let startDirectory = '';
if (await plugins.fsInstance.directory(plugins.path.join(paths.cwd, './ts')).exists()) {