diff --git a/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt b/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt new file mode 100644 index 00000000000..a152ace6f11 --- /dev/null +++ b/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt @@ -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; + } \ No newline at end of file diff --git a/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt b/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt index 362304ff31b..19e15ce8fef 100644 --- a/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt +++ b/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt @@ -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 {