Merge pull request #3233 from Microsoft/tsconfigBug
Fix issue in the parsing of tsConfig file and fix errors in a couple of test cases when we switched to isolatedModules from separateCompilation.
This commit is contained in:
commit
c3a9390935
5 changed files with 5 additions and 5 deletions
|
@ -893,7 +893,7 @@ module ts {
|
|||
return {
|
||||
options: configFile.options,
|
||||
files: configFile.fileNames,
|
||||
errors: [realizeDiagnostics(configFile.errors, '\r\n')]
|
||||
errors: realizeDiagnostics(configFile.errors, '\r\n')
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @module: system
|
||||
// @separateCompilation: true
|
||||
// @isolatedModules: true
|
||||
|
||||
// @filename: file1.ts
|
||||
declare class Promise { }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @module: system
|
||||
// @separateCompilation: true
|
||||
// @isolatedModules: true
|
||||
|
||||
declare function use(a: any);
|
||||
const enum TopLevelConstEnum { X }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @module: system
|
||||
// @separateCompilation: true
|
||||
// @isolatedModules: true
|
||||
|
||||
export function F() {}
|
||||
export module F { var x; }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @module: system
|
||||
// @separateCompilation: true
|
||||
// @isolatedModules: true
|
||||
|
||||
export class TopLevelClass {}
|
||||
export module TopLevelModule {var v;}
|
||||
|
|
Loading…
Reference in a new issue