mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Accept new baselines
This commit is contained in:
@@ -402,8 +402,8 @@ const constInitToLReadonlyNestedTypeWithIndexedAccess: L["nested"]["readonlyNest
|
||||
|
||||
// type argument inference
|
||||
const promiseForConstCall = Promise.resolve(constCall);
|
||||
>promiseForConstCall : Promise<symbol>
|
||||
>Promise.resolve(constCall) : Promise<symbol>
|
||||
>promiseForConstCall : Promise<unique symbol>
|
||||
>Promise.resolve(constCall) : Promise<unique symbol>
|
||||
>Promise.resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
|
||||
>Promise : PromiseConstructor
|
||||
>resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
|
||||
@@ -454,19 +454,19 @@ declare function g(x: typeof N.s): void;
|
||||
|
||||
// argument inference
|
||||
f(s);
|
||||
>f(s) : symbol
|
||||
>f(s) : unique symbol
|
||||
>f : <T>(x: T) => T
|
||||
>s : unique symbol
|
||||
|
||||
f(N.s);
|
||||
>f(N.s) : symbol
|
||||
>f(N.s) : unique symbol
|
||||
>f : <T>(x: T) => T
|
||||
>N.s : unique symbol
|
||||
>N : typeof N
|
||||
>s : unique symbol
|
||||
|
||||
f(N["s"]);
|
||||
>f(N["s"]) : symbol
|
||||
>f(N["s"]) : unique symbol
|
||||
>f : <T>(x: T) => T
|
||||
>N["s"] : unique symbol
|
||||
>N : typeof N
|
||||
|
||||
@@ -482,7 +482,7 @@ declare const constInitToLReadonlyTypeWithTypeQuery: typeof l.readonlyType;
|
||||
declare const constInitToLReadonlyNestedTypeWithTypeQuery: typeof l.nested.readonlyNestedType;
|
||||
declare const constInitToLReadonlyTypeWithIndexedAccess: L["readonlyType"];
|
||||
declare const constInitToLReadonlyNestedTypeWithIndexedAccess: L["nested"]["readonlyNestedType"];
|
||||
declare const promiseForConstCall: Promise<symbol>;
|
||||
declare const promiseForConstCall: Promise<typeof constCall>;
|
||||
declare const arrayOfConstCall: symbol[];
|
||||
declare const s: unique symbol;
|
||||
declare namespace N {
|
||||
|
||||
@@ -402,8 +402,8 @@ const constInitToLReadonlyNestedTypeWithIndexedAccess: L["nested"]["readonlyNest
|
||||
|
||||
// type argument inference
|
||||
const promiseForConstCall = Promise.resolve(constCall);
|
||||
>promiseForConstCall : Promise<symbol>
|
||||
>Promise.resolve(constCall) : Promise<symbol>
|
||||
>promiseForConstCall : Promise<unique symbol>
|
||||
>Promise.resolve(constCall) : Promise<unique symbol>
|
||||
>Promise.resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
|
||||
>Promise : PromiseConstructor
|
||||
>resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
|
||||
@@ -454,19 +454,19 @@ declare function g(x: typeof N.s): void;
|
||||
|
||||
// argument inference
|
||||
f(s);
|
||||
>f(s) : symbol
|
||||
>f(s) : unique symbol
|
||||
>f : <T>(x: T) => T
|
||||
>s : unique symbol
|
||||
|
||||
f(N.s);
|
||||
>f(N.s) : symbol
|
||||
>f(N.s) : unique symbol
|
||||
>f : <T>(x: T) => T
|
||||
>N.s : unique symbol
|
||||
>N : typeof N
|
||||
>s : unique symbol
|
||||
|
||||
f(N["s"]);
|
||||
>f(N["s"]) : symbol
|
||||
>f(N["s"]) : unique symbol
|
||||
>f : <T>(x: T) => T
|
||||
>N["s"] : unique symbol
|
||||
>N : typeof N
|
||||
|
||||
Reference in New Issue
Block a user