Skip to content

Commit dea1372

Browse files
committed
Update baselines to make declarationDir invalid alongside out or outFile
1 parent c8aedbf commit dea1372

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
2+
3+
4+
!!! error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
5+
==== b.ts (0 errors) ====
6+
export class B {
7+
8+
}
9+
==== a.ts (0 errors) ====
10+
import {B} from './subfolder/b';
11+
export class A {
12+
b: B;
13+
}
14+
==== subfolder/c.ts (0 errors) ====
15+
import {A} from '../a';
16+
17+
export class C {
18+
a: A;
19+
}

tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
error TS5053: Option 'declarationDir' cannot be specified with option 'out'.
12
error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
23

34

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

0 commit comments

Comments
 (0)