From dea1372b9ae12e8b3a7c183e3abda97796af2f48 Mon Sep 17 00:00:00 2001 From: Asad Saeeduddin Date: Tue, 23 Feb 2016 15:12:06 -0500 Subject: [PATCH] Update baselines to make declarationDir invalid alongside out or outFile --- .../amd/declarationDir3.errors.txt | 19 +++++++++++++++++++ .../node/declarationDir3.errors.txt | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt 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 {