From e79dc291cdf890ad113701fd8f3b1da715e729e5 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 27 Jul 2017 18:48:22 +0200 Subject: [PATCH] build: missing semicolon for typings re-exports (#6057) * Adds a missing semicolon to the typing re-export statements. --- tools/package-tools/typings-reexport.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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'); }