mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-13 05:37:13 -05:00
Updated baselines
This commit is contained in:
@@ -4,14 +4,14 @@ interface IFooFn {
|
||||
|
||||
(strings: TemplateStringsArray): Promise<{}>;
|
||||
>strings : Symbol(strings, Decl(genericTemplateOverloadResolution.ts, 1, 5))
|
||||
>TemplateStringsArray : Symbol(TemplateStringsArray, Decl(lib.d.ts, --, --))
|
||||
>Promise : Symbol(Promise, Decl(lib.d.ts, --, --))
|
||||
>TemplateStringsArray : Symbol(TemplateStringsArray, Decl(lib.es5.d.ts, --, --))
|
||||
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
<T>(strings: TemplateStringsArray): Promise<T>;
|
||||
>T : Symbol(T, Decl(genericTemplateOverloadResolution.ts, 2, 5))
|
||||
>strings : Symbol(strings, Decl(genericTemplateOverloadResolution.ts, 2, 8))
|
||||
>TemplateStringsArray : Symbol(TemplateStringsArray, Decl(lib.d.ts, --, --))
|
||||
>Promise : Symbol(Promise, Decl(lib.d.ts, --, --))
|
||||
>TemplateStringsArray : Symbol(TemplateStringsArray, Decl(lib.es5.d.ts, --, --))
|
||||
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
||||
>T : Symbol(T, Decl(genericTemplateOverloadResolution.ts, 2, 5))
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ declare const fooFn: IFooFn;
|
||||
declare function expect(x: Promise<number>): void;
|
||||
>expect : Symbol(expect, Decl(genericTemplateOverloadResolution.ts, 5, 28))
|
||||
>x : Symbol(x, Decl(genericTemplateOverloadResolution.ts, 7, 24))
|
||||
>Promise : Symbol(Promise, Decl(lib.d.ts, --, --))
|
||||
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
expect(fooFn<number>``);
|
||||
>expect : Symbol(expect, Decl(genericTemplateOverloadResolution.ts, 5, 28))
|
||||
|
||||
@@ -178,7 +178,7 @@ declare function isFunction(x: unknown): x is Function;
|
||||
>isFunction : Symbol(isFunction, Decl(unknownType1.ts, 66, 1))
|
||||
>x : Symbol(x, Decl(unknownType1.ts, 70, 28))
|
||||
>x : Symbol(x, Decl(unknownType1.ts, 70, 28))
|
||||
>Function : Symbol(Function, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>Function : Symbol(Function, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
function f20(x: unknown) {
|
||||
>f20 : Symbol(f20, Decl(unknownType1.ts, 70, 55))
|
||||
@@ -193,7 +193,7 @@ function f20(x: unknown) {
|
||||
}
|
||||
if (x instanceof Error) {
|
||||
>x : Symbol(x, Decl(unknownType1.ts, 72, 13))
|
||||
>Error : Symbol(Error, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
x; // Error
|
||||
>x : Symbol(x, Decl(unknownType1.ts, 72, 13))
|
||||
@@ -247,7 +247,7 @@ function f21<T>(pAny: any, pNever: never, pT: T) {
|
||||
|
||||
x = new Error();
|
||||
>x : Symbol(x, Decl(unknownType1.ts, 93, 7))
|
||||
>Error : Symbol(Error, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
x = x;
|
||||
>x : Symbol(x, Decl(unknownType1.ts, 93, 7))
|
||||
|
||||
Reference in New Issue
Block a user