Update baselines to make declarationDir invalid alongside out or outFile

This commit is contained in:
Asad Saeeduddin
2016-02-23 15:12:06 -05:00
parent c8aedbf382
commit dea1372b9a
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
!!! error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
==== b.ts (0 errors) ====
export class B {
}
==== a.ts (0 errors) ====
import {B} from './subfolder/b';
export class A {
b: B;
}
==== subfolder/c.ts (0 errors) ====
import {A} from '../a';
export class C {
a: A;
}

View File

@@ -1,6 +1,8 @@
error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
!!! error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
==== b.ts (0 errors) ====
export class B {