accepted baselines

This commit is contained in:
Julian Williams
2015-10-24 13:43:11 -04:00
parent a0939d962b
commit 5613ba860f
3 changed files with 14 additions and 8 deletions

View File

@@ -1,8 +0,0 @@
tests/cases/compiler/typeAliasDeclareKeyword01.d.ts(1,1): error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.
==== tests/cases/compiler/typeAliasDeclareKeyword01.d.ts (1 errors) ====
type Foo = number;
~~~~
!!! error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.
declare type Bar = string;

View File

@@ -0,0 +1,7 @@
=== tests/cases/compiler/typeAliasDeclareKeyword01.d.ts ===
type Foo = number;
>Foo : Symbol(Foo, Decl(typeAliasDeclareKeyword01.d.ts, 0, 0))
declare type Bar = string;
>Bar : Symbol(Bar, Decl(typeAliasDeclareKeyword01.d.ts, 0, 18))

View File

@@ -0,0 +1,7 @@
=== tests/cases/compiler/typeAliasDeclareKeyword01.d.ts ===
type Foo = number;
>Foo : number
declare type Bar = string;
>Bar : string