fix(aidocs): correct smartconfig file handling and tighten TypeScript typings
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user