diff --git a/tools/package-tools/typings-reexport.ts b/tools/package-tools/typings-reexport.ts index 356f857d3f9..d271f5ab288 100644 --- a/tools/package-tools/typings-reexport.ts +++ b/tools/package-tools/typings-reexport.ts @@ -4,8 +4,7 @@ import {join} from 'path'; /** Create a typing file that links to the bundled definitions of NGC. */ export function createTypingsReexportFile(outDir: string, from: string, fileName: string) { - writeFileSync( - join(outDir, `${fileName}.d.ts`), - `${buildConfig.licenseBanner}\nexport * from '${from}'`, - 'utf-8'); + writeFileSync(join(outDir, `${fileName}.d.ts`), + `${buildConfig.licenseBanner}\nexport * from '${from}';\n`, + 'utf-8'); }