mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: missing semicolon for typings re-exports (#6057)
* Adds a missing semicolon to the typing re-export statements.
This commit is contained in:
committed by
Andrew Seguin
parent
8d19d4dfe8
commit
e79dc291cd
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user