mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Accept new baselines
This commit is contained in:
parent
55034d8e10
commit
ed003b93f4
@ -25,6 +25,6 @@ for (const c5 = 0, c6 = 0; c5 < c6;) {
|
||||
|
||||
|
||||
//// [constDeclarations.d.ts]
|
||||
declare const c1: false;
|
||||
declare const c1: boolean;
|
||||
declare const c2: number;
|
||||
declare const c3: 0, c4: string, c5: any;
|
||||
declare const c3: number, c4: string, c5: any;
|
||||
|
||||
@ -20,7 +20,7 @@ var M;
|
||||
|
||||
//// [constDeclarations2.d.ts]
|
||||
declare module M {
|
||||
const c1: false;
|
||||
const c1: boolean;
|
||||
const c2: number;
|
||||
const c3: 0, c4: string, c5: any;
|
||||
const c3: number, c4: string, c5: any;
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ var Foo = (function () {
|
||||
|
||||
|
||||
//// [declarationEmitClassMemberNameConflict2.d.ts]
|
||||
declare const Bar: "bar";
|
||||
declare const Bar: string;
|
||||
declare enum Hello {
|
||||
World = 0,
|
||||
}
|
||||
|
||||
@ -17,5 +17,5 @@ exports.foo = foo;
|
||||
|
||||
|
||||
//// [shorthandOfExportedEntity01_targetES2015_CommonJS.d.ts]
|
||||
export declare const test: "test";
|
||||
export declare const test: string;
|
||||
export declare function foo(): void;
|
||||
|
||||
@ -17,5 +17,5 @@ exports.foo = foo;
|
||||
|
||||
|
||||
//// [shorthandOfExportedEntity02_targetES5_CommonJS.d.ts]
|
||||
export declare const test: "test";
|
||||
export declare const test: string;
|
||||
export declare function foo(): void;
|
||||
|
||||
@ -100,12 +100,12 @@ declare function getFalsyPrimitive(x: "number" | "string"): number | string;
|
||||
declare function getFalsyPrimitive(x: "number" | "string" | "boolean"): number | string | boolean;
|
||||
declare namespace Consts1 {
|
||||
}
|
||||
declare const string: "string";
|
||||
declare const number: "number";
|
||||
declare const boolean: "boolean";
|
||||
declare const stringOrNumber: "string" | "number";
|
||||
declare const stringOrBoolean: "string" | "boolean";
|
||||
declare const booleanOrNumber: "number" | "boolean";
|
||||
declare const stringOrBooleanOrNumber: "string" | "number" | "boolean";
|
||||
declare const string: string;
|
||||
declare const number: string;
|
||||
declare const boolean: string;
|
||||
declare const stringOrNumber: string;
|
||||
declare const stringOrBoolean: string;
|
||||
declare const booleanOrNumber: string;
|
||||
declare const stringOrBooleanOrNumber: string;
|
||||
declare namespace Consts2 {
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user