fix(core): update
This commit is contained in:
		@@ -20,15 +20,15 @@ export class TypeDoc {
 | 
			
		||||
 | 
			
		||||
  public async compile(options?: { publicSubdir?: string }) {
 | 
			
		||||
    const data = {
 | 
			
		||||
      "compilerOptions": {
 | 
			
		||||
        "experimentalDecorators": true,
 | 
			
		||||
        "useDefineForClassFields": false,
 | 
			
		||||
        "target": "ES2022",
 | 
			
		||||
        "module": "NodeNext",
 | 
			
		||||
        "moduleResolution": "NodeNext",
 | 
			
		||||
        "esModuleInterop": true,
 | 
			
		||||
        "verbatimModuleSyntax": true,
 | 
			
		||||
        "skipLibCheck": true,
 | 
			
		||||
      compilerOptions: {
 | 
			
		||||
        experimentalDecorators: true,
 | 
			
		||||
        useDefineForClassFields: false,
 | 
			
		||||
        target: 'ES2022',
 | 
			
		||||
        module: 'NodeNext',
 | 
			
		||||
        moduleResolution: 'NodeNext',
 | 
			
		||||
        esModuleInterop: true,
 | 
			
		||||
        verbatimModuleSyntax: true,
 | 
			
		||||
        skipLibCheck: true,
 | 
			
		||||
      },
 | 
			
		||||
      include: [],
 | 
			
		||||
    };
 | 
			
		||||
@@ -51,7 +51,7 @@ export class TypeDoc {
 | 
			
		||||
      targetDir = plugins.path.join(targetDir, options.publicSubdir);
 | 
			
		||||
    }
 | 
			
		||||
    await this.smartshellInstance.exec(
 | 
			
		||||
      `typedoc --tsconfig ${paths.tsconfigFile} --out ${targetDir} ${startDirectory}/index.ts`
 | 
			
		||||
      `typedoc --tsconfig ${paths.tsconfigFile} --out ${targetDir} ${startDirectory}/index.ts`,
 | 
			
		||||
    );
 | 
			
		||||
    plugins.smartfile.fs.remove(paths.tsconfigFile);
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user