mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
accept baseline changes
This commit is contained in:
@@ -723,7 +723,10 @@ declare module "typescript" {
|
||||
endOfFileToken: Node;
|
||||
fileName: string;
|
||||
text: string;
|
||||
amdDependencies: string[];
|
||||
amdDependencies: {
|
||||
path: string;
|
||||
name: string;
|
||||
}[];
|
||||
amdModuleName: string;
|
||||
referencedFiles: FileReference[];
|
||||
hasNoDefaultLib: boolean;
|
||||
|
||||
@@ -2195,9 +2195,16 @@ declare module "typescript" {
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
>SpreadElementExpression : SpreadElementExpression
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface ObjectLiteralExpression extends PrimaryExpression, Declaration {
|
||||
|
||||
|
||||
@@ -754,7 +754,10 @@ declare module "typescript" {
|
||||
endOfFileToken: Node;
|
||||
fileName: string;
|
||||
text: string;
|
||||
amdDependencies: string[];
|
||||
amdDependencies: {
|
||||
path: string;
|
||||
name: string;
|
||||
}[];
|
||||
amdModuleName: string;
|
||||
referencedFiles: FileReference[];
|
||||
hasNoDefaultLib: boolean;
|
||||
|
||||
@@ -2339,9 +2339,16 @@ declare module "typescript" {
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
>SpreadElementExpression : SpreadElementExpression
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface ObjectLiteralExpression extends PrimaryExpression, Declaration {
|
||||
|
||||
|
||||
@@ -755,7 +755,10 @@ declare module "typescript" {
|
||||
endOfFileToken: Node;
|
||||
fileName: string;
|
||||
text: string;
|
||||
amdDependencies: string[];
|
||||
amdDependencies: {
|
||||
path: string;
|
||||
name: string;
|
||||
}[];
|
||||
amdModuleName: string;
|
||||
referencedFiles: FileReference[];
|
||||
hasNoDefaultLib: boolean;
|
||||
|
||||
@@ -2291,9 +2291,16 @@ declare module "typescript" {
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
>SpreadElementExpression : SpreadElementExpression
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface ObjectLiteralExpression extends PrimaryExpression, Declaration {
|
||||
|
||||
|
||||
@@ -792,7 +792,10 @@ declare module "typescript" {
|
||||
endOfFileToken: Node;
|
||||
fileName: string;
|
||||
text: string;
|
||||
amdDependencies: string[];
|
||||
amdDependencies: {
|
||||
path: string;
|
||||
name: string;
|
||||
}[];
|
||||
amdModuleName: string;
|
||||
referencedFiles: FileReference[];
|
||||
hasNoDefaultLib: boolean;
|
||||
|
||||
@@ -2464,9 +2464,16 @@ declare module "typescript" {
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
interface SpreadElementExpression extends Expression {
|
||||
|
||||
>SpreadElementExpression : SpreadElementExpression
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
|
||||
interface ObjectLiteralExpression extends PrimaryExpression, Declaration {
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/amdDependencyCommentName1.ts(3,21): error TS2307: Cannot find external module 'm2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/amdDependencyCommentName1.ts (1 errors) ====
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
~~~~
|
||||
!!! error TS2307: Cannot find external module 'm2'.
|
||||
tests/cases/compiler/amdDependencyCommentName1.ts(3,21): error TS2307: Cannot find external module 'm2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/amdDependencyCommentName1.ts (1 errors) ====
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
~~~~
|
||||
!!! error TS2307: Cannot find external module 'm2'.
|
||||
m1.f();
|
||||
@@ -1,10 +1,10 @@
|
||||
//// [amdDependencyCommentName1.ts]
|
||||
//// [amdDependencyCommentName1.ts]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
m1.f();
|
||||
|
||||
//// [amdDependencyCommentName1.js]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
var m1 = require("m2");
|
||||
m1.f();
|
||||
m1.f();
|
||||
|
||||
//// [amdDependencyCommentName1.js]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
var m1 = require("m2");
|
||||
m1.f();
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/amdDependencyCommentName2.ts(3,21): error TS2307: Cannot find external module 'm2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/amdDependencyCommentName2.ts (1 errors) ====
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
~~~~
|
||||
!!! error TS2307: Cannot find external module 'm2'.
|
||||
tests/cases/compiler/amdDependencyCommentName2.ts(3,21): error TS2307: Cannot find external module 'm2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/amdDependencyCommentName2.ts (1 errors) ====
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
~~~~
|
||||
!!! error TS2307: Cannot find external module 'm2'.
|
||||
m1.f();
|
||||
@@ -1,11 +1,11 @@
|
||||
//// [amdDependencyCommentName2.ts]
|
||||
//// [amdDependencyCommentName2.ts]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
m1.f();
|
||||
|
||||
//// [amdDependencyCommentName2.js]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
define(["require", "exports", "m2", "bar"], function (require, exports, m1, b) {
|
||||
m1.f();
|
||||
});
|
||||
m1.f();
|
||||
|
||||
//// [amdDependencyCommentName2.js]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
define(["require", "exports", "m2", "bar"], function (require, exports, m1, b) {
|
||||
m1.f();
|
||||
});
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
tests/cases/compiler/amdDependencyCommentName3.ts(5,21): error TS2307: Cannot find external module 'm2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/amdDependencyCommentName3.ts (1 errors) ====
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
///<amd-dependency path='foo'/>
|
||||
///<amd-dependency path='goo' name='c'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
~~~~
|
||||
!!! error TS2307: Cannot find external module 'm2'.
|
||||
tests/cases/compiler/amdDependencyCommentName3.ts(5,21): error TS2307: Cannot find external module 'm2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/amdDependencyCommentName3.ts (1 errors) ====
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
///<amd-dependency path='foo'/>
|
||||
///<amd-dependency path='goo' name='c'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
~~~~
|
||||
!!! error TS2307: Cannot find external module 'm2'.
|
||||
m1.f();
|
||||
@@ -1,15 +1,15 @@
|
||||
//// [amdDependencyCommentName3.ts]
|
||||
//// [amdDependencyCommentName3.ts]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
///<amd-dependency path='foo'/>
|
||||
///<amd-dependency path='goo' name='c'/>
|
||||
|
||||
import m1 = require("m2")
|
||||
m1.f();
|
||||
|
||||
//// [amdDependencyCommentName3.js]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
///<amd-dependency path='foo'/>
|
||||
///<amd-dependency path='goo' name='c'/>
|
||||
define(["require", "exports", "m2", "bar", "goo", "foo"], function (require, exports, m1, b, c) {
|
||||
m1.f();
|
||||
});
|
||||
m1.f();
|
||||
|
||||
//// [amdDependencyCommentName3.js]
|
||||
///<amd-dependency path='bar' name='b'/>
|
||||
///<amd-dependency path='foo'/>
|
||||
///<amd-dependency path='goo' name='c'/>
|
||||
define(["require", "exports", "m2", "bar", "goo", "foo"], function (require, exports, m1, b, c) {
|
||||
m1.f();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user