diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 816a86fb50cf2..1d2887da015d3 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -8611,7 +8611,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const type = getDeclaredTypeOfSymbol(sym); const name = sym.flags & SymbolFlags.TypeParameter ? typeParameterToName(type, context) : factory.cloneNode(node); name.symbol = sym; // for quickinfo, which uses identifier symbol information - return { introducesError, node: setEmitFlags(setOriginalNode(name, node), EmitFlags.NoAsciiEscaping) }; + return { introducesError, node: setTextRange(setEmitFlags(setOriginalNode(name, node), EmitFlags.NoAsciiEscaping), node) }; } } diff --git a/tests/baselines/reference/1.0lib-noErrors.types b/tests/baselines/reference/1.0lib-noErrors.types index 9f97c11bb4a10..a115871085888 100644 --- a/tests/baselines/reference/1.0lib-noErrors.types +++ b/tests/baselines/reference/1.0lib-noErrors.types @@ -176,7 +176,7 @@ interface Object { /** Returns the primitive value of the specified object. */ valueOf(): Object; >valueOf : () => Object -> : ^^^^^^^^^^^^ +> : ^^^^^^ /** * Determines whether an object has a property with the specified name. @@ -194,7 +194,7 @@ interface Object { */ isPrototypeOf(v: Object): boolean; >isPrototypeOf : (v: Object) => boolean -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : Object > : ^^^^^^ @@ -214,7 +214,7 @@ interface Object { */ declare var Object: { >Object : { (): any; (value: any): any; new (value?: any): Object; prototype: Object; getPrototypeOf(o: any): any; getOwnPropertyDescriptor(o: any, p: string): PropertyDescriptor; getOwnPropertyNames(o: any): string[]; create(o: any, properties?: PropertyDescriptorMap): any; defineProperty(o: any, p: string, attributes: PropertyDescriptor): any; defineProperties(o: any, properties: PropertyDescriptorMap): any; seal(o: any): any; freeze(o: any): any; preventExtensions(o: any): any; isSealed(o: any): boolean; isFrozen(o: any): boolean; isExtensible(o: any): boolean; keys(o: any): string[]; } -> : ^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (value?: any): Object; >value : any @@ -245,7 +245,7 @@ declare var Object: { */ getOwnPropertyDescriptor(o: any, p: string): PropertyDescriptor; >getOwnPropertyDescriptor : (o: any, p: string) => PropertyDescriptor -> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >o : any >p : string > : ^^^^^^ @@ -267,7 +267,7 @@ declare var Object: { */ create(o: any, properties?: PropertyDescriptorMap): any; >create : (o: any, properties?: PropertyDescriptorMap) => any -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >o : any >properties : PropertyDescriptorMap > : ^^^^^^^^^^^^^^^^^^^^^ @@ -280,7 +280,7 @@ declare var Object: { */ defineProperty(o: any, p: string, attributes: PropertyDescriptor): any; >defineProperty : (o: any, p: string, attributes: PropertyDescriptor) => any -> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >o : any >p : string > : ^^^^^^ @@ -294,7 +294,7 @@ declare var Object: { */ defineProperties(o: any, properties: PropertyDescriptorMap): any; >defineProperties : (o: any, properties: PropertyDescriptorMap) => any -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^ ^^^^^ >o : any >properties : PropertyDescriptorMap > : ^^^^^^^^^^^^^^^^^^^^^ @@ -421,7 +421,7 @@ interface Function { declare var Function: { >Function : { (...args: string[]): Function; new (...args: string[]): Function; prototype: Function; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ /** * Creates a new function. @@ -542,7 +542,7 @@ interface String { */ match(regexp: RegExp): string[]; >match : { (regexp: string): string[]; (regexp: RegExp): string[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >regexp : RegExp > : ^^^^^^ @@ -583,7 +583,7 @@ interface String { */ replace(searchValue: RegExp, replaceValue: string): string; >replace : { (searchValue: string, replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >searchValue : RegExp > : ^^^^^^ >replaceValue : string @@ -596,7 +596,7 @@ interface String { */ replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; >replace : { (searchValue: string, replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >searchValue : RegExp > : ^^^^^^ >replaceValue : (substring: string, ...args: any[]) => string @@ -622,7 +622,7 @@ interface String { */ search(regexp: RegExp): number; >search : { (regexp: string): number; (regexp: RegExp): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >regexp : RegExp > : ^^^^^^ @@ -660,7 +660,7 @@ interface String { */ split(separator: RegExp, limit?: number): string[]; >split : { (separator: string, limit?: number): string[]; (separator: RegExp, limit?: number): string[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >separator : RegExp > : ^^^^^^ >limit : number @@ -734,7 +734,7 @@ interface String { */ declare var String: { >String : { (value?: any): string; new (value?: any): String; prototype: String; fromCharCode(...codes: number[]): string; } -> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (value?: any): String; >value : any @@ -757,7 +757,7 @@ interface Boolean { } declare var Boolean: { >Boolean : { (value?: any): boolean; new (value?: any): Boolean; prototype: Boolean; } -> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (value?: any): Boolean; >value : any @@ -815,7 +815,7 @@ interface Number { /** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */ declare var Number: { >Number : { (value?: any): number; new (value?: any): Number; prototype: Number; MAX_VALUE: number; MIN_VALUE: number; NaN: number; NEGATIVE_INFINITY: number; POSITIVE_INFINITY: number; } -> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ new (value?: any): Number; >value : any @@ -1440,7 +1440,7 @@ interface Date { declare var Date: { >Date : { (): string; new (): Date; new (value: number): Date; new (value: string): Date; new (year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date; prototype: Date; parse(s: string): number; UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number; now(): number; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^ ^^^ new (): Date; new (value: number): Date; @@ -1726,7 +1726,7 @@ interface RegExp { */ exec(string: string): RegExpExecArray; >exec : (string: string) => RegExpExecArray -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >string : string > : ^^^^^^ @@ -1767,11 +1767,11 @@ interface RegExp { // Non-standard extensions compile(): RegExp; >compile : () => RegExp -> : ^^^^^^^^^^^^ +> : ^^^^^^ } declare var RegExp: { >RegExp : { (pattern: string, flags?: string): RegExp; new (pattern: string, flags?: string): RegExp; $1: string; $2: string; $3: string; $4: string; $5: string; $6: string; $7: string; $8: string; $9: string; lastMatch: string; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^ new (pattern: string, flags?: string): RegExp; >pattern : string @@ -1838,7 +1838,7 @@ interface Error { } declare var Error: { >Error : { (message?: string): Error; new (message?: string): Error; prototype: Error; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): Error; >message : string @@ -1857,7 +1857,7 @@ interface EvalError extends Error { } declare var EvalError: { >EvalError : { (message?: string): EvalError; new (message?: string): EvalError; prototype: EvalError; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): EvalError; >message : string @@ -1876,7 +1876,7 @@ interface RangeError extends Error { } declare var RangeError: { >RangeError : { (message?: string): RangeError; new (message?: string): RangeError; prototype: RangeError; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): RangeError; >message : string @@ -1895,7 +1895,7 @@ interface ReferenceError extends Error { } declare var ReferenceError: { >ReferenceError : { (message?: string): ReferenceError; new (message?: string): ReferenceError; prototype: ReferenceError; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): ReferenceError; >message : string @@ -1914,7 +1914,7 @@ interface SyntaxError extends Error { } declare var SyntaxError: { >SyntaxError : { (message?: string): SyntaxError; new (message?: string): SyntaxError; prototype: SyntaxError; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): SyntaxError; >message : string @@ -1933,7 +1933,7 @@ interface TypeError extends Error { } declare var TypeError: { >TypeError : { (message?: string): TypeError; new (message?: string): TypeError; prototype: TypeError; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): TypeError; >message : string @@ -1952,7 +1952,7 @@ interface URIError extends Error { } declare var URIError: { >URIError : { (message?: string): URIError; new (message?: string): URIError; prototype: URIError; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (message?: string): URIError; >message : string @@ -2081,7 +2081,7 @@ interface Array { */ concat(...items: U[]): T[]; >concat : { (...items: U[]): T[]; (...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >items : U[] > : ^^^ @@ -2091,7 +2091,7 @@ interface Array { */ concat(...items: T[]): T[]; >concat : { (...items: U[]): T[]; (...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >items : T[] > : ^^^ @@ -2110,7 +2110,7 @@ interface Array { */ pop(): T; >pop : () => T -> : ^^^^^^^ +> : ^^^^^^ /** * Appends new elements to an array, and returns the new length of the array. @@ -2118,7 +2118,7 @@ interface Array { */ push(...items: T[]): number; >push : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ @@ -2127,14 +2127,14 @@ interface Array { */ reverse(): T[]; >reverse : () => T[] -> : ^^^^^^^ +> : ^^^^^^ /** * Removes the first element from an array and returns it. */ shift(): T; >shift : () => T -> : ^^^^^^^ +> : ^^^^^^ /** * Returns a section of an array. @@ -2143,7 +2143,7 @@ interface Array { */ slice(start?: number, end?: number): T[]; >slice : (start?: number, end?: number) => T[] -> : ^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >end : number @@ -2155,9 +2155,9 @@ interface Array { */ sort(compareFn?: (a: T, b: T) => number): T[]; >sort : (compareFn?: (a: T, b: T) => number) => T[] -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >compareFn : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -2169,7 +2169,7 @@ interface Array { */ splice(start: number): T[]; >splice : { (start: number): T[]; (start: number, deleteCount: number, ...items: T[]): T[]; } -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >start : number > : ^^^^^^ @@ -2181,7 +2181,7 @@ interface Array { */ splice(start: number, deleteCount: number, ...items: T[]): T[]; >splice : { (start: number): T[]; (start: number, deleteCount: number, ...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >start : number > : ^^^^^^ >deleteCount : number @@ -2195,7 +2195,7 @@ interface Array { */ unshift(...items: T[]): number; >unshift : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ @@ -2206,7 +2206,7 @@ interface Array { */ indexOf(searchElement: T, fromIndex?: number): number; >indexOf : (searchElement: T, fromIndex?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >searchElement : T > : ^ >fromIndex : number @@ -2219,7 +2219,7 @@ interface Array { */ lastIndexOf(searchElement: T, fromIndex?: number): number; >lastIndexOf : (searchElement: T, fromIndex?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >searchElement : T > : ^ >fromIndex : number @@ -2232,9 +2232,9 @@ interface Array { */ every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; >every : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2250,9 +2250,9 @@ interface Array { */ some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; >some : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2268,9 +2268,9 @@ interface Array { */ forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; >forEach : (callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2286,9 +2286,9 @@ interface Array { */ map(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; >map : (callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[] -> : ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2304,9 +2304,9 @@ interface Array { */ filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[]; >filter : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => T[] -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2322,9 +2322,9 @@ interface Array { */ reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; >reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : T > : ^ >currentValue : T @@ -2343,9 +2343,9 @@ interface Array { */ reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; >reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : U > : ^ >currentValue : T @@ -2364,9 +2364,9 @@ interface Array { */ reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; >reduceRight : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : T > : ^ >currentValue : T @@ -2385,9 +2385,9 @@ interface Array { */ reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; >reduceRight : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : U > : ^ >currentValue : T @@ -2412,7 +2412,7 @@ interface Array { } declare var Array: { >Array : { (arrayLength?: number): any[]; (arrayLength: number): T[]; (...items: T_1[]): T_1[]; new (arrayLength?: number): any[]; new (arrayLength: number): T_2[]; new (...items: T_3[]): T_3[]; isArray(arg: any): boolean; prototype: Array; } -> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ new (arrayLength?: number): any[]; >arrayLength : number diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.types b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.types index 3c8718e2a5af2..94e5eb40743fd 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.types @@ -15,7 +15,7 @@ class clodule { static fn(id: U) { } >fn : (id: U) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ >id : U > : ^ } @@ -27,7 +27,7 @@ module clodule { // error: duplicate identifier expected export function fn(x: T, y: T): T { >fn : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.types b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.types index 1aecf5f1dc67c..5e43dd5b2cc42 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.types @@ -27,7 +27,7 @@ module clodule { // error: duplicate identifier expected export function fn(x: T, y: T): T { >fn : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.types b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.types index 8bdeb9def4b31..b1b565d32da69 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.types @@ -29,7 +29,7 @@ module clodule { // error: duplicate identifier expected export function fn(x: T, y: T): number { >fn : (x: T, y: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.types b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.types index 23665e18fccf7..38c458d09c754 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.types @@ -13,7 +13,7 @@ class Point { static Origin(): Point { return { x: 0, y: 0 }; } // unexpected error here bug 840246 >Origin : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >{ x: 0, y: 0 } : { x: number; y: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number @@ -52,7 +52,7 @@ module A { static Origin(): Point { return { x: 0, y: 0 }; } // unexpected error here bug 840246 >Origin : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >{ x: 0, y: 0 } : { x: number; y: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.types b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.types index 7121797e47a9c..8d0b68c7ae14a 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.types @@ -13,7 +13,7 @@ class Point { static Origin(): Point { return { x: 0, y: 0 }; } >Origin : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >{ x: 0, y: 0 } : { x: number; y: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number @@ -54,7 +54,7 @@ module A { static Origin(): Point { return { x: 0, y: 0 }; } >Origin : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >{ x: 0, y: 0 } : { x: number; y: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/ClassDeclaration25.types b/tests/baselines/reference/ClassDeclaration25.types index e43dabac04061..f5c6d36708110 100644 --- a/tests/baselines/reference/ClassDeclaration25.types +++ b/tests/baselines/reference/ClassDeclaration25.types @@ -4,7 +4,7 @@ interface IList { data(): T; >data : () => T -> : ^^^^^^^ +> : ^^^^^^ next(): string; >next : () => string @@ -16,7 +16,7 @@ class List implements IList { data(): U; >data : () => U -> : ^^^^^^^ +> : ^^^^^^ next(): string; >next : () => string diff --git a/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.types b/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.types index ba66acd79dfa3..935d69a8af103 100644 --- a/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.types +++ b/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.types @@ -16,7 +16,7 @@ module A { fromOrigin(p: Point): number; >fromOrigin : (p: Point) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ } @@ -33,7 +33,7 @@ module A { fromOrigin(p: Point) { >fromOrigin : (p: Point) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.types b/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.types index 9b64a77e034cb..c7bd098b8e5e2 100644 --- a/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.types +++ b/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.types @@ -73,7 +73,7 @@ module A { static fromorigin2d(p: Point): Line{ >fromorigin2d : (p: Point) => Line -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.types b/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.types index e0ea5cda8003a..daab7a6cb0edc 100644 --- a/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.types +++ b/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.types @@ -31,7 +31,7 @@ module A { export function fromOrigin(p: Point): Line { >fromOrigin : (p: Point) => Line -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.types b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.types index 901dc17575ec9..7ad9b1130e781 100644 --- a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.types +++ b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.types @@ -31,7 +31,7 @@ module A { export function fromOrigin(p: Point): Line { >fromOrigin : (p: Point) => Line -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.types b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.types index 88cb9a19dc18f..e4502f6e3ca10 100644 --- a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.types +++ b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.types @@ -31,7 +31,7 @@ module A { export function fromOrigin(p: Point): Line { >fromOrigin : (p: Point) => Line -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.types b/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.types index 300c5bae58d73..fe4726debfaa9 100644 --- a/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.types +++ b/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.types @@ -46,7 +46,7 @@ module A { static fromOrigin(p: Point) { >fromOrigin : (p: Point) => Line -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.types b/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.types index 01c7e550e5a8c..bd528ac22d7ca 100644 --- a/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.types +++ b/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.types @@ -18,11 +18,11 @@ module A { export var UnitSquare : { >UnitSquare : { top: { left: Point; right: Point; }; bottom: { left: Point; right: Point; }; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^ top: { left: Point, right: Point }, >top : { left: Point; right: Point; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^ >left : Point > : ^^^^^ >right : Point @@ -30,7 +30,7 @@ module A { bottom: { left: Point, right: Point } >bottom : { left: Point; right: Point; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^ >left : Point > : ^^^^^ >right : Point diff --git a/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.types b/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.types index d362e23b1156e..44c48f2c259e6 100644 --- a/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.types +++ b/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.types @@ -18,7 +18,7 @@ module A { export function fng(s: T): U { >fng : (s: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >s : T > : ^ @@ -38,7 +38,7 @@ module A { function fng2(s: T): U { >fng2 : (s: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >s : T > : ^ @@ -65,7 +65,7 @@ var fn = A.fn; var fng: (s: T) => U; >fng : (s: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >s : T > : ^ diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.types b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.types index 2b4e8bdc5a11b..c7180698f7cbe 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.types +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.types @@ -29,7 +29,7 @@ module A { fromCarthesian(p: A.Point) { >fromCarthesian : (p: A.Point) => { x: number; y: number; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : A.Point > : ^^^^^^^ >A : any diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.types b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.types index 1d0b4fa6087e5..0bbedc284fbb1 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.types +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.types @@ -13,7 +13,7 @@ module A { toCarth(): Point; >toCarth : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ } } @@ -21,20 +21,20 @@ module A { interface Point { fromCarth(): Point; >fromCarth : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ } } // ensure merges as expected var p: { x: number; y: number; toCarth(): A.Point; }; >p : { x: number; y: number; toCarth(): A.Point; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^ >x : number > : ^^^^^^ >y : number > : ^^^^^^ >toCarth : () => A.Point -> : ^^^^^^^ +> : ^^^^^^ >A : any > : ^^^ @@ -79,7 +79,7 @@ module X { // ensure merges as expected var l: { new (s: A.Point, e: A.Point); } >l : new (s: A.Point, e: A.Point) => any -> : ^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^ >s : A.Point > : ^^^^^^^ >A : any diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.types b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.types index 52cd45294f939..30e75875aca69 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.types +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.types @@ -21,7 +21,7 @@ module A { export function mirror(p: T) { >mirror : (p: T) => { x: number; y: number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : T > : ^ @@ -137,7 +137,7 @@ var o = A.Utils.mirror(o); var p: { tl: A.Point; br: A.Point }; >p : { tl: A.Point; br: A.Point; } -> : ^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^ ^^^ >tl : A.Point > : ^^^^^^^ >A : any diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.types b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.types index e9969a0ee9931..dfb513ddc6567 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.types +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.types @@ -13,7 +13,7 @@ module A { toCarth(): Point; >toCarth : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ } } @@ -21,24 +21,24 @@ module A { export interface Point { fromCarth(): Point; >fromCarth : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ } } // ensure merges as expected var p: { x: number; y: number; toCarth(): A.Point; fromCarth(): A.Point; }; >p : { x: number; y: number; toCarth(): A.Point; fromCarth(): A.Point; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ >x : number > : ^^^^^^ >y : number > : ^^^^^^ >toCarth : () => A.Point -> : ^^^^^^^ +> : ^^^^^^ >A : any > : ^^^ >fromCarth : () => A.Point -> : ^^^^^^^ +> : ^^^^^^ >A : any > : ^^^ @@ -83,7 +83,7 @@ module X { // ensure merges as expected var l: { start: A.Point; end: A.Point; new (s: A.Point, e: A.Point); } >l : { new (s: A.Point, e: A.Point): any; start: A.Point; end: A.Point; } -> : ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ >start : A.Point > : ^^^^^^^ >A : any diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types index a0a6d1feb711a..7a186f418e59c 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types @@ -21,7 +21,7 @@ export module A { export function mirror(p: T) { >mirror : (p: T) => { x: number; y: number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.types b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.types index 381006f444480..7bf6e2110f2b5 100644 --- a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.types +++ b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.types @@ -25,7 +25,7 @@ module Root { export function mirror(p: T) { >mirror : (p: T) => { x: number; y: number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.types b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.types index 72d5977bfdb04..70832c862c1ce 100644 --- a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.types +++ b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.types @@ -21,7 +21,7 @@ module A { export function mirror(p: T) { >mirror : (p: T) => { x: number; y: number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : T > : ^ @@ -131,7 +131,7 @@ var o = A.Utils.mirror(o); var p: { tl: A.Point; br: A.Point }; >p : { tl: A.Point; br: A.Point; } -> : ^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^ ^^^ >tl : A.Point > : ^^^^^^^ >A : any diff --git a/tests/baselines/reference/TypeGuardWithArrayUnion.types b/tests/baselines/reference/TypeGuardWithArrayUnion.types index f7bc3ce637f40..2134fefee5d90 100644 --- a/tests/baselines/reference/TypeGuardWithArrayUnion.types +++ b/tests/baselines/reference/TypeGuardWithArrayUnion.types @@ -12,7 +12,7 @@ class Message { function saySize(message: Message | Message[]) { >saySize : (message: Message | Message[]) => number -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^ >message : Message | Message[] > : ^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/TypeGuardWithEnumUnion.types b/tests/baselines/reference/TypeGuardWithEnumUnion.types index 7951ff2ffb2d4..f1d71b454ed17 100644 --- a/tests/baselines/reference/TypeGuardWithEnumUnion.types +++ b/tests/baselines/reference/TypeGuardWithEnumUnion.types @@ -13,7 +13,7 @@ enum Color { R, G, B } function f1(x: Color | string) { >f1 : (x: Color | string) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | Color > : ^^^^^^^^^^^^^^ @@ -52,7 +52,7 @@ function f1(x: Color | string) { function f2(x: Color | string | string[]) { >f2 : (x: Color | string | string[]) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | Color | string[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/accessorAccidentalCallDiagnostic.types b/tests/baselines/reference/accessorAccidentalCallDiagnostic.types index 37588d186a032..3e294d74d127c 100644 --- a/tests/baselines/reference/accessorAccidentalCallDiagnostic.types +++ b/tests/baselines/reference/accessorAccidentalCallDiagnostic.types @@ -14,7 +14,7 @@ class Test24554 { } function test24554(x: Test24554) { >test24554 : (x: Test24554) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : Test24554 > : ^^^^^^^^^ diff --git a/tests/baselines/reference/accessorsOverrideProperty8.types b/tests/baselines/reference/accessorsOverrideProperty8.types index f588149c57538..26507f6dbf3ad 100644 --- a/tests/baselines/reference/accessorsOverrideProperty8.types +++ b/tests/baselines/reference/accessorsOverrideProperty8.types @@ -22,7 +22,7 @@ type AnyCtor

= new (...a: any[]) => P declare function classWithProperties(properties: T, klass: AnyCtor

): { >classWithProperties : (properties: T, klass: AnyCtor

) => { new (): P & Properties; prototype: P & Properties; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >properties : T diff --git a/tests/baselines/reference/accessorsOverrideProperty9.types b/tests/baselines/reference/accessorsOverrideProperty9.types index 72d4c3891ea60..b496254164993 100644 --- a/tests/baselines/reference/accessorsOverrideProperty9.types +++ b/tests/baselines/reference/accessorsOverrideProperty9.types @@ -50,7 +50,7 @@ interface ApiItemContainerMixin extends ApiItem { function ApiItemContainerMixin( >ApiItemContainerMixin : (baseClass: TBaseClass) => TBaseClass & (new (...args: any[]) => ApiItemContainerMixin) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ baseClass: TBaseClass >baseClass : TBaseClass diff --git a/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.types b/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.types index 0a1bf0f082616..e665166578cc6 100644 --- a/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.types +++ b/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.types @@ -4,7 +4,7 @@ // test for #17069 function sum, K extends string>(n: number, v: T, k: K) { >sum : , K extends string>(n: number, v: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : number > : ^^^^^^ >v : T @@ -42,7 +42,7 @@ function sum, K extends string>(n: number, v: T, k: } function realSum, K extends string>(n: number, vs: T[], k: K) { >realSum : , K extends string>(n: number, vs: T[], k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^ >n : number > : ^^^^^^ >vs : T[] diff --git a/tests/baselines/reference/additionOperatorWithTypeParameter.types b/tests/baselines/reference/additionOperatorWithTypeParameter.types index c875d8d6985f4..f825fe6078a77 100644 --- a/tests/baselines/reference/additionOperatorWithTypeParameter.types +++ b/tests/baselines/reference/additionOperatorWithTypeParameter.types @@ -12,7 +12,7 @@ enum E { a, b } function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash1.types b/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash1.types index 8e56c59f4e4d8..0ea9c2b1d0181 100644 --- a/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash1.types +++ b/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash1.types @@ -12,7 +12,7 @@ class ErrImpl { declare const Err: typeof ErrImpl & (() => T); >Err : typeof ErrImpl & (() => T) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ >ErrImpl : typeof ErrImpl > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash2.types b/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash2.types index 649637b55cacb..b10f0c4bbcaa6 100644 --- a/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash2.types +++ b/tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash2.types @@ -12,18 +12,18 @@ declare class Class { declare function fn(): T; >fn : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ type ClassAlias = typeof Class; >ClassAlias : typeof Class -> : ^^^^^ ^ +> : >Class : typeof Class > : ^^^^^^^^^^^^ type FnAlias = typeof fn; >FnAlias : typeof fn -> : ^^ ^ +> : >fn : () => T_1 > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/aliasOfGenericFunctionWithRestBehavedSameAsUnaliased.types b/tests/baselines/reference/aliasOfGenericFunctionWithRestBehavedSameAsUnaliased.types index b0df31e6b75b0..b942b58b69d6b 100644 --- a/tests/baselines/reference/aliasOfGenericFunctionWithRestBehavedSameAsUnaliased.types +++ b/tests/baselines/reference/aliasOfGenericFunctionWithRestBehavedSameAsUnaliased.types @@ -66,11 +66,11 @@ let check1: test1 = "y"; type ExtendedMapper2 = ( >ExtendedMapper2 : (name: string, mixed: HandledInputT, ...args: ArgsT) => OutputT -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ {x:(name : string, mixed : HandledInputT, ...args : ArgsT) => OutputT}["x"] >x : (name: string, mixed: HandledInputT, ...args: ArgsT) => OutputT -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >name : string > : ^^^^^^ >mixed : HandledInputT diff --git a/tests/baselines/reference/aliasOnMergedModuleInterface.types b/tests/baselines/reference/aliasOnMergedModuleInterface.types index 4fb44dfd0d3ed..8e5c00ed93dc3 100644 --- a/tests/baselines/reference/aliasOnMergedModuleInterface.types +++ b/tests/baselines/reference/aliasOnMergedModuleInterface.types @@ -50,7 +50,7 @@ declare module "foo" interface B { bar(name: string): B.A; >bar : (name: string) => B.A -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >name : string > : ^^^^^^ >B : any diff --git a/tests/baselines/reference/aliasUsageInFunctionExpression.types b/tests/baselines/reference/aliasUsageInFunctionExpression.types index d9230e5a42ffb..2e642b16f8f6c 100644 --- a/tests/baselines/reference/aliasUsageInFunctionExpression.types +++ b/tests/baselines/reference/aliasUsageInFunctionExpression.types @@ -22,9 +22,9 @@ interface IHasVisualizationModel { } var f = (x: IHasVisualizationModel) => x; >f : (x: IHasVisualizationModel) => IHasVisualizationModel -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: IHasVisualizationModel) => x : (x: IHasVisualizationModel) => IHasVisualizationModel -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >x : IHasVisualizationModel diff --git a/tests/baselines/reference/aliasUsageInGenericFunction.types b/tests/baselines/reference/aliasUsageInGenericFunction.types index b4526f9b2ebc6..c068e0dff5480 100644 --- a/tests/baselines/reference/aliasUsageInGenericFunction.types +++ b/tests/baselines/reference/aliasUsageInGenericFunction.types @@ -22,7 +22,7 @@ interface IHasVisualizationModel { } function foo(x: T) { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ >a : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >x : T @@ -48,13 +48,13 @@ var r = foo({ a: moduleA }); var r2 = foo({ a: null }); >r2 : { a: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >foo({ a: null }) : { a: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ a: null } : { a: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >a : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >null : IHasVisualizationModel diff --git a/tests/baselines/reference/aliasUsageInObjectLiteral.types b/tests/baselines/reference/aliasUsageInObjectLiteral.types index 0a85ac7f05b56..9d490d7516f7b 100644 --- a/tests/baselines/reference/aliasUsageInObjectLiteral.types +++ b/tests/baselines/reference/aliasUsageInObjectLiteral.types @@ -22,7 +22,7 @@ interface IHasVisualizationModel { } var a: { x: typeof moduleA } = { x: moduleA }; >a : { x: typeof moduleA; } -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^ >x : typeof moduleA > : ^^^^^^^^^^^^^^ >moduleA : typeof moduleA @@ -36,7 +36,7 @@ var a: { x: typeof moduleA } = { x: moduleA }; var b: { x: IHasVisualizationModel } = { x: moduleA }; >b : { x: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >x : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >{ x: moduleA } : { x: typeof moduleA; } @@ -48,9 +48,9 @@ var b: { x: IHasVisualizationModel } = { x: moduleA }; var c: { y: { z: IHasVisualizationModel } } = { y: { z: moduleA } }; >c : { y: { z: IHasVisualizationModel; }; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >y : { z: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >z : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >{ y: { z: moduleA } } : { y: { z: typeof moduleA; }; } diff --git a/tests/baselines/reference/aliasUsageInOrExpression.types b/tests/baselines/reference/aliasUsageInOrExpression.types index 11b2efef88f5c..f79acc30c5c75 100644 --- a/tests/baselines/reference/aliasUsageInOrExpression.types +++ b/tests/baselines/reference/aliasUsageInOrExpression.types @@ -56,13 +56,13 @@ var d2: IHasVisualizationModel = moduleA || i; var e: { x: IHasVisualizationModel } = <{ x: IHasVisualizationModel }>null || { x: moduleA }; >e : { x: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >x : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ ><{ x: IHasVisualizationModel }>null || { x: moduleA } : { x: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ ><{ x: IHasVisualizationModel }>null : { x: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >x : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >{ x: moduleA } : { x: typeof moduleA; } @@ -74,13 +74,13 @@ var e: { x: IHasVisualizationModel } = <{ x: IHasVisualizationModel }>null || { var f: { x: IHasVisualizationModel } = <{ x: IHasVisualizationModel }>null ? { x: moduleA } : null; >f : { x: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >x : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ ><{ x: IHasVisualizationModel }>null ? { x: moduleA } : null : { x: typeof moduleA; } > : ^^^^^^^^^^^^^^^^^^^^^^ ><{ x: IHasVisualizationModel }>null : { x: IHasVisualizationModel; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >x : IHasVisualizationModel > : ^^^^^^^^^^^^^^^^^^^^^^ >{ x: moduleA } : { x: typeof moduleA; } diff --git a/tests/baselines/reference/allowJscheckJsTypeParameterNoCrash.types b/tests/baselines/reference/allowJscheckJsTypeParameterNoCrash.types index 83b3287fcbce9..7a3758bb68428 100644 --- a/tests/baselines/reference/allowJscheckJsTypeParameterNoCrash.types +++ b/tests/baselines/reference/allowJscheckJsTypeParameterNoCrash.types @@ -14,7 +14,7 @@ type WatchHandler = (val: T) => void; declare function extend(options: ComponentOptions<{}>): void; >extend : (options: ComponentOptions<{}>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : ComponentOptions<{}> > : ^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/allowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.types b/tests/baselines/reference/allowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.types index 3f4619a436c66..1f3072b0b9cb9 100644 --- a/tests/baselines/reference/allowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.types +++ b/tests/baselines/reference/allowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.types @@ -17,7 +17,7 @@ import Color from "./color"; export declare function styled(): Color; >styled : () => Color -> : ^^^^^^^^^^^ +> : ^^^^^^ === file2.ts === import { styled } from "./file1"; diff --git a/tests/baselines/reference/ambientConstLiterals.types b/tests/baselines/reference/ambientConstLiterals.types index c835797560b19..9b96c37aff90d 100644 --- a/tests/baselines/reference/ambientConstLiterals.types +++ b/tests/baselines/reference/ambientConstLiterals.types @@ -3,7 +3,7 @@ === ambientConstLiterals.ts === function f(x: T): T { >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/ambientDeclarations.types b/tests/baselines/reference/ambientDeclarations.types index 4d1e467448d80..ae06188a9860b 100644 --- a/tests/baselines/reference/ambientDeclarations.types +++ b/tests/baselines/reference/ambientDeclarations.types @@ -72,7 +72,7 @@ declare function fn9(...q: {}[]); declare function fn10(...q: T[]); >fn10 : (...q: T[]) => any -> : ^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^ >q : T[] > : ^^^ @@ -84,7 +84,7 @@ declare class cls { constructor(); method(): cls; >method : () => cls -> : ^^^^^^^^^ +> : ^^^^^^ static static(p): number; >static : (p: any) => number diff --git a/tests/baselines/reference/ambiguousGenericAssertion1.types b/tests/baselines/reference/ambiguousGenericAssertion1.types index 5dbb923ac7bf0..052861273f3e9 100644 --- a/tests/baselines/reference/ambiguousGenericAssertion1.types +++ b/tests/baselines/reference/ambiguousGenericAssertion1.types @@ -3,15 +3,15 @@ === ambiguousGenericAssertion1.ts === function f(x: T): T { return null; } >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var r = (x: T) => x; >r : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -19,9 +19,9 @@ var r = (x: T) => x; var r2 = < (x: T) => T>f; // valid >r2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >< (x: T) => T>f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >f : (x: T) => T diff --git a/tests/baselines/reference/ambiguousOverloadResolution.types b/tests/baselines/reference/ambiguousOverloadResolution.types index 0362d622aa0c9..0de3d7c072720 100644 --- a/tests/baselines/reference/ambiguousOverloadResolution.types +++ b/tests/baselines/reference/ambiguousOverloadResolution.types @@ -15,7 +15,7 @@ class B extends A { x: number; } declare function f(p: A, q: B): number; >f : { (p: A, q: B): number; (p: B, q: A): string; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >p : A > : ^ >q : B @@ -23,7 +23,7 @@ declare function f(p: A, q: B): number; declare function f(p: B, q: A): string; >f : { (p: A, q: B): number; (p: B, q: A): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >p : B > : ^ >q : A diff --git a/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.types b/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.types index 3fd1d1f30edd2..0a0fc5ffdbb6d 100644 --- a/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.types +++ b/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.types @@ -30,7 +30,7 @@ export type Constructor = { } export function Configurable>(base: T): T { >Configurable : >(base: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >base : T > : ^ diff --git a/tests/baselines/reference/amdLikeInputDeclarationEmit.types b/tests/baselines/reference/amdLikeInputDeclarationEmit.types index 34b119f0b18e4..b2a768fd1b6c7 100644 --- a/tests/baselines/reference/amdLikeInputDeclarationEmit.types +++ b/tests/baselines/reference/amdLikeInputDeclarationEmit.types @@ -3,13 +3,13 @@ === typing.d.ts === declare function define(name: string, modules: string[], ready: (...modules: unknown[]) => T); >define : (name: string, modules: string[], ready: (...modules: unknown[]) => T) => any -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ >name : string > : ^^^^^^ >modules : string[] > : ^^^^^^^^ >ready : (...modules: unknown[]) => T -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >modules : unknown[] > : ^^^^^^^^^ @@ -24,7 +24,7 @@ declare module "deps/BaseClass" { static extends(a: A): new () => A & BaseClass; >extends : (a: A) => new () => A & BaseClass -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : A > : ^ } diff --git a/tests/baselines/reference/anonClassDeclarationEmitIsAnon.types b/tests/baselines/reference/anonClassDeclarationEmitIsAnon.types index 4cf1774915d75..206056a633bbd 100644 --- a/tests/baselines/reference/anonClassDeclarationEmitIsAnon.types +++ b/tests/baselines/reference/anonClassDeclarationEmitIsAnon.types @@ -30,7 +30,7 @@ export type Constructor = new (...args: any[]) => T; export function Timestamped(Base: TBase) { >Timestamped : >(Base: TBase) => { new (...args: any[]): (Anonymous class); prototype: Timestamped.(Anonymous class); } & TBase -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : TBase > : ^^^^^ diff --git a/tests/baselines/reference/anyAssignabilityInInheritance.types b/tests/baselines/reference/anyAssignabilityInInheritance.types index b9fcce9393c0b..3c3e7590458b9 100644 --- a/tests/baselines/reference/anyAssignabilityInInheritance.types +++ b/tests/baselines/reference/anyAssignabilityInInheritance.types @@ -71,7 +71,7 @@ var r3 = foo3(a); // any declare function foo5(x: Date): Date; >foo5 : { (x: Date): Date; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : Date > : ^^^^ @@ -89,7 +89,7 @@ var r3 = foo3(a); // any declare function foo6(x: RegExp): RegExp; >foo6 : { (x: RegExp): RegExp; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : RegExp > : ^^^^^^ @@ -151,7 +151,7 @@ interface I8 { foo: string } declare function foo9(x: I8): I8; >foo9 : { (x: I8): I8; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : I8 > : ^^ @@ -175,7 +175,7 @@ class A { foo: number; } declare function foo10(x: A): A; >foo10 : { (x: A): A; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : A > : ^ @@ -199,7 +199,7 @@ class A2 { foo: T; } declare function foo11(x: A2): A2; >foo11 : { (x: A2): A2; (x: any): any; } -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : A2 > : ^^^^^^^^^^ @@ -237,9 +237,9 @@ var r3 = foo3(a); // any declare function foo13(x: (x: T) => T): (x: T) => T; >foo13 : { (x: (x: T) => T): (x: T_1) => T_1; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -265,7 +265,7 @@ enum E { A } declare function foo14(x: E): E; >foo14 : { (x: E): E; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : E > : ^ @@ -297,7 +297,7 @@ module f { } declare function foo15(x: typeof f): typeof f; >foo15 : { (x: typeof f): typeof f; (x: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : typeof f > : ^^^^^^^^ >f : typeof f @@ -335,7 +335,7 @@ module CC { } declare function foo16(x: CC): CC; >foo16 : { (x: CC): CC; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : CC > : ^^ @@ -353,7 +353,7 @@ var r3 = foo3(a); // any declare function foo17(x: Object): Object; >foo17 : { (x: Object): Object; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : Object > : ^^^^^^ diff --git a/tests/baselines/reference/anyAssignableToEveryType.types b/tests/baselines/reference/anyAssignableToEveryType.types index 6dab051b764ea..d048a90325ee9 100644 --- a/tests/baselines/reference/anyAssignableToEveryType.types +++ b/tests/baselines/reference/anyAssignableToEveryType.types @@ -123,7 +123,7 @@ var n: { foo: string } = a; var o: (x: T) => T = a; >o : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >a : any @@ -140,7 +140,7 @@ var q: String = a; function foo(x: T, y: U, z: V) { >foo : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/argumentsAsPropertyName.types b/tests/baselines/reference/argumentsAsPropertyName.types index be5371ca8bfe3..17d71d8a11469 100644 --- a/tests/baselines/reference/argumentsAsPropertyName.types +++ b/tests/baselines/reference/argumentsAsPropertyName.types @@ -18,7 +18,7 @@ declare function use(s: any); function myFunction(myType: MyType) { >myFunction : (myType: MyType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >myType : MyType > : ^^^^^^ diff --git a/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types b/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types index 12b692945d291..00bb90cf2af47 100644 --- a/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types +++ b/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types @@ -59,7 +59,7 @@ declare const itNum: Iterable declare function fn1(...args: T): T; >fn1 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -118,7 +118,7 @@ const res4 = fn1(true, ...itNum); // repro from #52781 declare function foo(...args: T): T; >foo : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/argumentsSpreadRestIterables(target=esnext).types b/tests/baselines/reference/argumentsSpreadRestIterables(target=esnext).types index 04f353cd938bd..6c1a1d0d78592 100644 --- a/tests/baselines/reference/argumentsSpreadRestIterables(target=esnext).types +++ b/tests/baselines/reference/argumentsSpreadRestIterables(target=esnext).types @@ -59,7 +59,7 @@ declare const itNum: Iterable declare function fn1(...args: T): T; >fn1 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -118,7 +118,7 @@ const res4 = fn1(true, ...itNum); // repro from #52781 declare function foo(...args: T): T; >foo : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/arithmeticOnInvalidTypes2.types b/tests/baselines/reference/arithmeticOnInvalidTypes2.types index 74c9bc1de6857..391398d8792d5 100644 --- a/tests/baselines/reference/arithmeticOnInvalidTypes2.types +++ b/tests/baselines/reference/arithmeticOnInvalidTypes2.types @@ -3,11 +3,11 @@ === arithmeticOnInvalidTypes2.ts === var obj = function f(a: T, b: T) { >obj : (a: T, b: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >function f(a: T, b: T) { var z1 = a + b; var z2 = a - b; var z3 = a * b; var z4 = a / b; return a;} : (a: T, b: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >f : (a: T, b: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/arithmeticOperatorWithTypeParameter.types b/tests/baselines/reference/arithmeticOperatorWithTypeParameter.types index 33e8d2686740d..175b8f49b582c 100644 --- a/tests/baselines/reference/arithmeticOperatorWithTypeParameter.types +++ b/tests/baselines/reference/arithmeticOperatorWithTypeParameter.types @@ -4,7 +4,7 @@ // type parameter type is not valid for arithmetic operand function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/arrayAssignmentTest1.types b/tests/baselines/reference/arrayAssignmentTest1.types index 17284919c40c6..12cc59410518e 100644 --- a/tests/baselines/reference/arrayAssignmentTest1.types +++ b/tests/baselines/reference/arrayAssignmentTest1.types @@ -17,7 +17,7 @@ class C1 implements I1 { C1M1():C1[] {return null;} >C1M1 : () => C1[] -> : ^^^^^^^^ +> : ^^^^^^ } class C2 extends C1 { >C2 : C2 @@ -27,7 +27,7 @@ class C2 extends C1 { C2M1():C2[] { return null;} >C2M1 : () => C2[] -> : ^^^^^^^^ +> : ^^^^^^ } class C3 { diff --git a/tests/baselines/reference/arrayAssignmentTest2.types b/tests/baselines/reference/arrayAssignmentTest2.types index a872a9e0a6f84..8c40774610916 100644 --- a/tests/baselines/reference/arrayAssignmentTest2.types +++ b/tests/baselines/reference/arrayAssignmentTest2.types @@ -17,7 +17,7 @@ class C1 implements I1 { C1M1():C1[] {return null;} >C1M1 : () => C1[] -> : ^^^^^^^^ +> : ^^^^^^ } class C2 extends C1 { >C2 : C2 @@ -27,7 +27,7 @@ class C2 extends C1 { C2M1():C2[] { return null;} >C2M1 : () => C2[] -> : ^^^^^^^^ +> : ^^^^^^ } class C3 { diff --git a/tests/baselines/reference/arrayAssignmentTest5.types b/tests/baselines/reference/arrayAssignmentTest5.types index 8896fba38ed4f..99e511d102fc4 100644 --- a/tests/baselines/reference/arrayAssignmentTest5.types +++ b/tests/baselines/reference/arrayAssignmentTest5.types @@ -31,7 +31,7 @@ module Test { interface IMode { onEnter(line:string, state:IState, offset:number):IAction; >onEnter : (line: string, state: IState, offset: number) => IAction -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >line : string > : ^^^^^^ >state : IState @@ -41,7 +41,7 @@ module Test { tokenize(line:string, state:IState, includeStates:boolean):ILineTokens; >tokenize : (line: string, state: IState, includeStates: boolean) => ILineTokens -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >line : string > : ^^^^^^ >state : IState @@ -55,7 +55,7 @@ module Test { public onEnter(line:string, state:IState, offset:number):IAction { >onEnter : (line: string, state: IState, offset: number) => IAction -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >line : string > : ^^^^^^ >state : IState @@ -122,7 +122,7 @@ module Test { } public tokenize(line:string, state:IState, includeStates:boolean):ILineTokens { >tokenize : (line: string, state: IState, includeStates: boolean) => ILineTokens -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >line : string > : ^^^^^^ >state : IState diff --git a/tests/baselines/reference/arrayAssignmentTest6.types b/tests/baselines/reference/arrayAssignmentTest6.types index 354edca8bdffd..ec12e75dafe89 100644 --- a/tests/baselines/reference/arrayAssignmentTest6.types +++ b/tests/baselines/reference/arrayAssignmentTest6.types @@ -24,7 +24,7 @@ module Test { interface IMode { tokenize(line:string, state:IState, includeStates:boolean):ILineTokens; >tokenize : (line: string, state: IState, includeStates: boolean) => ILineTokens -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >line : string > : ^^^^^^ >state : IState @@ -38,7 +38,7 @@ module Test { public tokenize(line:string, tokens:IToken[], includeStates:boolean):ILineTokens { >tokenize : (line: string, tokens: IToken[], includeStates: boolean) => ILineTokens -> : ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >line : string > : ^^^^^^ >tokens : IToken[] diff --git a/tests/baselines/reference/arrayAugment.types b/tests/baselines/reference/arrayAugment.types index 3c3a688f50a94..f3b01c04e9983 100644 --- a/tests/baselines/reference/arrayAugment.types +++ b/tests/baselines/reference/arrayAugment.types @@ -4,7 +4,7 @@ interface Array { split: (parts: number) => T[][]; >split : (parts: number) => T[][] -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >parts : number > : ^^^^^^ } diff --git a/tests/baselines/reference/arrayBestCommonTypes.types b/tests/baselines/reference/arrayBestCommonTypes.types index 4b8d2fa2c6569..8547ff16e6c14 100644 --- a/tests/baselines/reference/arrayBestCommonTypes.types +++ b/tests/baselines/reference/arrayBestCommonTypes.types @@ -393,7 +393,7 @@ module EmptyTypes { var t1: { x: number; y: base; }[] = [{ x: 7, y: new derived() }, { x: 5, y: new base() }]; >t1 : { x: number; y: base; }[] -> : ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : base @@ -427,7 +427,7 @@ module EmptyTypes { var t2: { x: boolean; y: base; }[] = [{ x: true, y: new derived() }, { x: false, y: new base() }]; >t2 : { x: boolean; y: base; }[] -> : ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : boolean > : ^^^^^^^ >y : base @@ -461,7 +461,7 @@ module EmptyTypes { var t3: { x: string; y: base; }[] = [{ x: undefined, y: new base() }, { x: '', y: new derived() }]; >t3 : { x: string; y: base; }[] -> : ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : string > : ^^^^^^ >y : base @@ -1075,7 +1075,7 @@ module NonEmptyTypes { var t1: { x: number; y: base; }[] = [{ x: 7, y: new derived() }, { x: 5, y: new base() }]; >t1 : { x: number; y: base; }[] -> : ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : base @@ -1109,7 +1109,7 @@ module NonEmptyTypes { var t2: { x: boolean; y: base; }[] = [{ x: true, y: new derived() }, { x: false, y: new base() }]; >t2 : { x: boolean; y: base; }[] -> : ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : boolean > : ^^^^^^^ >y : base @@ -1143,7 +1143,7 @@ module NonEmptyTypes { var t3: { x: string; y: base; }[] = [{ x: undefined, y: new base() }, { x: '', y: new derived() }]; >t3 : { x: string; y: base; }[] -> : ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : string > : ^^^^^^ >y : base diff --git a/tests/baselines/reference/arrayConcat3.types b/tests/baselines/reference/arrayConcat3.types index 6c83fbfcb273d..fcb2137de9313 100644 --- a/tests/baselines/reference/arrayConcat3.types +++ b/tests/baselines/reference/arrayConcat3.types @@ -10,7 +10,7 @@ type Fn = (subj: U) => U function doStuff(a: Array>, b: Array>) { >doStuff : (a: Array>, b: Array>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : Fn[] > : ^^^^^^^ >b : Fn[] diff --git a/tests/baselines/reference/arrayDestructuringInSwitch1.types b/tests/baselines/reference/arrayDestructuringInSwitch1.types index e51c69760a26e..ed751aae4b7dc 100644 --- a/tests/baselines/reference/arrayDestructuringInSwitch1.types +++ b/tests/baselines/reference/arrayDestructuringInSwitch1.types @@ -11,7 +11,7 @@ export type BooleanLogicExpression = ['and', ...Expression[]] | ['not', Expressi export function evaluate(expression: Expression): boolean { >evaluate : (expression: Expression) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >expression : Expression > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/arrayDestructuringInSwitch2.types b/tests/baselines/reference/arrayDestructuringInSwitch2.types index 27b37ad597783..924bf9620e627 100644 --- a/tests/baselines/reference/arrayDestructuringInSwitch2.types +++ b/tests/baselines/reference/arrayDestructuringInSwitch2.types @@ -15,7 +15,7 @@ type X = { kind: "a", a: [1] } | { kind: "b", a: [] } function foo(x: X): 1 { >foo : (x: X) => 1 -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : X > : ^ diff --git a/tests/baselines/reference/arrayFakeFlatNoCrashInferenceDeclarations.types b/tests/baselines/reference/arrayFakeFlatNoCrashInferenceDeclarations.types index b2dc00cd81118..85a5a83ebbd8d 100644 --- a/tests/baselines/reference/arrayFakeFlatNoCrashInferenceDeclarations.types +++ b/tests/baselines/reference/arrayFakeFlatNoCrashInferenceDeclarations.types @@ -3,9 +3,9 @@ === arrayFakeFlatNoCrashInferenceDeclarations.ts === type BadFlatArray = {obj: { >BadFlatArray : { done: Arr; recur: Arr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? any[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]]] extends infer T ? T extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]]] ? T extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]] extends infer T_1 ? T_1 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]] ? T_1 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]] extends infer T_2 ? T_2 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]] ? T_2 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]] extends infer T_3 ? T_3 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]] ? T_3 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]] extends infer T_4 ? T_4 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]] ? T_4 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]] extends infer T_5 ? T_5 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]] ? T_5 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]] extends infer T_6 ? T_6 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]] ? T_6 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]] extends infer T_7 ? T_7 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]] ? T_7 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]] extends infer T_8 ? T_8 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]] ? T_8 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]] extends infer T_9 ? T_9 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]] ? T_9 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth] extends infer T_10 ? T_10 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth] ? T_10 extends -1 ? "done" : "recur" : never : never] : Arr; }[Depth extends -1 ? "done" : "recur"] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { done: Arr; recur: Arr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? { done: InnerArr; recur: InnerArr extends readonly (infer InnerArr)[] ? any[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]]] extends infer T ? T extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]]] ? T extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]] extends infer T_1 ? T_1 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]]] ? T_1 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]] extends infer T_2 ? T_2 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]]] ? T_2 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]] extends infer T_3 ? T_3 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]]] ? T_3 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]] extends infer T_4 ? T_4 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]]] ? T_4 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]] extends infer T_5 ? T_5 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]]] ? T_5 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]] extends infer T_6 ? T_6 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]]] ? T_6 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]] extends infer T_7 ? T_7 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]]] ? T_7 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]] extends infer T_8 ? T_8 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]]] ? T_8 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]] extends infer T_9 ? T_9 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]] ? T_9 extends -1 ? "done" : "recur" : never : never] : InnerArr; }[[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth] extends infer T_10 ? T_10 extends [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth] ? T_10 extends -1 ? "done" : "recur" : never : never] : Arr; }[Depth extends -1 ? "done" : "recur"] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "done": Arr, >"done" : Arr @@ -30,7 +30,7 @@ type BadFlatArray = {obj: { declare function flat( >flat : (arr: A, depth?: D) => BadFlatArray[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ arr: A, >arr : A @@ -44,7 +44,7 @@ declare function flat( function foo(arr: T[], depth: number) { >foo : (arr: T[], depth: number) => (T | (T extends readonly (infer InnerArr)[] ? InnerArr | (InnerArr extends readonly (infer InnerArr)[] ? any : InnerArr) : T))[] -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arr : T[] > : ^^^ >depth : number diff --git a/tests/baselines/reference/arrayFlatMap.types b/tests/baselines/reference/arrayFlatMap.types index ef03360680ad3..acf49d827d714 100644 --- a/tests/baselines/reference/arrayFlatMap.types +++ b/tests/baselines/reference/arrayFlatMap.types @@ -23,7 +23,7 @@ array.flatMap((): ReadonlyArray => []); // ok >flatMap : (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(): ReadonlyArray => [] : () => ReadonlyArray -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >[] : undefined[] > : ^^^^^^^^^^^ @@ -37,7 +37,7 @@ readonlyArray.flatMap((): ReadonlyArray => []); // ok >flatMap : (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(): ReadonlyArray => [] : () => ReadonlyArray -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >[] : undefined[] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/arrayFlatNoCrashInference.types b/tests/baselines/reference/arrayFlatNoCrashInference.types index ee47400689a29..ba38106583f08 100644 --- a/tests/baselines/reference/arrayFlatNoCrashInference.types +++ b/tests/baselines/reference/arrayFlatNoCrashInference.types @@ -3,7 +3,7 @@ === arrayFlatNoCrashInference.ts === function foo(arr: T[], depth: number) { >foo : (arr: T[], depth: number) => FlatArray[] -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arr : T[] > : ^^^ >depth : number diff --git a/tests/baselines/reference/arrayFlatNoCrashInferenceDeclarations.types b/tests/baselines/reference/arrayFlatNoCrashInferenceDeclarations.types index 6b6b12069eca9..5b4ef8a9e9411 100644 --- a/tests/baselines/reference/arrayFlatNoCrashInferenceDeclarations.types +++ b/tests/baselines/reference/arrayFlatNoCrashInferenceDeclarations.types @@ -3,7 +3,7 @@ === arrayFlatNoCrashInferenceDeclarations.ts === function foo(arr: T[], depth: number) { >foo : (arr: T[], depth: number) => FlatArray[] -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arr : T[] > : ^^^ >depth : number diff --git a/tests/baselines/reference/arrayFrom.types b/tests/baselines/reference/arrayFrom.types index 20161f59289cb..1278603ebde52 100644 --- a/tests/baselines/reference/arrayFrom.types +++ b/tests/baselines/reference/arrayFrom.types @@ -126,7 +126,7 @@ const result4: A[] = Array.from(inputB, ({ b }): A => ({ a: b })); >inputB : B[] > : ^^^ >({ b }): A => ({ a: b }) : ({ b }: B) => A -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ >b : string > : ^^^^^^ >({ a: b }) : { a: string; } @@ -180,7 +180,7 @@ const result7: B[] = Array.from(inputALike, ({ a }): B => ({ b: a })); >inputALike : ArrayLike > : ^^^^^^^^^^^^ >({ a }): B => ({ b: a }) : ({ a }: A) => B -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ >a : string > : ^^^^^^ >({ b: a }) : { b: string; } @@ -220,7 +220,7 @@ const result9: B[] = Array.from(inputARand, ({ a }): B => ({ b: a })); >inputARand : ArrayLike | Iterable > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >({ a }): B => ({ b: a }) : ({ a }: A) => B -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ >a : string > : ^^^^^^ >({ b: a }) : { b: string; } @@ -262,7 +262,7 @@ const result11: B[] = Array.from(inputASet, ({ a }): B => ({ b: a })); >inputASet : Set > : ^^^^^^ >({ a }): B => ({ b: a }) : ({ a }: A) => B -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ >a : string > : ^^^^^^ >({ b: a }) : { b: string; } @@ -279,7 +279,7 @@ const result11: B[] = Array.from(inputASet, ({ a }): B => ({ b: a })); // even when the type is written as : Iterable|ArrayLike function getEither (in1: Iterable, in2: ArrayLike) { >getEither : (in1: Iterable, in2: ArrayLike) => ArrayLike | Iterable -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >in1 : Iterable > : ^^^^^^^^^^^ >in2 : ArrayLike diff --git a/tests/baselines/reference/arrayLiteralContextualType.types b/tests/baselines/reference/arrayLiteralContextualType.types index 1ca6257b1ee63..96d5e55909817 100644 --- a/tests/baselines/reference/arrayLiteralContextualType.types +++ b/tests/baselines/reference/arrayLiteralContextualType.types @@ -43,13 +43,13 @@ class Elephant { function foo(animals: IAnimal[]) { } >foo : (animals: IAnimal[]) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >animals : IAnimal[] > : ^^^^^^^^^ function bar(animals: { [n: number]: IAnimal }) { } >bar : (animals: { [n: number]: IAnimal; }) => void -> : ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >animals : { [n: number]: IAnimal; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >n : number diff --git a/tests/baselines/reference/arrayLiteralInference.types b/tests/baselines/reference/arrayLiteralInference.types index d9deb078f9986..96be66df90a41 100644 --- a/tests/baselines/reference/arrayLiteralInference.types +++ b/tests/baselines/reference/arrayLiteralInference.types @@ -181,7 +181,7 @@ const appTypeStylesWithError: Map> = new Map([ declare function foo(...args: T[]): T[]; >foo : (...args: T[]) => T[] -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >args : T[] > : ^^^ diff --git a/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.types b/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.types index 1af6573fda0b7..02432c6019123 100644 --- a/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.types +++ b/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.types @@ -61,11 +61,11 @@ var cs = [a, b, c]; // { x: number; y?: number };[] var ds = [(x: Object) => 1, (x: string) => 2]; // { (x:Object) => number }[] >ds : ((x: Object) => number)[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^ >[(x: Object) => 1, (x: string) => 2] : ((x: Object) => number)[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^ >(x: Object) => 1 : (x: Object) => number -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Object > : ^^^^^^ >1 : 1 @@ -89,7 +89,7 @@ var es = [(x: string) => 2, (x: Object) => 1]; // { (x:string) => number }[] >2 : 2 > : ^ >(x: Object) => 1 : (x: Object) => number -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Object > : ^^^^^^ >1 : 1 diff --git a/tests/baselines/reference/arrayOfExportedClass.types b/tests/baselines/reference/arrayOfExportedClass.types index 92e83524fa256..8341eeea97dba 100644 --- a/tests/baselines/reference/arrayOfExportedClass.types +++ b/tests/baselines/reference/arrayOfExportedClass.types @@ -16,7 +16,7 @@ class Road { public AddCars(cars: Car[]) { >AddCars : (cars: Car[]) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >cars : Car[] > : ^^^^^ diff --git a/tests/baselines/reference/arrayOfFunctionTypes3.types b/tests/baselines/reference/arrayOfFunctionTypes3.types index 03bf6b7158365..aa614c3d71900 100644 --- a/tests/baselines/reference/arrayOfFunctionTypes3.types +++ b/tests/baselines/reference/arrayOfFunctionTypes3.types @@ -122,7 +122,7 @@ var r5b = r4(1); var a2: { (x: T): number; (x: string): string;}; >a2 : { (x: T): number; (x: string): string; } -> : ^^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : string @@ -130,7 +130,7 @@ var a2: { (x: T): number; (x: string): string;}; var b2: { (x: T): number; (x: string): string; }; >b2 : { (x: T): number; (x: string): string; } -> : ^^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : string @@ -138,7 +138,7 @@ var b2: { (x: T): number; (x: string): string; }; var c2: { (x: number): number; (x: T): any; }; >c2 : { (x: number): number; (x: T): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^ ^^^ ^^^^^ ^^^ ^^^ >x : number > : ^^^^^^ >x : T diff --git a/tests/baselines/reference/arraySpreadInCall.types b/tests/baselines/reference/arraySpreadInCall.types index 72ffa2cca3d94..cabd972bdbb00 100644 --- a/tests/baselines/reference/arraySpreadInCall.types +++ b/tests/baselines/reference/arraySpreadInCall.types @@ -185,7 +185,7 @@ f1(...(([1, 2])), ...(((([3, 4])))), ...([5, 6])); declare function f2(...args: T): T; >f2 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -263,7 +263,7 @@ const x24 = f2(true, ...([1, 'foo'])) declare function f3(...args: T): T; >f3 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -341,7 +341,7 @@ const x34 = f3(true, ...([1, 'foo'])) declare function f4(...args: T): T; >f4 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.types b/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.types index a75cc60271c9c..5e7a9db5ac475 100644 --- a/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.types +++ b/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.types @@ -11,13 +11,13 @@ declare module WinJS { then(success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; >then : (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void) => Promise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -63,7 +63,7 @@ declare module Data { //removeIndices: WinJS.Promise[]>; removeIndices(indices: number[], options?: any): WinJS.Promise[]>; >removeIndices : (indices: number[], options?: any) => WinJS.Promise[]> -> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >indices : number[] > : ^^^^^^^^ >options : any @@ -77,7 +77,7 @@ declare module Data { //removeIndices: WinJS.Promise[]>; public removeIndices(indices: number[], options?: any): WinJS.Promise[]>; >removeIndices : (indices: number[], options?: any) => WinJS.Promise[]> -> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >indices : number[] > : ^^^^^^^^ >options : any diff --git a/tests/baselines/reference/arrayTypeOfTypeOf.types b/tests/baselines/reference/arrayTypeOfTypeOf.types index a061dd96664f3..930533ef27d75 100644 --- a/tests/baselines/reference/arrayTypeOfTypeOf.types +++ b/tests/baselines/reference/arrayTypeOfTypeOf.types @@ -23,13 +23,13 @@ var xs2: typeof Array; var xs3: typeof Array; >xs3 : typeof Array -> : ^^^^^ +> : >Array : ArrayConstructor > : ^^^^^^^^^^^^^^^^ var xs4: typeof Array; >xs4 : typeof Array -> : ^^^^^ ^ +> : >Array : ArrayConstructor > : ^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/arrowFunctionContexts.types b/tests/baselines/reference/arrowFunctionContexts.types index 3598b65f15368..7a0f4ecf75b74 100644 --- a/tests/baselines/reference/arrowFunctionContexts.types +++ b/tests/baselines/reference/arrowFunctionContexts.types @@ -307,9 +307,9 @@ module M2 { // (ParamList) => { ... } is a generic arrow function var generic1 = (n: T) => [n]; >generic1 : (n: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(n: T) => [n] : (n: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >n : T > : ^ >[n] : T[] @@ -325,9 +325,9 @@ var generic1: { (n: T): T[] }; // Incorrect error, Bug 829597 var generic2 = (n: T) => { return [n]; }; >generic2 : (n: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(n: T) => { return [n]; } : (n: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >n : T > : ^ >[n] : T[] diff --git a/tests/baselines/reference/arrowFunctionParsingGenericInObject.types b/tests/baselines/reference/arrowFunctionParsingGenericInObject.types index fbb13974deaa6..d2bdaccd2c6fc 100644 --- a/tests/baselines/reference/arrowFunctionParsingGenericInObject.types +++ b/tests/baselines/reference/arrowFunctionParsingGenericInObject.types @@ -3,19 +3,19 @@ === arrowFunctionParsingGenericInObject.ts === const fn1 = () => ({ >fn1 : () => { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => ({ test: (value: T): T => value, extraValue: () => {},}) : () => { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >({ test: (value: T): T => value, extraValue: () => {},}) : { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ test: (value: T): T => value, extraValue: () => {},} : { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ test: (value: T): T => value, >test : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(value: T): T => value : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -31,19 +31,19 @@ const fn1 = () => ({ const fn1async = () => ({ >fn1async : () => { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => ({ test: async (value: T): Promise => value, extraValue: () => {},}) : () => { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >({ test: async (value: T): Promise => value, extraValue: () => {},}) : { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ test: async (value: T): Promise => value, extraValue: () => {},} : { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ test: async (value: T): Promise => value, >test : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >async (value: T): Promise => value : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -59,19 +59,19 @@ const fn1async = () => ({ const fn2 = () => ({ >fn2 : () => { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => ({ test: (value: T): T => value, extraValue: () => {},}) : () => { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >({ test: (value: T): T => value, extraValue: () => {},}) : { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ test: (value: T): T => value, extraValue: () => {},} : { test: (value: T) => T; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ test: (value: T): T => value, >test : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >(value: T): T => value : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -87,19 +87,19 @@ const fn2 = () => ({ const fn2async = () => ({ >fn2async : () => { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => ({ test: async (value: T): Promise => value, extraValue: () => {},}) : () => { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >({ test: async (value: T): Promise => value, extraValue: () => {},}) : { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ test: async (value: T): Promise => value, extraValue: () => {},} : { test: (value: T) => Promise; extraValue: () => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ test: async (value: T): Promise => value, >test : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >async (value: T): Promise => value : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -115,13 +115,13 @@ const fn2async = () => ({ const fn3 = () => ({ >fn3 : () => { extraValue: () => void; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >() => ({ extraValue: () => {}, test: (value: T): T => value,}) : () => { extraValue: () => void; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >({ extraValue: () => {}, test: (value: T): T => value,}) : { extraValue: () => void; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >{ extraValue: () => {}, test: (value: T): T => value,} : { extraValue: () => void; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ extraValue: () => {}, >extraValue : () => void @@ -131,9 +131,9 @@ const fn3 = () => ({ test: (value: T): T => value, >test : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(value: T): T => value : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -143,13 +143,13 @@ const fn3 = () => ({ const fn3async = () => ({ >fn3async : () => { extraValue: () => void; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >() => ({ extraValue: () => {}, test: async (value: T): Promise => value,}) : () => { extraValue: () => void; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >({ extraValue: () => {}, test: async (value: T): Promise => value,}) : { extraValue: () => void; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >{ extraValue: () => {}, test: async (value: T): Promise => value,} : { extraValue: () => void; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ extraValue: () => {}, >extraValue : () => void @@ -159,9 +159,9 @@ const fn3async = () => ({ test: async (value: T): Promise => value, >test : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >async (value: T): Promise => value : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -171,13 +171,13 @@ const fn3async = () => ({ const fn4 = () => ({ >fn4 : () => { extraValue: string; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >() => ({ extraValue: '', test: (value: T): T => value,}) : () => { extraValue: string; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >({ extraValue: '', test: (value: T): T => value,}) : { extraValue: string; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >{ extraValue: '', test: (value: T): T => value,} : { extraValue: string; test: (value: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ extraValue: '', >extraValue : string @@ -187,9 +187,9 @@ const fn4 = () => ({ test: (value: T): T => value, >test : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(value: T): T => value : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T @@ -199,13 +199,13 @@ const fn4 = () => ({ const fn4async = () => ({ >fn4async : () => { extraValue: string; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >() => ({ extraValue: '', test: async (value: T): Promise => value,}) : () => { extraValue: string; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >({ extraValue: '', test: async (value: T): Promise => value,}) : { extraValue: string; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >{ extraValue: '', test: async (value: T): Promise => value,} : { extraValue: string; test: (value: T) => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ extraValue: '', >extraValue : string @@ -215,9 +215,9 @@ const fn4async = () => ({ test: async (value: T): Promise => value, >test : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >async (value: T): Promise => value : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >value : T diff --git a/tests/baselines/reference/assertInWrapSomeTypeParameter.types b/tests/baselines/reference/assertInWrapSomeTypeParameter.types index 162c561a1bc96..f591ceb28ce1c 100644 --- a/tests/baselines/reference/assertInWrapSomeTypeParameter.types +++ b/tests/baselines/reference/assertInWrapSomeTypeParameter.types @@ -7,7 +7,7 @@ class C> { foo>(x: U) { >foo : >>(x: U) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/assertionFunctionWildcardImport2.types b/tests/baselines/reference/assertionFunctionWildcardImport2.types index 35bc35ef13454..4cc645774939a 100644 --- a/tests/baselines/reference/assertionFunctionWildcardImport2.types +++ b/tests/baselines/reference/assertionFunctionWildcardImport2.types @@ -3,7 +3,7 @@ === asserts.ts === function isNonNullable(obj: T): asserts obj is NonNullable { >isNonNullable : (obj: T) => asserts obj is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.types b/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.types index a514241bb6764..fdb4e87c56006 100644 --- a/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.types +++ b/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.types @@ -31,7 +31,7 @@ type Animal = Cat | Dog; declare function assertEqual(value: any, type: T): asserts value is T; >assertEqual : (value: any, type: T) => asserts value is T -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >value : any >type : T > : ^ diff --git a/tests/baselines/reference/assertionTypePredicates1.types b/tests/baselines/reference/assertionTypePredicates1.types index 466bbc90f9206..4db7d3d9d0a93 100644 --- a/tests/baselines/reference/assertionTypePredicates1.types +++ b/tests/baselines/reference/assertionTypePredicates1.types @@ -37,7 +37,7 @@ declare function assertIsArrayOfStrings(value: unknown): asserts value is string declare function assertDefined(value: T): asserts value is NonNullable; >assertDefined : (value: T) => asserts value is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ @@ -446,7 +446,7 @@ namespace Debug { export declare function assertDefined(value: T): asserts value is NonNullable; >assertDefined : (value: T) => asserts value is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ } @@ -824,7 +824,7 @@ class Derived extends Test { function f11(items: Test[]) { >f11 : (items: Test[]) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >items : Test[] > : ^^^^^^ @@ -1046,7 +1046,7 @@ interface GoodThing { function example1(things: Thing[]) { >example1 : (things: Thing[]) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >things : Thing[] > : ^^^^^^^ diff --git a/tests/baselines/reference/assertionTypePredicates2.types b/tests/baselines/reference/assertionTypePredicates2.types index 5c16e762c8c2d..f8f237740836c 100644 --- a/tests/baselines/reference/assertionTypePredicates2.types +++ b/tests/baselines/reference/assertionTypePredicates2.types @@ -15,9 +15,9 @@ */ const foo = (a) => { >foo : (a: A) => asserts a is B -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^ >(a) => { if (/** @type { B } */ (a).y !== 0) throw TypeError(); return undefined;} : (a: A) => asserts a is B -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^ >a : A > : ^ diff --git a/tests/baselines/reference/assignAnyToEveryType.types b/tests/baselines/reference/assignAnyToEveryType.types index 922b98e459273..e0ee109dbc349 100644 --- a/tests/baselines/reference/assignAnyToEveryType.types +++ b/tests/baselines/reference/assignAnyToEveryType.types @@ -125,7 +125,7 @@ var j: { (): string } = x; var j2: { (x: T): string } = x; >j2 : (x: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >x : any @@ -152,7 +152,7 @@ M = x; function k(a: T) { >k : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/assignEveryTypeToAny.types b/tests/baselines/reference/assignEveryTypeToAny.types index a87a25af21dda..cebdc77f5856f 100644 --- a/tests/baselines/reference/assignEveryTypeToAny.types +++ b/tests/baselines/reference/assignEveryTypeToAny.types @@ -195,12 +195,12 @@ x = { f() { return 1; } } x = { f(x: T) { return x; } } >x = { f(x: T) { return x; } } : { f(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^ >x : any >{ f(x: T) { return x; } } : { f(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^ >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -208,7 +208,7 @@ x = { f(x: T) { return x; } } function j(a: T) { >j : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/assignFromStringInterface2.types b/tests/baselines/reference/assignFromStringInterface2.types index 72e491b26daea..f7ed1fc676fe5 100644 --- a/tests/baselines/reference/assignFromStringInterface2.types +++ b/tests/baselines/reference/assignFromStringInterface2.types @@ -58,13 +58,13 @@ interface NotString { match(regexp: string): RegExpMatchArray; >match : { (regexp: string): RegExpMatchArray; (regexp: RegExp): RegExpMatchArray; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >regexp : string > : ^^^^^^ match(regexp: RegExp): RegExpMatchArray; >match : { (regexp: string): RegExpMatchArray; (regexp: RegExp): RegExpMatchArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >regexp : RegExp > : ^^^^^^ @@ -90,7 +90,7 @@ interface NotString { replace(searchValue: RegExp, replaceValue: string): string; >replace : { (searchValue: string, replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >searchValue : RegExp > : ^^^^^^ >replaceValue : string @@ -98,7 +98,7 @@ interface NotString { replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; >replace : { (searchValue: string, replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >searchValue : RegExp > : ^^^^^^ >replaceValue : (substring: string, ...args: any[]) => string @@ -116,7 +116,7 @@ interface NotString { search(regexp: RegExp): number; >search : { (regexp: string): number; (regexp: RegExp): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >regexp : RegExp > : ^^^^^^ @@ -138,7 +138,7 @@ interface NotString { split(separator: RegExp, limit?: number): string[]; >split : { (separator: string, limit?: number): string[]; (separator: RegExp, limit?: number): string[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >separator : RegExp > : ^^^^^^ >limit : number diff --git a/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.types b/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.types index 2db603c56f56e..ca600591f7c94 100644 --- a/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.types +++ b/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.types @@ -9,7 +9,7 @@ interface IResultCallback extends Function { function fn(cb: IResultCallback) { } >fn : (cb: IResultCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >cb : IResultCallback > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.types b/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.types index f917c0a924bde..3eca376f65a75 100644 --- a/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.types +++ b/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.types @@ -17,7 +17,7 @@ var p: XEvent = XEvent.prototype; var x: {prototype: XEvent} = XEvent; >x : { prototype: XEvent; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ >prototype : XEvent > : ^^^^^^ >XEvent : typeof XEvent diff --git a/tests/baselines/reference/assignmentCompatForEnums.types b/tests/baselines/reference/assignmentCompatForEnums.types index d49a5cc00d88c..f93c64196e872 100644 --- a/tests/baselines/reference/assignmentCompatForEnums.types +++ b/tests/baselines/reference/assignmentCompatForEnums.types @@ -18,7 +18,7 @@ var list = {}; function returnType(): TokenType { return null; } >returnType : () => TokenType -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ function foo() { >foo : () => void diff --git a/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.types b/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.types index b24c04ac96c58..b4977859dae6a 100644 --- a/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.types +++ b/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.types @@ -24,7 +24,7 @@ class Foo { function Biz(map: IHandlerMap) { } >Biz : (map: IHandlerMap) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >map : IHandlerMap > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatOnNew.types b/tests/baselines/reference/assignmentCompatOnNew.types index 28b439e37cf5e..cde51e1daaecb 100644 --- a/tests/baselines/reference/assignmentCompatOnNew.types +++ b/tests/baselines/reference/assignmentCompatOnNew.types @@ -7,9 +7,9 @@ class Foo{}; function bar(x: {new(): Foo;}){} >bar : (x: { new (): Foo; }) => void -> : ^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : new () => Foo -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ bar(Foo); // Error, but should be allowed >bar(Foo) : void diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures.types b/tests/baselines/reference/assignmentCompatWithCallSignatures.types index 18b223823d7e8..d7185816eb60a 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures.types +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures.types @@ -83,11 +83,11 @@ a = a2; t = (x: T) => 1; >t = (x: T) => 1 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >t : T > : ^ >(x: T) => 1 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >1 : 1 @@ -117,11 +117,11 @@ t = function (x: number) { return ''; } a = (x: T) => 1; >a = (x: T) => 1 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : (x: number) => void > : ^^^^^^^^^^^^^^^^^^^ >(x: T) => 1 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >1 : 1 diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures2.types b/tests/baselines/reference/assignmentCompatWithCallSignatures2.types index 793f07f4c3043..e78a873d18635 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures2.types +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures2.types @@ -105,15 +105,15 @@ t = { f: () => 1 }; t = { f: (x:T) => 1 }; >t = { f: (x:T) => 1 } : { f: (x: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >t : T > : ^ >{ f: (x:T) => 1 } : { f: (x: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >f : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >(x:T) => 1 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >1 : 1 @@ -165,15 +165,15 @@ a = { f: () => 1 } a = { f: (x: T) => 1 }; >a = { f: (x: T) => 1 } : { f: (x: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >a : { f(x: number): void; } > : ^^^^^^^^^^^^^^^^^^^^^^^ >{ f: (x: T) => 1 } : { f: (x: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >f : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >(x: T) => 1 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >1 : 1 diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures3.types b/tests/baselines/reference/assignmentCompatWithCallSignatures3.types index 4aacee7022a3a..525fe32472302 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures3.types +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures3.types @@ -69,17 +69,17 @@ var a5: (x: (arg: string) => number) => string; var a6: (x: (arg: Base) => Derived) => Base; >a6 : (x: (arg: Base) => Derived) => Base -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ var a7: (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -87,13 +87,13 @@ var a7: (x: (arg: Base) => Derived) => (r: Base) => Derived; var a8: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -101,13 +101,13 @@ var a8: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => var a9: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -115,13 +115,13 @@ var a9: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => var a10: (...x: Derived[]) => Derived; >a10 : (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ var a11: (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -135,7 +135,7 @@ var a11: (x: { foo: string }, y: { foo: string; bar: string }) => Base; var a12: (x: Array, y: Array) => Array; >a12 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -143,7 +143,7 @@ var a12: (x: Array, y: Array) => Array; var a13: (x: Array, y: Array) => Array; >a13 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -151,7 +151,7 @@ var a13: (x: Array, y: Array) => Array; var a14: (x: { a: string; b: number }) => Object; >a14 : (x: { a: string; b: number; }) => Object -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -173,7 +173,7 @@ var a15: { } var a16: { >a16 : { (x: T): number[]; (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ (x: T): number[]; >x : T @@ -202,7 +202,7 @@ var a17: { }; var a18: { >a18 : { (x: { (a: number): number; (a: string): string; }): any[]; (x: { (a: boolean): boolean; (a: Date): Date; }): any[]; } -> : ^^^^^^ ^^^ ^^^^^^ ^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ (x: { >x : { (a: number): number; (a: string): string; } @@ -219,7 +219,7 @@ var a18: { }): any[]; (x: { >x : { (a: boolean): boolean; (a: Date): Date; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ (a: boolean): boolean; >a : boolean @@ -234,7 +234,7 @@ var a18: { var b: (x: T) => T[]; >b : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -256,7 +256,7 @@ b = a; // ok var b2: (x: T) => string[]; >b2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -278,7 +278,7 @@ b2 = a2; // ok var b3: (x: T) => T; >b3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -300,7 +300,7 @@ b3 = a3; // ok var b4: (x: T, y: U) => T; >b4 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -324,9 +324,9 @@ b4 = a4; // ok var b5: (x: (arg: T) => U) => T; >b5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -348,9 +348,9 @@ b5 = a5; // ok var b6: (x: (arg: T) => U) => T; >b6 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -372,9 +372,9 @@ b6 = a6; // ok var b7: (x: (arg: T) => U) => (r: T) => U; >b7 : (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -398,13 +398,13 @@ b7 = a7; // ok var b8: (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; >b8 : (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -428,13 +428,13 @@ b8 = a8; // ok var b9: (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; >b9 : (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -462,7 +462,7 @@ b9 = a9; // ok var b10: (...x: T[]) => T; >b10 : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -484,7 +484,7 @@ b10 = a10; // ok var b11: (x: T, y: T) => T; >b11 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -508,7 +508,7 @@ b11 = a11; // ok var b12: >(x: Array, y: T) => Array; >b12 : (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -532,7 +532,7 @@ b12 = a12; // ok var b13: >(x: Array, y: T) => T; >b13 : (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -556,9 +556,9 @@ b13 = a13; // ok var b14: (x: { a: T; b: T }) => T; >b14 : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -582,7 +582,7 @@ b14 = a14; // ok var b15: (x: T) => T[]; >b15 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -604,7 +604,7 @@ b15 = a15; // ok var b16: (x: T) => number[]; >b16 : (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -626,9 +626,9 @@ b16 = a16; // ok var b17: (x: (a: T) => T) => T[]; // ok >b17 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -650,9 +650,9 @@ b17 = a17; // ok var b18: (x: (a: T) => T) => T[]; >b18 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures4.types b/tests/baselines/reference/assignmentCompatWithCallSignatures4.types index 45cbc76626bcd..356475f0b1337 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures4.types +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures4.types @@ -50,9 +50,9 @@ module Errors { var a7: (x: (arg: Base) => Derived) => (r: Base) => Derived2; >a7 : (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -60,13 +60,13 @@ module Errors { var a8: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -74,13 +74,13 @@ module Errors { var a10: (...x: Base[]) => Base; >a10 : (...x: Base[]) => Base -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ var a11: (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -94,7 +94,7 @@ module Errors { var a12: (x: Array, y: Array) => Array; >a12 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -156,11 +156,11 @@ module Errors { }; var a17: { >a17 : { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -173,7 +173,7 @@ module Errors { }): any[]; (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -188,7 +188,7 @@ module Errors { var b2: (x: T) => U[]; >b2 : (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -210,9 +210,9 @@ module Errors { var b7: (x: (arg: T) => U) => (r: T) => V; >b7 : (x: (arg: T) => U) => (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -236,13 +236,13 @@ module Errors { var b8: (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U; >b8 : (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: number; } > : ^^^^^^^ ^^^ >foo : number @@ -269,7 +269,7 @@ module Errors { var b10: (...x: T[]) => T; >b10 : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -291,7 +291,7 @@ module Errors { var b11: (x: T, y: T) => T; >b11 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -315,7 +315,7 @@ module Errors { var b12: >(x: Array, y: Array) => T; >b12 : (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Base[] @@ -339,9 +339,9 @@ module Errors { var b15: (x: { a: T; b: T }) => T; >b15 : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -365,9 +365,9 @@ module Errors { var b15a: (x: { a: T; b: T }) => number; >b15a : (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -391,9 +391,9 @@ module Errors { var b16: (x: (a: T) => T) => T[]; >b16 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -415,9 +415,9 @@ module Errors { var b17: (x: (a: T) => T) => any[]; >b17 : (x: (a: T) => T) => any[] -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -445,13 +445,13 @@ module Errors { // target type has generic call signature var a2: (x: T) => T[]; >a2 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var b2: (x: T) => string[]; >b2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -474,13 +474,13 @@ module Errors { // target type has generic call signature var a3: (x: T) => string[]; >a3 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var b3: (x: T) => T[]; >b3 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures5.types b/tests/baselines/reference/assignmentCompatWithCallSignatures5.types index 2874c0474eac1..b3e448e919a00 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures5.types +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures5.types @@ -35,25 +35,25 @@ class OtherDerived extends Base { bing: string; } var a: (x: T) => T[]; >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var a2: (x: T) => string[]; >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var a3: (x: T) => void; >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var a4: (x: T, y: U) => string; >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -61,29 +61,29 @@ var a4: (x: T, y: U) => string; var a5: (x: (arg: T) => U) => T; >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ var a6: (x: (arg: T) => Derived) => T; >a6 : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ var a11: (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -91,9 +91,9 @@ var a11: (x: { foo: T }, y: { foo: T; bar: T }) => Base; var a15: (x: { a: T; b: T }) => T[]; >a15 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -101,9 +101,9 @@ var a15: (x: { a: T; b: T }) => T[]; var a16: (x: { a: T; b: T }) => T[]; >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -111,28 +111,28 @@ var a16: (x: { a: T; b: T }) => T[]; var a17: { >a17 : { (x: (a: T) => T): T[]; (x: (a: T_1) => T_1): T_1[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (x: (a: T) => T): T[]; >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ (x: (a: T) => T): T[]; >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ }; var a18: { >a18 : { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -145,7 +145,7 @@ var a18: { }): any[]; (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -160,7 +160,7 @@ var a18: { var b: (x: T) => T[]; >b : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -182,7 +182,7 @@ b = a; // ok var b2: (x: T) => string[]; >b2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -204,7 +204,7 @@ b2 = a2; // ok var b3: (x: T) => T; >b3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -226,7 +226,7 @@ b3 = a3; // ok var b4: (x: T, y: U) => string; >b4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -250,9 +250,9 @@ b4 = a4; // ok var b5: (x: (arg: T) => U) => T; >b5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -274,9 +274,9 @@ b5 = a5; // ok var b6: (x: (arg: T) => U) => T; >b6 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -298,13 +298,13 @@ b6 = a6; // ok var b11: (x: { foo: T }, y: { foo: U; bar: U }) => Base; >b11 : (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -328,9 +328,9 @@ b11 = a11; // ok var b15: (x: { a: U; b: V; }) => U[]; >b15 : (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : { a: U; b: V; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : U > : ^ >b : V @@ -354,9 +354,9 @@ b15 = a15; // ok var b16: (x: { a: T; b: T }) => T[]; >b16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -380,9 +380,9 @@ b15 = a16; // ok var b17: (x: (a: T) => T) => T[]; >b17 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -404,9 +404,9 @@ b17 = a17; // ok var b18: (x: (a: T) => T) => any[]; >b18 : (x: (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures6.types b/tests/baselines/reference/assignmentCompatWithCallSignatures6.types index ce35b2c486520..cc8f31fd28d8e 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures6.types +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures6.types @@ -36,25 +36,25 @@ class OtherDerived extends Base { bing: string; } interface A { a: (x: T) => T[]; >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a2: (x: T) => string[]; >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => void; >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y: U) => string; >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -62,29 +62,29 @@ interface A { a5: (x: (arg: T) => U) => T; >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: (x: (arg: T) => Derived) => T; >a6 : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -92,9 +92,9 @@ interface A { a15: (x: { a: T; b: T }) => T[]; >a15 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -102,9 +102,9 @@ interface A { a16: (x: { a: T; b: T }) => T[]; >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -117,7 +117,7 @@ var x: A; var b: (x: T) => T[]; >b : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -147,7 +147,7 @@ b = x.a; var b2: (x: T) => string[]; >b2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -177,7 +177,7 @@ b2 = x.a2; var b3: (x: T) => T; >b3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -207,7 +207,7 @@ b3 = x.a3; var b4: (x: T, y: U) => string; >b4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -239,9 +239,9 @@ b4 = x.a4; var b5: (x: (arg: T) => U) => T; >b5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -271,13 +271,13 @@ b5 = x.a5; var b11: (x: { foo: T }, y: { foo: U; bar: U }) => Base; >b11 : (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -309,9 +309,9 @@ b11 = x.a11; var b16: (x: { a: T; b: T }) => T[]; >b16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures3.types b/tests/baselines/reference/assignmentCompatWithConstructSignatures3.types index df6b019399f09..bf12a5d067e2d 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures3.types +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures3.types @@ -69,17 +69,17 @@ var a5: new (x: (arg: string) => number) => string; var a6: new (x: (arg: Base) => Derived) => Base; >a6 : new (x: (arg: Base) => Derived) => Base -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ var a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -87,13 +87,13 @@ var a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived; var a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -101,13 +101,13 @@ var a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) var a9: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -115,13 +115,13 @@ var a9: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) var a10: new (...x: Derived[]) => Derived; >a10 : new (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ var a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -135,7 +135,7 @@ var a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; var a12: new (x: Array, y: Array) => Array; >a12 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -143,7 +143,7 @@ var a12: new (x: Array, y: Array) => Array; var a13: new (x: Array, y: Array) => Array; >a13 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -151,7 +151,7 @@ var a13: new (x: Array, y: Array) => Array; var a14: new (x: { a: string; b: number }) => Object; >a14 : new (x: { a: string; b: number; }) => Object -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -173,7 +173,7 @@ var a15: { } var a16: { >a16 : { new (x: T): number[]; new (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: T): number[]; >x : T @@ -202,7 +202,7 @@ var a17: { }; var a18: { >a18 : { new (x: { new (a: number): number; new (a: string): string; }): any[]; new (x: { new (a: boolean): boolean; new (a: Date): Date; }): any[]; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (x: { >x : { new (a: number): number; new (a: string): string; } @@ -219,7 +219,7 @@ var a18: { }): any[]; new (x: { >x : { new (a: boolean): boolean; new (a: Date): Date; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (a: boolean): boolean; >a : boolean @@ -234,7 +234,7 @@ var a18: { var b: new (x: T) => T[]; >b : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -256,7 +256,7 @@ b = a; // ok var b2: new (x: T) => string[]; >b2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -278,7 +278,7 @@ b2 = a2; // ok var b3: new (x: T) => T; >b3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -300,7 +300,7 @@ b3 = a3; // ok var b4: new (x: T, y: U) => T; >b4 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -324,9 +324,9 @@ b4 = a4; // ok var b5: new (x: (arg: T) => U) => T; >b5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -348,9 +348,9 @@ b5 = a5; // ok var b6: new (x: (arg: T) => U) => T; >b6 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -372,9 +372,9 @@ b6 = a6; // ok var b7: new (x: (arg: T) => U) => (r: T) => U; >b7 : new (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -398,13 +398,13 @@ b7 = a7; // ok var b8: new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; >b8 : new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -428,13 +428,13 @@ b8 = a8; // ok var b9: new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; >b9 : new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -462,7 +462,7 @@ b9 = a9; // ok var b10: new (...x: T[]) => T; >b10 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -484,7 +484,7 @@ b10 = a10; // ok var b11: new (x: T, y: T) => T; >b11 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -508,7 +508,7 @@ b11 = a11; // ok var b12: new >(x: Array, y: T) => Array; >b12 : new (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -532,7 +532,7 @@ b12 = a12; // ok var b13: new >(x: Array, y: T) => T; >b13 : new (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -556,9 +556,9 @@ b13 = a13; // ok var b14: new (x: { a: T; b: T }) => T; >b14 : new (x: { a: T; b: T; }) => T -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -582,7 +582,7 @@ b14 = a14; // ok var b15: new (x: T) => T[]; >b15 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -604,7 +604,7 @@ b15 = a15; // ok var b16: new (x: T) => number[]; >b16 : new (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -626,9 +626,9 @@ b16 = a16; // ok var b17: new (x: new (a: T) => T) => T[]; // ok >b17 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -650,9 +650,9 @@ b17 = a17; // ok var b18: new (x: new (a: T) => T) => T[]; >b18 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures4.types b/tests/baselines/reference/assignmentCompatWithConstructSignatures4.types index a0f71df7361ed..9d313f4ae5cb8 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures4.types +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures4.types @@ -50,9 +50,9 @@ module Errors { var a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived2; >a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -60,13 +60,13 @@ module Errors { var a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -74,13 +74,13 @@ module Errors { var a10: new (...x: Base[]) => Base; >a10 : new (...x: Base[]) => Base -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ var a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -94,7 +94,7 @@ module Errors { var a12: new (x: Array, y: Array) => Array; >a12 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -156,11 +156,11 @@ module Errors { }; var a17: { >a17 : { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -173,7 +173,7 @@ module Errors { }): any[]; new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -188,7 +188,7 @@ module Errors { var b2: new (x: T) => U[]; >b2 : new (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -210,9 +210,9 @@ module Errors { var b7: new (x: (arg: T) => U) => (r: T) => V; >b7 : new (x: (arg: T) => U) => (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -236,13 +236,13 @@ module Errors { var b8: new (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U; >b8 : new (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: number; } > : ^^^^^^^ ^^^ >foo : number @@ -269,7 +269,7 @@ module Errors { var b10: new (...x: T[]) => T; >b10 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -291,7 +291,7 @@ module Errors { var b11: new (x: T, y: T) => T; >b11 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -315,7 +315,7 @@ module Errors { var b12: new >(x: Array, y: Array) => T; >b12 : new (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Base[] @@ -339,9 +339,9 @@ module Errors { var b15: new (x: { a: T; b: T }) => T; >b15 : new (x: { a: T; b: T; }) => T -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -365,9 +365,9 @@ module Errors { var b15a: new (x: { a: T; b: T }) => number; >b15a : new (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -391,9 +391,9 @@ module Errors { var b16: new (x: (a: T) => T) => T[]; >b16 : new (x: (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -415,9 +415,9 @@ module Errors { var b17: new (x: (a: T) => T) => any[]; >b17 : new (x: (a: T) => T) => any[] -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -445,13 +445,13 @@ module Errors { // target type has generic call signature var a2: new (x: T) => T[]; >a2 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var b2: new (x: T) => string[]; >b2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -474,13 +474,13 @@ module Errors { // target type has generic call signature var a3: new (x: T) => string[]; >a3 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var b3: new (x: T) => T[]; >b3 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures5.types b/tests/baselines/reference/assignmentCompatWithConstructSignatures5.types index eb772f617412a..aba943e20326a 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures5.types +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures5.types @@ -35,25 +35,25 @@ class OtherDerived extends Base { bing: string; } var a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -61,29 +61,29 @@ var a4: new (x: T, y: U) => string; var a5: new (x: new (arg: T) => U) => T; >a5 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ var a6: new (x: new (arg: T) => Derived) => T; >a6 : new (x: new (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ var a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -91,9 +91,9 @@ var a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; var a15: new (x: { a: T; b: T }) => T[]; >a15 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -101,9 +101,9 @@ var a15: new (x: { a: T; b: T }) => T[]; var a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -111,28 +111,28 @@ var a16: new (x: { a: T; b: T }) => T[]; var a17: { >a17 : { new (x: new (a: T) => T): T[]; new (x: new (a: T_1) => T_1): T_1[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (x: new (a: T) => T): T[]; >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ new (x: new (a: T) => T): T[]; >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ }; var a18: { >a18 : { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -145,7 +145,7 @@ var a18: { }): any[]; new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -160,7 +160,7 @@ var a18: { var b: new (x: T) => T[]; >b : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -182,7 +182,7 @@ b = a; // ok var b2: new (x: T) => string[]; >b2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -204,7 +204,7 @@ b2 = a2; // ok var b3: new (x: T) => T; >b3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -226,7 +226,7 @@ b3 = a3; // ok var b4: new (x: T, y: U) => string; >b4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -250,9 +250,9 @@ b4 = a4; // ok var b5: new (x: new (arg: T) => U) => T; >b5 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -274,9 +274,9 @@ b5 = a5; // ok var b6: new (x: new (arg: T) => U) => T; >b6 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -298,13 +298,13 @@ b6 = a6; // ok var b11: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; >b11 : new (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -328,9 +328,9 @@ b11 = a11; // ok var b15: new (x: { a: U; b: V; }) => U[]; >b15 : new (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : { a: U; b: V; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : U > : ^ >b : V @@ -354,9 +354,9 @@ b15 = a15; // ok var b16: new (x: { a: T; b: T }) => T[]; >b16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -380,9 +380,9 @@ b15 = a16; // ok var b17: new (x: new (a: T) => T) => T[]; >b17 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -404,9 +404,9 @@ b17 = a17; // ok var b18: new (x: new (a: T) => T) => any[]; >b18 : new (x: new (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures6.types b/tests/baselines/reference/assignmentCompatWithConstructSignatures6.types index 4ecbf896077a8..b6866f53541ed 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures6.types +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures6.types @@ -36,25 +36,25 @@ class OtherDerived extends Base { bing: string; } interface A { a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -62,29 +62,29 @@ interface A { a5: new (x: (arg: T) => U) => T; >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => Derived) => T; >a6 : new (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -92,9 +92,9 @@ interface A { a15: new (x: { a: T; b: T }) => T[]; >a15 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -102,9 +102,9 @@ interface A { a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -117,7 +117,7 @@ var x: A; var b: new (x: T) => T[]; >b : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -147,7 +147,7 @@ b = x.a; var b2: new (x: T) => string[]; >b2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -177,7 +177,7 @@ b2 = x.a2; var b3: new (x: T) => T; >b3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -207,7 +207,7 @@ b3 = x.a3; var b4: new (x: T, y: U) => string; >b4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -239,9 +239,9 @@ b4 = x.a4; var b5: new (x: (arg: T) => U) => T; >b5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -271,13 +271,13 @@ b5 = x.a5; var b11: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; >b11 : new (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -309,9 +309,9 @@ b11 = x.a11; var b16: new (x: { a: T; b: T }) => T[]; >b16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.types b/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.types index b1900a1d65797..1467bf8555e2a 100644 --- a/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.types +++ b/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.types @@ -430,7 +430,7 @@ namespace GH30170 { } function draw(val: Blue | Yellow) { } >draw : (val: Blue | Yellow) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >val : Blue | Yellow > : ^^^^^^^^^^^^^ @@ -477,7 +477,7 @@ namespace GH12052 { function getAxisType(): IAxisType { >getAxisType : () => IAxisType -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ if (1 == 1) { >1 == 1 : boolean @@ -562,7 +562,7 @@ namespace GH18421 { function makeNewThing(thingType: ThingType): Thing { >makeNewThing : (thingType: ThingType) => Thing -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >thingType : ThingType > : ^^^^^^^^^ @@ -595,7 +595,7 @@ namespace GH15907 { function dispatchAction(action: Action): void { >dispatchAction : (action: Action) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >action : Action > : ^^^^^^ @@ -649,7 +649,7 @@ namespace GH20889 { function foo(obj1: AU) { >foo : (obj1: AU) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >obj1 : AU > : ^^ diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.types b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.types index 2efb2dd51d230..8811300981ff6 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.types +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.types @@ -5,7 +5,7 @@ var f: (x: S) => void >f : (x: S) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >p : string > : ^^^^^^ >x : S @@ -13,7 +13,7 @@ var f: (x: S) => void var g: (x: T[]) => void >g : (x: T[]) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >p : string > : ^^^^^^ >x : T[] diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.types b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.types index fb5372ede4623..ba13021311292 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.types +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.types @@ -6,7 +6,7 @@ interface I { (f: (x: T) => (y: S) => U): U >f : (x: T) => (y: S) => U -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >y : S @@ -15,7 +15,7 @@ interface I { var g: (x: T) => (y: S) => I >g : (x: T) => (y: S) => I -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : S @@ -23,13 +23,13 @@ var g: (x: T) => (y: S) => I var h: (x: T) => (y: S) => { (f: (x: T) => (y: S) => U): U } >h : (x: T) => (y: S) => (f: (x: T) => (y: S) => U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : S > : ^ >f : (x: T) => (y: S) => U -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >y : S diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.types b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.types index 4b3615780f184..92ad8b4d1fb80 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.types +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.types @@ -11,13 +11,13 @@ interface I2 { var x: >(z: T) => void >x : >(z: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >z : T > : ^ var y: >>(z: T) => void >y : >>(z: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >z : T > : ^ diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.types b/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.types index 5a40c6487d66c..b5cf19296495c 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.types +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.types @@ -13,23 +13,23 @@ module ClassTypeParam { a: () => T; >a : () => T -> : ^^^^^^^ +> : ^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -37,7 +37,7 @@ module ClassTypeParam { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -63,7 +63,7 @@ module ClassTypeParam { this.a = (x?: T) => null; // ok, same T of required params >this.a = (x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >this.a : () => T > : ^^^^^^^ >this : this @@ -71,13 +71,13 @@ module ClassTypeParam { >a : () => T > : ^^^^^^^ >(x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >x : T > : ^ this.a = (x: T) => null; // error, too many required params >this.a = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >this.a : () => T > : ^^^^^^^ >this : this @@ -85,7 +85,7 @@ module ClassTypeParam { >a : () => T > : ^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ @@ -103,7 +103,7 @@ module ClassTypeParam { this.a2 = (x?: T) => null; // ok, same T of required params >this.a2 = (x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >this.a2 : (x?: T) => T > : ^^^^^^^^^^^^ >this : this @@ -111,13 +111,13 @@ module ClassTypeParam { >a2 : (x?: T) => T > : ^^^^^^^^^^^^ >(x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >x : T > : ^ this.a2 = (x: T) => null; // ok, same number of params >this.a2 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >this.a2 : (x?: T) => T > : ^^^^^^^^^^^^ >this : this @@ -125,7 +125,7 @@ module ClassTypeParam { >a2 : (x?: T) => T > : ^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ @@ -143,7 +143,7 @@ module ClassTypeParam { this.a3 = (x?: T) => null; // ok, fewer required params >this.a3 = (x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >this.a3 : (x: T) => T > : ^^^^^^^^^^^ >this : this @@ -151,13 +151,13 @@ module ClassTypeParam { >a3 : (x: T) => T > : ^^^^^^^^^^^ >(x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >x : T > : ^ this.a3 = (x: T) => null; // ok, same T of required params >this.a3 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >this.a3 : (x: T) => T > : ^^^^^^^^^^^ >this : this @@ -165,13 +165,13 @@ module ClassTypeParam { >a3 : (x: T) => T > : ^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ this.a3 = (x: T, y: T) => null; // error, too many required params >this.a3 = (x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ >this.a3 : (x: T) => T > : ^^^^^^^^^^^ >this : this @@ -179,7 +179,7 @@ module ClassTypeParam { >a3 : (x: T) => T > : ^^^^^^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -199,7 +199,7 @@ module ClassTypeParam { this.a4 = (x?: T, y?: T) => null; // ok, fewer required params >this.a4 = (x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^ >this.a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^ >this : this @@ -207,7 +207,7 @@ module ClassTypeParam { >a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^ >(x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -215,7 +215,7 @@ module ClassTypeParam { this.a4 = (x: T) => null; // ok, same T of required params >this.a4 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >this.a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^ >this : this @@ -223,13 +223,13 @@ module ClassTypeParam { >a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ this.a4 = (x: T, y: T) => null; // ok, same number of params >this.a4 = (x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ >this.a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^ >this : this @@ -237,7 +237,7 @@ module ClassTypeParam { >a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -258,7 +258,7 @@ module ClassTypeParam { this.a5 = (x?: T, y?: T) => null; // ok, fewer required params >this.a5 = (x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^ >this.a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^ >this : this @@ -266,7 +266,7 @@ module ClassTypeParam { >a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^ >(x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -274,7 +274,7 @@ module ClassTypeParam { this.a5 = (x: T) => null; // ok, all present params match >this.a5 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >this.a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^ >this : this @@ -282,13 +282,13 @@ module ClassTypeParam { >a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ this.a5 = (x: T, y: T) => null; // ok, same number of params >this.a5 = (x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ >this.a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^ >this : this @@ -296,7 +296,7 @@ module ClassTypeParam { >a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -315,23 +315,23 @@ module GenericSignaturesInvalid { a: () => T; >a : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -339,7 +339,7 @@ module GenericSignaturesInvalid { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -352,23 +352,23 @@ module GenericSignaturesInvalid { a: () => T; >a : () => T -> : ^^^^^^^ +> : ^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -376,7 +376,7 @@ module GenericSignaturesInvalid { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -809,23 +809,23 @@ module GenericSignaturesValid { a: () => T; >a : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -833,7 +833,7 @@ module GenericSignaturesValid { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -859,7 +859,7 @@ module GenericSignaturesValid { this.a = (x?: T) => null; // ok, same T of required params >this.a = (x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^ >this.a : () => T > : ^^^^^^^^^^ >this : this @@ -867,13 +867,13 @@ module GenericSignaturesValid { >a : () => T > : ^^^^^^^^^^ >(x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^ >x : T > : ^ this.a = (x: T) => null; // error, too many required params >this.a = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >this.a : () => T > : ^^^^^^^^^^ >this : this @@ -881,7 +881,7 @@ module GenericSignaturesValid { >a : () => T > : ^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ @@ -899,7 +899,7 @@ module GenericSignaturesValid { this.a2 = (x?: T) => null; // ok, same T of required params >this.a2 = (x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^ >this.a2 : (x?: T) => T > : ^^^^^^^^^^^^^^^ >this : this @@ -907,13 +907,13 @@ module GenericSignaturesValid { >a2 : (x?: T) => T > : ^^^^^^^^^^^^^^^ >(x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^ >x : T > : ^ this.a2 = (x: T) => null; // ok, same number of params >this.a2 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >this.a2 : (x?: T) => T > : ^^^^^^^^^^^^^^^ >this : this @@ -921,7 +921,7 @@ module GenericSignaturesValid { >a2 : (x?: T) => T > : ^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ @@ -939,7 +939,7 @@ module GenericSignaturesValid { this.a3 = (x?: T) => null; // ok, fewer required params >this.a3 = (x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^ >this.a3 : (x: T) => T > : ^^^^^^^^^^^^^^ >this : this @@ -947,13 +947,13 @@ module GenericSignaturesValid { >a3 : (x: T) => T > : ^^^^^^^^^^^^^^ >(x?: T) => null : (x?: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^ >x : T > : ^ this.a3 = (x: T) => null; // ok, same T of required params >this.a3 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >this.a3 : (x: T) => T > : ^^^^^^^^^^^^^^ >this : this @@ -961,13 +961,13 @@ module GenericSignaturesValid { >a3 : (x: T) => T > : ^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ this.a3 = (x: T, y: T) => null; // error, too many required params >this.a3 = (x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >this.a3 : (x: T) => T > : ^^^^^^^^^^^^^^ >this : this @@ -975,7 +975,7 @@ module GenericSignaturesValid { >a3 : (x: T) => T > : ^^^^^^^^^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -995,7 +995,7 @@ module GenericSignaturesValid { this.a4 = (x?: T, y?: T) => null; // ok, fewer required params >this.a4 = (x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^ >this.a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^ >this : this @@ -1003,7 +1003,7 @@ module GenericSignaturesValid { >a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^ >(x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -1011,7 +1011,7 @@ module GenericSignaturesValid { this.a4 = (x: T) => null; // ok, same T of required params >this.a4 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >this.a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^ >this : this @@ -1019,13 +1019,13 @@ module GenericSignaturesValid { >a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ this.a4 = (x: T, y: T) => null; // ok, same number of params >this.a4 = (x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >this.a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^ >this : this @@ -1033,7 +1033,7 @@ module GenericSignaturesValid { >a4 : (x: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -1054,7 +1054,7 @@ module GenericSignaturesValid { this.a5 = (x?: T, y?: T) => null; // ok, fewer required params >this.a5 = (x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^ >this.a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^ >this : this @@ -1062,7 +1062,7 @@ module GenericSignaturesValid { >a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^ >(x?: T, y?: T) => null : (x?: T, y?: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -1070,7 +1070,7 @@ module GenericSignaturesValid { this.a5 = (x: T) => null; // ok, all present params match >this.a5 = (x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >this.a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^ >this : this @@ -1078,13 +1078,13 @@ module GenericSignaturesValid { >a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ this.a5 = (x: T, y: T) => null; // ok, same number of params >this.a5 = (x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >this.a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^ >this : this @@ -1092,7 +1092,7 @@ module GenericSignaturesValid { >a5 : (x?: T, y?: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers.types b/tests/baselines/reference/assignmentCompatWithObjectMembers.types index bfd9aa0393b1e..589924a179b07 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers.types +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers.types @@ -271,17 +271,17 @@ module ObjectTypes { var a: { foo: typeof a; } >a : { foo: typeof a; } -> : ^^^^^^^ ^^^^ +> : ^^^^^^^ ^^^ >foo : { foo: typeof a; } -> : ^^^^^^^ ^^^^ +> : ^^^^^^^ ^^^ >a : { foo: any; } > : ^^^^^^^^^^^^^ var b: { foo: typeof b; } >b : { foo: typeof b; } -> : ^^^^^^^ ^^^^ +> : ^^^^^^^ ^^^ >foo : { foo: typeof b; } -> : ^^^^^^^ ^^^^ +> : ^^^^^^^ ^^^ >b : { foo: any; } > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers4.types b/tests/baselines/reference/assignmentCompatWithObjectMembers4.types index 3a7bb85fa1d33..6409fdeb5ca56 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers4.types +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers4.types @@ -67,13 +67,13 @@ module OnlyDerived { var a: { foo: Derived; } >a : { foo: Derived; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : Derived > : ^^^^^^^ var b: { foo: Derived2; } >b : { foo: Derived2; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : Derived2 > : ^^^^^^^^ @@ -318,13 +318,13 @@ module WithBase { var a: { foo: Base; } >a : { foo: Base; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : Base > : ^^^^ var b: { foo: Derived2; } >b : { foo: Derived2; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : Derived2 > : ^^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.types b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.types index c57d42787f1f3..a17bb27b33d0c 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.types +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.types @@ -41,7 +41,7 @@ module TargetHasOptional { var a: { opt?: Base; } >a : { opt?: Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >opt : Base > : ^^^^ @@ -209,7 +209,7 @@ module SourceHasOptional { var a: { opt: Base; } >a : { opt: Base; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >opt : Base > : ^^^^ diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.types b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.types index ee48756a7d217..39c43fc31f273 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.types +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.types @@ -42,7 +42,7 @@ module TargetHasOptional { var a: { opt?: Base; } >a : { opt?: Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >opt : Base > : ^^^^ @@ -211,7 +211,7 @@ module SourceHasOptional { var a: { opt: Base; } >a : { opt: Base; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >opt : Base > : ^^^^ diff --git a/tests/baselines/reference/assignmentCompatability24.types b/tests/baselines/reference/assignmentCompatability24.types index d1fa00dfd8750..10a8cba6cd345 100644 --- a/tests/baselines/reference/assignmentCompatability24.types +++ b/tests/baselines/reference/assignmentCompatability24.types @@ -31,11 +31,11 @@ module __test2__ { export var obj = function f(a: Tstring) { return a; };; >obj : (a: Tstring) => Tstring -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^ >function f(a: Tstring) { return a; } : (a: Tstring) => Tstring -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^ >f : (a: Tstring) => Tstring -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^ >a : Tstring > : ^^^^^^^ >a : Tstring diff --git a/tests/baselines/reference/assignmentCompatability33.types b/tests/baselines/reference/assignmentCompatability33.types index 9a597dd0b7d5c..f95c4e948502f 100644 --- a/tests/baselines/reference/assignmentCompatability33.types +++ b/tests/baselines/reference/assignmentCompatability33.types @@ -31,7 +31,7 @@ module __test2__ { export var obj: { (a: Tstring): Tstring; }; >obj : (a: Tstring) => Tstring -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : Tstring > : ^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatability34.types b/tests/baselines/reference/assignmentCompatability34.types index f9baf20c3a52d..77dba09d67ffa 100644 --- a/tests/baselines/reference/assignmentCompatability34.types +++ b/tests/baselines/reference/assignmentCompatability34.types @@ -31,7 +31,7 @@ module __test2__ { export var obj: { (a:Tnumber):Tnumber;}; >obj : (a: Tnumber) => Tnumber -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : Tnumber > : ^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatability37.types b/tests/baselines/reference/assignmentCompatability37.types index 9b7910ad9e328..13953fc05039c 100644 --- a/tests/baselines/reference/assignmentCompatability37.types +++ b/tests/baselines/reference/assignmentCompatability37.types @@ -31,7 +31,7 @@ module __test2__ { export var aa:{ new (param: Tnumber); };; >aa : new (param: Tnumber) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ ^^^^^^^^ >param : Tnumber > : ^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatability38.types b/tests/baselines/reference/assignmentCompatability38.types index c1418f2034e0b..ae48bbb4a43fc 100644 --- a/tests/baselines/reference/assignmentCompatability38.types +++ b/tests/baselines/reference/assignmentCompatability38.types @@ -31,7 +31,7 @@ module __test2__ { export var aa:{ new (param: Tstring); };; >aa : new (param: Tstring) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ ^^^^^^^^ >param : Tstring > : ^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatability44.types b/tests/baselines/reference/assignmentCompatability44.types index db0e925a8e5fc..276f1b710c40a 100644 --- a/tests/baselines/reference/assignmentCompatability44.types +++ b/tests/baselines/reference/assignmentCompatability44.types @@ -12,7 +12,7 @@ class Foo { const foo: { new(): Foo } = Foo; >foo : new () => Foo -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >Foo : typeof Foo > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.types b/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.types index b57ab7b751613..2a9cc281d3321 100644 --- a/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.types +++ b/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.types @@ -65,7 +65,7 @@ x = f; function fn(c: Applicable) { } >fn : (c: Applicable) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >c : Applicable > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.types b/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.types index 594cff7aaad30..80d7ba4e4d984 100644 --- a/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.types +++ b/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.types @@ -65,7 +65,7 @@ x = f; function fn(c: Callable) { } >fn : (c: Callable) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >c : Callable > : ^^^^^^^^ diff --git a/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.types b/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.types index 522a15d320586..db84dcf9b3250 100644 --- a/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.types +++ b/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.types @@ -21,13 +21,13 @@ let mappedObject: {[K in "foo"]: null | {x: string}} = {foo: {x: "hello"}}; declare function foo(x: T): null | T; >foo : (x: T) => null | T -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ function bar(key: K) { >bar : (key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >key : K > : ^ diff --git a/tests/baselines/reference/assignmentNonObjectTypeConstraints.types b/tests/baselines/reference/assignmentNonObjectTypeConstraints.types index 7a8782b2505c6..fc50df85482ee 100644 --- a/tests/baselines/reference/assignmentNonObjectTypeConstraints.types +++ b/tests/baselines/reference/assignmentNonObjectTypeConstraints.types @@ -13,7 +13,7 @@ const enum E { A, B, C } function foo(x: T) { >foo : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -56,7 +56,7 @@ class B { b } function bar(x: T) { >bar : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/assignmentStricterConstraints.types b/tests/baselines/reference/assignmentStricterConstraints.types index f01c1b2a7fee3..fed146ab0f12e 100644 --- a/tests/baselines/reference/assignmentStricterConstraints.types +++ b/tests/baselines/reference/assignmentStricterConstraints.types @@ -3,9 +3,9 @@ === assignmentStricterConstraints.ts === var f = function (x: T, y: S): void { >f : (x: T, y: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >function (x: T, y: S): void { x = y} : (x: T, y: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : S @@ -22,9 +22,9 @@ var f = function (x: T, y: S): void { var g = function (x: T, y: S): void { } >g : (x: T, y: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >function (x: T, y: S): void { } : (x: T, y: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : S diff --git a/tests/baselines/reference/assignmentToAnyArrayRestParameters.types b/tests/baselines/reference/assignmentToAnyArrayRestParameters.types index ee7b9dc626ca6..339a84e76a93d 100644 --- a/tests/baselines/reference/assignmentToAnyArrayRestParameters.types +++ b/tests/baselines/reference/assignmentToAnyArrayRestParameters.types @@ -5,7 +5,7 @@ function foo( >foo : (fa: (s: string, ...args: string[]) => string, fb: (s: string, ...args: T) => string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ fa: (s: string, ...args: string[]) => string, >fa : (s: string, ...args: string[]) => string @@ -17,7 +17,7 @@ function foo( fb: (s: string, ...args: T) => string >fb : (s: string, ...args: T) => string -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >s : string > : ^^^^^^ >args : T diff --git a/tests/baselines/reference/asyncAliasReturnType_es5.types b/tests/baselines/reference/asyncAliasReturnType_es5.types index b50ae6ff9cedc..9515d2bcae6fc 100644 --- a/tests/baselines/reference/asyncAliasReturnType_es5.types +++ b/tests/baselines/reference/asyncAliasReturnType_es5.types @@ -7,5 +7,5 @@ type PromiseAlias = Promise; async function f(): PromiseAlias { >f : () => PromiseAlias -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncAliasReturnType_es6.types b/tests/baselines/reference/asyncAliasReturnType_es6.types index 6069687884cb8..4defe17e6d2cf 100644 --- a/tests/baselines/reference/asyncAliasReturnType_es6.types +++ b/tests/baselines/reference/asyncAliasReturnType_es6.types @@ -7,5 +7,5 @@ type PromiseAlias = Promise; async function f(): PromiseAlias { >f : () => PromiseAlias -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncArrowFunction10_es2017.types b/tests/baselines/reference/asyncArrowFunction10_es2017.types index ae64d4f0297cf..ccdc76c633531 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction10_es2017.types @@ -3,9 +3,9 @@ === asyncArrowFunction10_es2017.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { // Legal to use 'await' in a type context. var v: await;} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Legal to use 'await' in a type context. var v: await; diff --git a/tests/baselines/reference/asyncArrowFunction10_es5.types b/tests/baselines/reference/asyncArrowFunction10_es5.types index 53cf8b8e69730..0b338d5baa63f 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es5.types +++ b/tests/baselines/reference/asyncArrowFunction10_es5.types @@ -3,9 +3,9 @@ === asyncArrowFunction10_es5.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { // Legal to use 'await' in a type context. var v: await;} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Legal to use 'await' in a type context. var v: await; diff --git a/tests/baselines/reference/asyncArrowFunction10_es6.types b/tests/baselines/reference/asyncArrowFunction10_es6.types index d43063bb2ee33..38e77450dc647 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es6.types +++ b/tests/baselines/reference/asyncArrowFunction10_es6.types @@ -3,9 +3,9 @@ === asyncArrowFunction10_es6.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { // Legal to use 'await' in a type context. var v: await;} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Legal to use 'await' in a type context. var v: await; diff --git a/tests/baselines/reference/asyncArrowFunction1_es2017.types b/tests/baselines/reference/asyncArrowFunction1_es2017.types index cb081f14aa10a..9f9ede22d0d8f 100644 --- a/tests/baselines/reference/asyncArrowFunction1_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction1_es2017.types @@ -3,8 +3,8 @@ === asyncArrowFunction1_es2017.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => {} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ }; diff --git a/tests/baselines/reference/asyncArrowFunction1_es5.types b/tests/baselines/reference/asyncArrowFunction1_es5.types index 8edd8eb02c49a..b283114a82ec8 100644 --- a/tests/baselines/reference/asyncArrowFunction1_es5.types +++ b/tests/baselines/reference/asyncArrowFunction1_es5.types @@ -3,8 +3,8 @@ === asyncArrowFunction1_es5.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => {} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ }; diff --git a/tests/baselines/reference/asyncArrowFunction1_es6.types b/tests/baselines/reference/asyncArrowFunction1_es6.types index cf1039ef5868a..890c634e7a662 100644 --- a/tests/baselines/reference/asyncArrowFunction1_es6.types +++ b/tests/baselines/reference/asyncArrowFunction1_es6.types @@ -3,8 +3,8 @@ === asyncArrowFunction1_es6.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => {} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ }; diff --git a/tests/baselines/reference/asyncArrowFunction5_es2017.types b/tests/baselines/reference/asyncArrowFunction5_es2017.types index 94b28ba33010d..f3aced2369b91 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction5_es2017.types @@ -3,9 +3,9 @@ === asyncArrowFunction5_es2017.ts === var foo = async (await): Promise => { >foo : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >async (await): Promise => {} : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >await : any > : ^^^ } diff --git a/tests/baselines/reference/asyncArrowFunction5_es5.types b/tests/baselines/reference/asyncArrowFunction5_es5.types index b38d0e76d6640..3c12b0a633c8d 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es5.types +++ b/tests/baselines/reference/asyncArrowFunction5_es5.types @@ -3,9 +3,9 @@ === asyncArrowFunction5_es5.ts === var foo = async (await): Promise => { >foo : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >async (await): Promise => {} : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >await : any > : ^^^ } diff --git a/tests/baselines/reference/asyncArrowFunction5_es6.types b/tests/baselines/reference/asyncArrowFunction5_es6.types index c3a6682cd8f44..f5fb238c385ef 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es6.types +++ b/tests/baselines/reference/asyncArrowFunction5_es6.types @@ -3,9 +3,9 @@ === asyncArrowFunction5_es6.ts === var foo = async (await): Promise => { >foo : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >async (await): Promise => {} : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >await : any > : ^^^ } diff --git a/tests/baselines/reference/asyncArrowFunction6_es2017.types b/tests/baselines/reference/asyncArrowFunction6_es2017.types index af760708da5d4..3752bf1dcdbf5 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction6_es2017.types @@ -3,9 +3,9 @@ === asyncArrowFunction6_es2017.ts === var foo = async (a = await): Promise => { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >async (a = await): Promise => {} : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncArrowFunction6_es5.types b/tests/baselines/reference/asyncArrowFunction6_es5.types index 6ba9815cb259a..0c357ba63fbd9 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es5.types +++ b/tests/baselines/reference/asyncArrowFunction6_es5.types @@ -3,9 +3,9 @@ === asyncArrowFunction6_es5.ts === var foo = async (a = await): Promise => { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >async (a = await): Promise => {} : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncArrowFunction6_es6.types b/tests/baselines/reference/asyncArrowFunction6_es6.types index 67911963db161..b1cbf4b9909e5 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es6.types +++ b/tests/baselines/reference/asyncArrowFunction6_es6.types @@ -3,9 +3,9 @@ === asyncArrowFunction6_es6.ts === var foo = async (a = await): Promise => { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >async (a = await): Promise => {} : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncArrowFunction7_es2017.types b/tests/baselines/reference/asyncArrowFunction7_es2017.types index b0275fef86a1e..70e7a19f55cba 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction7_es2017.types @@ -3,16 +3,16 @@ === asyncArrowFunction7_es2017.ts === var bar = async (): Promise => { >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { // 'await' here is an identifier, and not an await expression. var foo = async (a = await): Promise => { }} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // 'await' here is an identifier, and not an await expression. var foo = async (a = await): Promise => { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >async (a = await): Promise => { } : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncArrowFunction7_es5.types b/tests/baselines/reference/asyncArrowFunction7_es5.types index 2d7bafcf2e451..d3dc23fdc64a7 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es5.types +++ b/tests/baselines/reference/asyncArrowFunction7_es5.types @@ -3,16 +3,16 @@ === asyncArrowFunction7_es5.ts === var bar = async (): Promise => { >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { // 'await' here is an identifier, and not an await expression. var foo = async (a = await): Promise => { }} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // 'await' here is an identifier, and not an await expression. var foo = async (a = await): Promise => { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >async (a = await): Promise => { } : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncArrowFunction7_es6.types b/tests/baselines/reference/asyncArrowFunction7_es6.types index 2391e5756cac4..01ed690e583c6 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es6.types +++ b/tests/baselines/reference/asyncArrowFunction7_es6.types @@ -3,16 +3,16 @@ === asyncArrowFunction7_es6.ts === var bar = async (): Promise => { >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { // 'await' here is an identifier, and not an await expression. var foo = async (a = await): Promise => { }} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // 'await' here is an identifier, and not an await expression. var foo = async (a = await): Promise => { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >async (a = await): Promise => { } : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncArrowFunction8_es2017.types b/tests/baselines/reference/asyncArrowFunction8_es2017.types index 6cdc4b0b7e1ca..0359dd7724308 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction8_es2017.types @@ -3,9 +3,9 @@ === asyncArrowFunction8_es2017.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { var v = { [await]: foo }} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var v = { [await]: foo } >v : { [x: number]: () => Promise; } diff --git a/tests/baselines/reference/asyncArrowFunction8_es5.types b/tests/baselines/reference/asyncArrowFunction8_es5.types index c5af22e5e3b95..17bf623e46996 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es5.types +++ b/tests/baselines/reference/asyncArrowFunction8_es5.types @@ -3,9 +3,9 @@ === asyncArrowFunction8_es5.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { var v = { [await]: foo }} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var v = { [await]: foo } >v : { [x: number]: () => Promise; } diff --git a/tests/baselines/reference/asyncArrowFunction8_es6.types b/tests/baselines/reference/asyncArrowFunction8_es6.types index 012d3620e0a66..83bd1245a656e 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es6.types +++ b/tests/baselines/reference/asyncArrowFunction8_es6.types @@ -3,9 +3,9 @@ === asyncArrowFunction8_es6.ts === var foo = async (): Promise => { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { var v = { [await]: foo }} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var v = { [await]: foo } >v : { [x: number]: () => Promise; } diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types b/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types index 45f14e2c7ce80..5c6b02e6e38ea 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types @@ -19,7 +19,7 @@ async function f0() { } async function f1(): Promise { } >f1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f3(): MyPromise { } >f3 : () => MyPromise @@ -33,9 +33,9 @@ let f4 = async function() { } let f5 = async function(): Promise { } >f5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f6 = async function(): MyPromise { } >f6 : () => MyPromise @@ -51,9 +51,9 @@ let f7 = async () => { }; let f8 = async (): Promise => { }; >f8 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f9 = async (): MyPromise => { }; >f9 : () => MyPromise @@ -79,9 +79,9 @@ let f11 = async () => mp; let f12 = async (): Promise => mp; >f12 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => mp : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >mp : MyPromise > : ^^^^^^^^^^^^^^^^^ @@ -95,9 +95,9 @@ let f13 = async (): MyPromise => p; let o = { >o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ async m1() { }, >m1 : () => Promise @@ -105,7 +105,7 @@ let o = { async m2(): Promise { }, >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise @@ -123,7 +123,7 @@ class C { async m2(): Promise { } >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise @@ -135,7 +135,7 @@ class C { static async m5(): Promise { } >m5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ static async m6(): MyPromise { } >m6 : () => MyPromise diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types b/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types index 7d100b4f1f655..82694aa672ecf 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types @@ -19,7 +19,7 @@ async function f0() { } async function f1(): Promise { } >f1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f3(): MyPromise { } >f3 : () => MyPromise @@ -33,9 +33,9 @@ let f4 = async function() { } let f5 = async function(): Promise { } >f5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f6 = async function(): MyPromise { } >f6 : () => MyPromise @@ -51,9 +51,9 @@ let f7 = async () => { }; let f8 = async (): Promise => { }; >f8 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f9 = async (): MyPromise => { }; >f9 : () => MyPromise @@ -79,9 +79,9 @@ let f11 = async () => mp; let f12 = async (): Promise => mp; >f12 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => mp : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >mp : MyPromise > : ^^^^^^^^^^^^^^^^^ @@ -95,9 +95,9 @@ let f13 = async (): MyPromise => p; let o = { >o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ async m1() { }, >m1 : () => Promise @@ -105,7 +105,7 @@ let o = { async m2(): Promise { }, >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise @@ -123,7 +123,7 @@ class C { async m2(): Promise { } >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise @@ -135,7 +135,7 @@ class C { static async m5(): Promise { } >m5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ static async m6(): MyPromise { } >m6 : () => MyPromise diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types b/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types index bea039bac3659..1e9e5af30123a 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types @@ -19,7 +19,7 @@ async function f0() { } async function f1(): Promise { } >f1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f3(): MyPromise { } >f3 : () => MyPromise @@ -33,9 +33,9 @@ let f4 = async function() { } let f5 = async function(): Promise { } >f5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f6 = async function(): MyPromise { } >f6 : () => MyPromise @@ -51,9 +51,9 @@ let f7 = async () => { }; let f8 = async (): Promise => { }; >f8 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f9 = async (): MyPromise => { }; >f9 : () => MyPromise @@ -79,9 +79,9 @@ let f11 = async () => mp; let f12 = async (): Promise => mp; >f12 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => mp : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >mp : MyPromise > : ^^^^^^^^^^^^^^^^^ @@ -95,9 +95,9 @@ let f13 = async (): MyPromise => p; let o = { >o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ async m1() { }, >m1 : () => Promise @@ -105,7 +105,7 @@ let o = { async m2(): Promise { }, >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise @@ -123,7 +123,7 @@ class C { async m2(): Promise { } >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise @@ -135,7 +135,7 @@ class C { static async m5(): Promise { } >m5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ static async m6(): MyPromise { } >m6 : () => MyPromise diff --git a/tests/baselines/reference/asyncAwaitNestedClasses_es5.types b/tests/baselines/reference/asyncAwaitNestedClasses_es5.types index b28449bf5906c..6f938805c914e 100644 --- a/tests/baselines/reference/asyncAwaitNestedClasses_es5.types +++ b/tests/baselines/reference/asyncAwaitNestedClasses_es5.types @@ -16,7 +16,7 @@ class A { static func2(): Promise { >func2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return new Promise((resolve) => { resolve(null); }); >new Promise((resolve) => { resolve(null); }) : Promise diff --git a/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.types b/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.types index 1939cca154276..b04a5b2db2337 100644 --- a/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.types +++ b/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.types @@ -151,7 +151,7 @@ async function fn3() { async function fn4(): Promise { >fn4 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let ar = []; >ar : any[] diff --git a/tests/baselines/reference/asyncAwait_es2017.types b/tests/baselines/reference/asyncAwait_es2017.types index 652688817ec81..6f53c6679172c 100644 --- a/tests/baselines/reference/asyncAwait_es2017.types +++ b/tests/baselines/reference/asyncAwait_es2017.types @@ -25,11 +25,11 @@ async function f0() { } async function f1(): Promise { } >f1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f3(): MyPromise { } >f3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f4 = async function() { } >f4 : () => Promise @@ -39,15 +39,15 @@ let f4 = async function() { } let f5 = async function(): Promise { } >f5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f6 = async function(): MyPromise { } >f6 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): MyPromise { } : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f7 = async () => { }; >f7 : () => Promise @@ -57,15 +57,15 @@ let f7 = async () => { }; let f8 = async (): Promise => { }; >f8 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f9 = async (): MyPromise => { }; >f9 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async (): MyPromise => { } : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f10 = async () => p; >f10 : () => Promise @@ -85,25 +85,25 @@ let f11 = async () => mp; let f12 = async (): Promise => mp; >f12 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => mp : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >mp : MyPromise > : ^^^^^^^^^^^^^^^^^ let f13 = async (): MyPromise => p; >f13 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async (): MyPromise => p : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ let o = { >o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ >{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ async m1() { }, >m1 : () => Promise @@ -111,11 +111,11 @@ let o = { async m2(): Promise { }, >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ }; @@ -129,11 +129,11 @@ class C { async m2(): Promise { } >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ static async m4() { } >m4 : () => Promise @@ -141,11 +141,11 @@ class C { static async m5(): Promise { } >m5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ static async m6(): MyPromise { } >m6 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ } module M { diff --git a/tests/baselines/reference/asyncAwait_es5.types b/tests/baselines/reference/asyncAwait_es5.types index 1e98fec71c22b..e85d7da56fb48 100644 --- a/tests/baselines/reference/asyncAwait_es5.types +++ b/tests/baselines/reference/asyncAwait_es5.types @@ -25,11 +25,11 @@ async function f0() { } async function f1(): Promise { } >f1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f3(): MyPromise { } >f3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f4 = async function() { } >f4 : () => Promise @@ -39,15 +39,15 @@ let f4 = async function() { } let f5 = async function(): Promise { } >f5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f6 = async function(): MyPromise { } >f6 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): MyPromise { } : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f7 = async () => { }; >f7 : () => Promise @@ -57,15 +57,15 @@ let f7 = async () => { }; let f8 = async (): Promise => { }; >f8 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f9 = async (): MyPromise => { }; >f9 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async (): MyPromise => { } : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f10 = async () => p; >f10 : () => Promise @@ -85,25 +85,25 @@ let f11 = async () => mp; let f12 = async (): Promise => mp; >f12 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => mp : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >mp : MyPromise > : ^^^^^^^^^^^^^^^^^ let f13 = async (): MyPromise => p; >f13 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async (): MyPromise => p : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ let o = { >o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ >{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ async m1() { }, >m1 : () => Promise @@ -111,11 +111,11 @@ let o = { async m2(): Promise { }, >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ }; @@ -129,11 +129,11 @@ class C { async m2(): Promise { } >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ static async m4() { } >m4 : () => Promise @@ -141,11 +141,11 @@ class C { static async m5(): Promise { } >m5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ static async m6(): MyPromise { } >m6 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ } module M { diff --git a/tests/baselines/reference/asyncAwait_es6.types b/tests/baselines/reference/asyncAwait_es6.types index 4137b0e094eba..5e35ef87d2ad9 100644 --- a/tests/baselines/reference/asyncAwait_es6.types +++ b/tests/baselines/reference/asyncAwait_es6.types @@ -25,11 +25,11 @@ async function f0() { } async function f1(): Promise { } >f1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f3(): MyPromise { } >f3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f4 = async function() { } >f4 : () => Promise @@ -39,15 +39,15 @@ let f4 = async function() { } let f5 = async function(): Promise { } >f5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f6 = async function(): MyPromise { } >f6 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): MyPromise { } : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f7 = async () => { }; >f7 : () => Promise @@ -57,15 +57,15 @@ let f7 = async () => { }; let f8 = async (): Promise => { }; >f8 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let f9 = async (): MyPromise => { }; >f9 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async (): MyPromise => { } : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ let f10 = async () => p; >f10 : () => Promise @@ -85,25 +85,25 @@ let f11 = async () => mp; let f12 = async (): Promise => mp; >f12 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => mp : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >mp : MyPromise > : ^^^^^^^^^^^^^^^^^ let f13 = async (): MyPromise => p; >f13 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >async (): MyPromise => p : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ let o = { >o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ >{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ async m1() { }, >m1 : () => Promise @@ -111,11 +111,11 @@ let o = { async m2(): Promise { }, >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ }; @@ -129,11 +129,11 @@ class C { async m2(): Promise { } >m2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async m3(): MyPromise { } >m3 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ static async m4() { } >m4 : () => Promise @@ -141,11 +141,11 @@ class C { static async m5(): Promise { } >m5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ static async m6(): MyPromise { } >m6 : () => MyPromise -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ } module M { diff --git a/tests/baselines/reference/asyncDeclare_es5.types b/tests/baselines/reference/asyncDeclare_es5.types index f524a14d976b7..4d0991f9b0c36 100644 --- a/tests/baselines/reference/asyncDeclare_es5.types +++ b/tests/baselines/reference/asyncDeclare_es5.types @@ -3,5 +3,5 @@ === asyncDeclare_es5.ts === declare async function foo(): Promise; >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/asyncDeclare_es6.types b/tests/baselines/reference/asyncDeclare_es6.types index ba664fda9d254..a5525bedede13 100644 --- a/tests/baselines/reference/asyncDeclare_es6.types +++ b/tests/baselines/reference/asyncDeclare_es6.types @@ -3,5 +3,5 @@ === asyncDeclare_es6.ts === declare async function foo(): Promise; >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/asyncFunctionContextuallyTypedReturns.types b/tests/baselines/reference/asyncFunctionContextuallyTypedReturns.types index 99f2418bba35f..bbe277dcb270f 100644 --- a/tests/baselines/reference/asyncFunctionContextuallyTypedReturns.types +++ b/tests/baselines/reference/asyncFunctionContextuallyTypedReturns.types @@ -3,9 +3,9 @@ === asyncFunctionContextuallyTypedReturns.ts === declare function f(cb: (v: boolean) => [0] | PromiseLike<[0]>): void; >f : (cb: (v: boolean) => [0] | PromiseLike<[0]>) => void -> : ^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (v: boolean) => [0] | PromiseLike<[0]> -> : ^^^^ ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : boolean > : ^^^^^^^ @@ -63,9 +63,9 @@ f(async v => v ? [0] : Promise.reject()); declare function g(cb: (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">): void; >g : (cb: (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">) => void -> : ^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable"> -> : ^^^^ ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : boolean > : ^^^^^^^ @@ -125,9 +125,9 @@ type MyCallback = (thing: string) => void; declare function h(cb: (v: boolean) => MyCallback | PromiseLike): void; >h : (cb: (v: boolean) => MyCallback | PromiseLike) => void -> : ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (v: boolean) => MyCallback | PromiseLike -> : ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : boolean > : ^^^^^^^ @@ -186,7 +186,7 @@ h(async v => v ? (def) => { } : Promise.reject()); // repro from #29196 const increment: ( >increment : (num: number, str: string) => Promise<((s: string) => any) | string> | string -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^ num: number, >num : number @@ -224,7 +224,7 @@ const increment: ( const increment2: ( >increment2 : (num: number, str: string) => Promise<((s: string) => any) | string> -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^ num: number, >num : number diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration10_es2017.types index 10fb312326c06..f8d6ca1d0f19b 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es2017.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration10_es2017.ts === async function foo(a = await => await): Promise { >foo : (a: any, await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es5.types b/tests/baselines/reference/asyncFunctionDeclaration10_es5.types index 3cf38b89a4f32..485e7a2d04cbc 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es5.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration10_es5.ts === async function foo(a = await => await): Promise { >foo : (a: any, await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es6.types b/tests/baselines/reference/asyncFunctionDeclaration10_es6.types index 794be72f3d3d6..b9ad13adb935a 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es6.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration10_es6.ts === async function foo(a = await => await): Promise { >foo : (a: any, await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration11_es2017.types index 6f018ba3ab7d0..8fd61a1b769cd 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration11_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es2017.types @@ -3,5 +3,5 @@ === asyncFunctionDeclaration11_es2017.ts === async function await(): Promise { >await : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es5.types b/tests/baselines/reference/asyncFunctionDeclaration11_es5.types index b73ca6b0a3e7e..1e68f080df943 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration11_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es5.types @@ -3,5 +3,5 @@ === asyncFunctionDeclaration11_es5.ts === async function await(): Promise { >await : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es6.types b/tests/baselines/reference/asyncFunctionDeclaration11_es6.types index b9fa290cf20c3..d87a3bec39c34 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration11_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es6.types @@ -3,5 +3,5 @@ === asyncFunctionDeclaration11_es6.ts === async function await(): Promise { >await : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration12_es2017.types index 7def0a7b0b698..7d4fe2ec9505d 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es2017.types @@ -3,9 +3,9 @@ === asyncFunctionDeclaration12_es2017.ts === var v = async function await(): Promise { } >v : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function await(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >await : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es5.types b/tests/baselines/reference/asyncFunctionDeclaration12_es5.types index c44c8f4d558f1..70020508824a2 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es5.types @@ -3,9 +3,9 @@ === asyncFunctionDeclaration12_es5.ts === var v = async function await(): Promise { } >v : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function await(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >await : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es6.types b/tests/baselines/reference/asyncFunctionDeclaration12_es6.types index b971a347c160c..a8b8d8dddb6d2 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es6.types @@ -3,9 +3,9 @@ === asyncFunctionDeclaration12_es6.ts === var v = async function await(): Promise { } >v : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function await(): Promise { } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >await : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types index ce4d2516b4d4f..e7d23f522b0be 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration13_es2017.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Legal to use 'await' in a type context. var v: await; diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es5.types b/tests/baselines/reference/asyncFunctionDeclaration13_es5.types index b6e5918776ee4..2fac5a749b4b1 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es5.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration13_es5.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Legal to use 'await' in a type context. var v: await; diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es6.types b/tests/baselines/reference/asyncFunctionDeclaration13_es6.types index 49eaafbdfdb7d..ef62fc8699ffa 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es6.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration13_es6.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Legal to use 'await' in a type context. var v: await; diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration14_es2017.types index 0b4676885f4d2..99eed280b34de 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration14_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es2017.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration14_es2017.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es5.types b/tests/baselines/reference/asyncFunctionDeclaration14_es5.types index 0a159ce877522..a254b5f820b28 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration14_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es5.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration14_es5.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es6.types b/tests/baselines/reference/asyncFunctionDeclaration14_es6.types index 849ad7915721b..8a1b30b571b2c 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration14_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es6.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration14_es6.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration15_es5.types b/tests/baselines/reference/asyncFunctionDeclaration15_es5.types index 5b4a3ee4cf913..fb949240fbe8e 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration15_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration15_es5.types @@ -39,11 +39,11 @@ async function fn4(): number { } // error async function fn5(): PromiseLike { } // error >fn5 : () => PromiseLike -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ async function fn6(): Thenable { } // error >fn6 : () => Thenable -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ async function fn7() { return; } // valid: Promise >fn7 : () => Promise diff --git a/tests/baselines/reference/asyncFunctionDeclaration15_es6.types b/tests/baselines/reference/asyncFunctionDeclaration15_es6.types index d17269539e8e9..2e76354c7a525 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration15_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration15_es6.types @@ -39,11 +39,11 @@ async function fn4(): number { } // error async function fn5(): PromiseLike { } // error >fn5 : () => PromiseLike -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ async function fn6(): Thenable { } // error >fn6 : () => Thenable -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ async function fn7() { return; } // valid: Promise >fn7 : () => Promise diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration1_es2017.types index ef1ef82bf4c6c..190b04073e50f 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration1_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es2017.types @@ -3,5 +3,5 @@ === asyncFunctionDeclaration1_es2017.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es5.types b/tests/baselines/reference/asyncFunctionDeclaration1_es5.types index 2f78995ddc424..d288a110467a9 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration1_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es5.types @@ -3,5 +3,5 @@ === asyncFunctionDeclaration1_es5.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es6.types b/tests/baselines/reference/asyncFunctionDeclaration1_es6.types index afc95546baa19..ebe850f870f66 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration1_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es6.types @@ -3,5 +3,5 @@ === asyncFunctionDeclaration1_es6.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration5_es2017.types index 891eff12b9d39..16b3b8d903723 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es2017.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration5_es2017.ts === async function foo(await): Promise { >foo : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >await : any > : ^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es5.types b/tests/baselines/reference/asyncFunctionDeclaration5_es5.types index 8f1270d61180d..d333558e947c6 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es5.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration5_es5.ts === async function foo(await): Promise { >foo : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >await : any > : ^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es6.types b/tests/baselines/reference/asyncFunctionDeclaration5_es6.types index 2a4a9f6f872db..f230b6bccf04d 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es6.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration5_es6.ts === async function foo(await): Promise { >foo : (await: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ >await : any > : ^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration6_es2017.types index 4b81fd4b618f3..d4f900a89a53d 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es2017.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration6_es2017.ts === async function foo(a = await): Promise { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es5.types b/tests/baselines/reference/asyncFunctionDeclaration6_es5.types index 0fa95689c5484..c4853bf02ffb8 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es5.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration6_es5.ts === async function foo(a = await): Promise { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es6.types b/tests/baselines/reference/asyncFunctionDeclaration6_es6.types index 64d67c65d3abd..093b581f193a6 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es6.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration6_es6.ts === async function foo(a = await): Promise { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration7_es2017.types index a452b04c73fb6..a49a170feb68d 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es2017.types @@ -3,12 +3,12 @@ === asyncFunctionDeclaration7_es2017.ts === async function bar(): Promise { >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // 'await' here is an identifier, and not a yield expression. async function foo(a = await): Promise { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es5.types b/tests/baselines/reference/asyncFunctionDeclaration7_es5.types index 26663935b4df3..75d1e77dc3eee 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es5.types @@ -3,12 +3,12 @@ === asyncFunctionDeclaration7_es5.ts === async function bar(): Promise { >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // 'await' here is an identifier, and not a yield expression. async function foo(a = await): Promise { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es6.types b/tests/baselines/reference/asyncFunctionDeclaration7_es6.types index 47c9e3752a8a7..0bc0e893d0857 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es6.types @@ -3,12 +3,12 @@ === asyncFunctionDeclaration7_es6.ts === async function bar(): Promise { >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // 'await' here is an identifier, and not a yield expression. async function foo(a = await): Promise { >foo : (a?: any) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >a : any > : ^^^ >await : any diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration9_es2017.types index c9456dc38d768..a73e7f2128cdc 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es2017.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration9_es2017.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var v = { [await]: foo } >v : { [x: number]: () => Promise; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es5.types b/tests/baselines/reference/asyncFunctionDeclaration9_es5.types index 77b9338514aa5..41e3bb5550543 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es5.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration9_es5.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var v = { [await]: foo } >v : { [x: number]: () => Promise; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es6.types b/tests/baselines/reference/asyncFunctionDeclaration9_es6.types index c785ec8d18cac..0cc39c4fa7bca 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es6.types @@ -3,7 +3,7 @@ === asyncFunctionDeclaration9_es6.ts === async function foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var v = { [await]: foo } >v : { [x: number]: () => Promise; } diff --git a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.types b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.types index fd019e4fc6ade..0ba2172e55466 100644 --- a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.types +++ b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.types @@ -24,7 +24,7 @@ interface Foo { async function asyncFoo(): Promise { >asyncFoo : () => Promise -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ return { >{ bar: { baz: { inner: { thing: 1 } } } } : { bar: { baz: { inner: { thing: number; }; }; }; } diff --git a/tests/baselines/reference/asyncFunctionReturnType.2.types b/tests/baselines/reference/asyncFunctionReturnType.2.types index c4307a8bbde5c..ea4d56c96ca2c 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.2.types +++ b/tests/baselines/reference/asyncFunctionReturnType.2.types @@ -8,9 +8,9 @@ class X { f = async (): Promise => this; >f : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => this : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >this : this > : ^^^^ } diff --git a/tests/baselines/reference/asyncFunctionReturnType.types b/tests/baselines/reference/asyncFunctionReturnType.types index f628d9a860a10..6ddf656109e64 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.types +++ b/tests/baselines/reference/asyncFunctionReturnType.types @@ -17,7 +17,7 @@ async function fAsync() { async function fAsyncExplicit(): Promise<[number, boolean]> { >fAsyncExplicit : () => Promise<[number, boolean]> -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // This is contextually typed as a tuple. return [1, true]; @@ -41,7 +41,7 @@ interface Obj { async function fIndexedTypeForStringProp(obj: Obj): Promise { >fIndexedTypeForStringProp : (obj: Obj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ >obj : Obj > : ^^^ @@ -56,7 +56,7 @@ async function fIndexedTypeForStringProp(obj: Obj): Promise { async function fIndexedTypeForPromiseOfStringProp(obj: Obj): Promise { >fIndexedTypeForPromiseOfStringProp : (obj: Obj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ >obj : Obj > : ^^^ @@ -79,7 +79,7 @@ async function fIndexedTypeForPromiseOfStringProp(obj: Obj): Promise { >fIndexedTypeForExplicitPromiseOfStringProp : (obj: Obj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ >obj : Obj > : ^^^ @@ -102,7 +102,7 @@ async function fIndexedTypeForExplicitPromiseOfStringProp(obj: Obj): Promise { >fIndexedTypeForAnyProp : (obj: Obj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ >obj : Obj > : ^^^ @@ -116,7 +116,7 @@ async function fIndexedTypeForAnyProp(obj: Obj): Promise { async function fIndexedTypeForPromiseOfAnyProp(obj: Obj): Promise { >fIndexedTypeForPromiseOfAnyProp : (obj: Obj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ >obj : Obj > : ^^^ @@ -138,7 +138,7 @@ async function fIndexedTypeForPromiseOfAnyProp(obj: Obj): Promise { >fIndexedTypeForExplicitPromiseOfAnyProp : (obj: Obj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ >obj : Obj > : ^^^ @@ -160,7 +160,7 @@ async function fIndexedTypeForExplicitPromiseOfAnyProp(obj: Obj): Promise(obj: TObj): Promise { >fGenericIndexedTypeForStringProp : (obj: TObj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ @@ -175,7 +175,7 @@ async function fGenericIndexedTypeForStringProp(obj: TObj): Pr async function fGenericIndexedTypeForPromiseOfStringProp(obj: TObj): Promise { >fGenericIndexedTypeForPromiseOfStringProp : (obj: TObj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ @@ -198,7 +198,7 @@ async function fGenericIndexedTypeForPromiseOfStringProp(obj: async function fGenericIndexedTypeForExplicitPromiseOfStringProp(obj: TObj): Promise { >fGenericIndexedTypeForExplicitPromiseOfStringProp : (obj: TObj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ @@ -221,7 +221,7 @@ async function fGenericIndexedTypeForExplicitPromiseOfStringProp(obj: TObj): Promise { >fGenericIndexedTypeForAnyProp : (obj: TObj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ @@ -235,7 +235,7 @@ async function fGenericIndexedTypeForAnyProp(obj: TObj): Promi async function fGenericIndexedTypeForPromiseOfAnyProp(obj: TObj): Promise { >fGenericIndexedTypeForPromiseOfAnyProp : (obj: TObj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ @@ -257,7 +257,7 @@ async function fGenericIndexedTypeForPromiseOfAnyProp(obj: TOb async function fGenericIndexedTypeForExplicitPromiseOfAnyProp(obj: TObj): Promise { >fGenericIndexedTypeForExplicitPromiseOfAnyProp : (obj: TObj) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ @@ -279,7 +279,7 @@ async function fGenericIndexedTypeForExplicitPromiseOfAnyProp( async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise { >fGenericIndexedTypeForKProp : (obj: TObj, key: K) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ >key : K @@ -296,7 +296,7 @@ async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise { >fGenericIndexedTypeForPromiseOfKProp : (obj: TObj, key: K) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ >key : K @@ -321,7 +321,7 @@ async function fGenericIndexedTypeForPromiseOfKProp(obj: TObj, key: K): Promise { >fGenericIndexedTypeForExplicitPromiseOfKProp : (obj: TObj, key: K) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >obj : TObj > : ^^^^ >key : K diff --git a/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.types b/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.types index e9e3efe6000c4..1c3492bbef849 100644 --- a/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.types +++ b/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.types @@ -5,13 +5,13 @@ declare namespace Windows.Foundation { interface IPromise { then(success?: (value: TResult) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: TResult) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: ((value: TResult) => IPromise) | undefined, error?: ((error: any) => U_1) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: ((value: TResult) => U_2) | undefined, error?: ((error: any) => IPromise) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: ((value: TResult) => U_3) | undefined, error?: ((error: any) => U_3) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : ((value: TResult) => IPromise) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TResult > : ^^^^^^^ >error : ((error: any) => IPromise) | undefined -> : ^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >error : any >progress : ((progress: any) => void) | undefined > : ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ @@ -19,13 +19,13 @@ declare namespace Windows.Foundation { then(success?: (value: TResult) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : { (success?: ((value: TResult) => IPromise) | undefined, error?: ((error: any) => IPromise) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: (value: TResult) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; (success?: ((value: TResult) => U_2) | undefined, error?: ((error: any) => IPromise) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: ((value: TResult) => U_3) | undefined, error?: ((error: any) => U_3) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : ((value: TResult) => IPromise) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TResult > : ^^^^^^^ >error : ((error: any) => U) | undefined -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >error : any >progress : ((progress: any) => void) | undefined > : ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ @@ -33,13 +33,13 @@ declare namespace Windows.Foundation { then(success?: (value: TResult) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; >then : { (success?: ((value: TResult) => IPromise) | undefined, error?: ((error: any) => IPromise) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: ((value: TResult) => IPromise) | undefined, error?: ((error: any) => U_2) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: (value: TResult) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: ((value: TResult) => U_3) | undefined, error?: ((error: any) => U_3) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : ((value: TResult) => U) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TResult > : ^^^^^^^ >error : ((error: any) => IPromise) | undefined -> : ^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >error : any >progress : ((progress: any) => void) | undefined > : ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ @@ -47,13 +47,13 @@ declare namespace Windows.Foundation { then(success?: (value: TResult) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : { (success?: ((value: TResult) => IPromise) | undefined, error?: ((error: any) => IPromise) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: ((value: TResult) => IPromise) | undefined, error?: ((error: any) => U_2) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: ((value: TResult) => U_3) | undefined, error?: ((error: any) => IPromise) | undefined, progress?: ((progress: any) => void) | undefined): IPromise; (success?: (value: TResult) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : ((value: TResult) => U) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TResult > : ^^^^^^^ >error : ((error: any) => U) | undefined -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >error : any >progress : ((progress: any) => void) | undefined > : ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ @@ -61,9 +61,9 @@ declare namespace Windows.Foundation { done(success?: (value: TResult) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: TResult) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : ((value: TResult) => any) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TResult > : ^^^^^^^ >error : ((error: any) => any) | undefined @@ -81,7 +81,7 @@ declare namespace Windows.Foundation { async function sample(promise: Windows.Foundation.IPromise) { >sample : (promise: Windows.Foundation.IPromise) => Promise -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >promise : Windows.Foundation.IPromise > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Windows : any @@ -101,13 +101,13 @@ async function sample(promise: Windows.Foundation.IPromise) { declare function resolve1(value: T): Promise; >resolve1 : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ declare function resolve2(value: T): Windows.Foundation.IPromise; >resolve2 : (value: T) => Windows.Foundation.IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >Windows : any diff --git a/tests/baselines/reference/asyncGeneratorGenericNonWrappedReturn.types b/tests/baselines/reference/asyncGeneratorGenericNonWrappedReturn.types index 52a14e9c58204..12586d3232c17 100644 --- a/tests/baselines/reference/asyncGeneratorGenericNonWrappedReturn.types +++ b/tests/baselines/reference/asyncGeneratorGenericNonWrappedReturn.types @@ -5,7 +5,7 @@ export async function* test(a: T): AsyncGenerator { >test : (a: T) => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/asyncImportedPromise_es5.types b/tests/baselines/reference/asyncImportedPromise_es5.types index 6b18d7542d3e1..45922f1c1475a 100644 --- a/tests/baselines/reference/asyncImportedPromise_es5.types +++ b/tests/baselines/reference/asyncImportedPromise_es5.types @@ -18,5 +18,5 @@ class Test { async example(): Task { return; } >example : () => Task -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ } diff --git a/tests/baselines/reference/asyncImportedPromise_es6.types b/tests/baselines/reference/asyncImportedPromise_es6.types index d9806775eaabe..5a6dab44269ab 100644 --- a/tests/baselines/reference/asyncImportedPromise_es6.types +++ b/tests/baselines/reference/asyncImportedPromise_es6.types @@ -18,5 +18,5 @@ class Test { async example(): Task { return; } >example : () => Task -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ } diff --git a/tests/baselines/reference/asyncQualifiedReturnType_es5.types b/tests/baselines/reference/asyncQualifiedReturnType_es5.types index b755d0627eeab..db4e8945b121a 100644 --- a/tests/baselines/reference/asyncQualifiedReturnType_es5.types +++ b/tests/baselines/reference/asyncQualifiedReturnType_es5.types @@ -15,7 +15,7 @@ namespace X { async function f(): X.MyPromise { >f : () => X.MyPromise -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ } diff --git a/tests/baselines/reference/asyncQualifiedReturnType_es6.types b/tests/baselines/reference/asyncQualifiedReturnType_es6.types index 263754166a2c1..4c4c09ec94e99 100644 --- a/tests/baselines/reference/asyncQualifiedReturnType_es6.types +++ b/tests/baselines/reference/asyncQualifiedReturnType_es6.types @@ -15,7 +15,7 @@ namespace X { async function f(): X.MyPromise { >f : () => X.MyPromise -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ } diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.types b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.types index dd64139e4983b..421e52374e384 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.types +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.types @@ -3,7 +3,7 @@ === asyncUnParenthesizedArrowFunction_es2017.ts === declare function someOtherFunction(i: any): Promise; >someOtherFunction : (i: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : any const x = async i => await someOtherFunction(i) diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.types b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.types index d4e1f4ceba45d..62d790bd376f7 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.types +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.types @@ -3,7 +3,7 @@ === asyncUnParenthesizedArrowFunction_es5.ts === declare function someOtherFunction(i: any): Promise; >someOtherFunction : (i: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : any const x = async i => await someOtherFunction(i) diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.types b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.types index f600cbcaceae6..284c6b5701ea6 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.types +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.types @@ -3,7 +3,7 @@ === asyncUnParenthesizedArrowFunction_es6.ts === declare function someOtherFunction(i: any): Promise; >someOtherFunction : (i: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : any const x = async i => await someOtherFunction(i) diff --git a/tests/baselines/reference/asyncUseStrict_es2017.types b/tests/baselines/reference/asyncUseStrict_es2017.types index dfe026e860b64..c95f3dead243f 100644 --- a/tests/baselines/reference/asyncUseStrict_es2017.types +++ b/tests/baselines/reference/asyncUseStrict_es2017.types @@ -11,7 +11,7 @@ declare var p: Promise; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ "use strict"; >"use strict" : "use strict" diff --git a/tests/baselines/reference/asyncUseStrict_es5.types b/tests/baselines/reference/asyncUseStrict_es5.types index 3ef3a178bca56..d0149011abace 100644 --- a/tests/baselines/reference/asyncUseStrict_es5.types +++ b/tests/baselines/reference/asyncUseStrict_es5.types @@ -11,7 +11,7 @@ declare var p: Promise; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ "use strict"; >"use strict" : "use strict" diff --git a/tests/baselines/reference/asyncUseStrict_es6.types b/tests/baselines/reference/asyncUseStrict_es6.types index 5da009beed072..b6d711abbfad8 100644 --- a/tests/baselines/reference/asyncUseStrict_es6.types +++ b/tests/baselines/reference/asyncUseStrict_es6.types @@ -11,7 +11,7 @@ declare var p: Promise; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ "use strict"; >"use strict" : "use strict" diff --git a/tests/baselines/reference/augmentExportEquals5.types b/tests/baselines/reference/augmentExportEquals5.types index 0dc329ab587d8..5cef587ca0ff0 100644 --- a/tests/baselines/reference/augmentExportEquals5.types +++ b/tests/baselines/reference/augmentExportEquals5.types @@ -24,7 +24,7 @@ declare module "express" { interface IRoute { all(...handler: RequestHandler[]): IRoute; >all : (...handler: RequestHandler[]) => IRoute -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >handler : RequestHandler[] > : ^^^^^^^^^^^^^^^^ } @@ -40,14 +40,14 @@ declare module "express" { interface IRouter extends RequestHandler { route(path: string): IRoute; >route : (path: string) => IRoute -> : ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >path : string > : ^^^^^^ } export function Router(options?: any): Router; >Router : (options?: any) => Router -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >options : any export interface Router extends IRouter {} @@ -121,7 +121,7 @@ declare module "express" { interface Express extends Application { createApplication(): Application; >createApplication : () => Application -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } var static: any; diff --git a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).types b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).types index a422360c42e71..f7967487c4e3f 100644 --- a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).types +++ b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).types @@ -3,7 +3,7 @@ === autoAccessorExperimentalDecorators.ts === declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void; >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >target : any > : ^^^ >key : PropertyKey diff --git a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).types b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).types index a422360c42e71..f7967487c4e3f 100644 --- a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).types +++ b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).types @@ -3,7 +3,7 @@ === autoAccessorExperimentalDecorators.ts === declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void; >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >target : any > : ^^^ >key : PropertyKey diff --git a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).types b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).types index a422360c42e71..f7967487c4e3f 100644 --- a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).types +++ b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).types @@ -3,7 +3,7 @@ === autoAccessorExperimentalDecorators.ts === declare var dec: (target: any, key: PropertyKey, desc: PropertyDescriptor) => void; >dec : (target: any, key: PropertyKey, desc: PropertyDescriptor) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >target : any > : ^^^ >key : PropertyKey diff --git a/tests/baselines/reference/avoidListingPropertiesForTypesWithOnlyCallOrConstructSignatures.types b/tests/baselines/reference/avoidListingPropertiesForTypesWithOnlyCallOrConstructSignatures.types index 385705363a73a..adaf19bc97ffb 100644 --- a/tests/baselines/reference/avoidListingPropertiesForTypesWithOnlyCallOrConstructSignatures.types +++ b/tests/baselines/reference/avoidListingPropertiesForTypesWithOnlyCallOrConstructSignatures.types @@ -11,7 +11,7 @@ interface Dog { declare function getRover(): Dog >getRover : () => Dog -> : ^^^^^^^^^ +> : ^^^^^^ export let x:Dog = getRover; >x : Dog diff --git a/tests/baselines/reference/awaitBinaryExpression1_es2017.types b/tests/baselines/reference/awaitBinaryExpression1_es2017.types index e1fe07fa809b3..8a2c49b4d1d86 100644 --- a/tests/baselines/reference/awaitBinaryExpression1_es2017.types +++ b/tests/baselines/reference/awaitBinaryExpression1_es2017.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression1_es5.types b/tests/baselines/reference/awaitBinaryExpression1_es5.types index 243dcd058fed3..a37129d66ffd3 100644 --- a/tests/baselines/reference/awaitBinaryExpression1_es5.types +++ b/tests/baselines/reference/awaitBinaryExpression1_es5.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression1_es6.types b/tests/baselines/reference/awaitBinaryExpression1_es6.types index 6bc00437d7480..335ea91878bf4 100644 --- a/tests/baselines/reference/awaitBinaryExpression1_es6.types +++ b/tests/baselines/reference/awaitBinaryExpression1_es6.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression2_es2017.types b/tests/baselines/reference/awaitBinaryExpression2_es2017.types index f73c6a82be137..43e36b379cfc8 100644 --- a/tests/baselines/reference/awaitBinaryExpression2_es2017.types +++ b/tests/baselines/reference/awaitBinaryExpression2_es2017.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression2_es5.types b/tests/baselines/reference/awaitBinaryExpression2_es5.types index 83f300868a86b..890694e7cbf02 100644 --- a/tests/baselines/reference/awaitBinaryExpression2_es5.types +++ b/tests/baselines/reference/awaitBinaryExpression2_es5.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression2_es6.types b/tests/baselines/reference/awaitBinaryExpression2_es6.types index c078144bef898..e9fcf06afcb81 100644 --- a/tests/baselines/reference/awaitBinaryExpression2_es6.types +++ b/tests/baselines/reference/awaitBinaryExpression2_es6.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression3_es2017.types b/tests/baselines/reference/awaitBinaryExpression3_es2017.types index aaaac8ef0e8d9..192f3cf09e548 100644 --- a/tests/baselines/reference/awaitBinaryExpression3_es2017.types +++ b/tests/baselines/reference/awaitBinaryExpression3_es2017.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression3_es5.types b/tests/baselines/reference/awaitBinaryExpression3_es5.types index 09256b7bd1f87..eb41efbf113d7 100644 --- a/tests/baselines/reference/awaitBinaryExpression3_es5.types +++ b/tests/baselines/reference/awaitBinaryExpression3_es5.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression3_es6.types b/tests/baselines/reference/awaitBinaryExpression3_es6.types index 73bd70024c60d..a9b93d27b181a 100644 --- a/tests/baselines/reference/awaitBinaryExpression3_es6.types +++ b/tests/baselines/reference/awaitBinaryExpression3_es6.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression4_es2017.types b/tests/baselines/reference/awaitBinaryExpression4_es2017.types index 19fb3cd836ed7..bb1f4c6a8c388 100644 --- a/tests/baselines/reference/awaitBinaryExpression4_es2017.types +++ b/tests/baselines/reference/awaitBinaryExpression4_es2017.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression4_es5.types b/tests/baselines/reference/awaitBinaryExpression4_es5.types index 86838892ef1bb..abe1a5fa6a86f 100644 --- a/tests/baselines/reference/awaitBinaryExpression4_es5.types +++ b/tests/baselines/reference/awaitBinaryExpression4_es5.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression4_es6.types b/tests/baselines/reference/awaitBinaryExpression4_es6.types index e2109850c90b9..1c48f9ca0b16a 100644 --- a/tests/baselines/reference/awaitBinaryExpression4_es6.types +++ b/tests/baselines/reference/awaitBinaryExpression4_es6.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression5_es2017.types b/tests/baselines/reference/awaitBinaryExpression5_es2017.types index 0bcebd3ef4150..39ffde89efb06 100644 --- a/tests/baselines/reference/awaitBinaryExpression5_es2017.types +++ b/tests/baselines/reference/awaitBinaryExpression5_es2017.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression5_es5.types b/tests/baselines/reference/awaitBinaryExpression5_es5.types index 9b157658677be..1ea0241d3546e 100644 --- a/tests/baselines/reference/awaitBinaryExpression5_es5.types +++ b/tests/baselines/reference/awaitBinaryExpression5_es5.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitBinaryExpression5_es6.types b/tests/baselines/reference/awaitBinaryExpression5_es6.types index d67d1cd1bfa4b..a2983be15d543 100644 --- a/tests/baselines/reference/awaitBinaryExpression5_es6.types +++ b/tests/baselines/reference/awaitBinaryExpression5_es6.types @@ -19,7 +19,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression1_es2017.types b/tests/baselines/reference/awaitCallExpression1_es2017.types index 2a9ae4c5d9960..2a7e92abd208a 100644 --- a/tests/baselines/reference/awaitCallExpression1_es2017.types +++ b/tests/baselines/reference/awaitCallExpression1_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression1_es5.types b/tests/baselines/reference/awaitCallExpression1_es5.types index b272fb3c0dd1c..9a12d6d4b3c7b 100644 --- a/tests/baselines/reference/awaitCallExpression1_es5.types +++ b/tests/baselines/reference/awaitCallExpression1_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression1_es6.types b/tests/baselines/reference/awaitCallExpression1_es6.types index d091a60c5607f..145bdf1c1d85c 100644 --- a/tests/baselines/reference/awaitCallExpression1_es6.types +++ b/tests/baselines/reference/awaitCallExpression1_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression2_es2017.types b/tests/baselines/reference/awaitCallExpression2_es2017.types index 7ffdc14690c43..5f31de3d23c64 100644 --- a/tests/baselines/reference/awaitCallExpression2_es2017.types +++ b/tests/baselines/reference/awaitCallExpression2_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression2_es5.types b/tests/baselines/reference/awaitCallExpression2_es5.types index aac113b5f352f..d8e805568aabb 100644 --- a/tests/baselines/reference/awaitCallExpression2_es5.types +++ b/tests/baselines/reference/awaitCallExpression2_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression2_es6.types b/tests/baselines/reference/awaitCallExpression2_es6.types index 36d7d4fc379b7..fc44354fbfb83 100644 --- a/tests/baselines/reference/awaitCallExpression2_es6.types +++ b/tests/baselines/reference/awaitCallExpression2_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression3_es2017.types b/tests/baselines/reference/awaitCallExpression3_es2017.types index 83c4a8cae7f44..79bfc8b9a3b62 100644 --- a/tests/baselines/reference/awaitCallExpression3_es2017.types +++ b/tests/baselines/reference/awaitCallExpression3_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression3_es5.types b/tests/baselines/reference/awaitCallExpression3_es5.types index 7199dfe9d1786..d03e2408c2934 100644 --- a/tests/baselines/reference/awaitCallExpression3_es5.types +++ b/tests/baselines/reference/awaitCallExpression3_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression3_es6.types b/tests/baselines/reference/awaitCallExpression3_es6.types index 9f62257aad0af..7ac417d904941 100644 --- a/tests/baselines/reference/awaitCallExpression3_es6.types +++ b/tests/baselines/reference/awaitCallExpression3_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression4_es2017.types b/tests/baselines/reference/awaitCallExpression4_es2017.types index d319844ca48b6..65d364a8456eb 100644 --- a/tests/baselines/reference/awaitCallExpression4_es2017.types +++ b/tests/baselines/reference/awaitCallExpression4_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression4_es5.types b/tests/baselines/reference/awaitCallExpression4_es5.types index 1d3db167e3aab..c9810ce1be1f7 100644 --- a/tests/baselines/reference/awaitCallExpression4_es5.types +++ b/tests/baselines/reference/awaitCallExpression4_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression4_es6.types b/tests/baselines/reference/awaitCallExpression4_es6.types index ebcc86ffcf574..3253c2cbf897e 100644 --- a/tests/baselines/reference/awaitCallExpression4_es6.types +++ b/tests/baselines/reference/awaitCallExpression4_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression5_es2017.types b/tests/baselines/reference/awaitCallExpression5_es2017.types index 89a4fb8075fbf..3597d8383932c 100644 --- a/tests/baselines/reference/awaitCallExpression5_es2017.types +++ b/tests/baselines/reference/awaitCallExpression5_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression5_es5.types b/tests/baselines/reference/awaitCallExpression5_es5.types index 0b72b4886dcf9..69a2a3bba0370 100644 --- a/tests/baselines/reference/awaitCallExpression5_es5.types +++ b/tests/baselines/reference/awaitCallExpression5_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression5_es6.types b/tests/baselines/reference/awaitCallExpression5_es6.types index 5266537d4a214..77bfecf9a5ff7 100644 --- a/tests/baselines/reference/awaitCallExpression5_es6.types +++ b/tests/baselines/reference/awaitCallExpression5_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression6_es2017.types b/tests/baselines/reference/awaitCallExpression6_es2017.types index 73bfb31153d3c..d91aafccb1e13 100644 --- a/tests/baselines/reference/awaitCallExpression6_es2017.types +++ b/tests/baselines/reference/awaitCallExpression6_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression6_es5.types b/tests/baselines/reference/awaitCallExpression6_es5.types index 85776e314c6cd..c190a6c01e41c 100644 --- a/tests/baselines/reference/awaitCallExpression6_es5.types +++ b/tests/baselines/reference/awaitCallExpression6_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression6_es6.types b/tests/baselines/reference/awaitCallExpression6_es6.types index 7d18e89276d36..ee8e86dab7928 100644 --- a/tests/baselines/reference/awaitCallExpression6_es6.types +++ b/tests/baselines/reference/awaitCallExpression6_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression7_es2017.types b/tests/baselines/reference/awaitCallExpression7_es2017.types index 3f4241e49f736..b979e64f45ff4 100644 --- a/tests/baselines/reference/awaitCallExpression7_es2017.types +++ b/tests/baselines/reference/awaitCallExpression7_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression7_es5.types b/tests/baselines/reference/awaitCallExpression7_es5.types index 70181f67f4390..1222545d0d271 100644 --- a/tests/baselines/reference/awaitCallExpression7_es5.types +++ b/tests/baselines/reference/awaitCallExpression7_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression7_es6.types b/tests/baselines/reference/awaitCallExpression7_es6.types index 7755ac6b8f3f2..fd117a79ace10 100644 --- a/tests/baselines/reference/awaitCallExpression7_es6.types +++ b/tests/baselines/reference/awaitCallExpression7_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression8_es2017.types b/tests/baselines/reference/awaitCallExpression8_es2017.types index e0d9eabaa9c51..039bf08134b3a 100644 --- a/tests/baselines/reference/awaitCallExpression8_es2017.types +++ b/tests/baselines/reference/awaitCallExpression8_es2017.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression8_es5.types b/tests/baselines/reference/awaitCallExpression8_es5.types index b08d6823e0b6a..8a581ae8817a5 100644 --- a/tests/baselines/reference/awaitCallExpression8_es5.types +++ b/tests/baselines/reference/awaitCallExpression8_es5.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitCallExpression8_es6.types b/tests/baselines/reference/awaitCallExpression8_es6.types index f7f2b68f0bf45..14d41729d4f64 100644 --- a/tests/baselines/reference/awaitCallExpression8_es6.types +++ b/tests/baselines/reference/awaitCallExpression8_es6.types @@ -63,7 +63,7 @@ declare function after(): void; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ before(); >before() : void diff --git a/tests/baselines/reference/awaitClassExpression_es2017.types b/tests/baselines/reference/awaitClassExpression_es2017.types index 665f01cef6d06..200544354ef2e 100644 --- a/tests/baselines/reference/awaitClassExpression_es2017.types +++ b/tests/baselines/reference/awaitClassExpression_es2017.types @@ -13,7 +13,7 @@ declare var p: Promise; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ class D extends (await p) { >D : D diff --git a/tests/baselines/reference/awaitClassExpression_es5.types b/tests/baselines/reference/awaitClassExpression_es5.types index bfe451ef376d8..9bbaf975c0dd3 100644 --- a/tests/baselines/reference/awaitClassExpression_es5.types +++ b/tests/baselines/reference/awaitClassExpression_es5.types @@ -13,7 +13,7 @@ declare var p: Promise; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ class D extends (await p) { >D : D diff --git a/tests/baselines/reference/awaitClassExpression_es6.types b/tests/baselines/reference/awaitClassExpression_es6.types index d6c45a04f568d..47b966fe965f7 100644 --- a/tests/baselines/reference/awaitClassExpression_es6.types +++ b/tests/baselines/reference/awaitClassExpression_es6.types @@ -13,7 +13,7 @@ declare var p: Promise; async function func(): Promise { >func : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ class D extends (await p) { >D : D diff --git a/tests/baselines/reference/awaitInNonAsyncFunction.types b/tests/baselines/reference/awaitInNonAsyncFunction.types index 246c293a11b1e..87a0dd911050a 100644 --- a/tests/baselines/reference/awaitInNonAsyncFunction.types +++ b/tests/baselines/reference/awaitInNonAsyncFunction.types @@ -5,7 +5,7 @@ function normalFunc(p: Promise) { >normalFunc : (p: Promise) => number -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ @@ -24,7 +24,7 @@ function normalFunc(p: Promise) { export function exportedFunc(p: Promise) { >exportedFunc : (p: Promise) => number -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ @@ -43,9 +43,9 @@ export function exportedFunc(p: Promise) { const functionExpression = function(p: Promise) { >functionExpression : (p: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(p: Promise) { for await (const _ of []); await p;} : (p: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ @@ -64,9 +64,9 @@ const functionExpression = function(p: Promise) { const arrowFunc = (p: Promise) => { >arrowFunc : (p: Promise) => number -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(p: Promise) => { for await (const _ of []); return await p;} : (p: Promise) => number -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ @@ -86,7 +86,7 @@ const arrowFunc = (p: Promise) => { function* generatorFunc(p: Promise) { >generatorFunc : (p: Promise) => Generator -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ @@ -127,7 +127,7 @@ class clazz { } method(p: Promise) { >method : (p: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : Promise > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/awaitUnionPromise.types b/tests/baselines/reference/awaitUnionPromise.types index 7afc1eabb3ac3..961619f1ef205 100644 --- a/tests/baselines/reference/awaitUnionPromise.types +++ b/tests/baselines/reference/awaitUnionPromise.types @@ -10,19 +10,19 @@ class AsyncEnumeratorDone { }; interface IAsyncEnumerator { next1(): Promise; >next1 : () => Promise -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ next2(): Promise | Promise; >next2 : () => Promise | Promise -> : ^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ next3(): Promise; >next3 : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ next4(): Promise; >next4 : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >x : string > : ^^^^^^ } diff --git a/tests/baselines/reference/awaitedType.types b/tests/baselines/reference/awaitedType.types index 4f2e2df06312e..47ed59c4f5cdf 100644 --- a/tests/baselines/reference/awaitedType.types +++ b/tests/baselines/reference/awaitedType.types @@ -93,9 +93,9 @@ type TNullOrUndefined = Awaited; interface BadPromise { then(cb: (value: BadPromise) => void): void; } >then : (cb: (value: BadPromise) => void) => void -> : ^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: BadPromise) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : BadPromise > : ^^^^^^^^^^ @@ -105,17 +105,17 @@ type T16 = Awaited; // error interface BadPromise1 { then(cb: (value: BadPromise2) => void): void; } >then : (cb: (value: BadPromise2) => void) => void -> : ^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: BadPromise2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : BadPromise2 > : ^^^^^^^^^^^ interface BadPromise2 { then(cb: (value: BadPromise1) => void): void; } >then : (cb: (value: BadPromise1) => void) => void -> : ^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: BadPromise1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : BadPromise1 > : ^^^^^^^^^^^ @@ -143,7 +143,7 @@ type MaybePromise = T | Promise | PromiseLike declare function MaybePromise(value: T): MaybePromise; >MaybePromise : (value: T) => MaybePromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -265,7 +265,7 @@ async function f3(x: object) { async function f4(x: Promise) { >f4 : (x: Promise) => Promise -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^^^^ @@ -281,7 +281,7 @@ async function f4(x: Promise) { async function f5(x: Promise) { >f5 : (x: Promise) => Promise -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^^^^^ @@ -297,7 +297,7 @@ async function f5(x: Promise) { async function f6(x: Promise) { >f6 : (x: Promise) => Promise -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^^^^ @@ -315,7 +315,7 @@ async function f6(x: Promise) { async function f7(x: T) { >f7 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -335,7 +335,7 @@ async function f7(x: T) { async function f8(x: T) { >f8 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -355,7 +355,7 @@ async function f8(x: T) { async function f9(x: T) { >f9 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -375,7 +375,7 @@ async function f9(x: T) { async function f10(x: T) { >f10 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -395,7 +395,7 @@ async function f10(x: T) { async function f11 void): void }>(x: T) { >f11 : void): void; }>(x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >then : (onfulfilled: (value: unknown) => void) => void > : ^^^^^^^^^^^^^^ ^^^^^ >onfulfilled : (value: unknown) => void @@ -421,7 +421,7 @@ async function f11 void): void async function f12(x: T) { >f12 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -441,7 +441,7 @@ async function f12(x: T) { async function f13(x: T) { >f13 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -459,7 +459,7 @@ async function f13(x: T) { async function f14(x: T) { >f14 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ >x : T @@ -479,7 +479,7 @@ async function f14(x: T) { async function f15(x: T) { >f15 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >then : number > : ^^^^^^ >x : T @@ -499,7 +499,7 @@ async function f15(x: T) { async function f16(x: T) { >f16 : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >then : () => void > : ^^^^^^ >x : T @@ -526,7 +526,7 @@ type _Expect = TActual; // https://github.com/microsoft/TypeScript/issues/48320 async function f17 Promise>(fn: T) { >f17 : Promise>(fn: T) => Promise> -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : any[] > : ^^^^^ >fn : T @@ -589,7 +589,7 @@ type GenericStructure< async function brokenExample(structurePromise: Promise>, key: AcceptableKeyType): Promise { >brokenExample : (structurePromise: Promise>, key: AcceptableKeyType) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >structurePromise : Promise> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : AcceptableKeyType @@ -663,7 +663,7 @@ type CheckSelect = T extends SelectAndInclude declare function findMany( >findMany : (args: T) => CheckSelect, Promise<2>> -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >select : string > : ^^^^^^ >include : string @@ -677,7 +677,7 @@ declare function findMany( async function findManyWrapper< >findManyWrapper : (args: T) => Promise, Promise<2>>> -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ T extends { select?: string; include?: string } >select : string diff --git a/tests/baselines/reference/awaitedTypeCrash.types b/tests/baselines/reference/awaitedTypeCrash.types index 2a48fdce991b9..17b92fc844ca7 100644 --- a/tests/baselines/reference/awaitedTypeCrash.types +++ b/tests/baselines/reference/awaitedTypeCrash.types @@ -4,5 +4,5 @@ // https://github.com/microsoft/TypeScript/issues/51984 async function* f>(): AsyncGenerator { } >f : >() => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/awaitedTypeJQuery.types b/tests/baselines/reference/awaitedTypeJQuery.types index d0e195605ff69..c7ea29c2d0ce0 100644 --- a/tests/baselines/reference/awaitedTypeJQuery.types +++ b/tests/baselines/reference/awaitedTypeJQuery.types @@ -12,7 +12,7 @@ interface PromiseBase { thenthen : { (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBase | Thenable | ARD, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBase | Thenable | ANP): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_1 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_1 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: null, progressFilter?: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_2 | PromiseBase | Thenable): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_1 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_2 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_3 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_2 | PromiseBase | Thenable, failFilter?: null, progressFilter?: null): PromiseBase; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, @@ -27,7 +27,7 @@ interface PromiseBase( doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBasedoneFilter : (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBase | Thenable | ARD -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TR > : ^^ >u : UR @@ -42,7 +42,7 @@ interface PromiseBase | Thenable | ARD, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBasefailFilter : (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TJ > : ^^ >u : UJ @@ -57,7 +57,7 @@ interface PromiseBase | Thenable | ARF, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBaseprogressFilter : (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBase | Thenable | ANP -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TN > : ^^ >u : UN @@ -75,7 +75,7 @@ interface PromiseBase; thenthen : { (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_1 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_1 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBase | Thenable | ANP): PromiseBase; (doneFilter: null, failFilter: null, progressFilter?: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_2 | PromiseBase | Thenable): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_1 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_2 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_3 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_2 | PromiseBase | Thenable, failFilter?: null, progressFilter?: null): PromiseBase; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, @@ -90,7 +90,7 @@ interface PromiseBase PromiseBasefailFilter : (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TJ > : ^^ >u : UJ @@ -105,7 +105,7 @@ interface PromiseBase | Thenable | ARF, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBaseprogressFilter : (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBase | Thenable | ANP -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TN > : ^^ >u : UN @@ -123,7 +123,7 @@ interface PromiseBase; thenthen : { (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_1 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_1 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_2 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: null, progressFilter?: (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBase | Thenable | ANP): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_1 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_2 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_3 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_2 | PromiseBase | Thenable, failFilter?: null, progressFilter?: null): PromiseBase; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BRP = never, BJP = never, BNP = never, CRP = never, CJP = never, CNP = never, @@ -138,7 +138,7 @@ interface PromiseBase PromiseBaseprogressFilter : (t: TN, u: UN, v: VN, ...s: SN[]) => PromiseBase | Thenable | ANP -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TN > : ^^ >u : UN @@ -156,7 +156,7 @@ interface PromiseBase; thenthen : { (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_1 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_1 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_2 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_1 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: null, progressFilter?: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_2 | PromiseBase | Thenable): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBase | Thenable | ARD, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF, progressFilter?: null): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_3 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_2 | PromiseBase | Thenable, failFilter?: null, progressFilter?: null): PromiseBase; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, @@ -167,7 +167,7 @@ interface PromiseBase( doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBasedoneFilter : (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBase | Thenable | ARD -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TR > : ^^ >u : UR @@ -182,7 +182,7 @@ interface PromiseBase | Thenable | ARD, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBasefailFilter : (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TJ > : ^^ >u : UJ @@ -204,7 +204,7 @@ interface PromiseBase; thenthen : { (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_1 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_2 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_1 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: null, progressFilter?: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_2 | PromiseBase | Thenable): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_1 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_3 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF, progressFilter?: null): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_2 | PromiseBase | Thenable, failFilter?: null, progressFilter?: null): PromiseBase; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, @@ -215,7 +215,7 @@ interface PromiseBase PromiseBasefailFilter : (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => PromiseBase | Thenable | ARF -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TJ > : ^^ >u : UJ @@ -237,14 +237,14 @@ interface PromiseBase; thenthen : { (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_1 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_1 | PromiseBase | Thenable, progressFilter: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_1 | PromiseBase | Thenable): PromiseBase; (doneFilter: null, failFilter: null, progressFilter?: (t: TN, u: UN, v: VN, ...s: SN[]) => ANP_2 | PromiseBase | Thenable): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => ARD_2 | PromiseBase | Thenable, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_2 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: null, failFilter: (t: TJ, u: UJ, v: VJ, ...s: SJ[]) => ARF_3 | PromiseBase | Thenable, progressFilter?: null): PromiseBase; (doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBase | Thenable | ARD, failFilter?: null, progressFilter?: null): PromiseBase; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, RRD = never, RJD = never, RND = never>( doneFilter: (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBasedoneFilter : (t: TR, u: UR, v: VR, ...s: SR[]) => PromiseBase | Thenable | ARD -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^^ ^^^ ^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >t : TR > : ^^ >u : UR diff --git a/tests/baselines/reference/awaitedTypeStrictNull.types b/tests/baselines/reference/awaitedTypeStrictNull.types index 87abd538536b2..a58674f3f8a41 100644 --- a/tests/baselines/reference/awaitedTypeStrictNull.types +++ b/tests/baselines/reference/awaitedTypeStrictNull.types @@ -94,9 +94,9 @@ type TNullOrUndefined = Awaited; interface BadPromise { then(cb: (value: BadPromise) => void): void; } >then : (cb: (value: BadPromise) => void) => void -> : ^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: BadPromise) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : BadPromise > : ^^^^^^^^^^ @@ -106,17 +106,17 @@ type T16 = Awaited; // error interface BadPromise1 { then(cb: (value: BadPromise2) => void): void; } >then : (cb: (value: BadPromise2) => void) => void -> : ^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: BadPromise2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : BadPromise2 > : ^^^^^^^^^^^ interface BadPromise2 { then(cb: (value: BadPromise1) => void): void; } >then : (cb: (value: BadPromise1) => void) => void -> : ^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: BadPromise1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : BadPromise1 > : ^^^^^^^^^^^ @@ -144,7 +144,7 @@ type MaybePromise = T | Promise | PromiseLike declare function MaybePromise(value: T): MaybePromise; >MaybePromise : (value: T) => MaybePromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -235,7 +235,7 @@ class Api { async request(): Promise { throw new Error(); } >request : () => Promise -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ >new Error() : Error > : ^^^^^ >Error : ErrorConstructor @@ -252,7 +252,7 @@ interface Obj { x: number } async function fn(): Promise { >fn : () => Promise -> : ^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^ ^^^ +> : ^ ^^^^^^^ // Per #45924, this was failing due to incorrect inference both above and here. // Should not error. diff --git a/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.types b/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.types index 94d168dfdc9a4..bc4ee1a85ef9a 100644 --- a/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.types +++ b/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.types @@ -10,16 +10,16 @@ interface Foo { b: (x: A) => void; >b : (x: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : A > : ^ } declare function canYouInferThis(fn: () => Foo): A; >canYouInferThis : (fn: () => Foo) => A -> : ^^^^^^^^ ^^^ ^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >fn : () => Foo -> : ^^^^^^^^^ ^ +> : ^^^^^^ const result = canYouInferThis(() => ({ >result : { BLAH: number; } @@ -67,9 +67,9 @@ result.BLAH; function goofus (f: (...args: ARGS) => any ) {} >goofus : (f: (...args: ARGS) => any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >f : (...args: ARGS) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : ARGS > : ^^^^ diff --git a/tests/baselines/reference/baseConstraintOfDecorator.types b/tests/baselines/reference/baseConstraintOfDecorator.types index 74549b1441957..f691fbed32ba0 100644 --- a/tests/baselines/reference/baseConstraintOfDecorator.types +++ b/tests/baselines/reference/baseConstraintOfDecorator.types @@ -3,7 +3,7 @@ === baseConstraintOfDecorator.ts === export function classExtender(superClass: TFunction, _instanceModifier: (instance: any, args: any[]) => void): TFunction { >classExtender : (superClass: TFunction, _instanceModifier: (instance: any, args: any[]) => void) => TFunction -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >superClass : TFunction > : ^^^^^^^^^ >_instanceModifier : (instance: any, args: any[]) => void @@ -56,7 +56,7 @@ class MyClass { private x; } export function classExtender2 MyClass>(superClass: TFunction, _instanceModifier: (instance: any, args: any[]) => void): TFunction { >classExtender2 : MyClass>(superClass: TFunction, _instanceModifier: (instance: any, args: any[]) => void) => TFunction -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : string[] > : ^^^^^^^^ >superClass : TFunction diff --git a/tests/baselines/reference/baseTypeWrappingInstantiationChain.types b/tests/baselines/reference/baseTypeWrappingInstantiationChain.types index c3526d5e4ac55..c6ac4effe4f38 100644 --- a/tests/baselines/reference/baseTypeWrappingInstantiationChain.types +++ b/tests/baselines/reference/baseTypeWrappingInstantiationChain.types @@ -24,7 +24,7 @@ class Parameter { method(t: T4) { } >method : (t: T4) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : T4 > : ^^ } @@ -71,7 +71,7 @@ class C extends CBase { public method(t: Wrapper) { } >method : (t: Wrapper) => void -> : ^^^^^^^^^^^ ^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : Wrapper > : ^^^^^^^^^^^ } diff --git a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.types b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.types index 4c78879776e10..7386e16b8e36a 100644 --- a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.types +++ b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.types @@ -104,9 +104,9 @@ var r5 = true ? b : a; // typeof b var r6 = true ? (x: number) => { } : (x: Object) => { }; // returns number => void >r6 : ((x: number) => void) | ((x: Object) => void) -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >true ? (x: number) => { } : (x: Object) => { } : ((x: number) => void) | ((x: Object) => void) -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >true : true > : ^^^^ >(x: number) => { } : (x: number) => void @@ -114,17 +114,17 @@ var r6 = true ? (x: number) => { } : (x: Object) => { }; // returns number => vo >x : number > : ^^^^^^ >(x: Object) => { } : (x: Object) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Object > : ^^^^^^ var r7: (x: Object) => void = true ? (x: number) => { } : (x: Object) => { }; >r7 : (x: Object) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Object > : ^^^^^^ >true ? (x: number) => { } : (x: Object) => { } : ((x: number) => void) | ((x: Object) => void) -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >true : true > : ^^^^ >(x: number) => { } : (x: number) => void @@ -132,19 +132,19 @@ var r7: (x: Object) => void = true ? (x: number) => { } : (x: Object) => { }; >x : number > : ^^^^^^ >(x: Object) => { } : (x: Object) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Object > : ^^^^^^ var r8 = true ? (x: Object) => { } : (x: number) => { }; // returns Object => void >r8 : ((x: Object) => void) | ((x: number) => void) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >true ? (x: Object) => { } : (x: number) => { } : ((x: Object) => void) | ((x: number) => void) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >true : true > : ^^^^ >(x: Object) => { } : (x: Object) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Object > : ^^^^^^ >(x: number) => { } : (x: number) => void @@ -178,7 +178,7 @@ var r11 = true ? base : derived2; function foo5(t: T, u: U): Object { >foo5 : (t: T, u: U) => Object -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.types b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.types index 5cf23ca762717..3165c88cb5447 100644 --- a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.types +++ b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.types @@ -64,7 +64,7 @@ var r9 = true ? derived : derived2; function foo(t: T, u: U) { >foo : (t: T, u: U) => T | U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >t : T > : ^ >u : U @@ -83,7 +83,7 @@ function foo(t: T, u: U) { function foo2(t: T, u: U) { // Error for referencing own type parameter >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -102,7 +102,7 @@ function foo2(t: T, u: U) { // Error for referencing own type pa function foo3(t: T, u: U) { >foo3 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/bestCommonTypeReturnStatement.types b/tests/baselines/reference/bestCommonTypeReturnStatement.types index 5075b2c3ec9b0..eaa9fd3a446a8 100644 --- a/tests/baselines/reference/bestCommonTypeReturnStatement.types +++ b/tests/baselines/reference/bestCommonTypeReturnStatement.types @@ -4,9 +4,9 @@ interface IPromise { then(successCallback: (promiseValue: T) => any, errorCallback?: (reason: any) => any): IPromise; >then : (successCallback: (promiseValue: T) => any, errorCallback?: (reason: any) => any) => IPromise -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >successCallback : (promiseValue: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >promiseValue : T > : ^ >errorCallback : (reason: any) => any @@ -36,9 +36,9 @@ function f() { function b(): IPromise { return null; } >b : () => IPromise -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ function d(): IPromise { return null; } >d : () => IPromise -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/betterErrorForUnionCall.types b/tests/baselines/reference/betterErrorForUnionCall.types index eb21fc352a399..3aa7049582f7e 100644 --- a/tests/baselines/reference/betterErrorForUnionCall.types +++ b/tests/baselines/reference/betterErrorForUnionCall.types @@ -35,7 +35,7 @@ fnUnion(""); declare const fnUnion2: ((a: T) => void) | ((a: string) => void) >fnUnion2 : ((a: T) => void) | ((a: string) => void) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^ +> : ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^ >a : T > : ^ >a : string diff --git a/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.types b/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.types index c540d203eb328..18892b53b1381 100644 --- a/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.types +++ b/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.types @@ -3,7 +3,7 @@ === bindingPatternCannotBeOnlyInferenceSource.ts === declare function f(): T; >f : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ const {} = f(); // error (only in strictNullChecks) >f() : unknown @@ -113,7 +113,7 @@ type TFuncs1 = typeof funcs1; declare function useReduxDispatch1>(destructuring: Destructuring): T; >useReduxDispatch1 : void; funcB: (b: string, bb: string) => void; funcC: (c: number, cc: number, ccc: boolean) => void; }>>(destructuring: Destructuring) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >destructuring : Destructuring<{ funcA: (a: boolean) => void; funcB: (b: string, bb: string) => void; funcC: (c: number, cc: number, ccc: boolean) => void; }, T> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.types b/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.types index 440d9fa76942f..431b1a0ad606e 100644 --- a/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.types +++ b/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.types @@ -3,7 +3,7 @@ === bindingPatternContextualTypeDoesNotCauseWidening.ts === declare function pick(keys: T[], obj?: O): Pick; >pick : (keys: T[], obj?: O) => Pick -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >keys : T[] > : ^^^ >obj : O diff --git a/tests/baselines/reference/bivariantInferences.types b/tests/baselines/reference/bivariantInferences.types index a6edb17b8a2c9..8ebb949f4a4be 100644 --- a/tests/baselines/reference/bivariantInferences.types +++ b/tests/baselines/reference/bivariantInferences.types @@ -6,7 +6,7 @@ interface Array { equalsShallow(this: ReadonlyArray, other: ReadonlyArray): boolean; >equalsShallow : (this: ReadonlyArray, other: ReadonlyArray) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >this : readonly T[] > : ^^^^^^^^^^^^ >other : readonly T[] diff --git a/tests/baselines/reference/bluebirdStaticThis.types b/tests/baselines/reference/bluebirdStaticThis.types index b0e4656104a84..a683bda1c9076 100644 --- a/tests/baselines/reference/bluebirdStaticThis.types +++ b/tests/baselines/reference/bluebirdStaticThis.types @@ -13,9 +13,9 @@ export declare class Promise implements Promise.Thenable { constructor(callback: (resolve: (thenableOrResult: R | Promise.Thenable) => void, reject: (error: any) => void) => void); >callback : (resolve: (thenableOrResult: R | Promise.Thenable) => void, reject: (error: any) => void) => void -> : ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >resolve : (thenableOrResult: R | Promise.Thenable) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ >thenableOrResult : R | Promise.Thenable > : ^^^^^^^^^^^^^^^^^^^^^^^ >Promise : any @@ -27,13 +27,13 @@ export declare class Promise implements Promise.Thenable { static try(dit: typeof Promise, fn: () => Promise.Thenable, args?: any[], ctx?: any): Promise; >try : { (dit: typeof Promise, fn: () => Promise.Thenable, args?: any[], ctx?: any): Promise; (dit: typeof Promise, fn: () => R_1, args?: any[], ctx?: any): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise > : ^^^^^^^^^^^^^^ >fn : () => Promise.Thenable -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >Promise : any > : ^^^ >args : any[] @@ -43,13 +43,13 @@ export declare class Promise implements Promise.Thenable { static try(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise; >try : { (dit: typeof Promise, fn: () => Promise.Thenable, args?: any[], ctx?: any): Promise; (dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise > : ^^^^^^^^^^^^^^ >fn : () => R -> : ^^^^^^^ +> : ^^^^^^ >args : any[] > : ^^^^^ >ctx : any @@ -57,13 +57,13 @@ export declare class Promise implements Promise.Thenable { static attempt(dit: typeof Promise, fn: () => Promise.Thenable, args?: any[], ctx?: any): Promise; >attempt : { (dit: typeof Promise, fn: () => Promise.Thenable, args?: any[], ctx?: any): Promise; (dit: typeof Promise, fn: () => R_1, args?: any[], ctx?: any): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise > : ^^^^^^^^^^^^^^ >fn : () => Promise.Thenable -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >Promise : any > : ^^^ >args : any[] @@ -73,13 +73,13 @@ export declare class Promise implements Promise.Thenable { static attempt(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise; >attempt : { (dit: typeof Promise, fn: () => Promise.Thenable, args?: any[], ctx?: any): Promise; (dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise > : ^^^^^^^^^^^^^^ >fn : () => R -> : ^^^^^^^ +> : ^^^^^^ >args : any[] > : ^^^^^ >ctx : any @@ -87,7 +87,7 @@ export declare class Promise implements Promise.Thenable { static method(dit: typeof Promise, fn: Function): Function; >method : (dit: typeof Promise, fn: Function) => Function -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -97,7 +97,7 @@ export declare class Promise implements Promise.Thenable { static resolve(dit: typeof Promise): Promise; >resolve : { (dit: typeof Promise): Promise; (dit: typeof Promise, value: Promise.Thenable): Promise; (dit: typeof Promise, value: R_1): Promise; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -105,7 +105,7 @@ export declare class Promise implements Promise.Thenable { static resolve(dit: typeof Promise, value: Promise.Thenable): Promise; >resolve : { (dit: typeof Promise): Promise; (dit: typeof Promise, value: Promise.Thenable): Promise; (dit: typeof Promise, value: R_1): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -117,7 +117,7 @@ export declare class Promise implements Promise.Thenable { static resolve(dit: typeof Promise, value: R): Promise; >resolve : { (dit: typeof Promise): Promise; (dit: typeof Promise, value: Promise.Thenable): Promise; (dit: typeof Promise, value: R): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -127,7 +127,7 @@ export declare class Promise implements Promise.Thenable { static reject(dit: typeof Promise, reason: any): Promise; >reject : { (dit: typeof Promise, reason: any): Promise; (dit: typeof Promise, reason: any): Promise; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -137,7 +137,7 @@ export declare class Promise implements Promise.Thenable { static reject(dit: typeof Promise, reason: any): Promise; >reject : { (dit: typeof Promise, reason: any): Promise; (dit: typeof Promise, reason: any): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -147,7 +147,7 @@ export declare class Promise implements Promise.Thenable { static defer(dit: typeof Promise): Promise.Resolver; >defer : (dit: typeof Promise) => Promise.Resolver -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -157,7 +157,7 @@ export declare class Promise implements Promise.Thenable { static cast(dit: typeof Promise, value: Promise.Thenable): Promise; >cast : { (dit: typeof Promise, value: Promise.Thenable): Promise; (dit: typeof Promise, value: R_1): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -169,7 +169,7 @@ export declare class Promise implements Promise.Thenable { static cast(dit: typeof Promise, value: R): Promise; >cast : { (dit: typeof Promise, value: Promise.Thenable): Promise; (dit: typeof Promise, value: R): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -179,7 +179,7 @@ export declare class Promise implements Promise.Thenable { static bind(dit: typeof Promise, thisArg: any): Promise; >bind : (dit: typeof Promise, thisArg: any) => Promise -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -189,7 +189,7 @@ export declare class Promise implements Promise.Thenable { static is(dit: typeof Promise, value: any): boolean; >is : (dit: typeof Promise, value: any) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -199,7 +199,7 @@ export declare class Promise implements Promise.Thenable { static longStackTraces(dit: typeof Promise): void; >longStackTraces : (dit: typeof Promise) => void -> : ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -207,7 +207,7 @@ export declare class Promise implements Promise.Thenable { static delay(dit: typeof Promise, value: Promise.Thenable, ms: number): Promise; >delay : { (dit: typeof Promise, value: Promise.Thenable, ms: number): Promise; (dit: typeof Promise, value: R_1, ms: number): Promise; (dit: typeof Promise, ms: number): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -221,7 +221,7 @@ export declare class Promise implements Promise.Thenable { static delay(dit: typeof Promise, value: R, ms: number): Promise; >delay : { (dit: typeof Promise, value: Promise.Thenable, ms: number): Promise; (dit: typeof Promise, value: R, ms: number): Promise; (dit: typeof Promise, ms: number): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -233,7 +233,7 @@ export declare class Promise implements Promise.Thenable { static delay(dit: typeof Promise, ms: number): Promise; >delay : { (dit: typeof Promise, value: Promise.Thenable, ms: number): Promise; (dit: typeof Promise, value: R_1, ms: number): Promise; (dit: typeof Promise, ms: number): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -243,7 +243,7 @@ export declare class Promise implements Promise.Thenable { static promisify(dit: typeof Promise, nodeFunction: Function, receiver?: any): Function; >promisify : (dit: typeof Promise, nodeFunction: Function, receiver?: any) => Function -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -255,7 +255,7 @@ export declare class Promise implements Promise.Thenable { static promisifyAll(dit: typeof Promise, target: Object): Object; >promisifyAll : (dit: typeof Promise, target: Object) => Object -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -265,7 +265,7 @@ export declare class Promise implements Promise.Thenable { static coroutine(dit: typeof Promise, generatorFunction: Function): Function; >coroutine : (dit: typeof Promise, generatorFunction: Function) => Function -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -275,7 +275,7 @@ export declare class Promise implements Promise.Thenable { static spawn(dit: typeof Promise, generatorFunction: Function): Promise; >spawn : (dit: typeof Promise, generatorFunction: Function) => Promise -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -285,7 +285,7 @@ export declare class Promise implements Promise.Thenable { static noConflict(dit: typeof Promise): typeof Promise; >noConflict : (dit: typeof Promise) => typeof Promise -> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -295,7 +295,7 @@ export declare class Promise implements Promise.Thenable { static onPossiblyUnhandledRejection(dit: typeof Promise, handler: (reason: any) => any): void; >onPossiblyUnhandledRejection : (dit: typeof Promise, handler: (reason: any) => any) => void -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ ^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -307,7 +307,7 @@ export declare class Promise implements Promise.Thenable { static all(dit: typeof Promise, values: Promise.Thenable[]>): Promise; >all : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -321,7 +321,7 @@ export declare class Promise implements Promise.Thenable { static all(dit: typeof Promise, values: Promise.Thenable): Promise; >all : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -333,7 +333,7 @@ export declare class Promise implements Promise.Thenable { static all(dit: typeof Promise, values: Promise.Thenable[]): Promise; >all : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -345,7 +345,7 @@ export declare class Promise implements Promise.Thenable { static all(dit: typeof Promise, values: R[]): Promise; >all : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -355,7 +355,7 @@ export declare class Promise implements Promise.Thenable { static props(dit: typeof Promise, object: Promise): Promise; >props : { (dit: typeof Promise, object: Promise): Promise; (dit: typeof Promise, object: Object): Promise; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -365,7 +365,7 @@ export declare class Promise implements Promise.Thenable { static props(dit: typeof Promise, object: Object): Promise; >props : { (dit: typeof Promise, object: Promise): Promise; (dit: typeof Promise, object: Object): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -375,7 +375,7 @@ export declare class Promise implements Promise.Thenable { static settle(dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; >settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R_3[]): Promise[]>; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -391,7 +391,7 @@ export declare class Promise implements Promise.Thenable { static settle(dit: typeof Promise, values: Promise.Thenable): Promise[]>; >settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R_3[]): Promise[]>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -405,7 +405,7 @@ export declare class Promise implements Promise.Thenable { static settle(dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; >settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R_3[]): Promise[]>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -419,7 +419,7 @@ export declare class Promise implements Promise.Thenable { static settle(dit: typeof Promise, values: R[]): Promise[]>; >settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R[]): Promise[]>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -431,7 +431,7 @@ export declare class Promise implements Promise.Thenable { static any(dit: typeof Promise, values: Promise.Thenable[]>): Promise; >any : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -445,7 +445,7 @@ export declare class Promise implements Promise.Thenable { static any(dit: typeof Promise, values: Promise.Thenable): Promise; >any : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -457,7 +457,7 @@ export declare class Promise implements Promise.Thenable { static any(dit: typeof Promise, values: Promise.Thenable[]): Promise; >any : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -469,7 +469,7 @@ export declare class Promise implements Promise.Thenable { static any(dit: typeof Promise, values: R[]): Promise; >any : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -479,7 +479,7 @@ export declare class Promise implements Promise.Thenable { static race(dit: typeof Promise, values: Promise.Thenable[]>): Promise; >race : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -493,7 +493,7 @@ export declare class Promise implements Promise.Thenable { static race(dit: typeof Promise, values: Promise.Thenable): Promise; >race : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -505,7 +505,7 @@ export declare class Promise implements Promise.Thenable { static race(dit: typeof Promise, values: Promise.Thenable[]): Promise; >race : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R_3[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -517,7 +517,7 @@ export declare class Promise implements Promise.Thenable { static race(dit: typeof Promise, values: R[]): Promise; >race : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -527,7 +527,7 @@ export declare class Promise implements Promise.Thenable { static some(dit: typeof Promise, values: Promise.Thenable[]>, count: number): Promise; >some : { (dit: typeof Promise, values: Promise.Thenable[]>, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable[], count: number): Promise; (dit: typeof Promise, values: R_3[], count: number): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -543,7 +543,7 @@ export declare class Promise implements Promise.Thenable { static some(dit: typeof Promise, values: Promise.Thenable, count: number): Promise; >some : { (dit: typeof Promise, values: Promise.Thenable[]>, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable[], count: number): Promise; (dit: typeof Promise, values: R_3[], count: number): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -557,7 +557,7 @@ export declare class Promise implements Promise.Thenable { static some(dit: typeof Promise, values: Promise.Thenable[], count: number): Promise; >some : { (dit: typeof Promise, values: Promise.Thenable[]>, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable[], count: number): Promise; (dit: typeof Promise, values: R_3[], count: number): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -571,7 +571,7 @@ export declare class Promise implements Promise.Thenable { static some(dit: typeof Promise, values: R[], count: number): Promise; >some : { (dit: typeof Promise, values: Promise.Thenable[]>, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable, count: number): Promise; (dit: typeof Promise, values: Promise.Thenable[], count: number): Promise; (dit: typeof Promise, values: R[], count: number): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -583,7 +583,7 @@ export declare class Promise implements Promise.Thenable { static join(dit: typeof Promise, ...values: Promise.Thenable[]): Promise; >join : { (dit: typeof Promise, ...values: Promise.Thenable[]): Promise; (dit: typeof Promise, ...values: R_1[]): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -595,7 +595,7 @@ export declare class Promise implements Promise.Thenable { static join(dit: typeof Promise, ...values: R[]): Promise; >join : { (dit: typeof Promise, ...values: Promise.Thenable[]): Promise; (dit: typeof Promise, ...values: R[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -605,7 +605,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => U_1): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_2, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => U_3): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => U_5): Promise; (dit: typeof Promise, values: R_6[], mapper: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -617,7 +617,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -629,7 +629,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R, index: number, arrayLength: number) => U): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R, index: number, arrayLength: number) => U): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_2, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => U_3): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => U_5): Promise; (dit: typeof Promise, values: R_6[], mapper: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -641,7 +641,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -651,7 +651,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: Promise.Thenable, mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_2, index: number, arrayLength: number) => U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => U_3): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => U_5): Promise; (dit: typeof Promise, values: R_6[], mapper: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -661,7 +661,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -673,7 +673,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: Promise.Thenable, mapper: (item: R, index: number, arrayLength: number) => U): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_2, index: number, arrayLength: number) => U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R, index: number, arrayLength: number) => U): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => U_5): Promise; (dit: typeof Promise, values: R_6[], mapper: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -683,7 +683,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -693,7 +693,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_2, index: number, arrayLength: number) => U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_4, index: number, arrayLength: number) => U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => U_5): Promise; (dit: typeof Promise, values: R_6[], mapper: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -703,7 +703,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -715,7 +715,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R, index: number, arrayLength: number) => U): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_2, index: number, arrayLength: number) => U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_4, index: number, arrayLength: number) => U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R, index: number, arrayLength: number) => U): Promise; (dit: typeof Promise, values: R_6[], mapper: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -725,7 +725,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -735,7 +735,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: R[], mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_2, index: number, arrayLength: number) => U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_4, index: number, arrayLength: number) => U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_6, index: number, arrayLength: number) => U_6): Promise; (dit: typeof Promise, values: R[], mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -743,7 +743,7 @@ export declare class Promise implements Promise.Thenable { >values : R[] > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -755,7 +755,7 @@ export declare class Promise implements Promise.Thenable { static map(dit: typeof Promise, values: R[], mapper: (item: R, index: number, arrayLength: number) => U): Promise; >map : { (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, mapper: (item: R_2, index: number, arrayLength: number) => U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, mapper: (item: R_4, index: number, arrayLength: number) => U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_5, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], mapper: (item: R_6, index: number, arrayLength: number) => U_6): Promise; (dit: typeof Promise, values: R_7[], mapper: (item: R_7, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R[], mapper: (item: R, index: number, arrayLength: number) => U): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -763,7 +763,7 @@ export declare class Promise implements Promise.Thenable { >values : R[] > : ^^^ >mapper : (item: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -773,7 +773,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => U_1, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => U_3, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => U_5, initialValue?: U_5): Promise; (dit: typeof Promise, values: R_6[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -785,7 +785,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -801,7 +801,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => U_3, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => U_5, initialValue?: U_5): Promise; (dit: typeof Promise, values: R_6[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -813,7 +813,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -827,7 +827,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: Promise.Thenable, reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => U_2, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => U_3, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => U_5, initialValue?: U_5): Promise; (dit: typeof Promise, values: R_6[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -837,7 +837,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -853,7 +853,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: Promise.Thenable, reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => U_2, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => U_5, initialValue?: U_5): Promise; (dit: typeof Promise, values: R_6[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -863,7 +863,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -877,7 +877,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => U_2, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => U_4, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => U_5, initialValue?: U_5): Promise; (dit: typeof Promise, values: R_6[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -887,7 +887,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -903,7 +903,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => U_2, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => U_4, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_5): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; (dit: typeof Promise, values: R_6[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -913,7 +913,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -927,7 +927,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: R[], reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => U_2, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => U_4, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_5): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => U_6, initialValue?: U_6): Promise; (dit: typeof Promise, values: R[], reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => U_7, initialValue?: U_7): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -935,7 +935,7 @@ export declare class Promise implements Promise.Thenable { >values : R[] > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -951,7 +951,7 @@ export declare class Promise implements Promise.Thenable { static reduce(dit: typeof Promise, values: R[], reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; >reduce : { (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_1, current: R_1, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_1): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, reducer: (total: U_2, current: R_2, index: number, arrayLength: number) => U_2, initialValue?: U_2): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_3, current: R_3, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_3): Promise; (dit: typeof Promise, values: Promise.Thenable, reducer: (total: U_4, current: R_4, index: number, arrayLength: number) => U_4, initialValue?: U_4): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_5, current: R_5, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_5): Promise; (dit: typeof Promise, values: Promise.Thenable[], reducer: (total: U_6, current: R_6, index: number, arrayLength: number) => U_6, initialValue?: U_6): Promise; (dit: typeof Promise, values: R_7[], reducer: (total: U_7, current: R_7, index: number, arrayLength: number) => Promise.Thenable, initialValue?: U_7): Promise; (dit: typeof Promise, values: R[], reducer: (total: U, current: R, index: number, arrayLength: number) => U, initialValue?: U): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -959,7 +959,7 @@ export declare class Promise implements Promise.Thenable { >values : R[] > : ^^^ >reducer : (total: U, current: R, index: number, arrayLength: number) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >total : U > : ^ >current : R @@ -973,7 +973,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_2, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_6[], filterer: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -985,7 +985,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -997,7 +997,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_2, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_6[], filterer: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1009,7 +1009,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => boolean -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1019,7 +1019,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: Promise.Thenable, filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_2, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_6[], filterer: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1029,7 +1029,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1041,7 +1041,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: Promise.Thenable, filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_2, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_4, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_6[], filterer: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1051,7 +1051,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => boolean -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1061,7 +1061,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_2, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_4, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_6[], filterer: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1071,7 +1071,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1083,7 +1083,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_2, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_4, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_6[], filterer: (item: R_6, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1093,7 +1093,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => boolean -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1103,7 +1103,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: R[], filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_2, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_4, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_6, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R[], filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1111,7 +1111,7 @@ export declare class Promise implements Promise.Thenable { >values : R[] > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => Promise.Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1123,7 +1123,7 @@ export declare class Promise implements Promise.Thenable { static filter(dit: typeof Promise, values: R[], filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; >filter : { (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_1, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]>, filterer: (item: R_2, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_3, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable, filterer: (item: R_4, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_5, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[], filterer: (item: R_6, index: number, arrayLength: number) => boolean): Promise; (dit: typeof Promise, values: R_7[], filterer: (item: R_7, index: number, arrayLength: number) => Promise.Thenable): Promise; (dit: typeof Promise, values: R[], filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >dit : typeof Promise > : ^^^^^^^^^^^^^^ >Promise : typeof Promise @@ -1131,7 +1131,7 @@ export declare class Promise implements Promise.Thenable { >values : R[] > : ^^^ >filterer : (item: R, index: number, arrayLength: number) => boolean -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >item : R > : ^ >index : number @@ -1144,49 +1144,49 @@ export declare module Promise { export interface Thenable { then(onFulfilled: (value: R) => Thenable, onRejected: (error: any) => Thenable): Thenable; >then : { (onFulfilled: (value: R) => Thenable, onRejected: (error: any) => Thenable): Thenable; (onFulfilled: (value: R) => Thenable, onRejected?: (error: any) => U_1): Thenable; (onFulfilled: (value: R) => U_2, onRejected: (error: any) => Thenable): Thenable; (onFulfilled?: (value: R) => U_3, onRejected?: (error: any) => U_3): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >onFulfilled : (value: R) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : R > : ^ >onRejected : (error: any) => Thenable -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ then(onFulfilled: (value: R) => Thenable, onRejected?: (error: any) => U): Thenable; >then : { (onFulfilled: (value: R) => Thenable, onRejected: (error: any) => Thenable): Thenable; (onFulfilled: (value: R) => Thenable, onRejected?: (error: any) => U): Thenable; (onFulfilled: (value: R) => U_2, onRejected: (error: any) => Thenable): Thenable; (onFulfilled?: (value: R) => U_3, onRejected?: (error: any) => U_3): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >onFulfilled : (value: R) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : R > : ^ >onRejected : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ then(onFulfilled: (value: R) => U, onRejected: (error: any) => Thenable): Thenable; >then : { (onFulfilled: (value: R) => Thenable, onRejected: (error: any) => Thenable): Thenable; (onFulfilled: (value: R) => Thenable, onRejected?: (error: any) => U_2): Thenable; (onFulfilled: (value: R) => U, onRejected: (error: any) => Thenable): Thenable; (onFulfilled?: (value: R) => U_3, onRejected?: (error: any) => U_3): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >onFulfilled : (value: R) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : R > : ^ >onRejected : (error: any) => Thenable -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ then(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): Thenable; >then : { (onFulfilled: (value: R) => Thenable, onRejected: (error: any) => Thenable): Thenable; (onFulfilled: (value: R) => Thenable, onRejected?: (error: any) => U_2): Thenable; (onFulfilled: (value: R) => U_3, onRejected: (error: any) => Thenable): Thenable; (onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^ >onFulfilled : (value: R) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : R > : ^ >onRejected : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ } diff --git a/tests/baselines/reference/booleanFilterAnyArray.types b/tests/baselines/reference/booleanFilterAnyArray.types index 6dd9d1d156950..8c06f9a633ad3 100644 --- a/tests/baselines/reference/booleanFilterAnyArray.types +++ b/tests/baselines/reference/booleanFilterAnyArray.types @@ -14,17 +14,17 @@ interface BulleanConstructor { interface Ari { filter(cb1: (value: T) => value is S): T extends any ? Ari : Ari; >filter : { (cb1: (value: T) => value is S): T extends any ? Ari : Ari; (cb2: (value: T) => unknown): Ari; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^ ^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb1 : (value: T) => value is S -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ filter(cb2: (value: T) => unknown): Ari; >filter : { (cb1: (value: T) => value is S): T extends any ? Ari : Ari; (cb2: (value: T) => unknown): Ari; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >cb2 : (value: T) => unknown -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/booleanLiteralTypes1.types b/tests/baselines/reference/booleanLiteralTypes1.types index c0ba98c72788b..3159ede392981 100644 --- a/tests/baselines/reference/booleanLiteralTypes1.types +++ b/tests/baselines/reference/booleanLiteralTypes1.types @@ -402,7 +402,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -438,7 +438,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/booleanLiteralTypes2.types b/tests/baselines/reference/booleanLiteralTypes2.types index d0a9312f3c343..3e724f39efcdf 100644 --- a/tests/baselines/reference/booleanLiteralTypes2.types +++ b/tests/baselines/reference/booleanLiteralTypes2.types @@ -402,7 +402,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -438,7 +438,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.types b/tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.types index 3a2a4a4119909..e84127e82e19d 100644 --- a/tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.types +++ b/tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.types @@ -115,9 +115,9 @@ type ComponentProps = let Funk = (_props: ComponentProps) =>
Hello
; >Funk : (_props: ComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >(_props: ComponentProps) =>
Hello
: (_props: ComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >_props : ComponentProps > : ^^^^^^^^^^^^^^ >
Hello
: JSX.Element diff --git a/tests/baselines/reference/cachedContextualTypes.types b/tests/baselines/reference/cachedContextualTypes.types index 67907e3c84ad1..827912b90957c 100644 --- a/tests/baselines/reference/cachedContextualTypes.types +++ b/tests/baselines/reference/cachedContextualTypes.types @@ -5,7 +5,7 @@ declare function createInstance any, R extends InstanceType>(ctor: Ctor, ...args: ConstructorParameters): R; >createInstance : any, R extends InstanceType>(ctor: Ctor, ...args: ConstructorParameters) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >args : any[] > : ^^^^^ >ctor : Ctor diff --git a/tests/baselines/reference/callChain.3.types b/tests/baselines/reference/callChain.3.types index 92544cffe21a5..16a6639e28c85 100644 --- a/tests/baselines/reference/callChain.3.types +++ b/tests/baselines/reference/callChain.3.types @@ -3,15 +3,15 @@ === callChain.3.ts === declare function absorb(): T; >absorb : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ declare const a: { m?(obj: {x: T}): T } | undefined; >a : { m?(obj: { x: T; }): T; } | undefined -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ >m : ((obj: { x: T; }) => T) | undefined -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >obj : { x: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >x : T > : ^ diff --git a/tests/baselines/reference/callChain.types b/tests/baselines/reference/callChain.types index fb47ecc02a830..0861d1c5c8e39 100644 --- a/tests/baselines/reference/callChain.types +++ b/tests/baselines/reference/callChain.types @@ -431,9 +431,9 @@ o3["b"]?.(1, ...[2, 3], 4).c; declare const o4: undefined | ((f: (a: T) => T) => T); >o4 : ((f: (a: T) => T) => T) | undefined -> : ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ >f : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/callChainInference.types b/tests/baselines/reference/callChainInference.types index dac50cf7d4b12..a792ceba854a1 100644 --- a/tests/baselines/reference/callChainInference.types +++ b/tests/baselines/reference/callChainInference.types @@ -6,7 +6,7 @@ interface Y { foo(this: T, arg: keyof T): void; >foo : (this: T, arg: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^ ^^^^^ >this : T > : ^ >arg : keyof T diff --git a/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.types b/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.types index ae2be0c5fc5fa..1cb67eb9ccc22 100644 --- a/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.types +++ b/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.types @@ -6,7 +6,7 @@ function f(x: T, y: U): T { return null; } >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -38,9 +38,9 @@ var r1b = f(1, ''); var f2 = (x: T, y: U): T => { return null; } >f2 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >(x: T, y: U): T => { return null; } : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -72,7 +72,7 @@ var r2b = f2(1, ''); var f3: { (x: T, y: U): T; } >f3 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -108,7 +108,7 @@ class C { f(x: T, y: U): T { >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -160,7 +160,7 @@ var r4b = (new C()).f(1, ''); interface I { f(x: T, y: U): T; >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -208,7 +208,7 @@ class C2 { f(x: T, y: U): T { >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -260,7 +260,7 @@ var r6b = (new C2()).f(1, ''); interface I2 { f(x: T, y: U): T; >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.types b/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.types index 372b255a67fcf..659517a187440 100644 --- a/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.types +++ b/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.types @@ -5,7 +5,7 @@ function f(x: T): T { return null; } >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -21,9 +21,9 @@ var r = f(1); var f2 = (x: T): T => { return null; } >f2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >(x: T): T => { return null; } : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -39,7 +39,7 @@ var r2 = f2(1); var f3: { (x: T): T; } >f3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -59,7 +59,7 @@ class C { f(x: T): T { >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -87,7 +87,7 @@ var r4 = (new C()).f(1); interface I { f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -115,7 +115,7 @@ class C2 { f(x: T): T { >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -143,7 +143,7 @@ var r6 = (new C2()).f(1); interface I2 { f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/callOfConditionalTypeWithConcreteBranches.types b/tests/baselines/reference/callOfConditionalTypeWithConcreteBranches.types index aa6fab42ded01..3be1ae27ff110 100644 --- a/tests/baselines/reference/callOfConditionalTypeWithConcreteBranches.types +++ b/tests/baselines/reference/callOfConditionalTypeWithConcreteBranches.types @@ -9,7 +9,7 @@ type Q = number extends T ? (n: number) => void : never; function fn(arg: Q) { >fn : (arg: Q) => void -> : ^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : Q > : ^^^^ @@ -83,13 +83,13 @@ type Q2 = number extends T ? (cb: (n: number) => void) => void : never; function fn2(arg: Q2) { >fn2 : (arg: Q2) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : Q2 > : ^^^^^ function useT(_arg: T): void {} >useT : (_arg: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >_arg : T > : ^ diff --git a/tests/baselines/reference/callOverload.types b/tests/baselines/reference/callOverload.types index fe9be29cd41be..4633bec1a329c 100644 --- a/tests/baselines/reference/callOverload.types +++ b/tests/baselines/reference/callOverload.types @@ -17,7 +17,7 @@ declare function takeTwo(x: any, y: any): void; declare function withRest(a: any, ...args: Array): void; >withRest : (a: any, ...args: Array) => void -> : ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >a : any > : ^^^ >args : any[] diff --git a/tests/baselines/reference/callOverloads2.types b/tests/baselines/reference/callOverloads2.types index e7b002d235f1a..b5b71ea74da38 100644 --- a/tests/baselines/reference/callOverloads2.types +++ b/tests/baselines/reference/callOverloads2.types @@ -45,7 +45,7 @@ function Goo(s:string); // error - no implementation declare function Gar(s:String); // expect no error >Gar : (s: String) => any -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >s : String > : ^^^^^^ diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance.types b/tests/baselines/reference/callSignatureAssignabilityInInheritance.types index 002578eeb551b..25db96e815bd0 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance.types +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance.types @@ -76,7 +76,7 @@ module MemberWithCallSignature { a3: (x: T) => void; >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -100,7 +100,7 @@ module MemberWithCallSignature { a3: (x: T) => string; // ok because base returns void >a3 : (x: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -115,7 +115,7 @@ module MemberWithCallSignature { a2: (x: T) => T; >a2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -135,7 +135,7 @@ module MemberWithCallSignature { // N's a2: (x: T) => string; // error because base returns non-void; >a2 : (x: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance2.types b/tests/baselines/reference/callSignatureAssignabilityInInheritance2.types index aacefd490fa8e..7f3f20fb757f1 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance2.types +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance2.types @@ -71,17 +71,17 @@ interface A { // T a6: (x: (arg: Base) => Derived) => Base; >a6 : (x: (arg: Base) => Derived) => Base -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ a7: (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -89,13 +89,13 @@ interface A { // T a8: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -103,13 +103,13 @@ interface A { // T a9: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -117,13 +117,13 @@ interface A { // T a10: (...x: Derived[]) => Derived; >a10 : (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ a11: (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -137,7 +137,7 @@ interface A { // T a12: (x: Array, y: Array) => Array; >a12 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -145,7 +145,7 @@ interface A { // T a13: (x: Array, y: Array) => Array; >a13 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -153,7 +153,7 @@ interface A { // T a14: (x: { a: string; b: number }) => Object; >a14 : (x: { a: string; b: number; }) => Object -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -176,7 +176,7 @@ interface A { // T }; a16: { >a16 : { (x: T): number[]; (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ (x: T): number[]; >x : T @@ -206,7 +206,7 @@ interface A { // T }; a18: { >a18 : { (x: { (a: number): number; (a: string): string; }): any[]; (x: { (a: boolean): boolean; (a: Date): Date; }): any[]; } -> : ^^^^^^ ^^^ ^^^^^^ ^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ (x: { >x : { (a: number): number; (a: string): string; } @@ -223,7 +223,7 @@ interface A { // T }): any[]; (x: { >x : { (a: boolean): boolean; (a: Date): Date; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ (a: boolean): boolean; >a : boolean @@ -242,25 +242,25 @@ interface I extends A { // N's a: (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a2: (x: T) => string[]; // ok >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; // ok since Base returns void >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y: U) => T; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -268,25 +268,25 @@ interface I extends A { a5: (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a7: (x: (arg: T) => U) => (r: T) => U; // ok >a7 : (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -294,13 +294,13 @@ interface I extends A { a8: (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; // ok >a8 : (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -308,13 +308,13 @@ interface I extends A { a9: (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; // ok, same as a8 with compatible object literal >a9 : (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -326,13 +326,13 @@ interface I extends A { a10: (...x: T[]) => T; // ok >a10 : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ a11: (x: T, y: T) => T; // ok >a11 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -340,7 +340,7 @@ interface I extends A { a12: >(x: Array, y: T) => Array; // ok, less specific parameter type >a12 : (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -348,7 +348,7 @@ interface I extends A { a13: >(x: Array, y: T) => T; // ok, T = Array, satisfies constraint, contextual signature instantiation succeeds >a13 : (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -356,9 +356,9 @@ interface I extends A { a14: (x: { a: T; b: U }) => T; // ok >a14 : (x: { a: T; b: U; }) => T -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : { a: T; b: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : U @@ -366,29 +366,29 @@ interface I extends A { a15: (x: T) => T[]; // ok >a15 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a16: (x: T) => number[]; // ok >a16 : (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ a17: (x: (a: T) => T) => T[]; // ok >a17 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ a18: (x: (a: T) => T) => T[]; // ok, no inferences for T but assignable to any >a18 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ } diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance3.types b/tests/baselines/reference/callSignatureAssignabilityInInheritance3.types index 23c130d34f097..967c8b354c03c 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance3.types +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance3.types @@ -49,9 +49,9 @@ module Errors { a7: (x: (arg: Base) => Derived) => (r: Base) => Derived2; >a7 : (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -59,13 +59,13 @@ module Errors { a8: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -73,13 +73,13 @@ module Errors { a10: (...x: Base[]) => Base; >a10 : (...x: Base[]) => Base -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ a11: (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -93,7 +93,7 @@ module Errors { a12: (x: Array, y: Array) => Array; >a12 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -156,11 +156,11 @@ module Errors { }; a17: { >a17 : { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -173,7 +173,7 @@ module Errors { }): any[]; (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -190,7 +190,7 @@ module Errors { interface I extends A { a2: (x: T) => U[]; // error, contextual signature instantiation doesn't relate return types so U is {}, not a subtype of string[] >a2 : (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -198,7 +198,7 @@ module Errors { interface I2 extends A { a2: (x: T) => U[]; // error, no contextual signature instantiation since I2.a2 is not generic >a2 : (x: T) => U[] -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -207,9 +207,9 @@ module Errors { // valid, no inferences for V so it defaults to Derived2 a7: (x: (arg: T) => U) => (r: T) => V; >a7 : (x: (arg: T) => U) => (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -219,13 +219,13 @@ module Errors { interface I4 extends A { a8: (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U; // error, type mismatch >a8 : (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: number; } > : ^^^^^^^ ^^^ >foo : number @@ -237,7 +237,7 @@ module Errors { interface I4B extends A { a10: (...x: T[]) => T; // valid, parameter covariance works even after contextual signature instantiation >a10 : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ } @@ -245,7 +245,7 @@ module Errors { interface I4C extends A { a11: (x: T, y: T) => T; // valid, even though x is a Base, parameter covariance works even after contextual signature instantiation >a11 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -255,7 +255,7 @@ module Errors { interface I4E extends A { a12: >(x: Array, y: Array) => T; // valid, no inferences for T, defaults to Array >a12 : (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Base[] @@ -265,9 +265,9 @@ module Errors { interface I6 extends A { a15: (x: { a: T; b: T }) => T; // error, T is {} which isn't an acceptable return type >a15 : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -277,9 +277,9 @@ module Errors { interface I7 extends A { a15: (x: { a: T; b: T }) => number; // error, T defaults to Base, which is not compatible with number or string >a15 : (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -290,9 +290,9 @@ module Errors { // ok, we relate each signature of a16 to b16, and within that, we make inferences from two different signatures in the respective A.a16 signature a16: (x: (a: T) => T) => T[]; >a16 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ } @@ -300,9 +300,9 @@ module Errors { interface I9 extends A { a17: (x: (a: T) => T) => any[]; // valid, target is more constrained than source, so it is safe in the traditional constraint-contravariant fashion >a17 : (x: (a: T) => T) => any[] -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ } @@ -313,7 +313,7 @@ module Errors { interface B { a2: (x: T) => T[]; >a2 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -321,7 +321,7 @@ module Errors { interface I6 extends B { a2: (x: T) => string[]; // error >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -330,7 +330,7 @@ module Errors { interface C { a2: (x: T) => string[]; >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -338,7 +338,7 @@ module Errors { interface I7 extends C { a2: (x: T) => T[]; // error >a2 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance4.types b/tests/baselines/reference/callSignatureAssignabilityInInheritance4.types index 7a851a7352f55..3270633034e40 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance4.types +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance4.types @@ -37,25 +37,25 @@ interface A { // T // M's a: (x: T) => T[]; >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a2: (x: T) => string[]; >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => void; >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y: U) => string; >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -63,29 +63,29 @@ interface A { // T a5: (x: (arg: T) => U) => T; >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: (x: (arg: T) => Derived) => T; >a6 : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -93,9 +93,9 @@ interface A { // T a15: (x: { a: T; b: T }) => T[]; >a15 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -103,9 +103,9 @@ interface A { // T a16: (x: { a: T; b: T }) => T[]; >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -113,28 +113,28 @@ interface A { // T a17: { >a17 : { (x: (a: T) => T): T[]; (x: (a: T_1) => T_1): T_1[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (x: (a: T) => T): T[]; >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ (x: (a: T) => T): T[]; >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ }; a18: { >a18 : { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -147,7 +147,7 @@ interface A { // T }): any[]; (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -166,25 +166,25 @@ interface I extends A { // N's a: (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a2: (x: T) => string[]; // ok >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; // ok since Base returns void >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y: U) => string; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -192,29 +192,29 @@ interface I extends A { a5: (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: (x: { foo: T }, y: { foo: U; bar: U }) => Base; // ok >a11 : (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -222,9 +222,9 @@ interface I extends A { a15: (x: { a: U; b: V; }) => U[]; // ok, T = U, T = V >a15 : (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : { a: U; b: V; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : U > : ^ >b : V @@ -232,9 +232,9 @@ interface I extends A { a16: (x: { a: T; b: T }) => T[]; // ok, more general parameter type >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -242,17 +242,17 @@ interface I extends A { a17: (x: (a: T) => T) => T[]; // ok >a17 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ a18: (x: (a: T) => T) => any[]; // ok >a18 : (x: (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ } diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance5.types b/tests/baselines/reference/callSignatureAssignabilityInInheritance5.types index 9ef886f0a4430..8088d98d320a2 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance5.types +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance5.types @@ -72,17 +72,17 @@ interface A { // T a6: (x: (arg: Base) => Derived) => Base; >a6 : (x: (arg: Base) => Derived) => Base -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ a7: (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -90,13 +90,13 @@ interface A { // T a8: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -104,13 +104,13 @@ interface A { // T a9: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -118,13 +118,13 @@ interface A { // T a10: (...x: Derived[]) => Derived; >a10 : (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ a11: (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -138,7 +138,7 @@ interface A { // T a12: (x: Array, y: Array) => Array; >a12 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -146,7 +146,7 @@ interface A { // T a13: (x: Array, y: Array) => Array; >a13 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -154,7 +154,7 @@ interface A { // T a14: (x: { a: string; b: number }) => Object; >a14 : (x: { a: string; b: number; }) => Object -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -166,7 +166,7 @@ interface A { // T interface B extends A { a: (x: T) => T[]; >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -176,25 +176,25 @@ interface I extends B { // N's a: (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a2: (x: T) => string[]; // ok >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; // ok since Base returns void >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y: U) => T; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -202,25 +202,25 @@ interface I extends B { a5: (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a7: (x: (arg: T) => U) => (r: T) => U; // ok >a7 : (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -228,13 +228,13 @@ interface I extends B { a8: (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; // ok >a8 : (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -242,13 +242,13 @@ interface I extends B { a9: (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; // ok, same as a8 with compatible object literal >a9 : (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -260,13 +260,13 @@ interface I extends B { a10: (...x: T[]) => T; // ok >a10 : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ a11: (x: T, y: T) => T; // ok >a11 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -274,7 +274,7 @@ interface I extends B { a12: >(x: Array, y: T) => Array; // ok, less specific parameter type >a12 : (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -282,7 +282,7 @@ interface I extends B { a13: >(x: Array, y: T) => T; // ok, T = Array, satisfies constraint, contextual signature instantiation succeeds >a13 : (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -290,9 +290,9 @@ interface I extends B { a14: (x: { a: T; b: U }) => T; // ok >a14 : (x: { a: T; b: U; }) => T -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : { a: T; b: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance6.types b/tests/baselines/reference/callSignatureAssignabilityInInheritance6.types index 5095a6cb87609..43f6b9437df68 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance6.types +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance6.types @@ -39,25 +39,25 @@ interface A { // T // M's a: (x: T) => T[]; >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a2: (x: T) => string[]; >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => void; >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y: U) => string; >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -65,29 +65,29 @@ interface A { // T a5: (x: (arg: T) => U) => T; >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: (x: (arg: T) => Derived) => T; >a6 : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -95,9 +95,9 @@ interface A { // T a15: (x: { a: T; b: T }) => T[]; >a15 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -105,9 +105,9 @@ interface A { // T a16: (x: { a: T; b: T }) => T[]; >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -118,7 +118,7 @@ interface A { // T interface I extends A { a: (x: T) => T[]; >a : (x: T) => T[] -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -126,7 +126,7 @@ interface I extends A { interface I2 extends A { a2: (x: T) => string[]; >a2 : (x: T) => string[] -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -134,7 +134,7 @@ interface I2 extends A { interface I3 extends A { a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -142,7 +142,7 @@ interface I3 extends A { interface I4 extends A { a4: (x: T, y: U) => string; >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -152,9 +152,9 @@ interface I4 extends A { interface I5 extends A { a5: (x: (arg: T) => U) => T; >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } @@ -162,13 +162,13 @@ interface I5 extends A { interface I7 extends A { a11: (x: { foo: T }, y: { foo: U; bar: U }) => Base; >a11 : (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -178,9 +178,9 @@ interface I7 extends A { interface I9 extends A { a16: (x: { a: T; b: T }) => T[]; >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^ ^ ^ ^^^^^^ +> : ^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.types b/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.types index ca6984f3456e9..c65f98c1dc914 100644 --- a/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.types +++ b/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.types @@ -65,7 +65,7 @@ var r3 = foo3(); function foo4(x: T) { >foo4 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.types b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.types index d13ef29aa52cf..534729bb0ac7a 100644 --- a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.types +++ b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.types @@ -41,7 +41,7 @@ interface I3 { var a: { >a : { (x: any, y: any): Object; (x: any, y: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ (x, y): Object; >x : any @@ -54,7 +54,7 @@ var a: { var a2: { >a2 : { (x: T): number; (x: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^ ^^^ (x: T): number; >x : T diff --git a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.types b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.types index 2c472d8f6881c..790d4f18f4188 100644 --- a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.types +++ b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.types @@ -7,7 +7,7 @@ interface I { foo(x: number): T; >foo : (x: number) => T -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ } diff --git a/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.types b/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.types index 997ddca079f9a..d8a83604d802f 100644 --- a/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.types +++ b/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.types @@ -45,9 +45,9 @@ var f3 = (x, private y) => { } var f4 = (public x: T, y: T) => { } >f4 : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(public x: T, y: T) => { } : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -95,9 +95,9 @@ var f7 = (private x: string, public y: number) => { } var f8 = (private x: T, public y: T) => { } >f8 : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(private x: T, public y: T) => { } : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -125,7 +125,7 @@ class C { foo3(public x: T, private y: T) { } >foo3 : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -163,7 +163,7 @@ interface I { foo3(x: T, private y: T); >foo3 : (x: T, y: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : T @@ -194,9 +194,9 @@ var a: { var b = { >b : { foo(x: any, y: any): void; a: (x: number, y: string) => void; b: (x: T, y: T) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ >{ foo(public x, y) { }, a: function foo(x: number, private y: string) { }, b: (public x: T, private y: T) => { }} : { foo(x: any, y: any): void; a: (x: number, y: string) => void; b: (x: T, y: T) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ foo(public x, y) { }, >foo : (x: any, y: any) => void @@ -220,9 +220,9 @@ var b = { b: (public x: T, private y: T) => { } >b : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(public x: T, private y: T) => { } : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/callSignaturesWithDuplicateParameters.types b/tests/baselines/reference/callSignaturesWithDuplicateParameters.types index a6576657e414b..e9683efd5b1a9 100644 --- a/tests/baselines/reference/callSignaturesWithDuplicateParameters.types +++ b/tests/baselines/reference/callSignaturesWithDuplicateParameters.types @@ -45,9 +45,9 @@ var f3 = (x, x) => { } var f4 = (x: T, x: T) => { } >f4 : (x: T, x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(x: T, x: T) => { } : (x: T, x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : T @@ -95,9 +95,9 @@ var f7 = (x: string, x: number) => { } var f8 = (x: T, y: T) => { } >f8 : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(x: T, y: T) => { } : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -125,7 +125,7 @@ class C { foo3(x: T, x: T) { } >foo3 : (x: T, x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : T @@ -163,7 +163,7 @@ interface I { foo3(x: T, x: T); >foo3 : (x: T, x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >x : T @@ -194,9 +194,9 @@ var a: { var b = { >b : { foo(x: any, x: any): void; a: (x: number, x: string) => void; b: (x: T, x: T) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ >{ foo(x, x) { }, a: function foo(x: number, x: string) { }, b: (x: T, x: T) => { }} : { foo(x: any, x: any): void; a: (x: number, x: string) => void; b: (x: T, x: T) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ foo(x, x) { }, >foo : (x: any, x: any) => void @@ -220,9 +220,9 @@ var b = { b: (x: T, x: T) => { } >b : (x: T, x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(x: T, x: T) => { } : (x: T, x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/callWithMissingVoid.types b/tests/baselines/reference/callWithMissingVoid.types index da546c22b66f7..390b4dccceea3 100644 --- a/tests/baselines/reference/callWithMissingVoid.types +++ b/tests/baselines/reference/callWithMissingVoid.types @@ -8,7 +8,7 @@ class X { f(t: T) { >f : (t: T) => { a: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^ >t : T > : ^ @@ -113,9 +113,9 @@ class MyPromise { constructor(executor: (resolve: (value: X) => void) => void) { >executor : (resolve: (value: X) => void) => void -> : ^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >resolve : (value: X) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : X > : ^ @@ -360,11 +360,11 @@ c(); // ok declare function call( >call : (handler: (...args: TS) => unknown, ...args: TS) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ handler: (...args: TS) => unknown, >handler : (...args: TS) => unknown -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : TS > : ^^ diff --git a/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=false).types b/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=false).types index 4a7c00c2fb37d..97e1c113c59c1 100644 --- a/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=false).types +++ b/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=false).types @@ -27,7 +27,7 @@ declare function f4(p: any): void; interface I { m(p: T): void; } >m : (p: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=true).types b/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=true).types index 4a7c00c2fb37d..97e1c113c59c1 100644 --- a/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=true).types +++ b/tests/baselines/reference/callWithMissingVoidUndefinedUnknownAnyInJs(strict=true).types @@ -27,7 +27,7 @@ declare function f4(p: any): void; interface I { m(p: T): void; } >m : (p: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/callWithSpread.types b/tests/baselines/reference/callWithSpread.types index f753afe35e9d3..beb49f0c0bbff 100644 --- a/tests/baselines/reference/callWithSpread.types +++ b/tests/baselines/reference/callWithSpread.types @@ -4,7 +4,7 @@ interface X { foo(x: number, y: number, ...z: string[]): X; >foo : (x: number, y: number, ...z: string[]) => X -> : ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : number diff --git a/tests/baselines/reference/callWithSpread4.types b/tests/baselines/reference/callWithSpread4.types index 4283022409102..0ab66c402cf86 100644 --- a/tests/baselines/reference/callWithSpread4.types +++ b/tests/baselines/reference/callWithSpread4.types @@ -23,7 +23,7 @@ type RW = { a: number, b: number } declare const pli: { >pli : { (s1: R, s2: RW, s3: RW, s4: RW, s5: W): Promise; (streams: ReadonlyArray): Promise; (s1: R, s2: RW | W, ...streams: Array): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ (s1: R, s2: RW, s3: RW, s4: RW, s5: W): Promise; >s1 : R @@ -72,7 +72,7 @@ declare var gz: RW[] declare var fun: (inp: any) => AsyncGenerator >fun : (inp: any) => AsyncGenerator -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >inp : any > : ^^^ diff --git a/tests/baselines/reference/callbackTagNestedParameter.types b/tests/baselines/reference/callbackTagNestedParameter.types index 2ff9298329c6a..7be251551d7cd 100644 --- a/tests/baselines/reference/callbackTagNestedParameter.types +++ b/tests/baselines/reference/callbackTagNestedParameter.types @@ -16,7 +16,7 @@ */ function eachPerson(callback) { >eachPerson : (callback: WorksWithPeopleCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >callback : WorksWithPeopleCallback > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/callbacksDontShareTypes.types b/tests/baselines/reference/callbacksDontShareTypes.types index b96d243a5df7b..37ee8c32bc583 100644 --- a/tests/baselines/reference/callbacksDontShareTypes.types +++ b/tests/baselines/reference/callbacksDontShareTypes.types @@ -8,34 +8,34 @@ interface Collection { add(x: T): void; >add : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ remove(x: T): boolean; >remove : (x: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } interface Combinators { map(c: Collection, f: (x: T) => U): Collection; >map : { (c: Collection, f: (x: T) => U): Collection; (c: Collection, f: (x: T_1) => any): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : Collection > : ^^^^^^^^^^^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ map(c: Collection, f: (x: T) => any): Collection; >map : { (c: Collection, f: (x: T_1) => U): Collection; (c: Collection, f: (x: T) => any): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >c : Collection > : ^^^^^^^^^^^^^ >f : (x: T) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/callsOnComplexSignatures.types b/tests/baselines/reference/callsOnComplexSignatures.types index ceeb448a2bf2a..c1d5944195f04 100644 --- a/tests/baselines/reference/callsOnComplexSignatures.types +++ b/tests/baselines/reference/callsOnComplexSignatures.types @@ -584,7 +584,7 @@ function test5() { // Pair of non-like intrinsics function render(url?: string): React.ReactNode { >render : (url?: string) => React.ReactNode -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >url : string | undefined > : ^^^^^^^^^^^^^^^^^^ >React : any @@ -614,9 +614,9 @@ function test5() { // Union of all intrinsics and components of `any` function App(props: { component:React.ReactType }) { >App : (props: { component: React.ReactType; }) => JSX.Element -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : { component: React.ReactType; } -> : ^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ >component : React.ReactType > : ^^^^^^^^^^^^^^^^^^^^ >React : any diff --git a/tests/baselines/reference/cannotIndexGenericWritingError.types b/tests/baselines/reference/cannotIndexGenericWritingError.types index 546a68f4f7126..9e279af48c622 100644 --- a/tests/baselines/reference/cannotIndexGenericWritingError.types +++ b/tests/baselines/reference/cannotIndexGenericWritingError.types @@ -5,7 +5,7 @@ function foo>(target: T, p: string | symbol) { >foo : >(target: T, p: string | symbol) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >target : T > : ^ >p : string | symbol @@ -26,7 +26,7 @@ function foo>(target: T, p: string | symb function foo2(target: T, p: string | number) { >foo2 : (target: T, p: string | number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >s : string > : ^^^^^^ >target : T diff --git a/tests/baselines/reference/capturedParametersInInitializers1.types b/tests/baselines/reference/capturedParametersInInitializers1.types index 85725ae5043a7..3a69b1b4762ce 100644 --- a/tests/baselines/reference/capturedParametersInInitializers1.types +++ b/tests/baselines/reference/capturedParametersInInitializers1.types @@ -32,11 +32,11 @@ function foo1(y = class {c = x}, x = 1) { // ok - used in file function foo2(y = function(x: typeof z) {}, z = 1) { >foo2 : (y?: (x: typeof z) => void, z?: number) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : (x: typeof z) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(x: typeof z) {} : (x: typeof z) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : number > : ^^^^^^ >z : number @@ -55,11 +55,11 @@ let a; function foo3(y = { x: a }, z = 1) { >foo3 : (y?: { x: typeof z; }, z?: number) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >y : { x: typeof z; } -> : ^^^^^ ^^^^ +> : ^^^^^ ^^^ >{ x: a } : { x: typeof z; } -> : ^^^^^ ^^^^ +> : ^^^^^ ^^^ >x : number > : ^^^^^^ >a : number diff --git a/tests/baselines/reference/castTest.types b/tests/baselines/reference/castTest.types index 38c8fbdb3ab1d..9e30b77577671 100644 --- a/tests/baselines/reference/castTest.types +++ b/tests/baselines/reference/castTest.types @@ -70,7 +70,7 @@ declare class Point add(dx: number, dy: number): Point; >add : (dx: number, dy: number) => Point -> : ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number @@ -78,7 +78,7 @@ declare class Point mult(p: Point): Point; >mult : (p: Point) => Point -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.types b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.types index 77732ca7361e3..a6c6669d65097 100644 --- a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.types +++ b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.types @@ -11,9 +11,9 @@ class Chain { then(cb: (x: T) => S): Chain { >then : (cb: (x: T) => S) => Chain -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >cb : (x: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.types b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.types index c3085fba48d43..8076c903677be 100644 --- a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.types +++ b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.types @@ -11,9 +11,9 @@ class Chain { then(cb: (x: T) => S): Chain { >then : (cb: (x: T) => S) => Chain -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >cb : (x: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -196,9 +196,9 @@ class Chain2 { then(cb: (x: T) => S): Chain2 { >then : (cb: (x: T) => S) => Chain2 -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >cb : (x: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.types b/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.types index 97eced7a7f7d5..6dfeb9363d4b8 100644 --- a/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.types +++ b/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.types @@ -4,33 +4,33 @@ interface Sequence { each(iterator: (value: T) => void): void; >each : (iterator: (value: T) => void) => void -> : ^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >iterator : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ map(iterator: (value: T) => U): Sequence; >map : (iterator: (value: T) => U) => Sequence -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >iterator : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ filter(iterator: (value: T) => boolean): Sequence; >filter : (iterator: (value: T) => boolean) => Sequence -> : ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ >iterator : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ groupBy(keySelector: (value: T) => K): Sequence<{ key: K; items: T[]; }>; >groupBy : (keySelector: (value: T) => K) => Sequence<{ key: K; items: T[]; }> -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : (value: T) => K -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >key : K diff --git a/tests/baselines/reference/checkInfiniteExpansionTermination2.types b/tests/baselines/reference/checkInfiniteExpansionTermination2.types index 86a2f74ec071b..af570245371ed 100644 --- a/tests/baselines/reference/checkInfiniteExpansionTermination2.types +++ b/tests/baselines/reference/checkInfiniteExpansionTermination2.types @@ -13,7 +13,7 @@ interface ISubject extends IObservable { } declare function combineLatest(x: IObservable[]): void; >combineLatest : { (x: IObservable[]): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^ >x : IObservable[] > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types b/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types index 41d7fbb205f1c..821661d2c2d8f 100644 --- a/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types +++ b/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types @@ -29,7 +29,7 @@ export = Foo; module.exports = /** @type {FooFun} */(void 0); >module.exports = /** @type {FooFun} */(void 0) : (foo: Foo) => string -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >module.exports : (foo: typeof import("file")) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >module : { exports: (foo: typeof import("file")) => string; } diff --git a/tests/baselines/reference/checkJsdocTypedefInParamTag1.types b/tests/baselines/reference/checkJsdocTypedefInParamTag1.types index ad6bd233f0877..7d27cf82332ac 100644 --- a/tests/baselines/reference/checkJsdocTypedefInParamTag1.types +++ b/tests/baselines/reference/checkJsdocTypedefInParamTag1.types @@ -13,7 +13,7 @@ */ function foo(opts) { >foo : (opts: Opts) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >opts : Opts > : ^^^^ @@ -47,7 +47,7 @@ foo({x: 'abc'}); */ function foo1(opts) { >foo1 : (opts: AnotherOpts) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >opts : AnotherOpts > : ^^^^^^^^^^^ @@ -83,7 +83,7 @@ foo1({anotherX: "world"}); */ function foo2(opts) { >foo2 : (opts: Opts1) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >opts : Opts1 > : ^^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty1.types b/tests/baselines/reference/checkJsxChildrenProperty1.types index 1eedda16e91c0..1a1982ac2a4c3 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty1.types +++ b/tests/baselines/reference/checkJsxChildrenProperty1.types @@ -23,7 +23,7 @@ interface Prop { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty14.types b/tests/baselines/reference/checkJsxChildrenProperty14.types index f83294958d463..d4a3f0ee39496 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty14.types +++ b/tests/baselines/reference/checkJsxChildrenProperty14.types @@ -66,7 +66,7 @@ function AnotherButton(p: any) { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ @@ -182,7 +182,7 @@ interface SingleChildProp { function SingleChildComp(p: SingleChildProp) { >SingleChildComp : (p: SingleChildProp) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : SingleChildProp > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty16.types b/tests/baselines/reference/checkJsxChildrenProperty16.types index e6c4c41c76938..e41cc8ad02f75 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty16.types +++ b/tests/baselines/reference/checkJsxChildrenProperty16.types @@ -46,7 +46,7 @@ export type Props = export declare function Foo(props: Props): JSX.Element; >Foo : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : Props > : ^^^^^ >JSX : any diff --git a/tests/baselines/reference/checkJsxChildrenProperty2.types b/tests/baselines/reference/checkJsxChildrenProperty2.types index 69bbb95b11099..7d8a97c8d3c67 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty2.types +++ b/tests/baselines/reference/checkJsxChildrenProperty2.types @@ -23,7 +23,7 @@ interface Prop { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty3.types b/tests/baselines/reference/checkJsxChildrenProperty3.types index b7f8a2a80601e..d6370e3150f40 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty3.types +++ b/tests/baselines/reference/checkJsxChildrenProperty3.types @@ -14,7 +14,7 @@ interface IUser { interface IFetchUserProps { children: (user: IUser) => JSX.Element; >children : (user: IUser) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^ ^^^^^ >user : IUser > : ^^^^^ >JSX : any diff --git a/tests/baselines/reference/checkJsxChildrenProperty4.types b/tests/baselines/reference/checkJsxChildrenProperty4.types index fc72e3b218726..6ee0383198b6d 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty4.types +++ b/tests/baselines/reference/checkJsxChildrenProperty4.types @@ -14,7 +14,7 @@ interface IUser { interface IFetchUserProps { children: (user: IUser) => JSX.Element; >children : (user: IUser) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^ ^^^^^ >user : IUser > : ^^^^^ >JSX : any diff --git a/tests/baselines/reference/checkJsxChildrenProperty5.types b/tests/baselines/reference/checkJsxChildrenProperty5.types index fb42d62a4b544..6a787eb817329 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty5.types +++ b/tests/baselines/reference/checkJsxChildrenProperty5.types @@ -47,7 +47,7 @@ class Button extends React.Component { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty6.types b/tests/baselines/reference/checkJsxChildrenProperty6.types index 321eb00645b01..702afd4dfdc4b 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty6.types +++ b/tests/baselines/reference/checkJsxChildrenProperty6.types @@ -65,7 +65,7 @@ function AnotherButton(p: any) { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty7.types b/tests/baselines/reference/checkJsxChildrenProperty7.types index 1e8212ad78915..6d4f7910ff22b 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty7.types +++ b/tests/baselines/reference/checkJsxChildrenProperty7.types @@ -66,7 +66,7 @@ function AnotherButton(p: any) { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ diff --git a/tests/baselines/reference/checkJsxChildrenProperty8.types b/tests/baselines/reference/checkJsxChildrenProperty8.types index bb09c79949d80..cb600586020cb 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty8.types +++ b/tests/baselines/reference/checkJsxChildrenProperty8.types @@ -65,7 +65,7 @@ function AnotherButton(p: any) { function Comp(p: Prop) { >Comp : (p: Prop) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >p : Prop > : ^^^^ diff --git a/tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.types b/tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.types index 0ff589d4a72a0..81e5fa183c20e 100644 --- a/tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.types +++ b/tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.types @@ -12,7 +12,7 @@ interface BaseProps { nextValues: (cur: T) => T; >nextValues : (cur: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >cur : T > : ^ } diff --git a/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.types b/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.types index c9a45de212134..24cb402e9e337 100644 --- a/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.types +++ b/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.types @@ -15,11 +15,11 @@ interface ErrorResult { error: true } interface AsyncLoaderProps { readonly prop1: () => Promise; >prop1 : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ readonly prop2: (result: Exclude) => any; >prop2 : (result: Exclude) => any -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >result : Exclude > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } @@ -41,7 +41,7 @@ class AsyncLoader extends React.Component> { async function load(): Promise<{ success: true } | ErrorResult> { >load : () => Promise<{ success: true; } | ErrorResult> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >success : true > : ^^^^ >true : true diff --git a/tests/baselines/reference/checkJsxUnionSFXContextualTypeInferredCorrectly.types b/tests/baselines/reference/checkJsxUnionSFXContextualTypeInferredCorrectly.types index d47b3b9b9d44c..592b945c5bb81 100644 --- a/tests/baselines/reference/checkJsxUnionSFXContextualTypeInferredCorrectly.types +++ b/tests/baselines/reference/checkJsxUnionSFXContextualTypeInferredCorrectly.types @@ -51,7 +51,7 @@ interface PM { export function ComponentWithUnion(props: PM | PS) { >ComponentWithUnion : (props: PM | PS) => JSX.Element -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : PS | PM > : ^^^^^^^ diff --git a/tests/baselines/reference/checkObjectDefineProperty.types b/tests/baselines/reference/checkObjectDefineProperty.types index ac387852c0db2..f70c33ad4163f 100644 --- a/tests/baselines/reference/checkObjectDefineProperty.types +++ b/tests/baselines/reference/checkObjectDefineProperty.types @@ -384,7 +384,7 @@ const expected = /** @type {{name: string, readonly middleInit: string, readonly */ function match(a, b) {} >match : (a: typeof returnExemplar, b: typeof needsExemplar) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : () => typeof x > : ^^^^^^^^^^^^^^ >b : (_?: typeof x) => undefined diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.types b/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.types index eec045e3570ba..3671deaf43d30 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.types +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.types @@ -7,7 +7,7 @@ class Base { constructor(func: ()=>Base) { >func : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ } } class Super extends Base { diff --git a/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.types b/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.types index 87ff2013bd399..fb6f01e3c7447 100644 --- a/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.types +++ b/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.types @@ -12,7 +12,7 @@ class A { doIt(x: Array): void { >doIt : (x: Array) => void -> : ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : string[] > : ^^^^^^^^ diff --git a/tests/baselines/reference/checkerInitializationCrash.types b/tests/baselines/reference/checkerInitializationCrash.types index 8960d19b1fcbb..27bebe8f0376d 100644 --- a/tests/baselines/reference/checkerInitializationCrash.types +++ b/tests/baselines/reference/checkerInitializationCrash.types @@ -66,9 +66,9 @@ declare namespace React { function useMemo(factory: () => T, deps: undefined): T; >useMemo : (factory: () => T, deps: undefined) => T -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >factory : () => T -> : ^^^^^^^ +> : ^^^^^^ >deps : undefined > : ^^^^^^^^^ } diff --git a/tests/baselines/reference/circularConstructorWithReturn.types b/tests/baselines/reference/circularConstructorWithReturn.types index a54075bf2ff73..60331d886e2b0 100644 --- a/tests/baselines/reference/circularConstructorWithReturn.types +++ b/tests/baselines/reference/circularConstructorWithReturn.types @@ -52,7 +52,7 @@ export function getPrismaClient(options?: any) { export function applyModelsAndClientExtensions(client: Client) { >applyModelsAndClientExtensions : (client: Client) => PrismaClient -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >client : PrismaClient > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/circularContextualMappedType.types b/tests/baselines/reference/circularContextualMappedType.types index 89b51016a6975..f7a0316c7e54d 100644 --- a/tests/baselines/reference/circularContextualMappedType.types +++ b/tests/baselines/reference/circularContextualMappedType.types @@ -17,7 +17,7 @@ declare function reproduce(options: number): void; declare function reproduce(options: Mapped): T >reproduce : { (options: number): void; (options: Mapped): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >options : Mapped > : ^^^^^^^^^ diff --git a/tests/baselines/reference/circularInlineMappedGenericTupleTypeNoCrash.types b/tests/baselines/reference/circularInlineMappedGenericTupleTypeNoCrash.types index 9542edfbe9d4b..ff022d5344218 100644 --- a/tests/baselines/reference/circularInlineMappedGenericTupleTypeNoCrash.types +++ b/tests/baselines/reference/circularInlineMappedGenericTupleTypeNoCrash.types @@ -7,14 +7,14 @@ class Foo { public readonly elements: { [P in keyof Elements]: { bar: Elements[P] } }; >elements : { [P in keyof Elements]: { bar: Elements[P]; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bar : Elements[P] > : ^^^^^^^^^^^ public constructor( ...elements: { [P in keyof Elements]: { bar: Elements[P] } } >elements : { [P in keyof Elements]: { bar: Elements[P]; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bar : Elements[P] > : ^^^^^^^^^^^ @@ -34,7 +34,7 @@ class Foo { public add(): Foo<[...Elements, "abc"]> { >add : () => Foo<[...Elements, "abc"]> -> : ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ return new Foo<[...Elements, "abc"]>(...this.elements, { bar: "abc" }); >new Foo<[...Elements, "abc"]>(...this.elements, { bar: "abc" }) : Foo<[...Elements, "abc"]> diff --git a/tests/baselines/reference/circularInstantiationExpression.types b/tests/baselines/reference/circularInstantiationExpression.types index cf8445bf78c5f..99a574deeeb80 100644 --- a/tests/baselines/reference/circularInstantiationExpression.types +++ b/tests/baselines/reference/circularInstantiationExpression.types @@ -3,17 +3,17 @@ === circularInstantiationExpression.ts === declare function foo(t: T): typeof foo; >foo : (t: T) => typeof foo -> : ^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^ ^^^^^ >t : T > : ^ >foo : (t: T) => typeof foo -> : ^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^^ foo(""); >foo("") : (t: string) => any > : ^^^^^^^^^^^^^^^^^^ >foo : (t: T) => typeof foo -> : ^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^^ >"" : "" > : ^^ diff --git a/tests/baselines/reference/circularMappedTypeConstraint.types b/tests/baselines/reference/circularMappedTypeConstraint.types index 47b63ffaf60e6..d894504b87694 100644 --- a/tests/baselines/reference/circularMappedTypeConstraint.types +++ b/tests/baselines/reference/circularMappedTypeConstraint.types @@ -5,7 +5,7 @@ declare function foo2]: V }, V extends string>(a: T): T; >foo2 : ]: V; }, V extends string>(a: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/circularReferenceInReturnType.types b/tests/baselines/reference/circularReferenceInReturnType.types index 4125c6f95dba1..36d9c8bfe484f 100644 --- a/tests/baselines/reference/circularReferenceInReturnType.types +++ b/tests/baselines/reference/circularReferenceInReturnType.types @@ -4,9 +4,9 @@ // inference fails for res1 and res2, but ideally should not declare function fn1(cb: () => T): string; >fn1 : (cb: () => T) => string -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >cb : () => T -> : ^^^^^^^ +> : ^^^^^^ const res1 = fn1(() => res1); >res1 : any @@ -22,7 +22,7 @@ const res1 = fn1(() => res1); declare function fn2(): (cb: () => any) => (a: T) => void; >fn2 : () => (cb: () => any) => (a: T) => void -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >cb : () => any > : ^^^^^^ >a : T @@ -44,9 +44,9 @@ const res2 = fn2()(() => res2); declare function fn3(): (cb: (arg: T2) => any) => (a: T) => void; >fn3 : () => (cb: (arg: T2) => any) => (a: T) => void -> : ^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^^ ^^^^^ >cb : (arg: T2) => any -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T2 > : ^^ >a : T diff --git a/tests/baselines/reference/circularReferenceInReturnType2.types b/tests/baselines/reference/circularReferenceInReturnType2.types index 492bf8e5aedc7..eb3c0896a93a6 100644 --- a/tests/baselines/reference/circularReferenceInReturnType2.types +++ b/tests/baselines/reference/circularReferenceInReturnType2.types @@ -11,7 +11,7 @@ type ObjectType = { __source: (source: Source) => void; >__source : (source: Source) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >source : Source > : ^^^^^^ @@ -23,13 +23,13 @@ type Field = { __key: (key: Key) => void; >__key : (key: Key) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : Key > : ^^^ __source: (source: Source) => void; >__source : (source: Source) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >source : Source > : ^^^^^^ @@ -37,14 +37,14 @@ type Field = { declare const object: () => < >object : () => ; }>(config: { name: string; fields: Fields | (() => Fields); }) => ObjectType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ Fields extends { [Key in keyof Fields]: Field; } >(config: { >config : { name: string; fields: Fields | (() => Fields); } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^ name: string; >name : string @@ -52,7 +52,7 @@ declare const object: () => < fields: Fields | (() => Fields); >fields : Fields | (() => Fields) -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^ }) => ObjectType; @@ -88,7 +88,7 @@ type FieldFuncArgs> = { declare const field: , Key extends string>( >field : , Key extends string>(field: FieldFuncArgs) => Field -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^ ^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ field: FieldFuncArgs >field : FieldFuncArgs diff --git a/tests/baselines/reference/circularResolvedSignature.types b/tests/baselines/reference/circularResolvedSignature.types index e4e6e29ae0760..7636b20447f04 100644 --- a/tests/baselines/reference/circularResolvedSignature.types +++ b/tests/baselines/reference/circularResolvedSignature.types @@ -3,9 +3,9 @@ === circularResolvedSignature.ts === declare function useState(initialState: (() => S)): [S, (s: S) => void]; >useState : (initialState: (() => S)) => [S, (s: S) => void] -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >initialState : () => S -> : ^^^^^^^ +> : ^^^^^^ >s : S > : ^ diff --git a/tests/baselines/reference/circularTypeofWithVarOrFunc.types b/tests/baselines/reference/circularTypeofWithVarOrFunc.types index d7a90b5444bb3..ee972eb4bb304 100644 --- a/tests/baselines/reference/circularTypeofWithVarOrFunc.types +++ b/tests/baselines/reference/circularTypeofWithVarOrFunc.types @@ -59,7 +59,7 @@ type R = ReturnType; function mul(input: Input): R { >mul : (input: Input) => any -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >input : Input > : ^^^^^ diff --git a/tests/baselines/reference/cjsImportInES2015.types b/tests/baselines/reference/cjsImportInES2015.types index 4d494c6496a48..658587ee36a08 100644 --- a/tests/baselines/reference/cjsImportInES2015.types +++ b/tests/baselines/reference/cjsImportInES2015.types @@ -7,7 +7,7 @@ import type SpecialError = require("cjs-dep"); function handleError(err: SpecialError) {} >handleError : (err: SpecialError) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >err : SpecialError > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.types b/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.types index ee34e3a0d4665..5e7d62b299ea9 100644 --- a/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.types +++ b/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.types @@ -8,7 +8,7 @@ abstract class A { } // var AA: typeof A; var AAA: new() => A; >AAA : new () => A -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ // AA = A; // okay AAA = A; // error. diff --git a/tests/baselines/reference/classAbstractFactoryFunction.types b/tests/baselines/reference/classAbstractFactoryFunction.types index 1469ecaa3e3b9..d8e0f53d4ba94 100644 --- a/tests/baselines/reference/classAbstractFactoryFunction.types +++ b/tests/baselines/reference/classAbstractFactoryFunction.types @@ -13,7 +13,7 @@ abstract class B extends A {} function NewA(Factory: typeof A) { >NewA : (Factory: typeof A) => A -> : ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^ >Factory : typeof A > : ^^^^^^^^ >A : typeof A @@ -28,7 +28,7 @@ function NewA(Factory: typeof A) { function NewB(Factory: typeof B) { >NewB : (Factory: typeof B) => any -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ >Factory : typeof B > : ^^^^^^^^ >B : typeof B diff --git a/tests/baselines/reference/classAbstractGeneric.types b/tests/baselines/reference/classAbstractGeneric.types index ca8bbbebd36cf..83e4b9bc22500 100644 --- a/tests/baselines/reference/classAbstractGeneric.types +++ b/tests/baselines/reference/classAbstractGeneric.types @@ -11,11 +11,11 @@ abstract class A { abstract foo(): T; >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ abstract bar(t: T); >bar : (t: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >t : T > : ^ } @@ -63,7 +63,7 @@ class F extends A { // error -- doesn't implement foo bar(t : T) {} >bar : (t: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : T > : ^ } @@ -86,7 +86,7 @@ class G extends A { bar(t: T) { } >bar : (t: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : T > : ^ } diff --git a/tests/baselines/reference/classAbstractInstantiations2.types b/tests/baselines/reference/classAbstractInstantiations2.types index 2b136cc47bd3d..3ea7e2f907232 100644 --- a/tests/baselines/reference/classAbstractInstantiations2.types +++ b/tests/baselines/reference/classAbstractInstantiations2.types @@ -59,7 +59,7 @@ new AA; function constructB(Factory : typeof B) { >constructB : (Factory: typeof B) => void -> : ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >Factory : typeof B > : ^^^^^^^^ >B : typeof B diff --git a/tests/baselines/reference/classCanExtendConstructorFunction.types b/tests/baselines/reference/classCanExtendConstructorFunction.types index dd8c9759dbc1a..c37c62fc6a768 100644 --- a/tests/baselines/reference/classCanExtendConstructorFunction.types +++ b/tests/baselines/reference/classCanExtendConstructorFunction.types @@ -26,15 +26,15 @@ function Wagon(numberOxen) { /** @param {Wagon[]=} wagons */ Wagon.circle = function (wagons) { >Wagon.circle = function (wagons) { return wagons ? wagons.length : 3.14;} : (wagons?: Wagon[] | undefined) => number -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >Wagon.circle : (wagons?: Wagon[] | undefined) => number -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >Wagon : typeof Wagon > : ^^^^^^^^^^^^ >circle : (wagons?: Wagon[]) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function (wagons) { return wagons ? wagons.length : 3.14;} : (wagons?: Wagon[] | undefined) => number -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >wagons : Wagon[] > : ^^^^^^^ @@ -171,7 +171,7 @@ class Sql extends Wagon { */ load(files, format) { >load : (files: Array, format: "csv" | "json" | "xmlolololol") => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >files : string[] > : ^^^^^^^^ >format : "csv" | "json" | "xmlolololol" @@ -318,7 +318,7 @@ class Conestoga extends Wagon { // should error since others is not optional static circle(others: (typeof Wagon)[]) { >circle : (others: (typeof Wagon)[]) => number -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ >others : (typeof Wagon)[] > : ^^^^^^^^^^^^^^^^ >Wagon : typeof Wagon diff --git a/tests/baselines/reference/classExpressionAssignment.types b/tests/baselines/reference/classExpressionAssignment.types index d07a4045908bc..ce8763b022a87 100644 --- a/tests/baselines/reference/classExpressionAssignment.types +++ b/tests/baselines/reference/classExpressionAssignment.types @@ -10,7 +10,7 @@ interface A { // This is invalid const A: {new(): A} = class {} >A : new () => A -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ >class {} : typeof A > : ^^^^^^^^ diff --git a/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.types b/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.types index 48c1d6c2999c7..178956151f265 100644 --- a/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.types +++ b/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.types @@ -4,7 +4,7 @@ interface IObserver { handleChange(observable: IObservable, change: TChange): void; >handleChange : (observable: IObservable, change: TChange) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >observable : IObservable > : ^^^^^^^^^^^^^^^^^^^^^^^ >change : TChange @@ -14,7 +14,7 @@ interface IObserver { interface IObservable { get(): T; >get : () => T -> : ^^^^^^^ +> : ^^^^^^ readonly TChange: TChange; >TChange : TChange @@ -24,7 +24,7 @@ interface IObservable { export interface IReader { readObservable(observable: IObservable): T; >readObservable : (observable: IObservable) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ >observable : IObservable > : ^^^^^^^^^^^^^^^^^^^ } @@ -41,7 +41,7 @@ export abstract class ConvenientObservable implements IObservableget : () => T -> : ^^^^^^^ +> : ^^^^^^ } export abstract class BaseObservable extends ConvenientObservable { diff --git a/tests/baselines/reference/classExtendingClass.types b/tests/baselines/reference/classExtendingClass.types index 4794cddb5aa10..b1d5f16bf813b 100644 --- a/tests/baselines/reference/classExtendingClass.types +++ b/tests/baselines/reference/classExtendingClass.types @@ -87,13 +87,13 @@ class C2 { thing(x: T) { } >thing : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ static other(x: T) { } >other : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/classExtendingClassLikeType.types b/tests/baselines/reference/classExtendingClassLikeType.types index 0250833775785..4db76ce86d0ec 100644 --- a/tests/baselines/reference/classExtendingClassLikeType.types +++ b/tests/baselines/reference/classExtendingClassLikeType.types @@ -45,7 +45,7 @@ interface BaseConstructor { declare function getBase(): BaseConstructor; >getBase : () => BaseConstructor -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ class D1 extends getBase() { >D1 : D1 @@ -212,7 +212,7 @@ interface BadBaseConstructor { declare function getBadBase(): BadBaseConstructor; >getBadBase : () => BadBaseConstructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ // Error, constructor return types differ class D5 extends getBadBase() { diff --git a/tests/baselines/reference/classExtendsInterfaceInExpression.types b/tests/baselines/reference/classExtendsInterfaceInExpression.types index aa9f2fb688eee..6f1eee598d082 100644 --- a/tests/baselines/reference/classExtendsInterfaceInExpression.types +++ b/tests/baselines/reference/classExtendsInterfaceInExpression.types @@ -5,7 +5,7 @@ interface A {} function factory(a: any): {new(): Object} { >factory : (a: any) => { new (): Object; } -> : ^^^^ ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : any > : ^^^ diff --git a/tests/baselines/reference/classImplementsMethodWIthTupleArgs.types b/tests/baselines/reference/classImplementsMethodWIthTupleArgs.types index f70d39c45f4cd..c911e4f715b9b 100644 --- a/tests/baselines/reference/classImplementsMethodWIthTupleArgs.types +++ b/tests/baselines/reference/classImplementsMethodWIthTupleArgs.types @@ -7,7 +7,7 @@ declare class MySettable implements Settable { set(option: Record): void; >set : { (option: Record): void; (name: string, value: unknown): void; } -> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >option : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -23,7 +23,7 @@ declare class MySettable implements Settable { interface Settable { set(...args: [option: Record] | [name: string, value: unknown] | [name: string]): void; >set : (...args: [option: Record] | [name: string, value: unknown] | [name: string]) => void -> : ^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [option: Record] | [name: string, value: unknown] | [name: string] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/classSideInheritance2.types b/tests/baselines/reference/classSideInheritance2.types index 54aff5acf1bb6..aa59261b2e36a 100644 --- a/tests/baselines/reference/classSideInheritance2.types +++ b/tests/baselines/reference/classSideInheritance2.types @@ -39,7 +39,7 @@ class TextBase implements IText { public subText(span: TextSpan): IText { >subText : (span: TextSpan) => IText -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >span : TextSpan > : ^^^^^^^^ diff --git a/tests/baselines/reference/classSideInheritance3.types b/tests/baselines/reference/classSideInheritance3.types index 033353ddefc66..2c486f235e2c8 100644 --- a/tests/baselines/reference/classSideInheritance3.types +++ b/tests/baselines/reference/classSideInheritance3.types @@ -61,7 +61,7 @@ var r1: typeof A = B; // error var r2: new (x: string) => A = B; // error >r2 : new (x: string) => A -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : string > : ^^^^^^ >B : typeof B diff --git a/tests/baselines/reference/classStaticBlock11(target=es2015).types b/tests/baselines/reference/classStaticBlock11(target=es2015).types index bc34a7d21e011..fc8bb303649a1 100644 --- a/tests/baselines/reference/classStaticBlock11(target=es2015).types +++ b/tests/baselines/reference/classStaticBlock11(target=es2015).types @@ -33,10 +33,10 @@ class C { // getX has privileged access to #x getX = (obj: C) => obj.#x; >getX = (obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >getX : any >(obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : C > : ^ >obj.#x : number diff --git a/tests/baselines/reference/classStaticBlock11(target=es2022).types b/tests/baselines/reference/classStaticBlock11(target=es2022).types index bc34a7d21e011..fc8bb303649a1 100644 --- a/tests/baselines/reference/classStaticBlock11(target=es2022).types +++ b/tests/baselines/reference/classStaticBlock11(target=es2022).types @@ -33,10 +33,10 @@ class C { // getX has privileged access to #x getX = (obj: C) => obj.#x; >getX = (obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >getX : any >(obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : C > : ^ >obj.#x : number diff --git a/tests/baselines/reference/classStaticBlock11(target=esnext).types b/tests/baselines/reference/classStaticBlock11(target=esnext).types index bc34a7d21e011..fc8bb303649a1 100644 --- a/tests/baselines/reference/classStaticBlock11(target=esnext).types +++ b/tests/baselines/reference/classStaticBlock11(target=esnext).types @@ -33,10 +33,10 @@ class C { // getX has privileged access to #x getX = (obj: C) => obj.#x; >getX = (obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >getX : any >(obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : C > : ^ >obj.#x : number diff --git a/tests/baselines/reference/classStaticBlock16.types b/tests/baselines/reference/classStaticBlock16.types index fb30035245ba6..c40d5bdc241dd 100644 --- a/tests/baselines/reference/classStaticBlock16.types +++ b/tests/baselines/reference/classStaticBlock16.types @@ -3,7 +3,7 @@ === classStaticBlock16.ts === let getX: (c: C) => number; >getX : (c: C) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ @@ -36,11 +36,11 @@ class C { // getX has privileged access to #x getX = (obj: C) => obj.#x; >getX = (obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >getX : (c: C) => number > : ^^^^^^^^^^^^^^^^ >(obj: C) => obj.#x : (obj: C) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : C > : ^ >obj.#x : number @@ -50,11 +50,11 @@ class C { getY = (obj: D) => obj.#y; >getY = (obj: D) => obj.#y : (obj: D) => any -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >getY : (c: D) => number > : ^^^^^^^^^^^^^^^^ >(obj: D) => obj.#y : (obj: D) => any -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >obj : D > : ^ >obj.#y : any @@ -66,7 +66,7 @@ class C { let getY: (c: D) => number; >getY : (c: D) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : D > : ^ @@ -84,11 +84,11 @@ class D { // getY has privileged access to y getX = (obj: C) => obj.#x; >getX = (obj: C) => obj.#x : (obj: C) => any -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >getX : (c: C) => number > : ^^^^^^^^^^^^^^^^ >(obj: C) => obj.#x : (obj: C) => any -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >obj : C > : ^ >obj.#x : any @@ -98,11 +98,11 @@ class D { getY = (obj: D) => obj.#y; >getY = (obj: D) => obj.#y : (obj: D) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >getY : (c: D) => number > : ^^^^^^^^^^^^^^^^ >(obj: D) => obj.#y : (obj: D) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : D > : ^ >obj.#y : number diff --git a/tests/baselines/reference/classStaticBlock17.types b/tests/baselines/reference/classStaticBlock17.types index 5d74f07c0c117..5b714867b55e3 100644 --- a/tests/baselines/reference/classStaticBlock17.types +++ b/tests/baselines/reference/classStaticBlock17.types @@ -3,13 +3,13 @@ === classStaticBlock17.ts === let friendA: { getX(o: A): number, setX(o: A, v: number): void }; >friendA : { getX(o: A): number; setX(o: A, v: number): void; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^ ^^^ ^^^ >getX : (o: A) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >o : A > : ^ >setX : (o: A, v: number) => void -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >o : A > : ^ >v : number diff --git a/tests/baselines/reference/classTypeParametersInStatics.types b/tests/baselines/reference/classTypeParametersInStatics.types index 40148e29c3abe..13326528e2621 100644 --- a/tests/baselines/reference/classTypeParametersInStatics.types +++ b/tests/baselines/reference/classTypeParametersInStatics.types @@ -28,7 +28,7 @@ module Editor { public static MakeHead(): List { // should error >MakeHead : () => List -> : ^^^^^^^^^^ +> : ^^^^^^ var entry: List = new List(true, null); >entry : List @@ -71,7 +71,7 @@ module Editor { public static MakeHead2(): List { // should not error >MakeHead2 : () => List -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ var entry: List = new List(true, null); >entry : List @@ -114,7 +114,7 @@ module Editor { public static MakeHead3(): List { // should not error >MakeHead3 : () => List -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ var entry: List = new List(true, null); >entry : List diff --git a/tests/baselines/reference/classVarianceResolveCircularity1.types b/tests/baselines/reference/classVarianceResolveCircularity1.types index 126a61941102f..78368fc2e9092 100644 --- a/tests/baselines/reference/classVarianceResolveCircularity1.types +++ b/tests/baselines/reference/classVarianceResolveCircularity1.types @@ -41,7 +41,7 @@ class Bar { } declare function callme(x: Bar): Bar; >callme : { (x: Bar): Bar; (x: object): string; } -> : ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : Bar > : ^^^^^^^^ diff --git a/tests/baselines/reference/classVarianceResolveCircularity2.types b/tests/baselines/reference/classVarianceResolveCircularity2.types index 4bde0be90bd6e..42995c68044e4 100644 --- a/tests/baselines/reference/classVarianceResolveCircularity2.types +++ b/tests/baselines/reference/classVarianceResolveCircularity2.types @@ -59,7 +59,7 @@ class Bar { } declare function callme(x: Foo): Foo; >callme : { (x: Foo): Foo; (x: object): string; } -> : ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : Foo > : ^^^^^^^^ diff --git a/tests/baselines/reference/classWithOptionalParameter.types b/tests/baselines/reference/classWithOptionalParameter.types index c79181313830a..a7bc95ad8676e 100644 --- a/tests/baselines/reference/classWithOptionalParameter.types +++ b/tests/baselines/reference/classWithOptionalParameter.types @@ -26,7 +26,7 @@ class C2 { f?(x: T) {} >f : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/cloduleTest1.types b/tests/baselines/reference/cloduleTest1.types index 58e59a15eeafa..8d528ea688149 100644 --- a/tests/baselines/reference/cloduleTest1.types +++ b/tests/baselines/reference/cloduleTest1.types @@ -10,7 +10,7 @@ interface $ { addClass(className: string): $; >addClass : (className: string) => $ -> : ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >className : string > : ^^^^^^ } @@ -22,7 +22,7 @@ } export function ajax(options: AjaxSettings) { } >ajax : (options: AjaxSettings) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >options : AjaxSettings > : ^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/clodulesDerivedClasses.types b/tests/baselines/reference/clodulesDerivedClasses.types index 8ed000b31a437..de41e31c27053 100644 --- a/tests/baselines/reference/clodulesDerivedClasses.types +++ b/tests/baselines/reference/clodulesDerivedClasses.types @@ -18,7 +18,7 @@ module Shape.Utils { export function convert(): Shape { return null;} >convert : () => Shape -> : ^^^^^^^^^^^ +> : ^^^^^^ } class Path extends Shape { @@ -41,7 +41,7 @@ module Path.Utils { export function convert2(): Path { >convert2 : () => Path -> : ^^^^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/coAndContraVariantInferences.types b/tests/baselines/reference/coAndContraVariantInferences.types index 143cfe6b8c204..29f293c0b0261 100644 --- a/tests/baselines/reference/coAndContraVariantInferences.types +++ b/tests/baselines/reference/coAndContraVariantInferences.types @@ -23,21 +23,21 @@ declare const b: B; declare function fab(arg: A | B): void; >fab : (arg: A | B) => void -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >arg : A | B > : ^^^^^ declare function foo(x: { kind: T }, f: (arg: { kind: T }) => void): void; >foo : (x: { kind: T; }, f: (arg: { kind: T; }) => void) => void -> : ^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { kind: T; } -> : ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >kind : T > : ^ >f : (arg: { kind: T; }) => void -> : ^^^^^^ ^ ^^^^^ +> : ^^^^^^ ^^^^^ >arg : { kind: T; } -> : ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >kind : T > : ^ @@ -99,7 +99,7 @@ const actionB = { payload: true } as Action<'ACTION_B', boolean>; function call( >call : (action: Action, fn: (action: Action) => any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ action: Action, >action : Action @@ -107,7 +107,7 @@ function call( fn: (action: Action)=> any, >fn : (action: Action) => any -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >action : Action > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -122,9 +122,9 @@ function call( const printFn = (action: typeof actionA | typeof actionB)=> console.log(action); >printFn : (action: typeof actionA | typeof actionB) => void -> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >(action: typeof actionA | typeof actionB)=> console.log(action) : (action: typeof actionA | typeof actionB) => void -> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >action : Action<"ACTION_A", string> | Action<"ACTION_B", boolean> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >actionA : Action<"ACTION_A", string> diff --git a/tests/baselines/reference/coAndContraVariantInferences2.types b/tests/baselines/reference/coAndContraVariantInferences2.types index 9cdf89506220f..0593cf7c49ffb 100644 --- a/tests/baselines/reference/coAndContraVariantInferences2.types +++ b/tests/baselines/reference/coAndContraVariantInferences2.types @@ -15,23 +15,23 @@ interface C extends A { c: string } declare function cast(x: T, test: (x: T) => x is U): U; >cast : (x: T, test: (x: T) => x is U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >x : T > : ^ >test : (x: T) => x is U -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ declare function isC(x: A): x is C; >isC : (x: A) => x is C -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : A > : ^ function f1(a: A, b: B) { >f1 : (a: A, b: B) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : A > : ^ >b : B @@ -64,25 +64,25 @@ function f1(a: A, b: B) { declare function useA(a: A): void; >useA : (a: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ declare function consume(t: T, u: U, f: (x: T) => void): void; >consume : (t: T, u: U, f: (x: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U > : ^ >f : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ function f2(b: B, c: C) { >f2 : (b: B, c: C) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >b : B > : ^ >c : C @@ -139,17 +139,17 @@ function f2(b: B, c: C) { declare function every(array: readonly T[], f: (x: T) => x is U): array is readonly U[]; >every : (array: readonly T[], f: (x: T) => x is U) => array is readonly U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : readonly T[] > : ^^^^^^^^^^^^ >f : (x: T) => x is U -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ function f3(arr: readonly B[] | readonly C[]) { >f3 : (arr: readonly B[] | readonly C[]) => void -> : ^^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arr : readonly B[] | readonly C[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -241,33 +241,33 @@ type HasLocals = Block | FunctionDeclaration; declare function canHaveLocals(node: Node): node is HasLocals; >canHaveLocals : (node: Node) => node is HasLocals -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function assertNode(node: T | undefined, test: (node: T) => node is U): asserts node is U; >assertNode : { (node: T | undefined, test: (node: T) => node is U): asserts node is U; (node: Node | undefined, test: ((node: Node) => boolean) | undefined): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >node : T | undefined > : ^^^^^^^^^^^^^ >test : (node: T) => node is U -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^ >node : T > : ^ declare function assertNode(node: Node | undefined, test: ((node: Node) => boolean) | undefined): void; >assertNode : { (node: T | undefined, test: (node: T) => node is U): asserts node is U; (node: Node | undefined, test: ((node: Node) => boolean) | undefined): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >node : Node | undefined > : ^^^^^^^^^^^^^^^^ >test : ((node: Node) => boolean) | undefined -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >node : Node > : ^^^^ function foo(node: FunctionDeclaration | CaseClause) { >foo : (node: FunctionDeclaration | CaseClause) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >node : CaseClause | FunctionDeclaration > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -288,23 +288,23 @@ function foo(node: FunctionDeclaration | CaseClause) { declare function isExpression(node: Node): node is Expression; >isExpression : (node: Node) => node is Expression -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function tryCast(value: TIn | undefined, test: (value: TIn) => value is TOut): TOut; >tryCast : (value: TIn | undefined, test: (value: TIn) => value is TOut) => TOut -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : TIn | undefined > : ^^^^^^^^^^^^^^^ >test : (value: TIn) => value is TOut -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >value : TIn > : ^^^ function bar(node: Identifier | FunctionDeclaration) { >bar : (node: Identifier | FunctionDeclaration) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >node : Identifier | FunctionDeclaration > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -369,7 +369,7 @@ type ClassLike1 = ClassExpression1 | ClassStatement1; declare function isClassLike(node: Node1): node is ClassLike1; >isClassLike : (node: Node1) => node is ClassLike1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >node : Node1 > : ^^^^^ @@ -405,7 +405,7 @@ interface NodeArray extends Array { declare function isNodeArray(array: readonly T[]): array is NodeArray; >isNodeArray : (array: readonly T[]) => array is NodeArray -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : readonly T[] > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/coAndContraVariantInferences3.types b/tests/baselines/reference/coAndContraVariantInferences3.types index 1f49d418479c3..26eb1d8ec3686 100644 --- a/tests/baselines/reference/coAndContraVariantInferences3.types +++ b/tests/baselines/reference/coAndContraVariantInferences3.types @@ -59,7 +59,7 @@ type OverloadDeprecations = { [P in OverloadKeys< declare function createOverload(name: string, overloads: T, binder: OverloadBinders, deprecations?: OverloadDeprecations): UnionToIntersection; >createOverload : (name: string, overloads: T, binder: OverloadBinders, deprecations?: OverloadDeprecations) => UnionToIntersection -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >name : string > : ^^^^^^ >overloads : T @@ -71,7 +71,7 @@ declare function createOverload(name: string, ove declare function createBinder(overloads: T, binder: OverloadBinders): OverloadBinder; >createBinder : (overloads: T, binder: OverloadBinders) => OverloadBinder -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >overloads : T > : ^ >binder : OverloadBinders @@ -80,7 +80,7 @@ declare function createBinder(overloads: T, binde interface OverloadBuilder { overload(overloads: T): BindableOverloadBuilder; >overload : (overloads: T) => BindableOverloadBuilder -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >overloads : T > : ^ } @@ -88,7 +88,7 @@ interface OverloadBuilder { interface BindableOverloadBuilder { bind(binder: OverloadBinders): BoundOverloadBuilder; >bind : (binder: OverloadBinders) => BoundOverloadBuilder -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^ ^^^^^ >binder : OverloadBinders > : ^^^^^^^^^^^^^^^^^^ } @@ -96,20 +96,20 @@ interface BindableOverloadBuilder { interface FinishableOverloadBuilder { finish(): OverloadFunction; >finish : () => OverloadFunction -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } interface BoundOverloadBuilder extends FinishableOverloadBuilder { deprecate(deprecations: OverloadDeprecations): FinishableOverloadBuilder; >deprecate : (deprecations: OverloadDeprecations) => FinishableOverloadBuilder -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >deprecations : OverloadDeprecations > : ^^^^^^^^^^^^^^^^^^^^^^^ } declare function buildOverload(name: string): OverloadBuilder; >buildOverload : (name: string) => OverloadBuilder -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >name : string > : ^^^^^^ @@ -185,37 +185,37 @@ interface AssertClause extends Node { kind: SyntaxKind.AssertClause; } declare function isExpression(node: Node): node is Expression; >isExpression : (node: Node) => node is Expression -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function isAssertClause(node: Node): node is AssertClause; >isAssertClause : (node: Node) => node is AssertClause -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function isImportClause(node: Node): node is ImportClause; >isImportClause : (node: Node) => node is ImportClause -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function isModifier(node: Node): node is Modifier; >isModifier : (node: Node) => node is Modifier -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function isDecorator(node: Node): node is Decorator; >isDecorator : (node: Node) => node is Decorator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare const updateImportDeclaration: { >updateImportDeclaration : { (node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; (node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ (node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; >node : ImportDeclaration @@ -246,11 +246,11 @@ declare const updateImportDeclaration: { declare function every(array: readonly T[], callback: (element: T, index: number) => element is U): array is readonly U[]; >every : { (array: readonly T[], callback: (element: T, index: number) => element is U): array is readonly U[]; (array: readonly T_1[] | undefined, callback: (element: T_1, index: number) => element is U_1): array is readonly U_1[] | undefined; (array: readonly T_2[] | undefined, callback: (element: T_2, index: number) => boolean): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : readonly T[] > : ^^^^^^^^^^^^ >callback : (element: T, index: number) => element is U -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >element : T > : ^ >index : number @@ -258,11 +258,11 @@ declare function every(array: readonly T[], callback: (element: declare function every(array: readonly T[] | undefined, callback: (element: T, index: number) => element is U): array is readonly U[] | undefined; >every : { (array: readonly T_1[], callback: (element: T_1, index: number) => element is U_1): array is readonly U_1[]; (array: readonly T[] | undefined, callback: (element: T, index: number) => element is U): array is readonly U[] | undefined; (array: readonly T_2[] | undefined, callback: (element: T_2, index: number) => boolean): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : readonly T[] | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^ >callback : (element: T, index: number) => element is U -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >element : T > : ^ >index : number @@ -270,11 +270,11 @@ declare function every(array: readonly T[] | undefined, callback declare function every(array: readonly T[] | undefined, callback: (element: T, index: number) => boolean): boolean; >every : { (array: readonly T_1[], callback: (element: T_1, index: number) => element is U): array is readonly U[]; (array: readonly T_2[] | undefined, callback: (element: T_2, index: number) => element is U_1): array is readonly U_1[] | undefined; (array: readonly T[] | undefined, callback: (element: T, index: number) => boolean): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >array : readonly T[] | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^ >callback : (element: T, index: number) => boolean -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >element : T > : ^ >index : number @@ -291,19 +291,19 @@ declare const DISALLOW_DECORATORS: DeprecationOptions; buildOverload("updateImportDeclaration") >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) .bind({ 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => (other === undefined) && (modifiers === undefined || every(modifiers, isModifier)) && (importClause === undefined || !isArray(importClause)) && (moduleSpecifier === undefined || isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === undefined || every(decorators, isDecorator)) && (modifiers === undefined || isArray(modifiers)) && (importClause === undefined || isImportClause(importClause)) && (moduleSpecifier !== undefined && isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), }) .deprecate({ 1: DISALLOW_DECORATORS }) .finish() : ((node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration) & ((node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^ >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) .bind({ 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => (other === undefined) && (modifiers === undefined || every(modifiers, isModifier)) && (importClause === undefined || !isArray(importClause)) && (moduleSpecifier === undefined || isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === undefined || every(decorators, isDecorator)) && (modifiers === undefined || isArray(modifiers)) && (importClause === undefined || isImportClause(importClause)) && (moduleSpecifier !== undefined && isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), }) .deprecate({ 1: DISALLOW_DECORATORS }) .finish : () => ((node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration) & ((node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^ >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) .bind({ 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => (other === undefined) && (modifiers === undefined || every(modifiers, isModifier)) && (importClause === undefined || !isArray(importClause)) && (moduleSpecifier === undefined || isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === undefined || every(decorators, isDecorator)) && (modifiers === undefined || isArray(modifiers)) && (importClause === undefined || isImportClause(importClause)) && (moduleSpecifier !== undefined && isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), }) .deprecate({ 1: DISALLOW_DECORATORS }) : FinishableOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) .bind({ 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => (other === undefined) && (modifiers === undefined || every(modifiers, isModifier)) && (importClause === undefined || !isArray(importClause)) && (moduleSpecifier === undefined || isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === undefined || every(decorators, isDecorator)) && (modifiers === undefined || isArray(modifiers)) && (importClause === undefined || isImportClause(importClause)) && (moduleSpecifier !== undefined && isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), }) .deprecate : (deprecations: OverloadDeprecations<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }>) => FinishableOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) .bind({ 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => (other === undefined) && (modifiers === undefined || every(modifiers, isModifier)) && (importClause === undefined || !isArray(importClause)) && (moduleSpecifier === undefined || isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === undefined || every(decorators, isDecorator)) && (modifiers === undefined || isArray(modifiers)) && (importClause === undefined || isImportClause(importClause)) && (moduleSpecifier !== undefined && isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), }) : BoundOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) .bind : (binder: OverloadBinders<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }>) => BoundOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >buildOverload("updateImportDeclaration") .overload({ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, }) : BindableOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >buildOverload("updateImportDeclaration") .overload : (overloads: T) => BindableOverloadBuilder > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >buildOverload("updateImportDeclaration") : OverloadBuilder @@ -317,11 +317,11 @@ buildOverload("updateImportDeclaration") >overload : (overloads: T) => BindableOverloadBuilder > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { return updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause); }, } : { 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { >0 : (node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >node : ImportDeclaration > : ^^^^^^^^^^^^^^^^^ >modifiers : readonly Modifier[] | undefined @@ -353,7 +353,7 @@ buildOverload("updateImportDeclaration") 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration { >1 : (node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >node : ImportDeclaration > : ^^^^^^^^^^^^^^^^^ >_decorators : readonly Decorator[] | undefined @@ -387,7 +387,7 @@ buildOverload("updateImportDeclaration") }) .bind({ >bind : (binder: OverloadBinders<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }>) => BoundOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >{ 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => (other === undefined) && (modifiers === undefined || every(modifiers, isModifier)) && (importClause === undefined || !isArray(importClause)) && (moduleSpecifier === undefined || isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === undefined || every(decorators, isDecorator)) && (modifiers === undefined || isArray(modifiers)) && (importClause === undefined || isImportClause(importClause)) && (moduleSpecifier !== undefined && isExpression(moduleSpecifier)) && (assertClause === undefined || isAssertClause(assertClause)), } : { 0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]: [node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined] | [node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined]) => boolean; 1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]: [node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined] | [node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined]) => boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -624,7 +624,7 @@ buildOverload("updateImportDeclaration") }) .deprecate({ >deprecate : (deprecations: OverloadDeprecations<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }>) => FinishableOverloadBuilder<{ 0(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; 1(node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^ >{ 1: DISALLOW_DECORATORS } : { 1: DeprecationOptions; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -637,7 +637,7 @@ buildOverload("updateImportDeclaration") }) .finish(); >finish : () => ((node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration) & ((node: ImportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^ declare const modifiers: readonly Modifier[] | readonly Decorator[]; diff --git a/tests/baselines/reference/coAndContraVariantInferences4.types b/tests/baselines/reference/coAndContraVariantInferences4.types index f357dd83eac24..c5e24ba3ce580 100644 --- a/tests/baselines/reference/coAndContraVariantInferences4.types +++ b/tests/baselines/reference/coAndContraVariantInferences4.types @@ -34,23 +34,23 @@ interface Decorator extends Node { kind: SyntaxKind.Decorator; } declare function isModifier(node: Node): node is Modifier; >isModifier : (node: Node) => node is Modifier -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function isDecorator(node: Node): node is Decorator; >isDecorator : (node: Node) => node is Decorator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ declare function every(array: readonly T[], callback: (element: T) => element is U): array is readonly U[]; >every : (array: readonly T[], callback: (element: T) => element is U) => array is readonly U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : readonly T[] > : ^^^^^^^^^^^^ >callback : (element: T) => element is U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >element : T > : ^ diff --git a/tests/baselines/reference/coAndContraVariantInferences5.types b/tests/baselines/reference/coAndContraVariantInferences5.types index b0d94083d962f..7ee2e5b9dd810 100644 --- a/tests/baselines/reference/coAndContraVariantInferences5.types +++ b/tests/baselines/reference/coAndContraVariantInferences5.types @@ -7,7 +7,7 @@ type Thing = 'a' | 'b'; function f( >f : (options: SelectOptions, onChange: (status: Thing | null) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ options: SelectOptions, >options : SelectOptions @@ -15,7 +15,7 @@ function f( onChange: (status: Thing | null) => void, >onChange : (status: Thing | null) => void -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >status : Thing | null > : ^^^^^^^^^^^^ @@ -41,7 +41,7 @@ function f( declare function select(props: SelectProps): void; >select : (props: SelectProps) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >props : SelectProps > : ^^^^^^^^^^^^^^^^^ @@ -55,7 +55,7 @@ type SelectProps = { onChange: (key: KeyT) => void; >onChange : (key: KeyT) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : KeyT > : ^^^^ diff --git a/tests/baselines/reference/coAndContraVariantInferences6.types b/tests/baselines/reference/coAndContraVariantInferences6.types index e3d21fb7b54e3..1cf8c3bd12a97 100644 --- a/tests/baselines/reference/coAndContraVariantInferences6.types +++ b/tests/baselines/reference/coAndContraVariantInferences6.types @@ -51,7 +51,7 @@ type JSXElementConstructor

= declare function createElementIsolated

( >createElementIsolated :

(type: FunctionComponent

| ComponentClass

| string, props?: P | null) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ type: FunctionComponent

| ComponentClass

| string, >type : string | FunctionComponent

| ComponentClass

diff --git a/tests/baselines/reference/collectionPatternNoError.types b/tests/baselines/reference/collectionPatternNoError.types index 4ca09ea960bce..d3bff91c38d8b 100644 --- a/tests/baselines/reference/collectionPatternNoError.types +++ b/tests/baselines/reference/collectionPatternNoError.types @@ -22,12 +22,12 @@ class Message { interface MessageList extends Message { methodOnMessageList(): T[]; >methodOnMessageList : () => T[] -> : ^^^^^^^ +> : ^^^^^^ } function fetchMsg(protoCtor: MsgConstructor): V { >fetchMsg : (protoCtor: MsgConstructor) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >protoCtor : MsgConstructor > : ^^^^^^^^^^^^^^^^^ @@ -85,7 +85,7 @@ class DataProvider> { // (won't surface directly unless unsound indexed access assignments are forbidden) function f< >f : ; }, T extends Message>(message: MsgConstructor, messageList: MsgConstructor) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ U extends {TType: MessageList}, >TType : MessageList diff --git a/tests/baselines/reference/collisionExportsRequireAndAmbientModule.types b/tests/baselines/reference/collisionExportsRequireAndAmbientModule.types index 590c553f8767b..7319dce38fc7a 100644 --- a/tests/baselines/reference/collisionExportsRequireAndAmbientModule.types +++ b/tests/baselines/reference/collisionExportsRequireAndAmbientModule.types @@ -14,7 +14,7 @@ export declare module require { } export function foo(): require.I { >foo : () => require.I -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >require : any > : ^^^ @@ -33,7 +33,7 @@ export declare module exports { } export function foo2(): exports.I { >foo2 : () => exports.I -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >exports : any > : ^^^ diff --git a/tests/baselines/reference/collisionExportsRequireAndModule.types b/tests/baselines/reference/collisionExportsRequireAndModule.types index 603776953972f..67595e3042b6f 100644 --- a/tests/baselines/reference/collisionExportsRequireAndModule.types +++ b/tests/baselines/reference/collisionExportsRequireAndModule.types @@ -14,7 +14,7 @@ export module require { } export function foo(): require.I { >foo : () => require.I -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >require : any > : ^^^ @@ -33,7 +33,7 @@ export module exports { } export function foo2(): exports.I { >foo2 : () => exports.I -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >exports : any > : ^^^ diff --git a/tests/baselines/reference/collisionExportsRequireAndUninstantiatedModule.types b/tests/baselines/reference/collisionExportsRequireAndUninstantiatedModule.types index ee7e77ee09a2a..e3622d9177c59 100644 --- a/tests/baselines/reference/collisionExportsRequireAndUninstantiatedModule.types +++ b/tests/baselines/reference/collisionExportsRequireAndUninstantiatedModule.types @@ -7,7 +7,7 @@ export module require { // no error } export function foo(): require.I { >foo : () => require.I -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >require : any > : ^^^ @@ -19,7 +19,7 @@ export module exports { // no error } export function foo2(): exports.I { >foo2 : () => exports.I -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >exports : any > : ^^^ diff --git a/tests/baselines/reference/commentEmitOnParenthesizedAssertionInReturnStatement.types b/tests/baselines/reference/commentEmitOnParenthesizedAssertionInReturnStatement.types index 8838b867f0f7b..48cf2e000c497 100644 --- a/tests/baselines/reference/commentEmitOnParenthesizedAssertionInReturnStatement.types +++ b/tests/baselines/reference/commentEmitOnParenthesizedAssertionInReturnStatement.types @@ -30,7 +30,7 @@ export class Foo { foo(): Promise { >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return ( >( /* TODO: Avoid using type assertions, please refactor. */ this.client .getThing() as unknown as Promise ) : Promise diff --git a/tests/baselines/reference/commentOnAmbientfunction.types b/tests/baselines/reference/commentOnAmbientfunction.types index bb704dfd8589c..1fa3f597f61ad 100644 --- a/tests/baselines/reference/commentOnAmbientfunction.types +++ b/tests/baselines/reference/commentOnAmbientfunction.types @@ -4,7 +4,7 @@ /// declare function foobar(a: typeof foo): typeof bar; >foobar : (a: typeof foo) => typeof bar -> : ^^^^ ^^^^^^^^ ^^^ +> : ^^^^ ^^^^^ >a : () => any > : ^^^^^^^^^ >foo : () => any diff --git a/tests/baselines/reference/commentsTypeParameters.types b/tests/baselines/reference/commentsTypeParameters.types index 1e516ddd78af3..caa4837b5d12c 100644 --- a/tests/baselines/reference/commentsTypeParameters.types +++ b/tests/baselines/reference/commentsTypeParameters.types @@ -7,26 +7,26 @@ class C { method(a: U) { >method : (a: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : U > : ^ } static staticmethod(a: U) { >staticmethod : (a: U) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : U > : ^ } private privatemethod(a: U) { >privatemethod : (a: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : U > : ^ } private static privatestaticmethod(a: U) { >privatestaticmethod : (a: U) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : U > : ^ } @@ -34,7 +34,7 @@ class C { function compare(a: T, b: T) { >compare : (a: T, b: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/commonJSImportClassTypeReference.types b/tests/baselines/reference/commonJSImportClassTypeReference.types index 8cbd28e121fd1..bfe686678aa5f 100644 --- a/tests/baselines/reference/commonJSImportClassTypeReference.types +++ b/tests/baselines/reference/commonJSImportClassTypeReference.types @@ -13,7 +13,7 @@ const { K } = require("./mod1"); /** @param {K} k */ function f(k) { >f : (k: K) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >k : K > : ^ diff --git a/tests/baselines/reference/commonJSImportExportedClassExpression.types b/tests/baselines/reference/commonJSImportExportedClassExpression.types index fb60702b7a202..96c768116dfa0 100644 --- a/tests/baselines/reference/commonJSImportExportedClassExpression.types +++ b/tests/baselines/reference/commonJSImportExportedClassExpression.types @@ -13,7 +13,7 @@ const { K } = require("./mod1"); /** @param {K} k */ function f(k) { >f : (k: K) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >k : K > : ^ diff --git a/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.types b/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.types index 0d2ee4ca361ca..4014ed45dc777 100644 --- a/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.types +++ b/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.types @@ -11,7 +11,7 @@ class C { good(y: U) { >good : (y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : U > : ^ @@ -30,7 +30,7 @@ class C { bad(y: U) { >bad : (y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : U > : ^ diff --git a/tests/baselines/reference/comparableRelationBidirectional.types b/tests/baselines/reference/comparableRelationBidirectional.types index 246e52a0c08ee..8aebcfe067c43 100644 --- a/tests/baselines/reference/comparableRelationBidirectional.types +++ b/tests/baselines/reference/comparableRelationBidirectional.types @@ -60,11 +60,11 @@ interface ExtensionData { export function getMockData(): ExtensionData { >getMockData : () => ExtensionData -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return { >{ settings: { presets: [], automation: { mode: "", }, } as UserSettings, } : { settings: UserSettings; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ settings: { >settings : UserSettings diff --git a/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.types b/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.types index c53011984df92..df8abccc2f617 100644 --- a/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.types +++ b/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.types @@ -5,7 +5,7 @@ function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError.types b/tests/baselines/reference/comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError.types index c93f9e73ffe9d..1c350c29474d3 100644 --- a/tests/baselines/reference/comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError.types +++ b/tests/baselines/reference/comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError.types @@ -12,7 +12,7 @@ type Many = T | readonly T[]; interface Collection { sortBy(...iteratees: Many>[]): Collection; >sortBy : (...iteratees: Many>[]) => Collection -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >iteratees : Many>[] > : ^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.types b/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.types index 93255202d6596..5de52ce33f9e6 100644 --- a/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.types +++ b/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.types @@ -3,7 +3,7 @@ === comparisonOperatorWithIdenticalTypeParameter.ts === function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.types b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.types index 97a6751d6c4de..8e27e6660e353 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.types @@ -32,13 +32,13 @@ class C { var a1: { fn(): Base }; >a1 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var b1: { new (): Base }; >b1 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var a2: { fn(a: number, b: string): void }; >a2 : { fn(a: number, b: string): void; } @@ -60,9 +60,9 @@ var b2: { fn(a: string): void }; var a3: { fn(a: Base, b: string): void }; >a3 : { fn(a: Base, b: string): void; } -> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (a: Base, b: string) => void -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : Base > : ^^^^ >b : string @@ -70,9 +70,9 @@ var a3: { fn(a: Base, b: string): void }; var b3: { fn(a: Derived, b: Base): void }; >b3 : { fn(a: Derived, b: Base): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (a: Derived, b: Base) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ >b : Base @@ -80,61 +80,61 @@ var b3: { fn(a: Derived, b: Base): void }; var a4: { fn(): Base }; >a4 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var b4: { fn(): C }; >b4 : { fn(): C; } -> : ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => C -> : ^^^^^^^ +> : ^^^^^^ var a5: { fn(a?: Base): void }; >a5 : { fn(a?: Base): void; } -> : ^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^ >fn : (a?: Base) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >a : Base > : ^^^^ var b5: { fn(a?: C): void }; >b5 : { fn(a?: C): void; } -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^ >fn : (a?: C) => void -> : ^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >a : C > : ^ var a6: { fn(...a: Base[]): void }; >a6 : { fn(...a: Base[]): void; } -> : ^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^ ^^^ ^^^ >fn : (...a: Base[]) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >a : Base[] > : ^^^^^^ var b6: { fn(...a: C[]): void }; >b6 : { fn(...a: C[]): void; } -> : ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^ ^^^ ^^^ >fn : (...a: C[]) => void -> : ^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >a : C[] > : ^^^ var a7: { fn(t: T): T }; >a7 : { fn(t: T): T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (t: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >t : T > : ^ var b7: { fn(t: T[]): T }; >b7 : { fn(t: T[]): T; } -> : ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (t: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >t : T[] > : ^^^ diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.types b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.types index 084b94eb11a3c..43a454a951f64 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.types @@ -32,17 +32,17 @@ class C { var a1: { fn(): Base }; >a1 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var b1: { new (): Base }; >b1 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var a2: { new (a: number, b: string): Base }; >a2 : new (a: number, b: string) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : number > : ^^^^^^ >b : string @@ -50,13 +50,13 @@ var a2: { new (a: number, b: string): Base }; var b2: { new (a: string): Base }; >b2 : new (a: string) => Base -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ var a3: { new (a: Base, b: string): Base }; >a3 : new (a: Base, b: string) => Base -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : Base > : ^^^^ >b : string @@ -64,7 +64,7 @@ var a3: { new (a: Base, b: string): Base }; var b3: { new (a: Derived, b: Base): Base }; >b3 : new (a: Derived, b: Base) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ >b : Base @@ -72,45 +72,45 @@ var b3: { new (a: Derived, b: Base): Base }; var a4: { new (): Base }; >a4 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var b4: { new (): C }; >b4 : new () => C -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ var a5: { new (a?: Base): Base }; >a5 : new (a?: Base) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >a : Base > : ^^^^ var b5: { new (a?: C): Base }; >b5 : new (a?: C) => Base -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >a : C > : ^ var a6: { new (...a: Base[]): Base }; >a6 : new (...a: Base[]) => Base -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >a : Base[] > : ^^^^^^ var b6: { new (...a: C[]): Base }; >b6 : new (...a: C[]) => Base -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >a : C[] > : ^^^ var a7: { new (t: T): T }; >a7 : new (t: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ var b7: { new (t: T[]): T }; >b7 : new (t: T[]) => T -> : ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >t : T[] > : ^^^ diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.types b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.types index e66ed132023a1..d1af3435a56bf 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.types @@ -32,9 +32,9 @@ class C { var a1: { fn(x: T): T }; >a1 : { fn(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -46,9 +46,9 @@ var b1: { fn(): string }; var a2: { fn(x: T): T }; >a2 : { fn(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -62,9 +62,9 @@ var b2: { fn(x: string): number }; var a3: { fn(x?: T): T }; >a3 : { fn(x?: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^ ^^^ >fn : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ @@ -78,9 +78,9 @@ var b3: { fn(x?: string): number }; var a4: { fn(...x: T[]): T }; >a4 : { fn(...x: T[]): T; } -> : ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^ ^^^ >fn : (...x: T[]) => T -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -94,9 +94,9 @@ var b4: { fn(...x: string[]): number }; var a5: { fn(x: T, y: T): T }; >a5 : { fn(x: T, y: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -114,9 +114,9 @@ var b5: { fn(x: string, y: number): string }; var a6: { fn(x: T, y: U): T }; >a6 : { fn(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -124,9 +124,9 @@ var a6: { fn(x: T, y: U): T }; var b6: { fn(x: Base, y: C): Base }; >b6 : { fn(x: Base, y: C): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: Base, y: C) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base > : ^^^^ >y : C diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.types b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.types index 38a3910670e77..8e52805a71e7e 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.types @@ -32,7 +32,7 @@ class C { var a1: { new (x: T): T }; >a1 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -42,7 +42,7 @@ var b1: { new (): string }; var a2: { new (x: T): T }; >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -54,7 +54,7 @@ var b2: { new (x: string): number }; var a3: { new (x?: T): T }; >a3 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ @@ -66,7 +66,7 @@ var b3: { new (x?: string): number }; var a4: { new (...x: T[]): T }; >a4 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -78,7 +78,7 @@ var b4: { new (...x: string[]): number }; var a5: { new (x: T, y: T): T }; >a5 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -94,7 +94,7 @@ var b5: { new (x: string, y: number): string }; var a6: { new (x: T, y: U): T }; >a6 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -102,7 +102,7 @@ var a6: { new (x: T, y: U): T }; var b6: { new (x: Base, y: C): Base }; >b6 : new (x: Base, y: C) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base > : ^^^^ >y : C diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.types b/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.types index 1615326da1704..24574a12d7c59 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.types +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.types @@ -43,7 +43,7 @@ var g: any[]; function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.types b/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.types index fcea161519624..b60ad5dfefb3f 100644 --- a/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.types +++ b/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.types @@ -16,7 +16,7 @@ enum E { a, b, c } function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.types b/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.types index 4e4fd7d9ae435..13523e82a7664 100644 --- a/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.types +++ b/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.types @@ -13,7 +13,7 @@ enum E { a, b, c } function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.types b/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.types index 37e766e9e208f..effba736475b1 100644 --- a/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.types +++ b/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.types @@ -18,7 +18,7 @@ enum E { a, b, c } function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.types b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.types index e331c5fc55a7e..36ff50bf9839f 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.types @@ -89,25 +89,25 @@ var b4: { fn(): void }; var a5: { fn(a: Base): void }; >a5 : { fn(a: Base): void; } -> : ^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^ ^^^ >fn : (a: Base) => void -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : Base > : ^^^^ var b5: { fn(a: Derived): void }; >b5 : { fn(a: Derived): void; } -> : ^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^ ^^^ >fn : (a: Derived) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : Derived > : ^^^^^^^ var a6: { fn(a: Derived, b: Base): void }; >a6 : { fn(a: Derived, b: Base): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (a: Derived, b: Base) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ >b : Base @@ -115,9 +115,9 @@ var a6: { fn(a: Derived, b: Base): void }; var b6: { fn(a: Base, b: Derived): void }; >b6 : { fn(a: Base, b: Derived): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (a: Base, b: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : Base > : ^^^^ >b : Derived @@ -131,63 +131,63 @@ var a7: { fn(): void }; var b7: { fn(): Base }; >b7 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var a8: { fn(): Base }; >a8 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var b8: { fn(): Base }; >b8 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var a9: { fn(): Base }; >a9 : { fn(): Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ var b9: { fn(): Derived }; >b9 : { fn(): Derived; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >fn : () => Derived -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var a10: { fn(a?: Base): void }; >a10 : { fn(a?: Base): void; } -> : ^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^ >fn : (a?: Base) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >a : Base > : ^^^^ var b10: { fn(a?: Derived): void }; >b10 : { fn(a?: Derived): void; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^ >fn : (a?: Derived) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ var a11: { fn(...a: Base[]): void }; >a11 : { fn(...a: Base[]): void; } -> : ^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^ ^^^ ^^^ >fn : (...a: Base[]) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >a : Base[] > : ^^^^^^ var b11: { fn(...a: Derived[]): void }; >b11 : { fn(...a: Derived[]): void; } -> : ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^ ^^^ ^^^ >fn : (...a: Derived[]) => void -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >a : Derived[] > : ^^^^^^^^^ diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.types b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.types index e3c33808081fb..af0c173887ba8 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.types @@ -23,15 +23,15 @@ class Derived extends Base { var a1: { new (): Base }; >a1 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var b1: { new (): Base }; >b1 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var a2: { new (a: number, b: string): Base }; >a2 : new (a: number, b: string) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : number > : ^^^^^^ >b : string @@ -39,7 +39,7 @@ var a2: { new (a: number, b: string): Base }; var b2: { new (a: number, b: string): Base }; >b2 : new (a: number, b: string) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : number > : ^^^^^^ >b : string @@ -47,7 +47,7 @@ var b2: { new (a: number, b: string): Base }; var a3: { new (a: number, b: string): Base }; >a3 : new (a: number, b: string) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : number > : ^^^^^^ >b : string @@ -55,13 +55,13 @@ var a3: { new (a: number, b: string): Base }; var b3: { new (a: number): Base }; >b3 : new (a: number) => Base -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : number > : ^^^^^^ var a4: { new (a: number, b: string): Base }; >a4 : new (a: number, b: string) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : number > : ^^^^^^ >b : string @@ -69,23 +69,23 @@ var a4: { new (a: number, b: string): Base }; var b4: { new (): Base }; >b4 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var a5: { new (a: Base): Base }; >a5 : new (a: Base) => Base -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : Base > : ^^^^ var b5: { new (a: Derived): Base }; >b5 : new (a: Derived) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ var a6: { new (a: Derived, b: Base): Base }; >a6 : new (a: Derived, b: Base) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ >b : Base @@ -93,7 +93,7 @@ var a6: { new (a: Derived, b: Base): Base }; var b6: { new (a: Base, b: Derived): Base }; >b6 : new (a: Base, b: Derived) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >a : Base > : ^^^^ >b : Derived @@ -101,33 +101,33 @@ var b6: { new (a: Base, b: Derived): Base }; var a7: { new (): Base }; >a7 : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var b7: { new (): Derived }; >b7 : new () => Derived -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ var a8: { new (a?: Base): Base }; >a8 : new (a?: Base) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >a : Base > : ^^^^ var b8: { new (a?: Derived): Base }; >b8 : new (a?: Derived) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >a : Derived > : ^^^^^^^ var a9: { new (...a: Base[]): Base }; >a9 : new (...a: Base[]) => Base -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >a : Base[] > : ^^^^^^ var b9: { new (...a: Derived[]): Base }; >b9 : new (...a: Derived[]) => Base -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >a : Derived[] > : ^^^^^^^^^ diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.types b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.types index f82201ce73052..161a9e3d58809 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.types @@ -23,9 +23,9 @@ class Derived extends Base { var a1: { fn(x: T): T }; >a1 : { fn(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -39,9 +39,9 @@ var b1: { fn(x: string): string }; var a2: { fn(x: T): T }; >a2 : { fn(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -57,9 +57,9 @@ var b2: { fn(x: string, y: number): string }; var a3: { fn(x: T, y: U): T }; >a3 : { fn(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -77,9 +77,9 @@ var b3: { fn(x: string, y: number): string }; var a4: { fn(x?: T): T }; >a4 : { fn(x?: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^ ^^^ >fn : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ @@ -93,9 +93,9 @@ var b4: { fn(x?: string): string }; var a5: { fn(...x: T[]): T }; >a5 : { fn(...x: T[]): T; } -> : ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^ ^^^ >fn : (...x: T[]) => T -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -109,9 +109,9 @@ var b5: { fn(...x: string[]): string }; var a6: { fn(x: T, y: T): T }; >a6 : { fn(x: T, y: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -130,9 +130,9 @@ var b6: { fn(x: string, y: number): {} }; //var a7: { fn(x: T, y: U): T }; var b7: { fn(x: Base, y: Derived): Base }; >b7 : { fn(x: Base, y: Derived): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: Base, y: Derived) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base > : ^^^^ >y : Derived diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.types b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.types index 06842be8f3a77..0ce00ac13f04b 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.types +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.types @@ -23,7 +23,7 @@ class Derived extends Base { var a1: { new (x: T): T }; >a1 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -35,7 +35,7 @@ var b1: { new (x: string): string }; var a2: { new (x: T): T }; >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -49,7 +49,7 @@ var b2: { new (x: string, y: number): string }; var a3: { new (x: T, y: U): T }; >a3 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -65,7 +65,7 @@ var b3: { new (x: string, y: number): string }; var a4: { new (x?: T): T }; >a4 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ @@ -77,7 +77,7 @@ var b4: { new (x?: string): string }; var a5: { new (...x: T[]): T }; >a5 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -89,7 +89,7 @@ var b5: { new (...x: string[]): string }; var a6: { new (x: T, y: T): T }; >a6 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -106,7 +106,7 @@ var b6: { new (x: string, y: number): {} }; //var a7: { new (x: T, y: U): T }; var b7: { new (x: Base, y: Derived): Base }; >b7 : new (x: Base, y: Derived) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base > : ^^^^ >y : Derived diff --git a/tests/baselines/reference/comparisonOperatorWithTypeParameter.types b/tests/baselines/reference/comparisonOperatorWithTypeParameter.types index 59697454a975f..b0366ba07d25f 100644 --- a/tests/baselines/reference/comparisonOperatorWithTypeParameter.types +++ b/tests/baselines/reference/comparisonOperatorWithTypeParameter.types @@ -11,7 +11,7 @@ var b: Object; function foo(t: T, u: U, v: V) { >foo : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/complexClassRelationships.types b/tests/baselines/reference/complexClassRelationships.types index 3af93281c23eb..1a93db5302a54 100644 --- a/tests/baselines/reference/complexClassRelationships.types +++ b/tests/baselines/reference/complexClassRelationships.types @@ -10,7 +10,7 @@ class Derived extends Base { public static createEmpty(): Derived { >createEmpty : () => Derived -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var item = new Derived(); >item : Derived @@ -31,11 +31,11 @@ class BaseCollection { constructor(f: () => T) { >f : () => T -> : ^^^^^^^ +> : ^^^^^^ (item: Thing) => { return [item.Components]; }; >(item: Thing) => { return [item.Components]; } : (item: Thing) => ComponentCollection[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >item : Thing > : ^^^^^ >[item.Components] : ComponentCollection[] @@ -72,7 +72,7 @@ class ComponentCollection { private static sortComponents(p: Foo) { >sortComponents : (p: Foo) => GenericType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >p : Foo > : ^^^ diff --git a/tests/baselines/reference/complexRecursiveCollections.types b/tests/baselines/reference/complexRecursiveCollections.types index 5657b427c81b5..1f40108f63cf9 100644 --- a/tests/baselines/reference/complexRecursiveCollections.types +++ b/tests/baselines/reference/complexRecursiveCollections.types @@ -15,9 +15,9 @@ interface Ara { t: T } interface Collection { map(mapper: (value: V, key: K, iter: this) => M): Collection; >map : (mapper: (value: V, key: K, iter: this) => M) => Collection -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -27,9 +27,9 @@ interface Collection { flatMap(mapper: (value: V, key: K, iter: this) => Ara, context?: any): Collection; >flatMap : (mapper: (value: V, key: K, iter: this) => Ara, context?: any) => Collection -> : ^^^^^^^^^^^^ ^ ^ ^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Ara -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -42,9 +42,9 @@ interface Collection { // these seem necessary to push it over the top for memory usage reduce(reducer: (reduction: R, value: V, key: K, iter: this) => R, initialReduction: R, context?: any): R; >reduce : { (reducer: (reduction: R, value: V, key: K, iter: this) => R, initialReduction: R, context?: any): R; (reducer: (reduction: V | R_1, value: V, key: K, iter: this) => R_1): R_1; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >reducer : (reduction: R, value: V, key: K, iter: this) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >reduction : R > : ^ >value : V @@ -60,9 +60,9 @@ interface Collection { reduce(reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R; >reduce : { (reducer: (reduction: R_1, value: V, key: K, iter: this) => R_1, initialReduction: R_1, context?: any): R_1; (reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >reducer : (reduction: V | R, value: V, key: K, iter: this) => R -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >reduction : V | R > : ^^^^^ >value : V @@ -74,16 +74,16 @@ interface Collection { toSeq(): Seq; >toSeq : () => Seq -> : ^^^^^^^^^ ^ ^ +> : ^^^^^^ } interface Seq extends Collection { } interface N1 extends Collection { map(mapper: (value: T, key: void, iter: this) => M): N1; >map : (mapper: (value: T, key: void, iter: this) => M) => N1 -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: void, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : void @@ -93,9 +93,9 @@ interface N1 extends Collection { flatMap(mapper: (value: T, key: void, iter: this) => Ara, context?: any): N1; >flatMap : (mapper: (value: T, key: void, iter: this) => Ara, context?: any) => N1 -> : ^^^^^^^^^^^^ ^ ^^^ ^ ^^^^^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: void, iter: this) => Ara -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : void @@ -108,9 +108,9 @@ interface N1 extends Collection { interface N2 extends N1 { map(mapper: (value: T, key: void, iter: this) => M): N2; >map : (mapper: (value: T, key: void, iter: this) => M) => N2 -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: void, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : void @@ -120,9 +120,9 @@ interface N2 extends N1 { flatMap(mapper: (value: T, key: void, iter: this) => Ara, context?: any): N2; >flatMap : (mapper: (value: T, key: void, iter: this) => Ara, context?: any) => N2 -> : ^^^^^^^^^^^^ ^ ^^^ ^ ^^^^^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: void, iter: this) => Ara -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : void @@ -134,7 +134,7 @@ interface N2 extends N1 { toSeq(): N2; >toSeq : () => N2 -> : ^^^^^^^^ ^ +> : ^^^^^^ } === immutable.ts === // Test that complex recursive collections can pass the `extends` assignability check without @@ -146,11 +146,11 @@ declare module Immutable { export function fromJS(jsValue: any, reviver?: (key: string | number, sequence: Collection.Keyed | Collection.Indexed, path?: Array) => any): any; >fromJS : (jsValue: any, reviver?: (key: string | number, sequence: Collection.Keyed | Collection.Indexed, path?: Array) => any) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >jsValue : any > : ^^^ >reviver : (key: string | number, sequence: Collection.Keyed | Collection.Indexed, path?: Array) => any -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : string | number > : ^^^^^^^^^^^^^^^ >sequence : Collection.Keyed | Collection.Indexed @@ -249,7 +249,7 @@ declare module Immutable { function of(...values: Array): List; >of : (...values: Array) => List -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ } @@ -274,7 +274,7 @@ declare module Immutable { // Persistent changes set(index: number, value: T): List; >set : (index: number, value: T) => List -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ >value : T @@ -282,19 +282,19 @@ declare module Immutable { delete(index: number): List; >delete : (index: number) => List -> : ^^^^^^^^ ^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ remove(index: number): List; >remove : (index: number) => List -> : ^^^^^^^^ ^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ insert(index: number, value: T): List; >insert : (index: number, value: T) => List -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ >value : T @@ -302,61 +302,61 @@ declare module Immutable { clear(): List; >clear : () => List -> : ^^^^^^^^^^ ^ +> : ^^^^^^ push(...values: Array): List; >push : (...values: Array) => List -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ pop(): List; >pop : () => List -> : ^^^^^^^^^^ ^ +> : ^^^^^^ unshift(...values: Array): List; >unshift : (...values: Array) => List -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ shift(): List; >shift : () => List -> : ^^^^^^^^^^ ^ +> : ^^^^^^ update(index: number, notSetValue: T, updater: (value: T) => T): this; >update : { (index: number, notSetValue: T, updater: (value: T) => T): this; (index: number, updater: (value: T) => T): this; (updater: (value: this) => R): R; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >index : number > : ^^^^^^ >notSetValue : T > : ^ >updater : (value: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ update(index: number, updater: (value: T) => T): this; >update : { (index: number, notSetValue: T, updater: (value: T) => T): this; (index: number, updater: (value: T) => T): this; (updater: (value: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >index : number > : ^^^^^^ >updater : (value: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ update(updater: (value: this) => R): R; >update : { (index: number, notSetValue: T, updater: (value: T) => T): this; (index: number, updater: (value: T) => T): this; (updater: (value: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >updater : (value: this) => R -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : this > : ^^^^ merge(...collections: Array | Array>): this; >merge : (...collections: Array | Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection.Indexed | T[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Collection : any @@ -364,9 +364,9 @@ declare module Immutable { mergeWith(merger: (oldVal: T, newVal: T, key: number) => T, ...collections: Array | Array>): this; >mergeWith : (merger: (oldVal: T, newVal: T, key: number) => T, ...collections: Array | Array>) => this -> : ^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >merger : (oldVal: T, newVal: T, key: number) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ >oldVal : T > : ^ >newVal : T @@ -380,7 +380,7 @@ declare module Immutable { mergeDeep(...collections: Array | Array>): this; >mergeDeep : (...collections: Array | Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection.Indexed | T[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Collection : any @@ -388,9 +388,9 @@ declare module Immutable { mergeDeepWith(merger: (oldVal: T, newVal: T, key: number) => T, ...collections: Array | Array>): this; >mergeDeepWith : (merger: (oldVal: T, newVal: T, key: number) => T, ...collections: Array | Array>) => this -> : ^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >merger : (oldVal: T, newVal: T, key: number) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ >oldVal : T > : ^ >newVal : T @@ -404,14 +404,14 @@ declare module Immutable { setSize(size: number): List; >setSize : (size: number) => List -> : ^^^^^^^ ^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >size : number > : ^^^^^^ // Deep persistent changes setIn(keyPath: Iterable, value: any): this; >setIn : (keyPath: Iterable, value: any) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >value : any @@ -419,19 +419,19 @@ declare module Immutable { deleteIn(keyPath: Iterable): this; >deleteIn : (keyPath: Iterable) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ removeIn(keyPath: Iterable): this; >removeIn : (keyPath: Iterable) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ updateIn(keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; >updateIn : { (keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; (keyPath: Iterable, updater: (value: any) => any): this; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >notSetValue : any @@ -443,7 +443,7 @@ declare module Immutable { updateIn(keyPath: Iterable, updater: (value: any) => any): this; >updateIn : { (keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; (keyPath: Iterable, updater: (value: any) => any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >updater : (value: any) => any @@ -453,7 +453,7 @@ declare module Immutable { mergeIn(keyPath: Iterable, ...collections: Array): this; >mergeIn : (keyPath: Iterable, ...collections: Array) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >collections : any[] @@ -461,7 +461,7 @@ declare module Immutable { mergeDeepIn(keyPath: Iterable, ...collections: Array): this; >mergeDeepIn : (keyPath: Iterable, ...collections: Array) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >collections : any[] @@ -487,15 +487,15 @@ declare module Immutable { // Sequence algorithms concat(...valuesOrCollections: Array | C>): List; >concat : (...valuesOrCollections: Array | C>) => List -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ map(mapper: (value: T, key: number, iter: this) => M, context?: any): List; >map : (mapper: (value: T, key: number, iter: this) => M, context?: any) => List -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -507,9 +507,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: number, iter: this) => Iterable, context?: any): List; >flatMap : (mapper: (value: T, key: number, iter: this) => Iterable, context?: any) => List -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -521,9 +521,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => value is F, context?: any): List; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): List; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, index: number, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >index : number @@ -535,9 +535,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): List; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, index: number, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -559,7 +559,7 @@ declare module Immutable { function of(...keyValues: Array): Map; >of : (...keyValues: Array) => Map -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >keyValues : any[] > : ^^^^^ } @@ -598,7 +598,7 @@ declare module Immutable { // Persistent changes set(key: K, value: V): this; >set : (key: K, value: V) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : V @@ -606,25 +606,25 @@ declare module Immutable { delete(key: K): this; >delete : (key: K) => this -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ remove(key: K): this; >remove : (key: K) => this -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ deleteAll(keys: Iterable): this; >deleteAll : (keys: Iterable) => this -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >keys : Iterable > : ^^^^^^^^^^^ removeAll(keys: Iterable): this; >removeAll : (keys: Iterable) => this -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >keys : Iterable > : ^^^^^^^^^^^ @@ -634,37 +634,37 @@ declare module Immutable { update(key: K, notSetValue: V, updater: (value: V) => V): this; >update : { (key: K, notSetValue: V, updater: (value: V) => V): this; (key: K, updater: (value: V) => V): this; (updater: (value: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : K > : ^ >notSetValue : V > : ^ >updater : (value: V) => V -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ update(key: K, updater: (value: V) => V): this; >update : { (key: K, notSetValue: V, updater: (value: V) => V): this; (key: K, updater: (value: V) => V): this; (updater: (value: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : K > : ^ >updater : (value: V) => V -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ update(updater: (value: this) => R): R; >update : { (key: K, notSetValue: V, updater: (value: V) => V): this; (key: K, updater: (value: V) => V): this; (updater: (value: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >updater : (value: this) => R -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : this > : ^^^^ merge(...collections: Array | {[key: string]: V}>): this; >merge : (...collections: Array | { [key: string]: V; }>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection | { [key: string]: V; })[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -672,9 +672,9 @@ declare module Immutable { mergeWith(merger: (oldVal: V, newVal: V, key: K) => V, ...collections: Array | {[key: string]: V}>): this; >mergeWith : (merger: (oldVal: V, newVal: V, key: K) => V, ...collections: Array | { [key: string]: V; }>) => this -> : ^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >merger : (oldVal: V, newVal: V, key: K) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ >oldVal : V > : ^ >newVal : V @@ -688,7 +688,7 @@ declare module Immutable { mergeDeep(...collections: Array | {[key: string]: V}>): this; >mergeDeep : (...collections: Array | { [key: string]: V; }>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection | { [key: string]: V; })[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -696,9 +696,9 @@ declare module Immutable { mergeDeepWith(merger: (oldVal: V, newVal: V, key: K) => V, ...collections: Array | {[key: string]: V}>): this; >mergeDeepWith : (merger: (oldVal: V, newVal: V, key: K) => V, ...collections: Array | { [key: string]: V; }>) => this -> : ^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >merger : (oldVal: V, newVal: V, key: K) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ >oldVal : V > : ^ >newVal : V @@ -713,7 +713,7 @@ declare module Immutable { // Deep persistent changes setIn(keyPath: Iterable, value: any): this; >setIn : (keyPath: Iterable, value: any) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >value : any @@ -721,19 +721,19 @@ declare module Immutable { deleteIn(keyPath: Iterable): this; >deleteIn : (keyPath: Iterable) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ removeIn(keyPath: Iterable): this; >removeIn : (keyPath: Iterable) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ updateIn(keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; >updateIn : { (keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; (keyPath: Iterable, updater: (value: any) => any): this; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >notSetValue : any @@ -745,7 +745,7 @@ declare module Immutable { updateIn(keyPath: Iterable, updater: (value: any) => any): this; >updateIn : { (keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; (keyPath: Iterable, updater: (value: any) => any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >updater : (value: any) => any @@ -755,7 +755,7 @@ declare module Immutable { mergeIn(keyPath: Iterable, ...collections: Array): this; >mergeIn : (keyPath: Iterable, ...collections: Array) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >collections : any[] @@ -763,7 +763,7 @@ declare module Immutable { mergeDeepIn(keyPath: Iterable, ...collections: Array): this; >mergeDeepIn : (keyPath: Iterable, ...collections: Array) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >collections : any[] @@ -789,13 +789,13 @@ declare module Immutable { // Sequence algorithms concat(...collections: Array>): Map; >concat : { (...collections: Array>): Map; (...collections: { [key: string]: C; }[]): Map; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^ ^^^^^^ ^ ^^ ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collections : Iterable<[KC, VC]>[] > : ^^^^^^^^^^^^^^^^^^^^ concat(...collections: Array<{[key: string]: C}>): Map; >concat : { (...collections: Iterable<[KC, VC]>[]): Map; (...collections: Array<{ [key: string]: C; }>): Map; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >collections : { [key: string]: C; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -803,9 +803,9 @@ declare module Immutable { map(mapper: (value: V, key: K, iter: this) => M, context?: any): Map; >map : (mapper: (value: V, key: K, iter: this) => M, context?: any) => Map -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -817,9 +817,9 @@ declare module Immutable { mapKeys(mapper: (key: K, value: V, iter: this) => M, context?: any): Map; >mapKeys : (mapper: (key: K, value: V, iter: this) => M, context?: any) => Map -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (key: K, value: V, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >key : K > : ^ >value : V @@ -831,9 +831,9 @@ declare module Immutable { mapEntries(mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any): Map; >mapEntries : (mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any) => Map -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (entry: [K, V], index: number, iter: this) => [KM, VM] -> : ^^^^^^^^ ^ ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^ ^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >entry : [K, V] > : ^^^^^^ >index : number @@ -845,9 +845,9 @@ declare module Immutable { flatMap(mapper: (value: V, key: K, iter: this) => Iterable, context?: any): Map; >flatMap : (mapper: (value: V, key: K, iter: this) => Iterable, context?: any) => Map -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -859,9 +859,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Map; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Map; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: V, key: K, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : V > : ^ >key : K @@ -873,9 +873,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Map; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -927,13 +927,13 @@ declare module Immutable { // Sequence algorithms concat(...collections: Array>): OrderedMap; >concat : { (...collections: Array>): OrderedMap; (...collections: { [key: string]: C; }[]): OrderedMap; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^ ^ ^^ ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collections : Iterable<[KC, VC]>[] > : ^^^^^^^^^^^^^^^^^^^^ concat(...collections: Array<{[key: string]: C}>): OrderedMap; >concat : { (...collections: Iterable<[KC, VC]>[]): OrderedMap; (...collections: Array<{ [key: string]: C; }>): OrderedMap; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >collections : { [key: string]: C; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -941,9 +941,9 @@ declare module Immutable { map(mapper: (value: V, key: K, iter: this) => M, context?: any): OrderedMap; >map : (mapper: (value: V, key: K, iter: this) => M, context?: any) => OrderedMap -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -955,9 +955,9 @@ declare module Immutable { mapKeys(mapper: (key: K, value: V, iter: this) => M, context?: any): OrderedMap; >mapKeys : (mapper: (key: K, value: V, iter: this) => M, context?: any) => OrderedMap -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (key: K, value: V, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >key : K > : ^ >value : V @@ -969,9 +969,9 @@ declare module Immutable { mapEntries(mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any): OrderedMap; >mapEntries : (mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any) => OrderedMap -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^ ^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (entry: [K, V], index: number, iter: this) => [KM, VM] -> : ^^^^^^^^ ^ ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^ ^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >entry : [K, V] > : ^^^^^^ >index : number @@ -983,9 +983,9 @@ declare module Immutable { flatMap(mapper: (value: V, key: K, iter: this) => Iterable, context?: any): OrderedMap; >flatMap : (mapper: (value: V, key: K, iter: this) => Iterable, context?: any) => OrderedMap -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -997,9 +997,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => value is F, context?: any): OrderedMap; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): OrderedMap; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: V, key: K, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : V > : ^ >key : K @@ -1011,9 +1011,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): OrderedMap; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -1035,19 +1035,19 @@ declare module Immutable { function of(...values: Array): Set; >of : (...values: Array) => Set -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ function fromKeys(iter: Collection): Set; >fromKeys : { (iter: Collection): Set; (obj: { [key: string]: any; }): Set; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iter : Collection > : ^^^^^^^^^^^^^^^^^^ function fromKeys(obj: {[key: string]: any}): Set; >fromKeys : { (iter: Collection): Set; (obj: { [key: string]: any; }): Set; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >obj : { [key: string]: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -1055,13 +1055,13 @@ declare module Immutable { function intersect(sets: Iterable>): Set; >intersect : (sets: Iterable>) => Set -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >sets : Iterable> > : ^^^^^^^^^^^^^^^^^^^^^ function union(sets: Iterable>): Set; >union : (sets: Iterable>) => Set -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >sets : Iterable> > : ^^^^^^^^^^^^^^^^^^^^^ } @@ -1086,19 +1086,19 @@ declare module Immutable { // Persistent changes add(value: T): this; >add : (value: T) => this -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ delete(value: T): this; >delete : (value: T) => this -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ remove(value: T): this; >remove : (value: T) => this -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -1108,25 +1108,25 @@ declare module Immutable { union(...collections: Array | Array>): this; >union : (...collections: Array | Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection | T[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ merge(...collections: Array | Array>): this; >merge : (...collections: Array | Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection | T[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ intersect(...collections: Array | Array>): this; >intersect : (...collections: Array | Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection | T[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ subtract(...collections: Array | Array>): this; >subtract : (...collections: Array | Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Collection | T[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1150,15 +1150,15 @@ declare module Immutable { // Sequence algorithms concat(...valuesOrCollections: Array | C>): Set; >concat : (...valuesOrCollections: Array | C>) => Set -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ map(mapper: (value: T, key: never, iter: this) => M, context?: any): Set; >map : (mapper: (value: T, key: never, iter: this) => M, context?: any) => Set -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -1170,9 +1170,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: never, iter: this) => Iterable, context?: any): Set; >flatMap : (mapper: (value: T, key: never, iter: this) => Iterable, context?: any) => Set -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -1184,9 +1184,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => value is F, context?: any): Set; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): Set; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, key: never, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >key : never @@ -1198,9 +1198,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): Set; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, key: never, iter: this) => any -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -1222,19 +1222,19 @@ declare module Immutable { function of(...values: Array): OrderedSet; >of : (...values: Array) => OrderedSet -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ function fromKeys(iter: Collection): OrderedSet; >fromKeys : { (iter: Collection): OrderedSet; (obj: { [key: string]: any; }): OrderedSet; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iter : Collection > : ^^^^^^^^^^^^^^^^^^ function fromKeys(obj: {[key: string]: any}): OrderedSet; >fromKeys : { (iter: Collection): OrderedSet; (obj: { [key: string]: any; }): OrderedSet; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >obj : { [key: string]: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -1258,15 +1258,15 @@ declare module Immutable { // Sequence algorithms concat(...valuesOrCollections: Array | C>): OrderedSet; >concat : (...valuesOrCollections: Array | C>) => OrderedSet -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ map(mapper: (value: T, key: never, iter: this) => M, context?: any): OrderedSet; >map : (mapper: (value: T, key: never, iter: this) => M, context?: any) => OrderedSet -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -1278,9 +1278,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: never, iter: this) => Iterable, context?: any): OrderedSet; >flatMap : (mapper: (value: T, key: never, iter: this) => Iterable, context?: any) => OrderedSet -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -1292,9 +1292,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => value is F, context?: any): OrderedSet; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): OrderedSet; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, key: never, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >key : never @@ -1306,9 +1306,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): OrderedSet; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, key: never, iter: this) => any -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -1320,15 +1320,15 @@ declare module Immutable { zip(...collections: Array>): OrderedSet; >zip : (...collections: Array>) => OrderedSet -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : Collection[] > : ^^^^^^^^^^^^^^^^^^^^^^ zipWith(zipper: (value: T, otherValue: U) => Z, otherCollection: Collection): OrderedSet; >zipWith : { (zipper: (value: T, otherValue: U) => Z, otherCollection: Collection): OrderedSet; (zipper: (value: T, otherValue: U_1, thirdValue: V) => Z_1, otherCollection: Collection, thirdCollection: Collection): OrderedSet; (zipper: (...any: any[]) => Z_2, ...collections: Collection[]): OrderedSet; } -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >zipper : (value: T, otherValue: U) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >otherValue : U @@ -1338,9 +1338,9 @@ declare module Immutable { zipWith(zipper: (value: T, otherValue: U, thirdValue: V) => Z, otherCollection: Collection, thirdCollection: Collection): OrderedSet; >zipWith : { (zipper: (value: T, otherValue: U_1) => Z_1, otherCollection: Collection): OrderedSet; (zipper: (value: T, otherValue: U, thirdValue: V) => Z, otherCollection: Collection, thirdCollection: Collection): OrderedSet; (zipper: (...any: any[]) => Z_2, ...collections: Collection[]): OrderedSet; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >zipper : (value: T, otherValue: U, thirdValue: V) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >otherValue : U @@ -1354,9 +1354,9 @@ declare module Immutable { zipWith(zipper: (...any: Array) => Z, ...collections: Array>): OrderedSet; >zipWith : { (zipper: (value: T, otherValue: U) => Z_1, otherCollection: Collection): OrderedSet; (zipper: (value: T, otherValue: U_1, thirdValue: V) => Z_2, otherCollection: Collection, thirdCollection: Collection): OrderedSet; (zipper: (...any: Array) => Z, ...collections: Array>): OrderedSet; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >zipper : (...any: Array) => Z -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >any : any[] > : ^^^^^ >collections : Collection[] @@ -1374,7 +1374,7 @@ declare module Immutable { function of(...values: Array): Stack; >of : (...values: Array) => Stack -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ } @@ -1399,44 +1399,44 @@ declare module Immutable { // Reading values peek(): T | undefined; >peek : () => T | undefined -> : ^^^^^^^ +> : ^^^^^^ // Persistent changes clear(): Stack; >clear : () => Stack -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ unshift(...values: Array): Stack; >unshift : (...values: Array) => Stack -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ unshiftAll(iter: Iterable): Stack; >unshiftAll : (iter: Iterable) => Stack -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >iter : Iterable > : ^^^^^^^^^^^ shift(): Stack; >shift : () => Stack -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ push(...values: Array): Stack; >push : (...values: Array) => Stack -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ pushAll(iter: Iterable): Stack; >pushAll : (iter: Iterable) => Stack -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >iter : Iterable > : ^^^^^^^^^^^ pop(): Stack; >pop : () => Stack -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ // Transient changes withMutations(mutator: (mutable: this) => any): this; @@ -1458,15 +1458,15 @@ declare module Immutable { // Sequence algorithms concat(...valuesOrCollections: Array | C>): Stack; >concat : (...valuesOrCollections: Array | C>) => Stack -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ map(mapper: (value: T, key: number, iter: this) => M, context?: any): Stack; >map : (mapper: (value: T, key: number, iter: this) => M, context?: any) => Stack -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -1478,9 +1478,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: number, iter: this) => Iterable, context?: any): Stack; >flatMap : (mapper: (value: T, key: number, iter: this) => Iterable, context?: any) => Stack -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -1492,9 +1492,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => value is F, context?: any): Set; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): Set; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, index: number, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >index : number @@ -1506,9 +1506,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): Set; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, index: number, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -1520,7 +1520,7 @@ declare module Immutable { } export function Range(start?: number, end?: number, step?: number): Seq.Indexed; >Range : (start?: number, end?: number, step?: number) => Seq.Indexed -> : ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >end : number @@ -1532,7 +1532,7 @@ declare module Immutable { export function Repeat(value: T, times?: number): Seq.Indexed; >Repeat : (value: T, times?: number) => Seq.Indexed -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >value : T > : ^ >times : number @@ -1554,7 +1554,7 @@ declare module Immutable { export function getDescriptiveName(record: Instance): string; >getDescriptiveName : (record: Instance) => string -> : ^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >record : Instance > : ^^^^^^^^^^^^^ @@ -1581,20 +1581,20 @@ declare module Immutable { get(key: K): T[K]; >get : (key: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : K > : ^ // Reading deep values hasIn(keyPath: Iterable): boolean; >hasIn : (keyPath: Iterable) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ getIn(keyPath: Iterable): any; >getIn : (keyPath: Iterable) => any -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ @@ -1612,7 +1612,7 @@ declare module Immutable { // Persistent changes set(key: K, value: T[K]): this; >set : (key: K, value: T[K]) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : T[K] @@ -1620,31 +1620,31 @@ declare module Immutable { update(key: K, updater: (value: T[K]) => T[K]): this; >update : (key: K, updater: (value: T[K]) => T[K]) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >key : K > : ^ >updater : (value: T[K]) => T[K] -> : ^^^^^^^^^ ^ ^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T[K] > : ^^^^ merge(...collections: Array | Iterable<[string, any]>>): this; >merge : (...collections: Array | Iterable<[string, any]>>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Iterable<[string, any]> | Partial)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mergeDeep(...collections: Array | Iterable<[string, any]>>): this; >mergeDeep : (...collections: Array | Iterable<[string, any]>>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : (Iterable<[string, any]> | Partial)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mergeWith(merger: (oldVal: any, newVal: any, key: keyof T) => any, ...collections: Array | Iterable<[string, any]>>): this; >mergeWith : (merger: (oldVal: any, newVal: any, key: keyof T) => any, ...collections: Array | Iterable<[string, any]>>) => this -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >merger : (oldVal: any, newVal: any, key: keyof T) => any -> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ >oldVal : any > : ^^^ >newVal : any @@ -1656,7 +1656,7 @@ declare module Immutable { mergeDeepWith(merger: (oldVal: any, newVal: any, key: any) => any, ...collections: Array | Iterable<[string, any]>>): this; >mergeDeepWith : (merger: (oldVal: any, newVal: any, key: any) => any, ...collections: Array | Iterable<[string, any]>>) => this -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >merger : (oldVal: any, newVal: any, key: any) => any > : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ >oldVal : any @@ -1670,13 +1670,13 @@ declare module Immutable { delete(key: K): this; >delete : (key: K) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : K > : ^ remove(key: K): this; >remove : (key: K) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : K > : ^ @@ -1687,7 +1687,7 @@ declare module Immutable { // Deep persistent changes setIn(keyPath: Iterable, value: any): this; >setIn : (keyPath: Iterable, value: any) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >value : any @@ -1695,7 +1695,7 @@ declare module Immutable { updateIn(keyPath: Iterable, updater: (value: any) => any): this; >updateIn : (keyPath: Iterable, updater: (value: any) => any) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >updater : (value: any) => any @@ -1705,7 +1705,7 @@ declare module Immutable { mergeIn(keyPath: Iterable, ...collections: Array): this; >mergeIn : (keyPath: Iterable, ...collections: Array) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >collections : any[] @@ -1713,7 +1713,7 @@ declare module Immutable { mergeDeepIn(keyPath: Iterable, ...collections: Array): this; >mergeDeepIn : (keyPath: Iterable, ...collections: Array) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ >collections : any[] @@ -1721,28 +1721,28 @@ declare module Immutable { deleteIn(keyPath: Iterable): this; >deleteIn : (keyPath: Iterable) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ removeIn(keyPath: Iterable): this; >removeIn : (keyPath: Iterable) => this -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keyPath : Iterable > : ^^^^^^^^^^^^^ // Conversion to JavaScript types toJS(): { [K in keyof T]: any }; >toJS : () => { [K in keyof T]: any; } -> : ^^^^^^ ^ ^ +> : ^^^^^^ toJSON(): T; >toJSON : () => T -> : ^^^^^^^ +> : ^^^^^^ toObject(): T; >toObject : () => T -> : ^^^^^^^ +> : ^^^^^^ // Transient changes withMutations(mutator: (mutable: this) => any): this; @@ -1764,13 +1764,13 @@ declare module Immutable { // Sequence algorithms toSeq(): Seq.Keyed; >toSeq : () => Seq.Keyed -> : ^^^^^^^^^ ^ ^ ^ +> : ^^^^^^ >Seq : any > : ^^^ [Symbol.iterator](): IterableIterator<[keyof T, T[keyof T]]>; >[Symbol.iterator] : () => IterableIterator<[keyof T, T[keyof T]]> -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -1805,7 +1805,7 @@ declare module Immutable { function of(...values: Array): Seq.Indexed; >of : (...values: Array) => Seq.Indexed -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ >Seq : any @@ -1814,7 +1814,7 @@ declare module Immutable { export module Keyed {} export function Keyed(collection: Iterable<[K, V]>): Seq.Keyed; >Keyed : { (collection: Iterable<[K, V]>): Seq.Keyed; (obj: { [key: string]: V_1; }): Keyed; (): Keyed; (): Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collection : Iterable<[K, V]> > : ^^^^^^^^^^^^^^^^ >Seq : any @@ -1822,7 +1822,7 @@ declare module Immutable { export function Keyed(obj: {[key: string]: V}): Seq.Keyed; >Keyed : { (collection: Iterable<[K, V_1]>): Keyed; (obj: { [key: string]: V; }): Seq.Keyed; (): Keyed; (): Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { [key: string]: V; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -1832,13 +1832,13 @@ declare module Immutable { export function Keyed(): Seq.Keyed; >Keyed : { (collection: Iterable<[K_1, V_1]>): Keyed; (obj: { [key: string]: V_2; }): Keyed; (): Seq.Keyed; (): Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >Seq : any > : ^^^ export function Keyed(): Seq.Keyed; >Keyed : { (collection: Iterable<[K, V]>): Keyed; (obj: { [key: string]: V_1; }): Keyed; (): Keyed; (): Seq.Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >Seq : any > : ^^^ @@ -1848,11 +1848,11 @@ declare module Immutable { toJS(): Object; >toJS : () => Object -> : ^^^^^^^^^^^^ +> : ^^^^^^ toJSON(): { [key: string]: V }; >toJSON : () => { [key: string]: V; } -> : ^^^^^^ ^ +> : ^^^^^^ >key : string > : ^^^^^^ @@ -1862,7 +1862,7 @@ declare module Immutable { concat(...collections: Array>): Seq.Keyed; >concat : { (...collections: Array>): Seq.Keyed; (...collections: { [key: string]: C; }[]): Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^ ^^^^^^ ^^^^^ ^ ^^ ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collections : Iterable<[KC, VC]>[] > : ^^^^^^^^^^^^^^^^^^^^ >Seq : any @@ -1870,7 +1870,7 @@ declare module Immutable { concat(...collections: Array<{[key: string]: C}>): Seq.Keyed; >concat : { (...collections: Iterable<[KC, VC]>[]): Keyed; (...collections: Array<{ [key: string]: C; }>): Seq.Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^ ^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >collections : { [key: string]: C; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -1880,9 +1880,9 @@ declare module Immutable { map(mapper: (value: V, key: K, iter: this) => M, context?: any): Seq.Keyed; >map : (mapper: (value: V, key: K, iter: this) => M, context?: any) => Seq.Keyed -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -1896,9 +1896,9 @@ declare module Immutable { mapKeys(mapper: (key: K, value: V, iter: this) => M, context?: any): Seq.Keyed; >mapKeys : (mapper: (key: K, value: V, iter: this) => M, context?: any) => Seq.Keyed -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (key: K, value: V, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >key : K > : ^ >value : V @@ -1912,9 +1912,9 @@ declare module Immutable { mapEntries(mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any): Seq.Keyed; >mapEntries : (mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any) => Seq.Keyed -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^ ^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (entry: [K, V], index: number, iter: this) => [KM, VM] -> : ^^^^^^^^ ^ ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^ ^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >entry : [K, V] > : ^^^^^^ >index : number @@ -1928,9 +1928,9 @@ declare module Immutable { flatMap(mapper: (value: V, key: K, iter: this) => Iterable, context?: any): Seq.Keyed; >flatMap : (mapper: (value: V, key: K, iter: this) => Iterable, context?: any) => Seq.Keyed -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -1944,9 +1944,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Seq.Keyed; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Seq.Keyed; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: V, key: K, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : V > : ^ >key : K @@ -1960,9 +1960,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Keyed; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -1978,7 +1978,7 @@ declare module Immutable { function of(...values: Array): Seq.Indexed; >of : (...values: Array) => Seq.Indexed -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ >Seq : any @@ -2010,11 +2010,11 @@ declare module Immutable { toJS(): Array; >toJS : () => Array -> : ^^^^^^^^^^^ +> : ^^^^^^ toJSON(): Array; >toJSON : () => Array -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ toSeq(): this; >toSeq : () => this @@ -2022,7 +2022,7 @@ declare module Immutable { concat(...valuesOrCollections: Array | C>): Seq.Indexed; >concat : (...valuesOrCollections: Array | C>) => Seq.Indexed -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^ ^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ >Seq : any @@ -2030,9 +2030,9 @@ declare module Immutable { map(mapper: (value: T, key: number, iter: this) => M, context?: any): Seq.Indexed; >map : (mapper: (value: T, key: number, iter: this) => M, context?: any) => Seq.Indexed -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -2046,9 +2046,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: number, iter: this) => Iterable, context?: any): Seq.Indexed; >flatMap : (mapper: (value: T, key: number, iter: this) => Iterable, context?: any) => Seq.Indexed -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -2062,9 +2062,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => value is F, context?: any): Seq.Indexed; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): Seq.Indexed; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, index: number, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >index : number @@ -2078,9 +2078,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): Indexed; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, index: number, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2096,7 +2096,7 @@ declare module Immutable { function of(...values: Array): Seq.Set; >of : (...values: Array) => Seq.Set -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ >Seq : any @@ -2128,11 +2128,11 @@ declare module Immutable { toJS(): Array; >toJS : () => Array -> : ^^^^^^^^^^^ +> : ^^^^^^ toJSON(): Array; >toJSON : () => Array -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ toSeq(): this; >toSeq : () => this @@ -2140,7 +2140,7 @@ declare module Immutable { concat(...valuesOrCollections: Array | C>): Seq.Set; >concat : (...valuesOrCollections: Array | C>) => Seq.Set -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^ ^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ >Seq : any @@ -2148,9 +2148,9 @@ declare module Immutable { map(mapper: (value: T, key: never, iter: this) => M, context?: any): Seq.Set; >map : (mapper: (value: T, key: never, iter: this) => M, context?: any) => Seq.Set -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -2164,9 +2164,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: never, iter: this) => Iterable, context?: any): Seq.Set; >flatMap : (mapper: (value: T, key: never, iter: this) => Iterable, context?: any) => Seq.Set -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -2180,9 +2180,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => value is F, context?: any): Seq.Set; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): Seq.Set; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, key: never, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >key : never @@ -2196,9 +2196,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): Set; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, key: never, iter: this) => any -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -2280,9 +2280,9 @@ declare module Immutable { // Sequence algorithms map(mapper: (value: V, key: K, iter: this) => M, context?: any): Seq; >map : (mapper: (value: V, key: K, iter: this) => M, context?: any) => Seq -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -2294,9 +2294,9 @@ declare module Immutable { flatMap(mapper: (value: V, key: K, iter: this) => Iterable, context?: any): Seq; >flatMap : (mapper: (value: V, key: K, iter: this) => Iterable, context?: any) => Seq -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -2308,9 +2308,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Seq; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Seq; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: V, key: K, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : V > : ^ >key : K @@ -2322,9 +2322,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Seq; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -2373,7 +2373,7 @@ declare module Immutable { export module Keyed {} export function Keyed(collection: Iterable<[K, V]>): Collection.Keyed; >Keyed : { (collection: Iterable<[K, V]>): Collection.Keyed; (obj: { [key: string]: V_1; }): Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collection : Iterable<[K, V]> > : ^^^^^^^^^^^^^^^^ >Collection : any @@ -2381,7 +2381,7 @@ declare module Immutable { export function Keyed(obj: {[key: string]: V}): Collection.Keyed; >Keyed : { (collection: Iterable<[K, V_1]>): Keyed; (obj: { [key: string]: V; }): Collection.Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^ >obj : { [key: string]: V; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -2392,17 +2392,17 @@ declare module Immutable { export interface Keyed extends Collection { toJS(): Object; >toJS : () => Object -> : ^^^^^^^^^^^^ +> : ^^^^^^ toJSON(): { [key: string]: V }; >toJSON : () => { [key: string]: V; } -> : ^^^^^^ ^ +> : ^^^^^^ >key : string > : ^^^^^^ toSeq(): Seq.Keyed; >toSeq : () => Seq.Keyed -> : ^^^^^^^^^ ^^^^^ ^ ^ +> : ^^^^^^ >Seq : any > : ^^^ @@ -2413,7 +2413,7 @@ declare module Immutable { concat(...collections: Array>): Collection.Keyed; >concat : { (...collections: Array>): Collection.Keyed; (...collections: { [key: string]: C; }[]): Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^ ^^^^^ ^ ^^ ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collections : Iterable<[KC, VC]>[] > : ^^^^^^^^^^^^^^^^^^^^ >Collection : any @@ -2421,7 +2421,7 @@ declare module Immutable { concat(...collections: Array<{[key: string]: C}>): Collection.Keyed; >concat : { (...collections: Iterable<[KC, VC]>[]): Keyed; (...collections: Array<{ [key: string]: C; }>): Collection.Keyed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^ ^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >collections : { [key: string]: C; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -2431,9 +2431,9 @@ declare module Immutable { map(mapper: (value: V, key: K, iter: this) => M, context?: any): Collection.Keyed; >map : (mapper: (value: V, key: K, iter: this) => M, context?: any) => Collection.Keyed -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -2447,9 +2447,9 @@ declare module Immutable { mapKeys(mapper: (key: K, value: V, iter: this) => M, context?: any): Collection.Keyed; >mapKeys : (mapper: (key: K, value: V, iter: this) => M, context?: any) => Collection.Keyed -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (key: K, value: V, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >key : K > : ^ >value : V @@ -2463,9 +2463,9 @@ declare module Immutable { mapEntries(mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any): Collection.Keyed; >mapEntries : (mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], context?: any) => Collection.Keyed -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^ ^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (entry: [K, V], index: number, iter: this) => [KM, VM] -> : ^^^^^^^^ ^ ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^ ^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >entry : [K, V] > : ^^^^^^ >index : number @@ -2479,9 +2479,9 @@ declare module Immutable { flatMap(mapper: (value: V, key: K, iter: this) => Iterable, context?: any): Collection.Keyed; >flatMap : (mapper: (value: V, key: K, iter: this) => Iterable, context?: any) => Collection.Keyed -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -2495,9 +2495,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Collection.Keyed; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Collection.Keyed; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: V, key: K, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : V > : ^ >key : K @@ -2511,9 +2511,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Keyed; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -2525,7 +2525,7 @@ declare module Immutable { [Symbol.iterator](): IterableIterator<[K, V]>; >[Symbol.iterator] : () => IterableIterator<[K, V]> -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -2536,7 +2536,7 @@ declare module Immutable { export module Indexed {} export function Indexed(collection: Iterable): Collection.Indexed; >Indexed : (collection: Iterable) => Collection.Indexed -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ >collection : Iterable > : ^^^^^^^^^^^ >Collection : any @@ -2545,16 +2545,16 @@ declare module Immutable { export interface Indexed extends Collection { toJS(): Array; >toJS : () => Array -> : ^^^^^^^^^^^ +> : ^^^^^^ toJSON(): Array; >toJSON : () => Array -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ // Reading values get(index: number, notSetValue: NSV): T | NSV; >get : { (index: number, notSetValue: NSV): T | NSV; (index: number): T; } -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >index : number > : ^^^^^^ >notSetValue : NSV @@ -2562,39 +2562,39 @@ declare module Immutable { get(index: number): T | undefined; >get : { (index: number, notSetValue: NSV): T | NSV; (index: number): T | undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >index : number > : ^^^^^^ // Conversion to Seq toSeq(): Seq.Indexed; >toSeq : () => Seq.Indexed -> : ^^^^^^^^^ ^^^^^^^ ^ +> : ^^^^^^ >Seq : any > : ^^^ fromEntrySeq(): Seq.Keyed; >fromEntrySeq : () => Seq.Keyed -> : ^^^^^^^^^ ^^^^^ +> : ^^^^^^ >Seq : any > : ^^^ // Combination interpose(separator: T): this; >interpose : (separator: T) => this -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >separator : T > : ^ interleave(...collections: Array>): this; >interleave : (...collections: Array>) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : Collection[] > : ^^^^^^^^^^^^^^^^^^^^ splice(index: number, removeNum: number, ...values: Array): this; >splice : (index: number, removeNum: number, ...values: Array) => this -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ >removeNum : number @@ -2604,7 +2604,7 @@ declare module Immutable { zip(...collections: Array>): Collection.Indexed; >zip : (...collections: Array>) => Collection.Indexed -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >collections : Collection[] > : ^^^^^^^^^^^^^^^^^^^^^^ >Collection : any @@ -2612,9 +2612,9 @@ declare module Immutable { zipWith(zipper: (value: T, otherValue: U) => Z, otherCollection: Collection): Collection.Indexed; >zipWith : { (zipper: (value: T, otherValue: U) => Z, otherCollection: Collection): Collection.Indexed; (zipper: (value: T, otherValue: U_1, thirdValue: V) => Z_1, otherCollection: Collection, thirdCollection: Collection): Indexed; (zipper: (...any: any[]) => Z_2, ...collections: Collection[]): Indexed; } -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >zipper : (value: T, otherValue: U) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >otherValue : U @@ -2626,9 +2626,9 @@ declare module Immutable { zipWith(zipper: (value: T, otherValue: U, thirdValue: V) => Z, otherCollection: Collection, thirdCollection: Collection): Collection.Indexed; >zipWith : { (zipper: (value: T, otherValue: U_1) => Z_1, otherCollection: Collection): Indexed; (zipper: (value: T, otherValue: U, thirdValue: V) => Z, otherCollection: Collection, thirdCollection: Collection): Collection.Indexed; (zipper: (...any: any[]) => Z_2, ...collections: Collection[]): Indexed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >zipper : (value: T, otherValue: U, thirdValue: V) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >otherValue : U @@ -2644,9 +2644,9 @@ declare module Immutable { zipWith(zipper: (...any: Array) => Z, ...collections: Array>): Collection.Indexed; >zipWith : { (zipper: (value: T, otherValue: U) => Z_1, otherCollection: Collection): Indexed; (zipper: (value: T, otherValue: U_1, thirdValue: V) => Z_2, otherCollection: Collection, thirdCollection: Collection): Indexed; (zipper: (...any: Array) => Z, ...collections: Array>): Collection.Indexed; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >zipper : (...any: Array) => Z -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >any : any[] > : ^^^^^ >collections : Collection[] @@ -2657,21 +2657,21 @@ declare module Immutable { // Search for value indexOf(searchValue: T): number; >indexOf : (searchValue: T) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >searchValue : T > : ^ lastIndexOf(searchValue: T): number; >lastIndexOf : (searchValue: T) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >searchValue : T > : ^ findIndex(predicate: (value: T, index: number, iter: this) => boolean, context?: any): number; >findIndex : (predicate: (value: T, index: number, iter: this) => boolean, context?: any) => number -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: T, index: number, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2683,9 +2683,9 @@ declare module Immutable { findLastIndex(predicate: (value: T, index: number, iter: this) => boolean, context?: any): number; >findLastIndex : (predicate: (value: T, index: number, iter: this) => boolean, context?: any) => number -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: T, index: number, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2698,7 +2698,7 @@ declare module Immutable { // Sequence algorithms concat(...valuesOrCollections: Array | C>): Collection.Indexed; >concat : (...valuesOrCollections: Array | C>) => Collection.Indexed -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ >Collection : any @@ -2706,9 +2706,9 @@ declare module Immutable { map(mapper: (value: T, key: number, iter: this) => M, context?: any): Collection.Indexed; >map : (mapper: (value: T, key: number, iter: this) => M, context?: any) => Collection.Indexed -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -2722,9 +2722,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: number, iter: this) => Iterable, context?: any): Collection.Indexed; >flatMap : (mapper: (value: T, key: number, iter: this) => Iterable, context?: any) => Collection.Indexed -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: number, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : number @@ -2738,9 +2738,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => value is F, context?: any): Collection.Indexed; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): Collection.Indexed; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, index: number, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >index : number @@ -2754,9 +2754,9 @@ declare module Immutable { filter(predicate: (value: T, index: number, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, index: number, iter: this) => value is F, context?: any): Indexed; (predicate: (value: T, index: number, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, index: number, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -2768,7 +2768,7 @@ declare module Immutable { [Symbol.iterator](): IterableIterator; >[Symbol.iterator] : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -2779,7 +2779,7 @@ declare module Immutable { export module Set {} export function Set(collection: Iterable): Collection.Set; >Set : (collection: Iterable) => Collection.Set -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ >collection : Iterable > : ^^^^^^^^^^^ >Collection : any @@ -2788,22 +2788,22 @@ declare module Immutable { export interface Set extends Collection { toJS(): Array; >toJS : () => Array -> : ^^^^^^^^^^^ +> : ^^^^^^ toJSON(): Array; >toJSON : () => Array -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ toSeq(): Seq.Set; >toSeq : () => Seq.Set -> : ^^^^^^^^^ ^^^ ^ +> : ^^^^^^ >Seq : any > : ^^^ // Sequence algorithms concat(...valuesOrCollections: Array | C>): Collection.Set; >concat : (...valuesOrCollections: Array | C>) => Collection.Set -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : (C | Iterable)[] > : ^^^^^^^^^^^^^^^^^^^ >Collection : any @@ -2811,9 +2811,9 @@ declare module Immutable { map(mapper: (value: T, key: never, iter: this) => M, context?: any): Collection.Set; >map : (mapper: (value: T, key: never, iter: this) => M, context?: any) => Collection.Set -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => M -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -2827,9 +2827,9 @@ declare module Immutable { flatMap(mapper: (value: T, key: never, iter: this) => Iterable, context?: any): Collection.Set; >flatMap : (mapper: (value: T, key: never, iter: this) => Iterable, context?: any) => Collection.Set -> : ^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: T, key: never, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -2843,9 +2843,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => value is F, context?: any): Collection.Set; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): Collection.Set; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: T, key: never, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ >key : never @@ -2859,9 +2859,9 @@ declare module Immutable { filter(predicate: (value: T, key: never, iter: this) => any, context?: any): this; >filter : { (predicate: (value: T, key: never, iter: this) => value is F, context?: any): Set; (predicate: (value: T, key: never, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: T, key: never, iter: this) => any -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >key : never @@ -2873,7 +2873,7 @@ declare module Immutable { [Symbol.iterator](): IterableIterator; >[Symbol.iterator] : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -2921,7 +2921,7 @@ declare module Immutable { // Reading values get(key: K, notSetValue: NSV): V | NSV; >get : { (key: K, notSetValue: NSV): V | NSV; (key: K): V; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ >key : K > : ^ >notSetValue : NSV @@ -2929,40 +2929,40 @@ declare module Immutable { get(key: K): V | undefined; >get : { (key: K, notSetValue: NSV): V | NSV; (key: K): V | undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >key : K > : ^ has(key: K): boolean; >has : (key: K) => boolean -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ includes(value: V): boolean; >includes : (value: V) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ contains(value: V): boolean; >contains : (value: V) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ first(): V | undefined; >first : () => V | undefined -> : ^^^^^^^ +> : ^^^^^^ last(): V | undefined; >last : () => V | undefined -> : ^^^^^^^ +> : ^^^^^^ // Reading deep values getIn(searchKeyPath: Iterable, notSetValue?: any): any; >getIn : (searchKeyPath: Iterable, notSetValue?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >searchKeyPath : Iterable > : ^^^^^^^^^^^^^ >notSetValue : any @@ -2970,66 +2970,66 @@ declare module Immutable { hasIn(searchKeyPath: Iterable): boolean; >hasIn : (searchKeyPath: Iterable) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^ >searchKeyPath : Iterable > : ^^^^^^^^^^^^^ // Persistent changes update(updater: (value: this) => R): R; >update : (updater: (value: this) => R) => R -> : ^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >updater : (value: this) => R -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : this > : ^^^^ // Conversion to JavaScript types toJS(): Array | { [key: string]: any }; >toJS : () => Array | { [key: string]: any; } -> : ^^^^^^^^^^^ +> : ^^^^^^ >key : string > : ^^^^^^ toJSON(): Array | { [key: string]: V }; >toJSON : () => Array | { [key: string]: V; } -> : ^^^^^^^^^^^ ^ ^ +> : ^^^^^^ >key : string > : ^^^^^^ toArray(): Array; >toArray : () => Array -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ toObject(): { [key: string]: V }; >toObject : () => { [key: string]: V; } -> : ^^^^^^ ^ +> : ^^^^^^ >key : string > : ^^^^^^ // Conversion to Collections toMap(): Map; >toMap : () => Map -> : ^^^^^^^^^ ^ ^ +> : ^^^^^^ toOrderedMap(): OrderedMap; >toOrderedMap : () => OrderedMap -> : ^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ toSet(): Set; >toSet : () => Set -> : ^^^^^^^^^ ^ +> : ^^^^^^ toOrderedSet(): OrderedSet; >toOrderedSet : () => OrderedSet -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ toList(): List; >toList : () => List -> : ^^^^^^^^^^ ^ +> : ^^^^^^ toStack(): Stack; >toStack : () => Stack -> : ^^^^^^^^^^^ ^ +> : ^^^^^^ // Conversion to Seq toSeq(): this; @@ -3038,60 +3038,60 @@ declare module Immutable { toKeyedSeq(): Seq.Keyed; >toKeyedSeq : () => Seq.Keyed -> : ^^^^^^^^^ ^ ^ +> : ^^^^^^ >Seq : any > : ^^^ toIndexedSeq(): Seq.Indexed; >toIndexedSeq : () => Seq.Indexed -> : ^^^^^^^^^ ^ +> : ^^^^^^ >Seq : any > : ^^^ toSetSeq(): Seq.Set; >toSetSeq : () => Seq.Set -> : ^^^^^^^^^ ^^^ ^ +> : ^^^^^^ >Seq : any > : ^^^ // Iterators keys(): IterableIterator; >keys : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ values(): IterableIterator; >values : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ entries(): IterableIterator<[K, V]>; >entries : () => IterableIterator<[K, V]> -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ // Collections (Seq) keySeq(): Seq.Indexed; >keySeq : () => Seq.Indexed -> : ^^^^^^^^^ ^ +> : ^^^^^^ >Seq : any > : ^^^ valueSeq(): Seq.Indexed; >valueSeq : () => Seq.Indexed -> : ^^^^^^^^^ ^ +> : ^^^^^^ >Seq : any > : ^^^ entrySeq(): Seq.Indexed<[K, V]>; >entrySeq : () => Seq.Indexed<[K, V]> -> : ^^^^^^^^^ ^ ^ +> : ^^^^^^ >Seq : any > : ^^^ // Sequence algorithms map(mapper: (value: V, key: K, iter: this) => M, context?: any): Collection; >map : (mapper: (value: V, key: K, iter: this) => M, context?: any) => Collection -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3103,9 +3103,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Collection; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Collection; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (value: V, key: K, iter: this) => value is F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : V > : ^ >key : K @@ -3117,9 +3117,9 @@ declare module Immutable { filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; >filter : { (predicate: (value: V, key: K, iter: this) => value is F, context?: any): Collection; (predicate: (value: V, key: K, iter: this) => any, context?: any): this; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3131,9 +3131,9 @@ declare module Immutable { filterNot(predicate: (value: V, key: K, iter: this) => boolean, context?: any): this; >filterNot : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => this -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3149,9 +3149,9 @@ declare module Immutable { sort(comparator?: (valueA: V, valueB: V) => number): this; >sort : (comparator?: (valueA: V, valueB: V) => number) => this -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >comparator : (valueA: V, valueB: V) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >valueA : V > : ^ >valueB : V @@ -3159,9 +3159,9 @@ declare module Immutable { sortBy(comparatorValueMapper: (value: V, key: K, iter: this) => C, comparator?: (valueA: C, valueB: C) => number): this; >sortBy : (comparatorValueMapper: (value: V, key: K, iter: this) => C, comparator?: (valueA: C, valueB: C) => number) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >comparatorValueMapper : (value: V, key: K, iter: this) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3169,7 +3169,7 @@ declare module Immutable { >iter : this > : ^^^^ >comparator : (valueA: C, valueB: C) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >valueA : C > : ^ >valueB : C @@ -3177,9 +3177,9 @@ declare module Immutable { groupBy(grouper: (value: V, key: K, iter: this) => G, context?: any): /*Map*/Seq.Keyed>; >groupBy : (grouper: (value: V, key: K, iter: this) => G, context?: any) => Seq.Keyed> -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >grouper : (value: V, key: K, iter: this) => G -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3194,9 +3194,9 @@ declare module Immutable { // Side effects forEach(sideEffect: (value: V, key: K, iter: this) => any, context?: any): number; >forEach : (sideEffect: (value: V, key: K, iter: this) => any, context?: any) => number -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >sideEffect : (value: V, key: K, iter: this) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3237,9 +3237,9 @@ declare module Immutable { skipWhile(predicate: (value: V, key: K, iter: this) => boolean, context?: any): this; >skipWhile : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => this -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3251,9 +3251,9 @@ declare module Immutable { skipUntil(predicate: (value: V, key: K, iter: this) => boolean, context?: any): this; >skipUntil : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => this -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3277,9 +3277,9 @@ declare module Immutable { takeWhile(predicate: (value: V, key: K, iter: this) => boolean, context?: any): this; >takeWhile : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => this -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3291,9 +3291,9 @@ declare module Immutable { takeUntil(predicate: (value: V, key: K, iter: this) => boolean, context?: any): this; >takeUntil : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => this -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3306,27 +3306,27 @@ declare module Immutable { // Combination concat(...valuesOrCollections: Array): Collection; >concat : (...valuesOrCollections: Array) => Collection -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >valuesOrCollections : any[] > : ^^^^^ flatten(depth?: number): Collection; >flatten : { (depth?: number): Collection; (shallow?: boolean): Collection; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >depth : number > : ^^^^^^ flatten(shallow?: boolean): Collection; >flatten : { (depth?: number): Collection; (shallow?: boolean): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >shallow : boolean > : ^^^^^^^ flatMap(mapper: (value: V, key: K, iter: this) => Iterable, context?: any): Collection; >flatMap : (mapper: (value: V, key: K, iter: this) => Iterable, context?: any) => Collection -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >mapper : (value: V, key: K, iter: this) => Iterable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3339,9 +3339,9 @@ declare module Immutable { // Reducing a value reduce(reducer: (reduction: R, value: V, key: K, iter: this) => R, initialReduction: R, context?: any): R; >reduce : { (reducer: (reduction: R, value: V, key: K, iter: this) => R, initialReduction: R, context?: any): R; (reducer: (reduction: V | R_1, value: V, key: K, iter: this) => R_1): R_1; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >reducer : (reduction: R, value: V, key: K, iter: this) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >reduction : R > : ^ >value : V @@ -3357,9 +3357,9 @@ declare module Immutable { reduce(reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R; >reduce : { (reducer: (reduction: R_1, value: V, key: K, iter: this) => R_1, initialReduction: R_1, context?: any): R_1; (reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >reducer : (reduction: V | R, value: V, key: K, iter: this) => R -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >reduction : V | R > : ^^^^^ >value : V @@ -3371,9 +3371,9 @@ declare module Immutable { reduceRight(reducer: (reduction: R, value: V, key: K, iter: this) => R, initialReduction: R, context?: any): R; >reduceRight : { (reducer: (reduction: R, value: V, key: K, iter: this) => R, initialReduction: R, context?: any): R; (reducer: (reduction: V | R_1, value: V, key: K, iter: this) => R_1): R_1; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >reducer : (reduction: R, value: V, key: K, iter: this) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >reduction : R > : ^ >value : V @@ -3389,9 +3389,9 @@ declare module Immutable { reduceRight(reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R; >reduceRight : { (reducer: (reduction: R_1, value: V, key: K, iter: this) => R_1, initialReduction: R_1, context?: any): R_1; (reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >reducer : (reduction: V | R, value: V, key: K, iter: this) => R -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >reduction : V | R > : ^^^^^ >value : V @@ -3403,9 +3403,9 @@ declare module Immutable { every(predicate: (value: V, key: K, iter: this) => boolean, context?: any): boolean; >every : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => boolean -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3417,9 +3417,9 @@ declare module Immutable { some(predicate: (value: V, key: K, iter: this) => boolean, context?: any): boolean; >some : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => boolean -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3445,9 +3445,9 @@ declare module Immutable { count(predicate: (value: V, key: K, iter: this) => boolean, context?: any): number; >count : { (): number; (predicate: (value: V, key: K, iter: this) => boolean, context?: any): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3459,9 +3459,9 @@ declare module Immutable { countBy(grouper: (value: V, key: K, iter: this) => G, context?: any): Map; >countBy : (grouper: (value: V, key: K, iter: this) => G, context?: any) => Map -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >grouper : (value: V, key: K, iter: this) => G -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3474,9 +3474,9 @@ declare module Immutable { // Search for value find(predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V): V | undefined; >find : (predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V) => V | undefined -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3490,9 +3490,9 @@ declare module Immutable { findLast(predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V): V | undefined; >findLast : (predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V) => V | undefined -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3506,9 +3506,9 @@ declare module Immutable { findEntry(predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V): [K, V] | undefined; >findEntry : (predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V) => [K, V] | undefined -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3522,9 +3522,9 @@ declare module Immutable { findLastEntry(predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V): [K, V] | undefined; >findLastEntry : (predicate: (value: V, key: K, iter: this) => boolean, context?: any, notSetValue?: V) => [K, V] | undefined -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3538,9 +3538,9 @@ declare module Immutable { findKey(predicate: (value: V, key: K, iter: this) => boolean, context?: any): K | undefined; >findKey : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => K | undefined -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3552,9 +3552,9 @@ declare module Immutable { findLastKey(predicate: (value: V, key: K, iter: this) => boolean, context?: any): K | undefined; >findLastKey : (predicate: (value: V, key: K, iter: this) => boolean, context?: any) => K | undefined -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >predicate : (value: V, key: K, iter: this) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3566,21 +3566,21 @@ declare module Immutable { keyOf(searchValue: V): K | undefined; >keyOf : (searchValue: V) => K | undefined -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >searchValue : V > : ^ lastKeyOf(searchValue: V): K | undefined; >lastKeyOf : (searchValue: V) => K | undefined -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >searchValue : V > : ^ max(comparator?: (valueA: V, valueB: V) => number): V | undefined; >max : (comparator?: (valueA: V, valueB: V) => number) => V | undefined -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >comparator : (valueA: V, valueB: V) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >valueA : V > : ^ >valueB : V @@ -3588,9 +3588,9 @@ declare module Immutable { maxBy(comparatorValueMapper: (value: V, key: K, iter: this) => C, comparator?: (valueA: C, valueB: C) => number): V | undefined; >maxBy : (comparatorValueMapper: (value: V, key: K, iter: this) => C, comparator?: (valueA: C, valueB: C) => number) => V | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >comparatorValueMapper : (value: V, key: K, iter: this) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3598,7 +3598,7 @@ declare module Immutable { >iter : this > : ^^^^ >comparator : (valueA: C, valueB: C) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >valueA : C > : ^ >valueB : C @@ -3606,9 +3606,9 @@ declare module Immutable { min(comparator?: (valueA: V, valueB: V) => number): V | undefined; >min : (comparator?: (valueA: V, valueB: V) => number) => V | undefined -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >comparator : (valueA: V, valueB: V) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >valueA : V > : ^ >valueB : V @@ -3616,9 +3616,9 @@ declare module Immutable { minBy(comparatorValueMapper: (value: V, key: K, iter: this) => C, comparator?: (valueA: C, valueB: C) => number): V | undefined; >minBy : (comparatorValueMapper: (value: V, key: K, iter: this) => C, comparator?: (valueA: C, valueB: C) => number) => V | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >comparatorValueMapper : (value: V, key: K, iter: this) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >value : V > : ^ >key : K @@ -3626,7 +3626,7 @@ declare module Immutable { >iter : this > : ^^^^ >comparator : (valueA: C, valueB: C) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >valueA : C > : ^ >valueB : C @@ -3635,13 +3635,13 @@ declare module Immutable { // Comparison isSubset(iter: Iterable): boolean; >isSubset : (iter: Iterable) => boolean -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >iter : Iterable > : ^^^^^^^^^^^ isSuperset(iter: Iterable): boolean; >isSuperset : (iter: Iterable) => boolean -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >iter : Iterable > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.types b/tests/baselines/reference/complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.types index 2d22ae9a758ff..da8479d8b8383 100644 --- a/tests/baselines/reference/complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.types +++ b/tests/baselines/reference/complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.types @@ -71,7 +71,7 @@ export type NewChannel = Pick & export function makeNewChannel(type: T): NewChannel> { >makeNewChannel : (type: T) => NewChannel> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >type : T > : ^ diff --git a/tests/baselines/reference/complicatedIndexesOfIntersectionsAreInferencable.types b/tests/baselines/reference/complicatedIndexesOfIntersectionsAreInferencable.types index 01c89bbb0608c..db59a13dfcd22 100644 --- a/tests/baselines/reference/complicatedIndexesOfIntersectionsAreInferencable.types +++ b/tests/baselines/reference/complicatedIndexesOfIntersectionsAreInferencable.types @@ -8,7 +8,7 @@ interface FormikConfig { validate?: (props: Values) => void; >validate : ((props: Values) => void) | undefined -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >props : Values > : ^^^^^^ @@ -19,7 +19,7 @@ interface FormikConfig { declare function Func( >Func : (x: (string extends "validate" | "initialValues" | keyof ExtraProps ? Readonly & ExtraProps> : Pick & ExtraProps>, "validate" | "initialValues" | Exclude> & Partial & ExtraProps>, "validateOnChange" | Extract>>)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ x: (string extends "validate" | "initialValues" | keyof ExtraProps >x : string extends "validate" | "initialValues" | keyof ExtraProps ? Readonly & ExtraProps> : Pick & ExtraProps>, "validate" | "initialValues" | Exclude> & Partial & ExtraProps>, "validateOnChange" | Extract>> diff --git a/tests/baselines/reference/complicatedPrivacy.types b/tests/baselines/reference/complicatedPrivacy.types index 810e69a444f68..f747e8f80d9e2 100644 --- a/tests/baselines/reference/complicatedPrivacy.types +++ b/tests/baselines/reference/complicatedPrivacy.types @@ -12,13 +12,13 @@ module m1 { export function f1(c1: C1) { >f1 : (c1: C1) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >c1 : C1 > : ^^ } export function f2(c2: C2) { >f2 : (c2: C2) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >c2 : C2 > : ^^ } @@ -62,9 +62,9 @@ module m1 { export function f2(arg1: { x?: C1, y: number }) { >f2 : (arg1: { x?: C1; y: number; }) => void -> : ^^^^^^^ ^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >arg1 : { x?: C1; y: number; } -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^ ^^^ >x : C1 > : ^^ >y : number @@ -73,7 +73,7 @@ module m1 { export function f3(): { >f3 : () => { (a: number): C1; } -> : ^^^^^^ ^^ +> : ^^^^^^ (a: number) : C1; >a : number @@ -85,7 +85,7 @@ module m1 { export function f4(arg1: >f4 : (arg1: { [number]: C1; }) => void -> : ^^^^^^^ ^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >arg1 : {} > : ^^ { @@ -101,9 +101,9 @@ module m1 { export function f5(arg2: { >f5 : (arg2: { new (arg1: C1): C1; }) => void -> : ^^^^^^^ ^^ ^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >arg2 : new (arg1: C1) => C1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ new (arg1: C1) : C1 >arg1 : C1 @@ -117,7 +117,7 @@ module m1 { function f2(f1: C1) { >f2 : (f1: C1) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >f1 : C1 > : ^^ } diff --git a/tests/baselines/reference/compositeContextualSignature.types b/tests/baselines/reference/compositeContextualSignature.types index fb8aa1f83b0f4..cb5554158456b 100644 --- a/tests/baselines/reference/compositeContextualSignature.types +++ b/tests/baselines/reference/compositeContextualSignature.types @@ -5,7 +5,7 @@ function f(v: ReadonlyArray) { } >f : (v: ReadonlyArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >v : readonly T[] > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/compositeGenericFunction.types b/tests/baselines/reference/compositeGenericFunction.types index 98cd66c17e6ae..c3b36c42e9197 100644 --- a/tests/baselines/reference/compositeGenericFunction.types +++ b/tests/baselines/reference/compositeGenericFunction.types @@ -3,7 +3,7 @@ === compositeGenericFunction.ts === function f(value: T) { return value; }; >f : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^ >value : T > : ^ >value : T @@ -11,9 +11,9 @@ function f(value: T) { return value; }; function h(func: (x: number) => R): R { return null; } >h : (func: (x: number) => R) => R -> : ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >func : (x: number) => R -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ diff --git a/tests/baselines/reference/computedPropertyNames48_ES5.types b/tests/baselines/reference/computedPropertyNames48_ES5.types index 587ae6c0b142b..4267bc6e709ab 100644 --- a/tests/baselines/reference/computedPropertyNames48_ES5.types +++ b/tests/baselines/reference/computedPropertyNames48_ES5.types @@ -3,7 +3,7 @@ === computedPropertyNames48_ES5.ts === declare function extractIndexer(p: { [n: number]: T }): T; >extractIndexer : (p: { [n: number]: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : { [n: number]: T; } > : ^^^^^^^^^^^^^^^^^^^ >n : number diff --git a/tests/baselines/reference/computedPropertyNames48_ES6.types b/tests/baselines/reference/computedPropertyNames48_ES6.types index 0e2104ee3fd27..8ba4159fc2bed 100644 --- a/tests/baselines/reference/computedPropertyNames48_ES6.types +++ b/tests/baselines/reference/computedPropertyNames48_ES6.types @@ -3,7 +3,7 @@ === computedPropertyNames48_ES6.ts === declare function extractIndexer(p: { [n: number]: T }): T; >extractIndexer : (p: { [n: number]: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : { [n: number]: T; } > : ^^^^^^^^^^^^^^^^^^^ >n : number diff --git a/tests/baselines/reference/computedPropertyNames9_ES5.types b/tests/baselines/reference/computedPropertyNames9_ES5.types index 163558a2f3054..71b2286631a0c 100644 --- a/tests/baselines/reference/computedPropertyNames9_ES5.types +++ b/tests/baselines/reference/computedPropertyNames9_ES5.types @@ -15,7 +15,7 @@ function f(n: number): number; function f(x: T): T; >f : { (s: string): string; (n: number): number; (x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ diff --git a/tests/baselines/reference/computedPropertyNames9_ES6.types b/tests/baselines/reference/computedPropertyNames9_ES6.types index 372eb74a2c398..9eb0d04c850d1 100644 --- a/tests/baselines/reference/computedPropertyNames9_ES6.types +++ b/tests/baselines/reference/computedPropertyNames9_ES6.types @@ -15,7 +15,7 @@ function f(n: number): number; function f(x: T): T; >f : { (s: string): string; (n: number): number; (x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ diff --git a/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.types b/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.types index d32282dfc3b19..b17b56bcb64ca 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.types +++ b/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.types @@ -9,7 +9,7 @@ interface I { declare function foo(obj: I): T >foo : (obj: I) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : I > : ^^^^ diff --git a/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.types b/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.types index d8a1c983f7375..6478ac10ef21f 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.types +++ b/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.types @@ -9,7 +9,7 @@ interface I { declare function foo(obj: I): T >foo : (obj: I) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : I > : ^^^^ diff --git a/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.types b/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.types index 9e89cf439fbc2..7bacbb61e21a0 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.types +++ b/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.types @@ -14,13 +14,13 @@ interface J { declare function foo(obj: I): T; >foo : (obj: I) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : I > : ^^^^ declare function g(obj: J): T; >g : (obj: J) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : J > : ^^^^ diff --git a/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.types b/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.types index d518a711581a3..42dbddafa28d3 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.types +++ b/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.types @@ -14,13 +14,13 @@ interface J { declare function foo(obj: I): T; >foo : (obj: I) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : I > : ^^^^ declare function g(obj: J): T; >g : (obj: J) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : J > : ^^^^ diff --git a/tests/baselines/reference/conditionalEqualityTestingNullability.types b/tests/baselines/reference/conditionalEqualityTestingNullability.types index d363861d71919..49e1ab729f675 100644 --- a/tests/baselines/reference/conditionalEqualityTestingNullability.types +++ b/tests/baselines/reference/conditionalEqualityTestingNullability.types @@ -12,7 +12,7 @@ export type Equals = interface Foo { x : () => T >x : () => T -> : ^^^^^^^ +> : ^^^^^^ } declare const a: Foo; diff --git a/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.types b/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.types index 68e91733dcbe8..a5bf908fd2545 100644 --- a/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.types +++ b/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.types @@ -147,7 +147,7 @@ var resultIsX1: X = true ? x : a; var result4: (t: A) => any = true ? (m) => m.propertyX : (n) => n.propertyA; >result4 : (t: A) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : A > : ^ >true ? (m) => m.propertyX : (n) => n.propertyA : (m: A) => any @@ -282,7 +282,7 @@ var resultIsX2: X = true ? x : a; var result8: (t: A) => any = true ? (m) => m.propertyA : (n) => n.propertyX; >result8 : (t: A) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : A > : ^ >true ? (m) => m.propertyA : (n) => n.propertyX : (n: A) => any @@ -325,7 +325,7 @@ var resultIsX3: X = true ? a : b; var result10: (t: X) => any = true ? (m) => m.propertyX1 : (n) => n.propertyX2; >result10 : (t: X) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : X > : ^ >true ? (m) => m.propertyX1 : (n) => n.propertyX2 : ((m: X) => number) | ((n: X) => string) diff --git a/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.types b/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.types index e9d43f627f039..8d2bd91baa776 100644 --- a/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.types +++ b/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.types @@ -102,7 +102,7 @@ var result31: A | B = true ? a : b; var result4: (t: X) => number = true ? (m) => m.propertyX1 : (n) => n.propertyX2; >result4 : (t: X) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : X > : ^ >true ? (m) => m.propertyX1 : (n) => n.propertyX2 : ((m: X) => number) | ((n: X) => string) @@ -132,7 +132,7 @@ var result4: (t: X) => number = true ? (m) => m.propertyX1 : (n) => n.propertyX2 var result5: (t: X) => string = true ? (m) => m.propertyX1 : (n) => n.propertyX2; >result5 : (t: X) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : X > : ^ >true ? (m) => m.propertyX1 : (n) => n.propertyX2 : ((m: X) => number) | ((n: X) => string) @@ -162,7 +162,7 @@ var result5: (t: X) => string = true ? (m) => m.propertyX1 : (n) => n.propertyX2 var result6: (t: X) => boolean = true ? (m) => m.propertyX1 : (n) => n.propertyX2; >result6 : (t: X) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : X > : ^ >true ? (m) => m.propertyX1 : (n) => n.propertyX2 : ((m: X) => number) | ((n: X) => string) @@ -192,7 +192,7 @@ var result6: (t: X) => boolean = true ? (m) => m.propertyX1 : (n) => n.propertyX var result61: (t: X) => number| string = true ? (m) => m.propertyX1 : (n) => n.propertyX2; >result61 : (t: X) => number | string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : X > : ^ >true ? (m) => m.propertyX1 : (n) => n.propertyX2 : ((m: X) => number) | ((n: X) => string) diff --git a/tests/baselines/reference/conditionalTypeAssignabilityWhenDeferred.types b/tests/baselines/reference/conditionalTypeAssignabilityWhenDeferred.types index 8508541f6bdf3..ca14c00060300 100644 --- a/tests/baselines/reference/conditionalTypeAssignabilityWhenDeferred.types +++ b/tests/baselines/reference/conditionalTypeAssignabilityWhenDeferred.types @@ -10,7 +10,7 @@ export type FilterPropsByType = { function select< >select : >(property: T, list: TList[], valueProp: TValueProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ T extends string | number, TList extends object, @@ -25,11 +25,11 @@ function select< export function func(x: XX, tipos: { value: XX }[]) { >func : (x: XX, tipos: { value: XX; }[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >x : XX > : ^^ >tipos : { value: XX; }[] -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >value : XX > : ^^ @@ -48,7 +48,7 @@ export function func(x: XX, tipos: { value: XX }[]) { declare function onlyNullablePlease( >onlyNullablePlease : (value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ value: T >value : T @@ -58,7 +58,7 @@ declare function onlyNullablePlease( declare function onlyNullablePlease2< >onlyNullablePlease2 : (value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ T extends [null] extends [T] ? any : never >(value: T): void; @@ -107,7 +107,7 @@ onlyNullablePlease2(y); // error as expected function f(t: T) { >f : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ @@ -150,15 +150,15 @@ function f(t: T) { function f2(t1: { x: T; y: T }, t2: T extends T ? { x: T; y: T } : never) { >f2 : (t1: { x: T; y: T; }, t2: T extends T ? { x: T; y: T; } : never) => void -> : ^^^^^^^^ ^ ^ ^^^^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >t1 : { x: T; y: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : T > : ^ >t2 : T extends T ? { x: T; y: T; } : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : T @@ -189,7 +189,7 @@ type Foo = T extends true ? string : "a"; function test(x: Foo, s: string) { >test : (x: Foo, s: string) => void -> : ^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Foo > : ^^^^^^ >s : string @@ -322,7 +322,7 @@ function testAssignabilityToConditionalType() { // Distributive where {a: T} cannot instantiate to never: OK const o5: Distributive<{ a: T }> = o; >o5 : Distributive<{ a: T; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^ >a : T > : ^ >o : { a: number; b: number; } @@ -350,7 +350,7 @@ type Unwrap = T extends Wrapped ? U : T; declare function set( >set : (obj: T, key: K, value: Unwrap) => Unwrap -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^ obj: T, >obj : T @@ -417,7 +417,7 @@ type InferBecauseWhyNot = [T] extends [(p: infer P1) => any] function f3 any>(x: Q): InferBecauseWhyNot { >f3 : any>(x: Q) => InferBecauseWhyNot -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >arg : any > : ^^^ >x : Q @@ -439,7 +439,7 @@ type InferBecauseWhyNotDistributive = T extends (p: infer P1) => any function f4 any>( >f4 : any>(x: Q) => InferBecauseWhyNotDistributive -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >arg : any > : ^^^ diff --git a/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.types b/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.types index 699c97f15b2f9..0ba6e3c521101 100644 --- a/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.types +++ b/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.types @@ -3,15 +3,15 @@ === conditionalTypeBasedContextualTypeReturnTypeWidening.ts === declare function useState1(initialState: (S extends (() => any) ? never : S) | (() => S)): S; // No args >useState1 : (initialState: (S extends (() => any) ? never : S) | (() => S)) => S -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >initialState : (S extends () => any ? never : S) | (() => S) -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ declare function useState2(initialState: (S extends ((...args: any[]) => any) ? never : S) | (() => S)): S; // Any args >useState2 : (initialState: (S extends ((...args: any[]) => any) ? never : S) | (() => S)) => S -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >initialState : (S extends (...args: any[]) => any ? never : S) | (() => S) -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ >args : any[] > : ^^^^^ @@ -45,15 +45,15 @@ const func2 = useState2(() => () => 0); declare function useState3(initialState: (T extends (() => any) ? never : T) | (() => S)): S; // No args >useState3 : (initialState: (T extends (() => any) ? never : T) | (() => S)) => S -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >initialState : (T extends () => any ? never : T) | (() => S) -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ declare function useState4(initialState: (T extends ((...args: any[]) => any) ? never : T) | (() => S)): S; // Any args >useState4 : (initialState: (T extends ((...args: any[]) => any) ? never : T) | (() => S)) => S -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >initialState : (T extends (...args: any[]) => any ? never : T) | (() => S) -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ >args : any[] > : ^^^^^ diff --git a/tests/baselines/reference/conditionalTypeClassMembers.types b/tests/baselines/reference/conditionalTypeClassMembers.types index 72b72206d35ff..c546954cfd90e 100644 --- a/tests/baselines/reference/conditionalTypeClassMembers.types +++ b/tests/baselines/reference/conditionalTypeClassMembers.types @@ -20,7 +20,7 @@ declare class MySet { public item(): TSet; >item : () => TSet -> : ^^^^^^^^^^ +> : ^^^^^^ } type DS = TRec extends MyRecord ? MySet : TRec[]; diff --git a/tests/baselines/reference/conditionalTypeContextualTypeSimplificationsSuceeds.types b/tests/baselines/reference/conditionalTypeContextualTypeSimplificationsSuceeds.types index 7f9a18aa33714..fc173c10900e9 100644 --- a/tests/baselines/reference/conditionalTypeContextualTypeSimplificationsSuceeds.types +++ b/tests/baselines/reference/conditionalTypeContextualTypeSimplificationsSuceeds.types @@ -12,7 +12,7 @@ interface Props { function bad

( >bad :

(attrs: string extends keyof P ? { [K in keyof P]: P[K]; } : { [K_1 in keyof P]: P[K_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attrs: string extends keyof P ? { [K in keyof P]: P[K] } : { [K in keyof P]: P[K] }) { } >attrs : string extends keyof P ? { [K in keyof P]: P[K]; } : { [K_1 in keyof P]: P[K_1]; } @@ -20,7 +20,7 @@ function bad

( function good1

( >good1 :

(attrs: string extends keyof P ? P : { [K in keyof P]: P[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attrs: string extends keyof P ? P : { [K in keyof P]: P[K] }) { } >attrs : string extends keyof P ? P : { [K in keyof P]: P[K]; } @@ -28,7 +28,7 @@ function good1

( function good2

( >good2 :

(attrs: { [K in keyof P]: P[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attrs: { [K in keyof P]: P[K] }) { } >attrs : { [K in keyof P]: P[K]; } diff --git a/tests/baselines/reference/conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.types b/tests/baselines/reference/conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.types index ab02fdc4b77a8..3e77a87c355f6 100644 --- a/tests/baselines/reference/conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.types +++ b/tests/baselines/reference/conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.types @@ -20026,7 +20026,7 @@ type ChildrenOf = T['children'][number]; export function makeThing( >makeThing : (name: T, children?: ChildrenOf>[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ name: T, >name : T diff --git a/tests/baselines/reference/conditionalTypeDoesntSpinForever.types b/tests/baselines/reference/conditionalTypeDoesntSpinForever.types index b79f63ba9ad00..bb400abf3378e 100644 --- a/tests/baselines/reference/conditionalTypeDoesntSpinForever.types +++ b/tests/baselines/reference/conditionalTypeDoesntSpinForever.types @@ -59,7 +59,7 @@ export enum PubSubRecordIsStoredInRedisAsA { name: (t?: TYPE) => BuildPubSubRecordType >name : (t?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ +> : ^ ^^^^^^ ^^^^^ >t : TYPE > : ^^^^ >name : TYPE @@ -68,17 +68,17 @@ export enum PubSubRecordIsStoredInRedisAsA { const buildNameFieldConstructor = (soFar: SO_FAR) => ( >buildNameFieldConstructor : (soFar: SO_FAR) => { name?: undefined; } | { name: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >(soFar: SO_FAR) => ( "name" in soFar ? {} : { name: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType } ) : (soFar: SO_FAR) => { name?: undefined; } | { name: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >soFar : SO_FAR > : ^^^^^^ >( "name" in soFar ? {} : { name: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType } ) : {} | { name: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ "name" in soFar ? {} : { >"name" in soFar ? {} : { name: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType } : {} | { name: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >"name" in soFar : boolean > : ^^^^^^^ >"name" : "name" @@ -88,13 +88,13 @@ export enum PubSubRecordIsStoredInRedisAsA { >{} : {} > : ^^ >{ name: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType } : { name: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ name: (instance: TYPE = undefined) => >name : (instance?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >(instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType : (instance?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >instance : TYPE > : ^^^^ >undefined : undefined @@ -102,15 +102,15 @@ export enum PubSubRecordIsStoredInRedisAsA { buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType >buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) as BuildPubSubRecordType : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType(Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE}) : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType : (soFar: SO_FAR_1) => BuildPubSubRecordType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object.assign({}, soFar, {name: instance as TYPE}) as SO_FAR & {name: TYPE} : SO_FAR & { name: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ >Object.assign({}, soFar, {name: instance as TYPE}) : SO_FAR & { name: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ >Object.assign : { (target: T, source: U): T & U; (target: T_1, source1: U_1, source2: V): T_1 & U_1 & V; (target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W; (target: object, ...sources: any[]): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object : ObjectConstructor @@ -122,7 +122,7 @@ export enum PubSubRecordIsStoredInRedisAsA { >soFar : SO_FAR > : ^^^^^^ >{name: instance as TYPE} : { name: TYPE; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >name : TYPE > : ^^^^ >instance as TYPE : TYPE @@ -146,7 +146,7 @@ export enum PubSubRecordIsStoredInRedisAsA { storedAsJsonEncodedRedisString: () => BuildPubSubRecordType; >storedAsJsonEncodedRedisString : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >storedAs : PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >PubSubRecordIsStoredInRedisAsA : any @@ -154,7 +154,7 @@ export enum PubSubRecordIsStoredInRedisAsA { storedRedisHash: () => BuildPubSubRecordType; >storedRedisHash : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >storedAs : PubSubRecordIsStoredInRedisAsA.redisHash > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >PubSubRecordIsStoredInRedisAsA : any @@ -163,17 +163,17 @@ export enum PubSubRecordIsStoredInRedisAsA { const buildStoredAsConstructor = (soFar: SO_FAR) => ( >buildStoredAsConstructor : (soFar: SO_FAR) => { storedAsJsonEncodedRedisString?: undefined; storedAsRedisHash?: undefined; } | { storedAsJsonEncodedRedisString: () => BuildPubSubRecordType; storedAsRedisHash: () => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >(soFar: SO_FAR) => ( "storedAs" in soFar ? {} : { storedAsJsonEncodedRedisString: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as BuildPubSubRecordType, storedAsRedisHash: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as BuildPubSubRecordType, } ) : (soFar: SO_FAR) => { storedAsJsonEncodedRedisString?: undefined; storedAsRedisHash?: undefined; } | { storedAsJsonEncodedRedisString: () => BuildPubSubRecordType; storedAsRedisHash: () => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >soFar : SO_FAR > : ^^^^^^ >( "storedAs" in soFar ? {} : { storedAsJsonEncodedRedisString: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as BuildPubSubRecordType, storedAsRedisHash: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as BuildPubSubRecordType, } ) : {} | { storedAsJsonEncodedRedisString: () => BuildPubSubRecordType; storedAsRedisHash: () => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ "storedAs" in soFar ? {} : { >"storedAs" in soFar ? {} : { storedAsJsonEncodedRedisString: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as BuildPubSubRecordType, storedAsRedisHash: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as BuildPubSubRecordType, } : {} | { storedAsJsonEncodedRedisString: () => BuildPubSubRecordType; storedAsRedisHash: () => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >"storedAs" in soFar : boolean > : ^^^^^^^ >"storedAs" : "storedAs" @@ -183,17 +183,17 @@ export enum PubSubRecordIsStoredInRedisAsA { >{} : {} > : ^^ >{ storedAsJsonEncodedRedisString: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as BuildPubSubRecordType, storedAsRedisHash: () => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as BuildPubSubRecordType, } : { storedAsJsonEncodedRedisString: () => BuildPubSubRecordType; storedAsRedisHash: () => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ storedAsJsonEncodedRedisString: () => >storedAsJsonEncodedRedisString : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >() => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as BuildPubSubRecordType : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as >buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) as BuildPubSubRecordType : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.jsonEncodedRedisString})) : BuildPubSubRecordType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >buildPubSubRecordType : (soFar: SO_FAR_1) => BuildPubSubRecordType @@ -229,13 +229,13 @@ export enum PubSubRecordIsStoredInRedisAsA { storedAsRedisHash: () => >storedAsRedisHash : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >() => buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as BuildPubSubRecordType : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as >buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) as BuildPubSubRecordType : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType(Object.assign({}, soFar, {storedAs: PubSubRecordIsStoredInRedisAsA.redisHash})) : BuildPubSubRecordType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >buildPubSubRecordType : (soFar: SO_FAR_1) => BuildPubSubRecordType @@ -285,7 +285,7 @@ export enum PubSubRecordIsStoredInRedisAsA { identifier: >(t?: TYPE) => BuildPubSubRecordType >identifier : >(t?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >t : TYPE > : ^^^^ >identifier : TYPE @@ -295,17 +295,17 @@ export enum PubSubRecordIsStoredInRedisAsA { const buildIdentifierFieldConstructor = (soFar: SO_FAR) => ( >buildIdentifierFieldConstructor : (soFar: SO_FAR) => { identifier?: undefined; } | { identifier: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >(soFar: SO_FAR) => ( "identifier" in soFar || (!("record" in soFar)) ? {} : { identifier: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType } ) : (soFar: SO_FAR) => { identifier?: undefined; } | { identifier: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >soFar : SO_FAR > : ^^^^^^ >( "identifier" in soFar || (!("record" in soFar)) ? {} : { identifier: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType } ) : {} | { identifier: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ "identifier" in soFar || (!("record" in soFar)) ? {} : { >"identifier" in soFar || (!("record" in soFar)) ? {} : { identifier: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType } : {} | { identifier: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >"identifier" in soFar || (!("record" in soFar)) : boolean > : ^^^^^^^ >"identifier" in soFar : boolean @@ -329,13 +329,13 @@ export enum PubSubRecordIsStoredInRedisAsA { >{} : {} > : ^^ >{ identifier: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType } : { identifier: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ identifier: (instance: TYPE = undefined) => >identifier : (instance?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >(instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType : (instance?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >instance : TYPE > : ^^^^ >undefined : undefined @@ -343,15 +343,15 @@ export enum PubSubRecordIsStoredInRedisAsA { buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType >buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) as BuildPubSubRecordType : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType(Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE}) : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType : (soFar: SO_FAR_1) => BuildPubSubRecordType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object.assign({}, soFar, {identifier: instance as TYPE}) as SO_FAR & {identifier: TYPE} : SO_FAR & { identifier: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >Object.assign({}, soFar, {identifier: instance as TYPE}) : SO_FAR & Record<"record", unknown> & { identifier: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >Object.assign : { (target: T, source: U): T & U; (target: T_1, source1: U_1, source2: V): T_1 & U_1 & V; (target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W; (target: object, ...sources: any[]): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object : ObjectConstructor @@ -363,7 +363,7 @@ export enum PubSubRecordIsStoredInRedisAsA { >soFar : SO_FAR & Record<"record", unknown> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{identifier: instance as TYPE} : { identifier: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^ >identifier : TYPE > : ^^^^ >instance as TYPE : TYPE @@ -387,7 +387,7 @@ export enum PubSubRecordIsStoredInRedisAsA { record: (t?: TYPE) => BuildPubSubRecordType >record : (t?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ +> : ^ ^^^^^^ ^^^^^ >t : TYPE > : ^^^^ >record : TYPE @@ -396,17 +396,17 @@ export enum PubSubRecordIsStoredInRedisAsA { const buildRecordFieldConstructor = (soFar: SO_FAR) => ( >buildRecordFieldConstructor : (soFar: SO_FAR) => { record?: undefined; } | { record: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >(soFar: SO_FAR) => ( "record" in soFar ? {} : { record: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType } ) : (soFar: SO_FAR) => { record?: undefined; } | { record: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >soFar : SO_FAR > : ^^^^^^ >( "record" in soFar ? {} : { record: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType } ) : {} | { record: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ "record" in soFar ? {} : { >"record" in soFar ? {} : { record: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType } : {} | { record: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >"record" in soFar : boolean > : ^^^^^^^ >"record" : "record" @@ -416,13 +416,13 @@ export enum PubSubRecordIsStoredInRedisAsA { >{} : {} > : ^^ >{ record: (instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType } : { record: (instance?: TYPE) => BuildPubSubRecordType; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ record: (instance: TYPE = undefined) => >record : (instance?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >(instance: TYPE = undefined) => buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType : (instance?: TYPE) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >instance : TYPE > : ^^^^ >undefined : undefined @@ -430,15 +430,15 @@ export enum PubSubRecordIsStoredInRedisAsA { buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType >buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) as BuildPubSubRecordType : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType(Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE}) : BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >buildPubSubRecordType : (soFar: SO_FAR_1) => BuildPubSubRecordType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object.assign({}, soFar, {record: instance as TYPE}) as SO_FAR & {record: TYPE} : SO_FAR & { record: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^ >Object.assign({}, soFar, {record: instance as TYPE}) : SO_FAR & { record: TYPE; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^ >Object.assign : { (target: T, source: U): T & U; (target: T_1, source1: U_1, source2: V): T_1 & U_1 & V; (target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W; (target: object, ...sources: any[]): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object : ObjectConstructor @@ -450,7 +450,7 @@ export enum PubSubRecordIsStoredInRedisAsA { >soFar : SO_FAR > : ^^^^^^ >{record: instance as TYPE} : { record: TYPE; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ >record : TYPE > : ^^^^ >instance as TYPE : TYPE @@ -474,7 +474,7 @@ export enum PubSubRecordIsStoredInRedisAsA { maxMsToWaitBeforePublishing: (t: number) => BuildPubSubRecordType, >maxMsToWaitBeforePublishing : (t: number) => BuildPubSubRecordType -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >t : number > : ^^^^^^ >maxMsToWaitBeforePublishing : number @@ -482,16 +482,16 @@ export enum PubSubRecordIsStoredInRedisAsA { neverDelayPublishing: () => BuildPubSubRecordType, >neverDelayPublishing : () => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >maxMsToWaitBeforePublishing : 0 > : ^ } const buildMaxMsToWaitBeforePublishingFieldConstructor = (soFar: SO_FAR): MaxMsToWaitBeforePublishingFieldConstructor => ( >buildMaxMsToWaitBeforePublishingFieldConstructor : (soFar: SO_FAR) => MaxMsToWaitBeforePublishingFieldConstructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >(soFar: SO_FAR): MaxMsToWaitBeforePublishingFieldConstructor => ( "maxMsToWaitBeforePublishing" in soFar ? {} : { maxMsToWaitBeforePublishing: (instance: number = 0) => buildPubSubRecordType(Object.assign({}, soFar, {maxMsToWaitBeforePublishing: instance})) as BuildPubSubRecordType, neverDelayPublishing: () => buildPubSubRecordType(Object.assign({}, soFar, {maxMsToWaitBeforePublishing: 0})) as BuildPubSubRecordType, } ) as MaxMsToWaitBeforePublishingFieldConstructor : (soFar: SO_FAR) => MaxMsToWaitBeforePublishingFieldConstructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >soFar : SO_FAR > : ^^^^^^ >( "maxMsToWaitBeforePublishing" in soFar ? {} : { maxMsToWaitBeforePublishing: (instance: number = 0) => buildPubSubRecordType(Object.assign({}, soFar, {maxMsToWaitBeforePublishing: instance})) as BuildPubSubRecordType, neverDelayPublishing: () => buildPubSubRecordType(Object.assign({}, soFar, {maxMsToWaitBeforePublishing: 0})) as BuildPubSubRecordType, } ) as MaxMsToWaitBeforePublishingFieldConstructor : MaxMsToWaitBeforePublishingFieldConstructor @@ -619,9 +619,9 @@ export enum PubSubRecordIsStoredInRedisAsA { const buildType = (soFar: SO_FAR) => ( >buildType : (soFar: SO_FAR) => { type?: undefined; fields?: undefined; hasField?: undefined; } | { type: SO_FAR; fields: () => Set; hasField: (fieldName: string | number | symbol) => boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >(soFar: SO_FAR) => ( "identifier" in soFar && "object" in soFar && "maxMsToWaitBeforePublishing" in soFar && "PubSubRecordIsStoredInRedisAsA" in soFar ? {} : { type: soFar, fields: () => new Set(Object.keys(soFar) as (keyof SO_FAR)[]), hasField: (fieldName: string | number | symbol) => fieldName in soFar } ) : (soFar: SO_FAR) => { type?: undefined; fields?: undefined; hasField?: undefined; } | { type: SO_FAR; fields: () => Set; hasField: (fieldName: string | number | symbol) => boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >soFar : SO_FAR > : ^^^^^^ >( "identifier" in soFar && "object" in soFar && "maxMsToWaitBeforePublishing" in soFar && "PubSubRecordIsStoredInRedisAsA" in soFar ? {} : { type: soFar, fields: () => new Set(Object.keys(soFar) as (keyof SO_FAR)[]), hasField: (fieldName: string | number | symbol) => fieldName in soFar } ) : {} | { type: SO_FAR; fields: () => Set; hasField: (fieldName: string | number | symbol) => boolean; } @@ -722,9 +722,9 @@ export enum PubSubRecordIsStoredInRedisAsA { const buildPubSubRecordType = (soFar: SO_FAR) => Object.assign( >buildPubSubRecordType : (soFar: SO_FAR) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(soFar: SO_FAR) => Object.assign( {}, buildNameFieldConstructor(soFar), buildIdentifierFieldConstructor(soFar), buildRecordFieldConstructor(soFar), buildStoredAsConstructor(soFar), buildMaxMsToWaitBeforePublishingFieldConstructor(soFar), buildType(soFar) ) as BuildPubSubRecordType : (soFar: SO_FAR) => BuildPubSubRecordType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >soFar : SO_FAR > : ^^^^^^ >Object.assign( {}, buildNameFieldConstructor(soFar), buildIdentifierFieldConstructor(soFar), buildRecordFieldConstructor(soFar), buildStoredAsConstructor(soFar), buildMaxMsToWaitBeforePublishingFieldConstructor(soFar), buildType(soFar) ) as BuildPubSubRecordType : BuildPubSubRecordType diff --git a/tests/baselines/reference/conditionalTypeRelaxingConstraintAssignability.types b/tests/baselines/reference/conditionalTypeRelaxingConstraintAssignability.types index 9e6e0a20bf7b9..0263d9d09aae3 100644 --- a/tests/baselines/reference/conditionalTypeRelaxingConstraintAssignability.types +++ b/tests/baselines/reference/conditionalTypeRelaxingConstraintAssignability.types @@ -108,7 +108,7 @@ type DeepPartial = declare function f(t: T, partial: DeepPartial): T; >f : (t: T, partial: DeepPartial) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ ^^^^^ >t : T > : ^ >partial : DeepPartial @@ -116,7 +116,7 @@ declare function f(t: T, partial: DeepPartial): T; function g(p1: I, p2: Partial): I { >g : (p1: I, p2: Partial) => I -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >p1 : I > : ^ >p2 : Partial diff --git a/tests/baselines/reference/conditionalTypeSimplification.types b/tests/baselines/reference/conditionalTypeSimplification.types index 5b5b3e0dbd3cf..1740bcf2bfaa3 100644 --- a/tests/baselines/reference/conditionalTypeSimplification.types +++ b/tests/baselines/reference/conditionalTypeSimplification.types @@ -6,13 +6,13 @@ interface AbstractSchema { m1 (v: T): SchemaType>; >m1 : (v: T) => SchemaType> -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >v : T > : ^ m2 (v: T): SchemaType; >m2 : (v: T) => SchemaType -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >v : T > : ^ } diff --git a/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.types b/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.types index b2ed0a710079d..0d2142aa0dea2 100644 --- a/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.types +++ b/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.types @@ -7,7 +7,7 @@ declare class Model { public getField2(): Field >getField2 : () => Field -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^ ^^ ^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ } declare class Field { diff --git a/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.types b/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.types index 0888fa670e869..47dd581842793 100644 --- a/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.types +++ b/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.types @@ -25,7 +25,7 @@ type Stuff = function F(p1: Stuff, p2: Stuff) { >F : (p1: Stuff, p2: Stuff) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >p1 : Stuff > : ^^^^^^^^ >p2 : Stuff diff --git a/tests/baselines/reference/conditionalTypes1.types b/tests/baselines/reference/conditionalTypes1.types index ea33c3b4da1eb..9ffd6dd02b01b 100644 --- a/tests/baselines/reference/conditionalTypes1.types +++ b/tests/baselines/reference/conditionalTypes1.types @@ -33,7 +33,7 @@ type T05 = NonNullable<(() => string) | string[] | null | undefined>; // (() => function f1(x: T, y: NonNullable) { >f1 : (x: T, y: NonNullable) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : NonNullable @@ -58,7 +58,7 @@ function f1(x: T, y: NonNullable) { function f2(x: T, y: NonNullable) { >f2 : (x: T, y: NonNullable) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : NonNullable @@ -95,7 +95,7 @@ function f2(x: T, y: NonNullable) { function f3(x: Partial[keyof T], y: NonNullable[keyof T]>) { >f3 : (x: Partial[keyof T], y: NonNullable[keyof T]>) => void -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Partial[keyof T] > : ^^^^^^^^^^^^^^^^^^^ >y : NonNullable[keyof T]> @@ -120,7 +120,7 @@ function f3(x: Partial[keyof T], y: NonNullable[keyof T]>) { function f4(x: T["x"], y: NonNullable) { >f4 : (x: T["x"], y: NonNullable) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : string | undefined > : ^^^^^^^^^^^^^^^^^^ >x : T["x"] @@ -215,7 +215,7 @@ type T15 = Extract; // never declare function f5(p: K): Extract; >f5 : (p: K) => Extract -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >p : K > : ^ >k : K @@ -363,7 +363,7 @@ type T31 = NonFunctionProperties; function f7(x: T, y: FunctionProperties, z: NonFunctionProperties) { >f7 : (x: T, y: FunctionProperties, z: NonFunctionProperties) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : FunctionProperties @@ -422,7 +422,7 @@ function f7(x: T, y: FunctionProperties, z: NonFunctionProperties) { function f8(x: keyof T, y: FunctionPropertyNames, z: NonFunctionPropertyNames) { >f8 : (x: keyof T, y: FunctionPropertyNames, z: NonFunctionPropertyNames) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : keyof T > : ^^^^^^^ >y : FunctionPropertyNames @@ -498,7 +498,7 @@ type DeepReadonlyObject = { function f10(part: DeepReadonly) { >f10 : (part: DeepReadonly) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >part : DeepReadonlyObject > : ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -623,7 +623,7 @@ type ZeroOf = T extends number ? 0 : T exte function zeroOf(value: T) { >zeroOf : (value: T) => ZeroOf -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >value : T > : ^ @@ -662,7 +662,7 @@ function zeroOf(value: T) { function f20(n: number, b: boolean, x: number | boolean, y: T) { >f20 : (n: number, b: boolean, x: number | boolean, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : number > : ^^^^^^ >b : boolean @@ -731,7 +731,7 @@ function f20(n: number, b: boolean, x: number | boolean, y: T) function f21(x: T, y: ZeroOf) { >f21 : (x: T, y: ZeroOf) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : ZeroOf @@ -1034,7 +1034,7 @@ type T52 = IsNever; // false function f22(x: T extends (infer U)[] ? U[] : never) { >f22 : (x: T extends (infer U)[] ? U[] : never) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T extends (infer U)[] ? U[] : never > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1051,7 +1051,7 @@ function f22(x: T extends (infer U)[] ? U[] : never) { function f23(x: T extends (infer U)[] ? U[] : never) { >f23 : (x: T extends (infer U)[] ? U[] : never) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T extends (infer U)[] ? U[] : never > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1206,9 +1206,9 @@ type Bar = T extends string ? boolean : number; const convert = (value: Foo): Bar => value; >convert : (value: Foo) => Bar -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >(value: Foo): Bar => value : (value: Foo) => Bar -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : Foo > : ^^^^^^ >value : Foo @@ -1220,9 +1220,9 @@ type Baz = Foo; const convert2 = (value: Foo): Baz => value; >convert2 : (value: Foo) => Baz -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >(value: Foo): Baz => value : (value: Foo) => Baz -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : Foo > : ^^^^^^ >value : Foo @@ -1303,9 +1303,9 @@ type T91 = T extends 0 ? 0 : () => 0; const f40 = (a: T90): T91 => a; >f40 : (a: T90) => T91 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >(a: T90): T91 => a : (a: T90) => T91 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : T90 > : ^^^^^^ >a : T90 @@ -1313,9 +1313,9 @@ const f40 = (a: T90): T91 => a; const f41 = (a: T91): T90 => a; >f41 : (a: T91) => T90 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >(a: T91): T90 => a : (a: T91) => T90 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : T91 > : ^^^^^^ >a : T91 @@ -1331,9 +1331,9 @@ type T93 = T extends () => 0 ? () => 1 : () => 2; const f42 = (a: T92): T93 => a; >f42 : (a: T92) => T93 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >(a: T92): T93 => a : (a: T92) => T93 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : T92 > : ^^^^^^ >a : T92 @@ -1341,9 +1341,9 @@ const f42 = (a: T92): T93 => a; const f43 = (a: T93): T92 => a; >f43 : (a: T93) => T92 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >(a: T93): T92 => a : (a: T93) => T92 -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : T93 > : ^^^^^^ >a : T93 @@ -1361,9 +1361,9 @@ type T95 = T extends string ? boolean : number; const f44 = (value: T94): T95 => value; >f44 : (value: T94) => T95 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >(value: T94): T95 => value : (value: T94) => T95 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T94 > : ^^^^^^ >value : T94 @@ -1371,9 +1371,9 @@ const f44 = (value: T94): T95 => value; const f45 = (value: T95): T94 => value; // Error >f45 : (value: T95) => T94 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >(value: T95): T94 => value : (value: T95) => T94 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T95 > : ^^^^^^ >value : T95 @@ -1542,7 +1542,7 @@ type RecursivePartial = { declare function assign(o: T, a: RecursivePartial): void; >assign : (o: T, a: RecursivePartial) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >o : T > : ^ >a : RecursivePartial diff --git a/tests/baselines/reference/conditionalTypes2.types b/tests/baselines/reference/conditionalTypes2.types index 9a854ec9b1301..0183aa4d99bd8 100644 --- a/tests/baselines/reference/conditionalTypes2.types +++ b/tests/baselines/reference/conditionalTypes2.types @@ -21,7 +21,7 @@ interface Invariant { function f1(a: Covariant, b: Covariant) { >f1 : (a: Covariant, b: Covariant) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : Covariant > : ^^^^^^^^^^^^ >b : Covariant @@ -46,7 +46,7 @@ function f1(a: Covariant, b: Covariant) { function f2(a: Contravariant, b: Contravariant) { >f2 : (a: Contravariant, b: Contravariant) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : Contravariant > : ^^^^^^^^^^^^^^^^ >b : Contravariant @@ -71,7 +71,7 @@ function f2(a: Contravariant, b: Contravariant) { function f3(a: Invariant, b: Invariant) { >f3 : (a: Invariant, b: Invariant) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : Invariant > : ^^^^^^^^^^^^ >b : Invariant @@ -97,7 +97,7 @@ function f3(a: Invariant, b: Invariant) { // Extract is a T that is known to be a Function function isFunction(value: T): value is Extract { >isFunction : (value: T) => value is Extract -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ @@ -114,7 +114,7 @@ function isFunction(value: T): value is Extract { function getFunction(item: T) { >getFunction : (item: T) => Extract -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >item : T > : ^ @@ -139,7 +139,7 @@ function getFunction(item: T) { function f10(x: T) { >f10 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -248,7 +248,7 @@ type Extract2 = T extends U ? T extends V ? T : never : never; function f20(x: Extract, Bar>, y: Extract, z: Extract2) { >f20 : (x: Extract, Bar>, y: Extract, z: Extract2) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^ ^^^ ^^^^^^^^^^^^ ^ ^^^ ^^^ ^^^^^^^^^^^^^ ^ ^^^ ^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Extract, Bar> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : Extract @@ -283,7 +283,7 @@ function f20(x: Extract, Bar>, y: Extract, z: E function f21(x: Extract, Bar>, y: Extract, z: Extract2) { >f21 : (x: Extract, Bar>, y: Extract, z: Extract2) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^ ^^^ ^^^^^^^^^^^^ ^ ^^^ ^^^ ^^^^^^^^^^^^^ ^ ^^^ ^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Extract, Bar> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : Extract @@ -324,7 +324,7 @@ class Opt { toVector(): Vector { >toVector : () => Vector -> : ^^^^^^^^^^^^ ^ +> : ^^^^^^ return undefined; >undefined : any @@ -337,7 +337,7 @@ class Opt { interface Seq { tail(): Opt>; >tail : () => Opt> -> : ^^^^^^^^^ ^^^ ^ +> : ^^^^^^ } class Vector implements Seq { @@ -346,7 +346,7 @@ class Vector implements Seq { tail(): Opt> { >tail : () => Opt> -> : ^^^^^^^^^ ^^^^^^ ^ +> : ^^^^^^ return undefined; >undefined : any @@ -356,17 +356,17 @@ class Vector implements Seq { } partition2(predicate:(v:T)=>v is U): [Vector,Vector>]; >partition2 : { (predicate: (v: T) => v is U): [Vector, Vector>]; (predicate: (x: T) => boolean): [Vector, Vector]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^ ^ ^^^^^^ ^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (v: T) => v is U -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >v : T > : ^ partition2(predicate:(x:T)=>boolean): [Vector,Vector]; >partition2 : { (predicate: (v: T) => v is U): [Vector, Vector>]; (predicate: (x: T) => boolean): [Vector, Vector]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^^^^ ^ ^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >predicate : (x: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -374,7 +374,7 @@ class Vector implements Seq { >partition2 : { (predicate: (v: T) => v is U_1): [Vector, Vector>]; (predicate: (x: T) => boolean): [Vector, Vector]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >predicate : (v: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : T > : ^ @@ -410,19 +410,19 @@ interface B1 extends A1 { declare function toString1(value: object | Function): string ; >toString1 : (value: object | Function) => string -> : ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : object | Function > : ^^^^^^^^^^^^^^^^^ declare function toString2(value: Function): string ; >toString2 : (value: Function) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Function > : ^^^^^^^^ function foo(value: T) { >foo : (value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >value : T > : ^ @@ -644,7 +644,7 @@ const w: What = { a: 4 }; declare function save(_response: IRootResponse): void; >save : (_response: IRootResponse) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >_response : IResponse > : ^^^^^^^^^^^^^^^^^ @@ -658,7 +658,7 @@ exportCommand(save); declare function exportCommand(functionToCall: IExportCallback): void; >exportCommand : (functionToCall: IExportCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >functionToCall : IExportCallback > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -696,7 +696,7 @@ declare type IResponse = { sendValue(name: keyof GetAllPropertiesOfType): void; >sendValue : (name: keyof GetAllPropertiesOfType) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >name : GetPropertyNamesOfType, string> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -721,15 +721,15 @@ declare type GetAllPropertiesOfType = Pick< declare function ff(x: Foo3): void; >ff : (x: Foo3) => void -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : { x: string; } > : ^^^^^^^^^^^^^^ declare function gg(f: (x: Foo3) => void): void; >gg : (f: (x: Foo3) => void) => void -> : ^^^^^^^ ^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >f : (x: Foo3) => void -> : ^^^^^^^^ ^ ^^^^^ +> : ^^^^ ^^^^^ >x : Foo3 > : ^^^^^^^ diff --git a/tests/baselines/reference/conditionalTypesExcessProperties.types b/tests/baselines/reference/conditionalTypesExcessProperties.types index 45b2de89ecfdc..fbf243aa55e9a 100644 --- a/tests/baselines/reference/conditionalTypesExcessProperties.types +++ b/tests/baselines/reference/conditionalTypesExcessProperties.types @@ -20,7 +20,7 @@ type Something = { test: string } & (T extends object ? { function testFunc2(a: A, sa: Something) { >testFunc2 : (a: A, sa: Something) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >a : A > : ^ >sa : Something diff --git a/tests/baselines/reference/conditionalTypesSimplifyWhenTrivial.types b/tests/baselines/reference/conditionalTypesSimplifyWhenTrivial.types index 7ed7a24729faa..5383f7e542557 100644 --- a/tests/baselines/reference/conditionalTypesSimplifyWhenTrivial.types +++ b/tests/baselines/reference/conditionalTypesSimplifyWhenTrivial.types @@ -3,9 +3,9 @@ === conditionalTypesSimplifyWhenTrivial.ts === const fn1 = ( >fn1 : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >( params: Pick>,): Params => params : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ params: Pick>, >params : Pick> @@ -17,7 +17,7 @@ const fn1 = ( function fn2(x: Exclude) { >fn2 : (x: Exclude) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : Exclude > : ^^^^^^^^^^^^^^^^^ @@ -38,9 +38,9 @@ function fn2(x: Exclude) { const fn3 = ( >fn3 : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >( params: Pick>,): Params => params : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ params: Pick>, >params : Pick> @@ -52,7 +52,7 @@ const fn3 = ( function fn4(x: Extract) { >fn4 : (x: Extract) => void -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : Extract > : ^^^^^^^^^^^^^ @@ -85,9 +85,9 @@ type ExcludeWithDefault = T extends U ? D : T; const fn5 = ( >fn5 : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >( params: Pick>,): Params => params : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ params: Pick>, >params : Pick> @@ -99,7 +99,7 @@ const fn5 = ( function fn6(x: ExcludeWithDefault) { >fn6 : (x: ExcludeWithDefault) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : ExcludeWithDefault > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -120,9 +120,9 @@ function fn6(x: ExcludeWithDefault) { const fn7 = ( >fn7 : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >( params: Pick>,): Params => params : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ params: Pick>, >params : Pick> @@ -134,7 +134,7 @@ const fn7 = ( function fn8(x: ExtractWithDefault) { >fn8 : (x: ExtractWithDefault) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : ExtractWithDefault > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -159,9 +159,9 @@ type TemplatedConditional = TCheck extends TExt const fn9 = ( >fn9 : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >( params: Pick>,): Params => params : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ params: Pick>, >params : Pick> @@ -173,7 +173,7 @@ const fn9 = ( function fn10(x: TemplatedConditional) { >fn10 : (x: TemplatedConditional) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : TemplatedConditional > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -194,9 +194,9 @@ function fn10(x: TemplatedConditional) { const fn11 = ( >fn11 : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >( params: Pick>,): Params => params : (params: Pick>) => Params -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ params: Pick>, >params : Pick> @@ -208,7 +208,7 @@ const fn11 = ( function fn12(x: TemplatedConditional) { >fn12 : (x: TemplatedConditional) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : TemplatedConditional > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/conflictingDeclarationsImportFromNamespace1.types b/tests/baselines/reference/conflictingDeclarationsImportFromNamespace1.types index c8327db11d38e..50e97cfb5ebbf 100644 --- a/tests/baselines/reference/conflictingDeclarationsImportFromNamespace1.types +++ b/tests/baselines/reference/conflictingDeclarationsImportFromNamespace1.types @@ -12,7 +12,7 @@ declare module "./index" { interface LoDashStatic { pick( >pick : (object: T, ...props: Array) => Pick -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ object: T, >object : T diff --git a/tests/baselines/reference/conflictingDeclarationsImportFromNamespace2.types b/tests/baselines/reference/conflictingDeclarationsImportFromNamespace2.types index e4281cfeffbb3..7de01286926b0 100644 --- a/tests/baselines/reference/conflictingDeclarationsImportFromNamespace2.types +++ b/tests/baselines/reference/conflictingDeclarationsImportFromNamespace2.types @@ -12,7 +12,7 @@ declare module "./index" { interface LoDashStatic { pick: ( >pick : (object: T, ...props: Array) => Pick -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ object: T, >object : T diff --git a/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.types b/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.types index 5f2267e677b7a..8e6695e347959 100644 --- a/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.types +++ b/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.types @@ -14,7 +14,7 @@ type Record2 = { function defaultRecord(x: Record<'a', string>, y: Record) { >defaultRecord : (x: Record<'a', string>, y: Record) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : Record<"a", string> > : ^^^^^^^^^^^^^^^^^^^ >y : Record @@ -31,7 +31,7 @@ function defaultRecord(x: Record<'a', string>, y: Record) { function customRecord(x: Record2<'a', string>, y: Record2) { >customRecord : (x: Record2<'a', string>, y: Record2) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : Record2<"a", string> > : ^^^^^^^^^^^^^^^^^^^^ >y : Record2 @@ -48,7 +48,7 @@ function customRecord(x: Record2<'a', string>, y: Record2) { function mixed1(x: Record2<'a', string>, y: Record) { >mixed1 : (x: Record2<'a', string>, y: Record) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : Record2<"a", string> > : ^^^^^^^^^^^^^^^^^^^^ >y : Record @@ -65,7 +65,7 @@ function mixed1(x: Record2<'a', string>, y: Record) { function mixed2(x: Record<'a', string>, y: Record2) { >mixed2 : (x: Record<'a', string>, y: Record2) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : Record<"a", string> > : ^^^^^^^^^^^^^^^^^^^ >y : Record2 @@ -82,7 +82,7 @@ function mixed2(x: Record<'a', string>, y: Record2) { function defaultRecord2(x: Record<'a', T>, y: Record) { >defaultRecord2 : (x: Record<'a', T>, y: Record) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Record<"a", T> > : ^^^^^^^^^^^^^^ >y : Record @@ -99,7 +99,7 @@ function defaultRecord2(x: Record<'a', T>, y: Record) { function customRecord2(x: Record2<'a', T>, y: Record2) { >customRecord2 : (x: Record2<'a', T>, y: Record2) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Record2<"a", T> > : ^^^^^^^^^^^^^^^ >y : Record2 @@ -116,7 +116,7 @@ function customRecord2(x: Record2<'a', T>, y: Record2) { function mixed3(x: Record2<'a', T>, y: Record) { >mixed3 : (x: Record2<'a', T>, y: Record) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Record2<"a", T> > : ^^^^^^^^^^^^^^^ >y : Record @@ -133,7 +133,7 @@ function mixed3(x: Record2<'a', T>, y: Record) { function mixed4(x: Record<'a', T>, y: Record2) { >mixed4 : (x: Record<'a', T>, y: Record2) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Record<"a", T> > : ^^^^^^^^^^^^^^ >y : Record2 diff --git a/tests/baselines/reference/constAssertions.types b/tests/baselines/reference/constAssertions.types index 40116746d2c15..5d53e12e2937f 100644 --- a/tests/baselines/reference/constAssertions.types +++ b/tests/baselines/reference/constAssertions.types @@ -565,7 +565,7 @@ let q5 = { x: 10, y: 20 }; declare function id(x: T): T; >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -670,7 +670,7 @@ function ff1(x: 'foo' | 'bar', y: 1 | 2) { function ff2(x: T, y: U) { >ff2 : (x: T, y: U) => `${T}-${U}` -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ >x : T > : ^ >y : U @@ -884,7 +884,7 @@ function ff5(verify: boolean, contentMatches: boolean) { function accessorNames(propName: S) { >accessorNames : (propName: S) => readonly [`get-${S}`, `set-${S}`] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >propName : S > : ^ diff --git a/tests/baselines/reference/constEnum3.types b/tests/baselines/reference/constEnum3.types index 6df0800a4eefe..04fd0cde467ea 100644 --- a/tests/baselines/reference/constEnum3.types +++ b/tests/baselines/reference/constEnum3.types @@ -17,13 +17,13 @@ type TestTypeStr = keyof typeof TestType; function f1(f: TestType) { } >f1 : (f: TestType) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : TestType > : ^^^^^^^^ function f2(f: TestTypeStr) { } >f2 : (f: TestTypeStr) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : "foo" | "bar" > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=false).types b/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=false).types index 289c1f9a66572..1e6782fb9f816 100644 --- a/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=false).types +++ b/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=false).types @@ -29,7 +29,7 @@ import * as Foo from "./foo"; function check(x: Foo.ConstFooEnum): void { >check : (x: Foo.ConstFooEnum) => void -> : ^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : Foo.ConstFooEnum > : ^^^^^^^^^^^^^^^^ >Foo : any diff --git a/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=true).types b/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=true).types index 289c1f9a66572..1e6782fb9f816 100644 --- a/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=true).types +++ b/tests/baselines/reference/constEnumNamespaceReferenceCausesNoImport(isolatedmodules=true).types @@ -29,7 +29,7 @@ import * as Foo from "./foo"; function check(x: Foo.ConstFooEnum): void { >check : (x: Foo.ConstFooEnum) => void -> : ^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : Foo.ConstFooEnum > : ^^^^^^^^^^^^^^^^ >Foo : any diff --git a/tests/baselines/reference/constEnumPropertyAccess2.types b/tests/baselines/reference/constEnumPropertyAccess2.types index d07c1df3d0692..230657396cc7b 100644 --- a/tests/baselines/reference/constEnumPropertyAccess2.types +++ b/tests/baselines/reference/constEnumPropertyAccess2.types @@ -77,7 +77,7 @@ g = "string"; function foo(x: G) { } >foo : (x: G) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : G > : ^ diff --git a/tests/baselines/reference/constEnumSyntheticNodesComments.types b/tests/baselines/reference/constEnumSyntheticNodesComments.types index 98a959254be9e..e2d04741f7eaa 100644 --- a/tests/baselines/reference/constEnumSyntheticNodesComments.types +++ b/tests/baselines/reference/constEnumSyntheticNodesComments.types @@ -15,7 +15,7 @@ const enum En { A, B, C, D } function assert(x: T) { >assert : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -26,7 +26,7 @@ function assert(x: T) { function verify(a: En) { >verify : (a: En) => 0 | 1 | 2 | 3 -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^ >a : En > : ^^ diff --git a/tests/baselines/reference/constEnums.types b/tests/baselines/reference/constEnums.types index 62f1dfde9bba9..d25baafa64cb8 100644 --- a/tests/baselines/reference/constEnums.types +++ b/tests/baselines/reference/constEnums.types @@ -527,7 +527,7 @@ import I2 = A2.B; function foo0(e: I): void { >foo0 : (e: I) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : I > : ^ @@ -559,7 +559,7 @@ function foo0(e: I): void { function foo1(e: I1.C.E): void { >foo1 : (e: I1.C.E) => void -> : ^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >e : I1.C.E > : ^^^^^^ >I1 : any @@ -611,7 +611,7 @@ function foo1(e: I1.C.E): void { function foo2(e: I2.C.E): void { >foo2 : (e: I2.C.E) => void -> : ^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >e : I2.C.E > : ^^^^^^ >I2 : any @@ -664,7 +664,7 @@ function foo2(e: I2.C.E): void { function foo(x: Enum1) { >foo : (x: Enum1) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Enum1 > : ^^^^^ @@ -902,7 +902,7 @@ function foo(x: Enum1) { function bar(e: A.B.C.E): number { >bar : (e: A.B.C.E) => number -> : ^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >e : I > : ^ >A : any @@ -986,7 +986,7 @@ function bar(e: A.B.C.E): number { function baz(c: Comments) { >baz : (c: Comments) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >c : Comments > : ^^^^^^^^ diff --git a/tests/baselines/reference/constantOverloadFunction.types b/tests/baselines/reference/constantOverloadFunction.types index faf8ac3f4fbae..12a634f28d4fc 100644 --- a/tests/baselines/reference/constantOverloadFunction.types +++ b/tests/baselines/reference/constantOverloadFunction.types @@ -33,25 +33,25 @@ class Derived3 extends Base { biz() { } } function foo(tagName: 'canvas'): Derived1; >foo : { (tagName: 'canvas'): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "canvas" > : ^^^^^^^^ function foo(tagName: 'div'): Derived2; >foo : { (tagName: "canvas"): Derived1; (tagName: 'div'): Derived2; (tagName: "span"): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "div" > : ^^^^^ function foo(tagName: 'span'): Derived3; >foo : { (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: 'span'): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "span" > : ^^^^^^ function foo(tagName: string): Base; >foo : { (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >tagName : string > : ^^^^^^ diff --git a/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.types b/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.types index 70706691865b6..78b9ebeeff353 100644 --- a/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.types +++ b/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.types @@ -33,25 +33,25 @@ class Derived3 extends Base { biz() { } } function foo(tagName: 'canvas'): Derived3; >foo : { (tagName: 'canvas'): Derived3; (tagName: "div"): Derived2; (tagName: "span"): Derived1; (tagName: number): Base; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "canvas" > : ^^^^^^^^ function foo(tagName: 'div'): Derived2; >foo : { (tagName: "canvas"): Derived3; (tagName: 'div'): Derived2; (tagName: "span"): Derived1; (tagName: number): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "div" > : ^^^^^ function foo(tagName: 'span'): Derived1; >foo : { (tagName: "canvas"): Derived3; (tagName: "div"): Derived2; (tagName: 'span'): Derived1; (tagName: number): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "span" > : ^^^^^^ function foo(tagName: number): Base; >foo : { (tagName: "canvas"): Derived3; (tagName: "div"): Derived2; (tagName: "span"): Derived1; (tagName: number): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >tagName : number > : ^^^^^^ diff --git a/tests/baselines/reference/constraintErrors1.types b/tests/baselines/reference/constraintErrors1.types index cbdf77582cf20..f555510614103 100644 --- a/tests/baselines/reference/constraintErrors1.types +++ b/tests/baselines/reference/constraintErrors1.types @@ -3,7 +3,7 @@ === constraintErrors1.ts === function foo5(test: T) { } >foo5 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ diff --git a/tests/baselines/reference/constraintOfRecursivelyMappedTypeWithConditionalIsResolvable.types b/tests/baselines/reference/constraintOfRecursivelyMappedTypeWithConditionalIsResolvable.types index eecea3a1df3d7..a3e0d57de8b4a 100644 --- a/tests/baselines/reference/constraintOfRecursivelyMappedTypeWithConditionalIsResolvable.types +++ b/tests/baselines/reference/constraintOfRecursivelyMappedTypeWithConditionalIsResolvable.types @@ -18,7 +18,7 @@ export type ImmutableModel = { [K in keyof T]: T[K] extends ImmutableTypes ? export interface IImmutableMap> extends Map { set(key: K, value: T[K]): IImmutableMap; >set : (key: K, value: T[K]) => IImmutableMap -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : T[K] @@ -40,7 +40,7 @@ export type ImmutableModel2 = { [K in keyof T]: isImmutableType }; export interface IImmutableMap2> extends Map { set(key: K, value: T[K]): IImmutableMap2; >set : (key: K, value: T[K]) => IImmutableMap2 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : T[K] diff --git a/tests/baselines/reference/constraintPropagationThroughReturnTypes.types b/tests/baselines/reference/constraintPropagationThroughReturnTypes.types index ba04a2f7d92de..d031e3cd8e325 100644 --- a/tests/baselines/reference/constraintPropagationThroughReturnTypes.types +++ b/tests/baselines/reference/constraintPropagationThroughReturnTypes.types @@ -3,7 +3,7 @@ === constraintPropagationThroughReturnTypes.ts === function g(x: T): T { >g : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -14,7 +14,7 @@ function g(x: T): T { function f(x: S) { >f : (x: S) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >foo : string > : ^^^^^^ >x : S diff --git a/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.types b/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.types index 282d2ead50b9d..513565f5631b2 100644 --- a/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.types +++ b/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.types @@ -27,7 +27,7 @@ interface I3 { function foo(v: V) => void>() { >foo : (v: V) => void>() => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >v : V > : ^ } diff --git a/tests/baselines/reference/constraintSatisfactionWithAny.types b/tests/baselines/reference/constraintSatisfactionWithAny.types index 45b2e001d46c6..701ce8a300f4a 100644 --- a/tests/baselines/reference/constraintSatisfactionWithAny.types +++ b/tests/baselines/reference/constraintSatisfactionWithAny.types @@ -5,13 +5,13 @@ function foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ function foo2(x: T): T { return null; } >foo2 : (x: T) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >x : T @@ -20,7 +20,7 @@ function foo2(x: T): T { return null; } //function foo3(x: T): T { return null; } function foo4(x: T) => void>(x: T): T { return null; } >foo4 : (x: T_1) => void>(x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/constraintSatisfactionWithAny2.types b/tests/baselines/reference/constraintSatisfactionWithAny2.types index c9fa8658b977f..5066bab0595e1 100644 --- a/tests/baselines/reference/constraintSatisfactionWithAny2.types +++ b/tests/baselines/reference/constraintSatisfactionWithAny2.types @@ -6,7 +6,7 @@ declare function foo(x: U) => Z>(y: T): Z; >foo : (x: U) => Z>(y: T) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : U > : ^ >y : T diff --git a/tests/baselines/reference/constraintSatisfactionWithEmptyObject.types b/tests/baselines/reference/constraintSatisfactionWithEmptyObject.types index 815807b10d849..d941941cbfb0d 100644 --- a/tests/baselines/reference/constraintSatisfactionWithEmptyObject.types +++ b/tests/baselines/reference/constraintSatisfactionWithEmptyObject.types @@ -6,7 +6,7 @@ // Object constraint function foo(x: T) { } >foo : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -67,7 +67,7 @@ var i: I<{}>; // {} constraint function foo2(x: T) { } >foo2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance.types b/tests/baselines/reference/constructSignatureAssignabilityInInheritance.types index a4d732836d530..ba573bd526277 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance.types +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance.types @@ -77,7 +77,7 @@ module MemberWithConstructSignature { a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -119,7 +119,7 @@ module MemberWithConstructSignature { a3: new (x: T) => string; // ok because base returns void >a3 : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -134,7 +134,7 @@ module MemberWithConstructSignature { a2: new (x: T) => T; >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -154,7 +154,7 @@ module MemberWithConstructSignature { // N's a2: new (x: T) => string; // error because base returns non-void; >a2 : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.types b/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.types index b7282bdd7b6ed..49f13c836e59f 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.types +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.types @@ -71,17 +71,17 @@ interface A { // T a6: new (x: (arg: Base) => Derived) => Base; >a6 : new (x: (arg: Base) => Derived) => Base -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -89,13 +89,13 @@ interface A { // T a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -103,13 +103,13 @@ interface A { // T a9: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -117,13 +117,13 @@ interface A { // T a10: new (...x: Derived[]) => Derived; >a10 : new (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -137,7 +137,7 @@ interface A { // T a12: new (x: Array, y: Array) => Array; >a12 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -145,7 +145,7 @@ interface A { // T a13: new (x: Array, y: Array) => Array; >a13 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -153,7 +153,7 @@ interface A { // T a14: new (x: { a: string; b: number }) => Object; >a14 : new (x: { a: string; b: number; }) => Object -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -176,7 +176,7 @@ interface A { // T }; a16: { >a16 : { new (x: T): number[]; new (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: T): number[]; >x : T @@ -206,7 +206,7 @@ interface A { // T }; a18: { >a18 : { new (x: { new (a: number): number; new (a: string): string; }): any[]; new (x: { new (a: boolean): boolean; new (a: Date): Date; }): any[]; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (x: { >x : { new (a: number): number; new (a: string): string; } @@ -223,7 +223,7 @@ interface A { // T }): any[]; new (x: { >x : { new (a: boolean): boolean; new (a: Date): Date; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (a: boolean): boolean; >a : boolean @@ -242,25 +242,25 @@ interface I extends A { // N's a: new (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; // ok >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; // ok since Base returns void >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => T; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -268,25 +268,25 @@ interface I extends A { a5: new (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a7: new (x: (arg: T) => U) => (r: T) => U; // ok >a7 : new (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -294,13 +294,13 @@ interface I extends A { a8: new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; // ok >a8 : new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -308,13 +308,13 @@ interface I extends A { a9: new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; // ok, same as a8 with compatible object literal >a9 : new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -326,13 +326,13 @@ interface I extends A { a10: new (...x: T[]) => T; // ok >a10 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ a11: new (x: T, y: T) => T; // ok >a11 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -340,7 +340,7 @@ interface I extends A { a12: new >(x: Array, y: T) => Array; // ok, less specific parameter type >a12 : new (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -348,7 +348,7 @@ interface I extends A { a13: new >(x: Array, y: T) => T; // ok, T = Array, satisfies constraint, contextual signature instantiation succeeds >a13 : new (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -356,9 +356,9 @@ interface I extends A { a14: new (x: { a: T; b: U }) => T; // ok >a14 : new (x: { a: T; b: U; }) => T -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : { a: T; b: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : U @@ -366,29 +366,29 @@ interface I extends A { a15: new (x: T) => T[]; // ok >a15 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a16: new (x: T) => number[]; // ok >a16 : new (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ a17: new (x: new (a: T) => T) => T[]; // ok >a17 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ a18: new (x: new (a: T) => T) => T[]; // ok, no inferences for T but assignable to any >a18 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ } diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.types b/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.types index 2d080fc1d6c72..338e2d8278d04 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.types +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.types @@ -49,9 +49,9 @@ module Errors { a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived2; >a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -59,13 +59,13 @@ module Errors { a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -73,13 +73,13 @@ module Errors { a10: new (...x: Base[]) => Base; >a10 : new (...x: Base[]) => Base -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -93,7 +93,7 @@ module Errors { a12: new (x: Array, y: Array) => Array; >a12 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -159,7 +159,7 @@ module Errors { interface I extends A { a2: new (x: T) => U[]; // error, contextual signature instantiation doesn't relate return types so U is {}, not a subtype of string[] >a2 : new (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -167,7 +167,7 @@ module Errors { interface I2 extends A { a2: new (x: T) => U[]; // error, no contextual signature instantiation since I2.a2 is not generic >a2 : new (x: T) => U[] -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -176,9 +176,9 @@ module Errors { // valid, no inferences for V so it defaults to Derived2 a7: new (x: (arg: T) => U) => (r: T) => V; >a7 : new (x: (arg: T) => U) => (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -188,13 +188,13 @@ module Errors { interface I4 extends A { a8: new (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U; // error, type mismatch >a8 : new (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: number; } > : ^^^^^^^ ^^^ >foo : number @@ -206,7 +206,7 @@ module Errors { interface I4B extends A { a10: new (...x: T[]) => T; // valid, parameter covariance works even after contextual signature instantiation >a10 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ } @@ -214,7 +214,7 @@ module Errors { interface I4C extends A { a11: new (x: T, y: T) => T; // valid, even though x is a Base, parameter covariance works even after contextual signature instantiation >a11 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -224,7 +224,7 @@ module Errors { interface I4E extends A { a12: new >(x: Array, y: Array) => T; // valid, no inferences for T, defaults to Array >a12 : new (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Base[] @@ -234,9 +234,9 @@ module Errors { interface I6 extends A { a15: new (x: { a: T; b: T }) => T; // error, T is {} which isn't an acceptable return type >a15 : new (x: { a: T; b: T; }) => T -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -246,9 +246,9 @@ module Errors { interface I7 extends A { a15: new (x: { a: T; b: T }) => number; // error, T defaults to Base, which is not compatible with number or string >a15 : new (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -259,9 +259,9 @@ module Errors { // ok, we relate each signature of a16 to b16, and within that, we make inferences from two different signatures in the respective A.a16 signature a16: new (x: new (a: T) => T) => T[]; >a16 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ } @@ -272,7 +272,7 @@ module Errors { interface B { a2: new (x: T) => T[]; >a2 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -280,7 +280,7 @@ module Errors { interface I6 extends B { a2: new (x: T) => string[]; // error >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -289,7 +289,7 @@ module Errors { interface C { a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -297,7 +297,7 @@ module Errors { interface I7 extends C { a2: new (x: T) => T[]; // error >a2 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -306,7 +306,7 @@ module Errors { interface D { a14: { >a14 : { new (x: T): number[]; new (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: T): number[]; >x : T @@ -322,7 +322,7 @@ module Errors { interface I8 extends D { a14: new (x: T) => number[]; >a14 : new (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.types b/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.types index e77159a827fa7..5c0400f94815d 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.types +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.types @@ -37,25 +37,25 @@ interface A { // T // M's a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -63,29 +63,29 @@ interface A { // T a5: new (x: (arg: T) => U) => T; >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => Derived) => T; >a6 : new (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -93,9 +93,9 @@ interface A { // T a15: new (x: { a: T; b: T }) => T[]; >a15 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -103,9 +103,9 @@ interface A { // T a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -113,7 +113,7 @@ interface A { // T a17: { >a17 : { new (x: T): T[]; new (x: U): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: T): T[]; >x : T @@ -126,7 +126,7 @@ interface A { // T }; a18: { >a18 : { new (x: T): number[]; new (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: T): number[]; >x : T @@ -139,28 +139,28 @@ interface A { // T }; a19: { >a19 : { new (x: new (a: T) => T): T[]; new (x: new (a: U) => U): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: new (a: T) => T): T[]; >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ new (x: new (a: U) => U): U[]; >x : new (a: U) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : U > : ^ }; a20: { >a20 : { new (x: { new (a: T): T; new (a: U): U; }): any[]; new (x: { new (a: T_1): T_1; new (a: U_1): U_1; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ new (x: { >x : { new (a: T): T; new (a: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (a: T): T; >a : T @@ -173,7 +173,7 @@ interface A { // T }): any[]; new (x: { >x : { new (a: T): T; new (a: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (a: T): T; >a : T @@ -192,25 +192,25 @@ interface I extends A { // N's a: new (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; // ok >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; // ok since Base returns void >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => string; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -218,29 +218,29 @@ interface I extends A { a5: new (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; // ok >a11 : new (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -248,9 +248,9 @@ interface I extends A { a15: new (x: { a: U; b: V; }) => U[]; // ok, T = U, T = V >a15 : new (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : { a: U; b: V; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : U > : ^ >b : V @@ -258,9 +258,9 @@ interface I extends A { a16: new (x: { a: T; b: T }) => T[]; // ok, more general parameter type >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -268,29 +268,29 @@ interface I extends A { a17: new (x: T) => T[]; // ok, more general parameter type >a17 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ a18: new (x: T) => number[]; // ok, more general parameter type >a18 : new (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ a19: new (x: new (a: T) => T) => T[]; // ok >a19 : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ a20: new (x: new (a: T) => T) => any[]; // ok >a20 : new (x: new (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >a : T > : ^ } diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.types b/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.types index 4df5da330ace6..e72108d657487 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.types +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.types @@ -72,17 +72,17 @@ interface A { // T a6: new (x: (arg: Base) => Derived) => Base; >a6 : new (x: (arg: Base) => Derived) => Base -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -90,13 +90,13 @@ interface A { // T a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -104,13 +104,13 @@ interface A { // T a9: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -118,13 +118,13 @@ interface A { // T a10: new (...x: Derived[]) => Derived; >a10 : new (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -138,7 +138,7 @@ interface A { // T a12: new (x: Array, y: Array) => Array; >a12 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -146,7 +146,7 @@ interface A { // T a13: new (x: Array, y: Array) => Array; >a13 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -154,7 +154,7 @@ interface A { // T a14: new (x: { a: string; b: number }) => Object; >a14 : new (x: { a: string; b: number; }) => Object -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -166,7 +166,7 @@ interface A { // T interface B extends A { a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -176,25 +176,25 @@ interface I extends B { // N's a: new (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; // ok >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; // ok since Base returns void >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => T; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -202,25 +202,25 @@ interface I extends B { a5: new (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a7: new (x: (arg: T) => U) => (r: T) => U; // ok >a7 : new (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -228,13 +228,13 @@ interface I extends B { a8: new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; // ok >a8 : new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -242,13 +242,13 @@ interface I extends B { a9: new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; // ok, same as a8 with compatible object literal >a9 : new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -260,13 +260,13 @@ interface I extends B { a10: new (...x: T[]) => T; // ok >a10 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ a11: new (x: T, y: T) => T; // ok >a11 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -274,7 +274,7 @@ interface I extends B { a12: new >(x: Array, y: T) => Array; // ok, less specific parameter type >a12 : new (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -282,7 +282,7 @@ interface I extends B { a13: new >(x: Array, y: T) => T; // ok, T = Array, satisfies constraint, contextual signature instantiation succeeds >a13 : new (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -290,9 +290,9 @@ interface I extends B { a14: new (x: { a: T; b: U }) => T; // ok >a14 : new (x: { a: T; b: U; }) => T -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : { a: T; b: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.types b/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.types index 52ce5880a26fd..cd59ec7250d3f 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.types +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.types @@ -39,25 +39,25 @@ interface A { // T // M's a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -65,29 +65,29 @@ interface A { // T a5: new (x: (arg: T) => U) => T; >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => Derived) => T; >a6 : new (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -95,9 +95,9 @@ interface A { // T a15: new (x: { a: T; b: T }) => T[]; >a15 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -105,9 +105,9 @@ interface A { // T a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -118,7 +118,7 @@ interface A { // T interface I extends A { a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -126,7 +126,7 @@ interface I extends A { interface I2 extends A { a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -134,7 +134,7 @@ interface I2 extends A { interface I3 extends A { a3: new (x: T) => T; >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -142,7 +142,7 @@ interface I3 extends A { interface I4 extends A { a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -152,9 +152,9 @@ interface I4 extends A { interface I5 extends A { a5: new (x: (arg: T) => U) => T; >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } @@ -162,13 +162,13 @@ interface I5 extends A { interface I7 extends A { a11: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; >a11 : new (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -178,9 +178,9 @@ interface I7 extends A { interface I9 extends A { a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.types b/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.types index 316da9822fc9d..f0fca2db859bf 100644 --- a/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.types +++ b/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.types @@ -143,7 +143,7 @@ var r4 = new i2(1, ''); var a: { >a : { new (x: number, y: string): C; new (x: number, y: string): C; } -> : ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^ ^^^ ^^^ new (x: number, y: string): C; >x : number @@ -172,7 +172,7 @@ var r5 = new a(1, ''); var b: { >b : { new (x: T, y: string): C2; new (x: T_1, y: string): C2; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ new (x: T, y: string): C2; >x : T diff --git a/tests/baselines/reference/constructSignaturesWithOverloads.types b/tests/baselines/reference/constructSignaturesWithOverloads.types index 129104a221498..6fb9cc3fac01e 100644 --- a/tests/baselines/reference/constructSignaturesWithOverloads.types +++ b/tests/baselines/reference/constructSignaturesWithOverloads.types @@ -144,7 +144,7 @@ var r4 = new i2(1, ''); var a: { >a : { new (x: number, y?: string): C; new (x: number, y: string): C; } -> : ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^ ^^^ ^^^ new(x: number, y?: string): C; >x : number @@ -173,7 +173,7 @@ var r5 = new a(1, ''); var b: { >b : { new (x: T, y?: string): C2; new (x: T_1, y: string): C2; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ new(x: T, y?: string): C2; >x : T diff --git a/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.types b/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.types index fe03ef4a95c36..2e40d2d2e3ecb 100644 --- a/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.types +++ b/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.types @@ -66,7 +66,7 @@ interface I2 { var a: { >a : { new (x: number, y: string): C2; new (x: number, y: string): C; } -> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^ ^^^ ^^^ new (x: number, y: string): C2; >x : number @@ -83,7 +83,7 @@ var a: { var b: { >b : { new (x: T, y: string): C2; new (x: T_1, y: string): C; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ new (x: T, y: string): C2; >x : T diff --git a/tests/baselines/reference/constructorArgWithGenericCallSignature.types b/tests/baselines/reference/constructorArgWithGenericCallSignature.types index 5e22b410d6eec..3eec71d7b1245 100644 --- a/tests/baselines/reference/constructorArgWithGenericCallSignature.types +++ b/tests/baselines/reference/constructorArgWithGenericCallSignature.types @@ -21,7 +21,7 @@ module Test { export function F(func: MyFunc) { } >F : (func: MyFunc) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >func : MyFunc > : ^^^^^^ } diff --git a/tests/baselines/reference/constructorFunctionMethodTypeParameters.types b/tests/baselines/reference/constructorFunctionMethodTypeParameters.types index be56eb3f4f234..eb9d2c68061ad 100644 --- a/tests/baselines/reference/constructorFunctionMethodTypeParameters.types +++ b/tests/baselines/reference/constructorFunctionMethodTypeParameters.types @@ -31,7 +31,7 @@ function Cls(t) { */ Cls.prototype.topLevelComment = function (t, v) { >Cls.prototype.topLevelComment = function (t, v) { return v} : (t: T, v: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Cls.prototype.topLevelComment : any >Cls.prototype : any > : ^^^ @@ -42,7 +42,7 @@ Cls.prototype.topLevelComment = function (t, v) { >topLevelComment : any > : ^^^ >function (t, v) { return v} : (t: T, v: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : T > : ^ >v : V @@ -56,7 +56,7 @@ Cls.prototype.topLevelComment = function (t, v) { Cls.prototype.nestedComment = >Cls.prototype.nestedComment = /** * @template {string} U * @param {T} t * @param {U} u * @return {T} */ function (t, u) { return t } : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Cls.prototype.nestedComment : any >Cls.prototype : any > : ^^^ @@ -75,7 +75,7 @@ Cls.prototype.nestedComment = */ function (t, u) { >function (t, u) { return t } : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.types b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.types index b3649d8fd4e74..f1288567397db 100644 --- a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.types +++ b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.types @@ -7,7 +7,7 @@ class Base { static foo: { >foo : { bar: Object; } -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ bar: Object; >bar : Object diff --git a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.types b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.types index dda2e36f20668..01e1abb319274 100644 --- a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.types +++ b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.types @@ -9,7 +9,7 @@ class Base { static foo: { >foo : { bar: Object; } -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ bar: Object; >bar : Object diff --git a/tests/baselines/reference/constructorOverloads7.types b/tests/baselines/reference/constructorOverloads7.types index b96e5162cb38d..421130149a3e9 100644 --- a/tests/baselines/reference/constructorOverloads7.types +++ b/tests/baselines/reference/constructorOverloads7.types @@ -21,7 +21,7 @@ declare class Point add(dx: number, dy: number): Point; >add : (dx: number, dy: number) => Point -> : ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number diff --git a/tests/baselines/reference/constructorWithAssignableReturnExpression.types b/tests/baselines/reference/constructorWithAssignableReturnExpression.types index d91fb0cc7915a..0b1c03a613378 100644 --- a/tests/baselines/reference/constructorWithAssignableReturnExpression.types +++ b/tests/baselines/reference/constructorWithAssignableReturnExpression.types @@ -78,7 +78,7 @@ class G { constructor() { return { x: null }; >{ x: null } : { x: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >x : T > : ^ >null : T diff --git a/tests/baselines/reference/contextSensitiveReturnTypeInference.types b/tests/baselines/reference/contextSensitiveReturnTypeInference.types index 92e513e2c1c48..2333ee4349ca6 100644 --- a/tests/baselines/reference/contextSensitiveReturnTypeInference.types +++ b/tests/baselines/reference/contextSensitiveReturnTypeInference.types @@ -11,11 +11,11 @@ interface IData { declare function test( >test : (getter: (deps: TDependencies, data: IData) => any, deps: TDependencies) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ getter: (deps: TDependencies, data: IData) => any, >getter : (deps: TDependencies, data: IData) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >deps : TDependencies > : ^^^^^^^^^^^^^ >data : IData @@ -93,7 +93,7 @@ test( (deps: typeof DEPS, data) => ({ >(deps: typeof DEPS, data) => ({ fn1: function() { return deps.foo }, fn2: data.bar }) : (deps: typeof DEPS, data: IData) => { fn1: () => number; fn2: boolean; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >deps : { foo: number; } > : ^^^^^^^^^^^^^^^^ >DEPS : { foo: number; } diff --git a/tests/baselines/reference/contextualComputedNonBindablePropertyType.types b/tests/baselines/reference/contextualComputedNonBindablePropertyType.types index 4c886079dfbb7..381db94ba82ea 100644 --- a/tests/baselines/reference/contextualComputedNonBindablePropertyType.types +++ b/tests/baselines/reference/contextualComputedNonBindablePropertyType.types @@ -9,7 +9,7 @@ declare function testD(): "d"; declare function forceMatch(matched: { >forceMatch : (matched: { [key in keyof T]: key; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >matched : { [key in keyof T]: key; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -38,9 +38,9 @@ forceMatch({ declare function forceMatch2(matched: { >forceMatch2 : (matched: { [key in keyof T]: ({ key }: { key: key; }) => void; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >matched : { [key in keyof T]: ({ key }: { key: key; }) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ [key in keyof T]: ({ key }: { key: key }) => void; >key : key @@ -95,9 +95,9 @@ type Mapped = { const propSelector = (propName: propName): propName => propName; >propSelector : (propName: propName) => propName -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(propName: propName): propName => propName : (propName: propName) => propName -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >propName : propName > : ^^^^^^^^ >propName : propName diff --git a/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack.types b/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack.types index 9025308de685b..7543a21fae899 100644 --- a/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack.types +++ b/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack.types @@ -14,7 +14,7 @@ export default class Operation { validateParameters(parameterValues: any) : IValidationError[] | null { >validateParameters : (parameterValues: any) => IValidationError[] | null -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >parameterValues : any let result: IValidationError[] | null = null; diff --git a/tests/baselines/reference/contextualOverloadListFromArrayUnion.types b/tests/baselines/reference/contextualOverloadListFromArrayUnion.types index 685bd24b1dcf2..ee13b180ffa3a 100644 --- a/tests/baselines/reference/contextualOverloadListFromArrayUnion.types +++ b/tests/baselines/reference/contextualOverloadListFromArrayUnion.types @@ -111,7 +111,7 @@ interface Task { export function series(tasks: Task[], callback: Callback): void { >series : (tasks: Task[], callback: Callback) => void -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >tasks : Task[] > : ^^^^^^^^^ >callback : Callback diff --git a/tests/baselines/reference/contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.types b/tests/baselines/reference/contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.types index 8c828f1df0983..9d6f395165c86 100644 --- a/tests/baselines/reference/contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.types +++ b/tests/baselines/reference/contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.types @@ -32,7 +32,7 @@ type Rule = string | FullRule; const obj: {field: Rule} = { >obj : { field: Rule; } -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >field : Rule > : ^^^^ >{ field: { validate: (_t, _p, _s) => false, normalize: match => match.x, }} : { field: { validate: (_t: string, _p: number, _s: Rule) => false; normalize: (match: any) => any; }; } diff --git a/tests/baselines/reference/contextualPropertyOfGenericMappedType.types b/tests/baselines/reference/contextualPropertyOfGenericMappedType.types index d90524deb0e4b..439d5b01d79ed 100644 --- a/tests/baselines/reference/contextualPropertyOfGenericMappedType.types +++ b/tests/baselines/reference/contextualPropertyOfGenericMappedType.types @@ -5,11 +5,11 @@ declare function f(data: T, handlers: { [P in keyof T]: (value: T[P], prop: P) => void; }): void; >f : (data: T, handlers: { [P in keyof T]: (value: T[P], prop: P) => void; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >data : T > : ^ >handlers : { [P in keyof T]: (value: T[P], prop: P) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >value : T[P] > : ^^^^ >prop : P diff --git a/tests/baselines/reference/contextualSigInstantiationRestParams.types b/tests/baselines/reference/contextualSigInstantiationRestParams.types index d136341fdd7a6..cd44215fdc0e4 100644 --- a/tests/baselines/reference/contextualSigInstantiationRestParams.types +++ b/tests/baselines/reference/contextualSigInstantiationRestParams.types @@ -3,7 +3,7 @@ === contextualSigInstantiationRestParams.ts === declare function toInstantiate(a?: A, b?: B): B; >toInstantiate : (a?: A, b?: B) => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/contextualSignatureConditionalTypeInstantiationUsingDefault.types b/tests/baselines/reference/contextualSignatureConditionalTypeInstantiationUsingDefault.types index 8787eeaaa2890..37d89392c6af7 100644 --- a/tests/baselines/reference/contextualSignatureConditionalTypeInstantiationUsingDefault.types +++ b/tests/baselines/reference/contextualSignatureConditionalTypeInstantiationUsingDefault.types @@ -28,7 +28,7 @@ type ActionFunction = (event: TEvent) => void; declare function createMachine< >createMachine : (config: { types?: TTypesMeta; }, implementations: TTypesMeta extends TypegenEnabled ? ActionFunction<{ type: "test"; }> : ActionFunction<{ type: string; }>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ TTypesMeta extends TypegenEnabled | TypegenDisabled = TypegenDisabled >( diff --git a/tests/baselines/reference/contextualSignatureInArrayElementLibEs2015.types b/tests/baselines/reference/contextualSignatureInArrayElementLibEs2015.types index d36caae9caadb..6a03a557ccdb1 100644 --- a/tests/baselines/reference/contextualSignatureInArrayElementLibEs2015.types +++ b/tests/baselines/reference/contextualSignatureInArrayElementLibEs2015.types @@ -5,7 +5,7 @@ declare function test( >test : (arg: Record void> | Array<(arg: number) => void>) => void -> : ^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^ arg: Record void> | Array<(arg: number) => void> >arg : Record void> | ((arg: number) => void)[] diff --git a/tests/baselines/reference/contextualSignatureInArrayElementLibEs5.types b/tests/baselines/reference/contextualSignatureInArrayElementLibEs5.types index 2efdd9a8d0466..aa54be1ca02b4 100644 --- a/tests/baselines/reference/contextualSignatureInArrayElementLibEs5.types +++ b/tests/baselines/reference/contextualSignatureInArrayElementLibEs5.types @@ -5,7 +5,7 @@ declare function test( >test : (arg: Record void> | Array<(arg: number) => void>) => void -> : ^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^ arg: Record void> | Array<(arg: number) => void> >arg : Record void> | ((arg: number) => void)[] diff --git a/tests/baselines/reference/contextualSignatureInstantiation.types b/tests/baselines/reference/contextualSignatureInstantiation.types index a719262b0d18c..2a0e3f205d51c 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation.types +++ b/tests/baselines/reference/contextualSignatureInstantiation.types @@ -9,9 +9,9 @@ declare function foo(cb: (x: number, y: string) => T): T; >foo : (cb: (x: number, y: string) => T) => T -> : ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >cb : (x: number, y: string) => T -> : ^^^^ ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -19,13 +19,13 @@ declare function foo(cb: (x: number, y: string) => T): T; declare function bar(x: T, y: U, cb: (x: T, y: U) => V): V; >bar : (x: T, y: U, cb: (x: T, y: U) => V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U > : ^ >cb : (x: T, y: U) => V -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -33,13 +33,13 @@ declare function bar(x: T, y: U, cb: (x: T, y: U) => V): V; declare function baz(x: T, y: T, cb: (x: T, y: T) => U): U; >baz : (x: T, y: T, cb: (x: T, y: T) => U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T > : ^ >cb : (x: T, y: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -47,7 +47,7 @@ declare function baz(x: T, y: T, cb: (x: T, y: T) => U): U; declare function g(x: T, y: T): T; >g : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -55,7 +55,7 @@ declare function g(x: T, y: T): T; declare function h(x: T, y: U): T[] | U[]; >h : (x: T, y: U) => T[] | U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/contextualSignatureInstantiation1.types b/tests/baselines/reference/contextualSignatureInstantiation1.types index e884ade81bff0..a39c3262cb63f 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation1.types +++ b/tests/baselines/reference/contextualSignatureInstantiation1.types @@ -3,9 +3,9 @@ === contextualSignatureInstantiation1.ts === declare function map(f: (x: S) => T): (a: S[]) => T[]; >map : (f: (x: S) => T) => (a: S[]) => T[] -> : ^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >f : (x: S) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : S > : ^ >a : S[] @@ -13,9 +13,9 @@ declare function map(f: (x: S) => T): (a: S[]) => T[]; var e = (x: string, y?: K) => x.length; >e : (x: string, y?: K) => number -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ >(x: string, y?: K) => x.length : (x: string, y?: K) => number -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ >x : string > : ^^^^^^ >y : K @@ -39,11 +39,11 @@ var r99 = map(e); // should be {}[] for S since a generic lambda is not inferent declare function map2(f: (x: S) => T): (a: S[]) => T[]; >map2 : (f: (x: S) => T) => (a: S[]) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >length : number > : ^^^^^^ >f : (x: S) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : S > : ^ >a : S[] @@ -51,9 +51,9 @@ declare function map2(f: (x: S) => T): (a: S[]) var e2 = (x: string, y?: K) => x.length; >e2 : (x: string, y?: K) => number -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ >(x: string, y?: K) => x.length : (x: string, y?: K) => number -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ >x : string > : ^^^^^^ >y : K diff --git a/tests/baselines/reference/contextualSignatureInstantiation2.types b/tests/baselines/reference/contextualSignatureInstantiation2.types index b9698e51c4efc..ea7c76c55fdd9 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation2.types +++ b/tests/baselines/reference/contextualSignatureInstantiation2.types @@ -4,13 +4,13 @@ // dot f g x = f(g(x)) var dot: (f: (_: T) => S) => (g: (_: U) => T) => (_: U) => S; >dot : (f: (_: T) => S) => (g: (_: U) => T) => (_: U) => S -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >f : (_: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : T > : ^ >g : (_: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : U > : ^ >_ : U @@ -18,19 +18,19 @@ var dot: (f: (_: T) => S) => (g: (_: U) => T) => (_: U) => S; dot = (f: (_: T) => S) => (g: (_: U) => T): (r:U) => S => (x) => f(g(x)); >dot = (f: (_: T) => S) => (g: (_: U) => T): (r:U) => S => (x) => f(g(x)) : (f: (_: T) => S) => (g: (_: U) => T) => (r: U) => S -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ >dot : (f: (_: T) => S) => (g: (_: U) => T) => (_: U) => S > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(f: (_: T) => S) => (g: (_: U) => T): (r:U) => S => (x) => f(g(x)) : (f: (_: T) => S) => (g: (_: U) => T) => (r: U) => S -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ >f : (_: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : T > : ^ >(g: (_: U) => T): (r:U) => S => (x) => f(g(x)) : (g: (_: U) => T) => (r: U) => S -> : ^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >g : (_: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : U > : ^ >r : U @@ -52,7 +52,7 @@ dot = (f: (_: T) => S) => (g: (_: U) => T): (r:U) => S => (x) => f(g(x) var id: (x:T) => T; >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/contextualSignatureInstantiation3.types b/tests/baselines/reference/contextualSignatureInstantiation3.types index d6cfca862ff04..7994b6521ac66 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation3.types +++ b/tests/baselines/reference/contextualSignatureInstantiation3.types @@ -3,11 +3,11 @@ === contextualSignatureInstantiation3.ts === function map(items: T[], f: (x: T) => U): U[]{ >map : (items: T[], f: (x: T) => U) => U[] -> : ^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^ ^^^^^ >items : T[] > : ^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -26,7 +26,7 @@ function map(items: T[], f: (x: T) => U): U[]{ function identity(x: T) { >identity : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -37,7 +37,7 @@ function identity(x: T) { function singleton(x: T) { >singleton : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/contextualSignatureInstantiation4.types b/tests/baselines/reference/contextualSignatureInstantiation4.types index 0a7a004580877..2f6825911430b 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation4.types +++ b/tests/baselines/reference/contextualSignatureInstantiation4.types @@ -13,9 +13,9 @@ declare class Banana { constructor(a: string, property: T) } declare function fruitFactory1(Fruit: new (...args: any[]) => TFruit): TFruit >fruitFactory1 : (Fruit: new (...args: any[]) => TFruit) => TFruit -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >Fruit : new (...args: any[]) => TFruit -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >args : any[] > : ^^^^^ @@ -31,9 +31,9 @@ const banana1 = fruitFactory1(Banana) // Banana declare function fruitFactory2(Fruit: new (a: string, ...args: any[]) => TFruit): TFruit >fruitFactory2 : (Fruit: new (a: string, ...args: any[]) => TFruit) => TFruit -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >Fruit : new (a: string, ...args: any[]) => TFruit -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >args : any[] @@ -51,9 +51,9 @@ const banana2 = fruitFactory2(Banana) // Banana declare function fruitFactory3(Fruit: new (a: string, s: "foo", ...args: any[]) => TFruit): TFruit >fruitFactory3 : (Fruit: new (a: string, s: "foo", ...args: any[]) => TFruit) => TFruit -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >Fruit : new (a: string, s: "foo", ...args: any[]) => TFruit -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >s : "foo" @@ -73,9 +73,9 @@ const banana3 = fruitFactory3(Banana) // Banana<"foo"> declare function fruitFactory4(Fruit: new (a: string, ...args: "foo"[]) => TFruit): TFruit >fruitFactory4 : (Fruit: new (a: string, ...args: "foo"[]) => TFruit) => TFruit -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >Fruit : new (a: string, ...args: "foo"[]) => TFruit -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >args : "foo"[] @@ -93,9 +93,9 @@ const banana4 = fruitFactory4(Banana) // Banana<"foo"> declare function fruitFactory5(Fruit: new (...args: "foo"[]) => TFruit): TFruit >fruitFactory5 : (Fruit: new (...args: "foo"[]) => TFruit) => TFruit -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >Fruit : new (...args: "foo"[]) => TFruit -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >args : "foo"[] > : ^^^^^^^ diff --git a/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.types b/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.types index e7b4345068d33..b6689bccda430 100644 --- a/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.types +++ b/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.types @@ -3,11 +3,11 @@ === contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.ts === function f() { >f : () => (u: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ function g(u: U): U { return null } >g : (u: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >u : U > : ^ @@ -17,11 +17,11 @@ function f() { } var h: (v: V, func: (v: V) => W) => W; >h : (v: V, func: (v: V) => W) => W -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^ ^^^^^ >v : V > : ^ >func : (v: V) => W -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : V > : ^ diff --git a/tests/baselines/reference/contextualSignatureInstatiationContravariance.types b/tests/baselines/reference/contextualSignatureInstatiationContravariance.types index d2f8ac58cf97d..deafda079d1d6 100644 --- a/tests/baselines/reference/contextualSignatureInstatiationContravariance.types +++ b/tests/baselines/reference/contextualSignatureInstatiationContravariance.types @@ -15,7 +15,7 @@ interface Elephant extends Animal { y2 } var f2: (x: T, y: T) => void; >f2 : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -23,7 +23,7 @@ var f2: (x: T, y: T) => void; var g2: (g: Giraffe, e: Elephant) => void; >g2 : (g: Giraffe, e: Elephant) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >g : Giraffe > : ^^^^^^^ >e : Elephant @@ -39,7 +39,7 @@ g2 = f2; // error because Giraffe and Elephant are disjoint types var h2: (g1: Giraffe, g2: Giraffe) => void; >h2 : (g1: Giraffe, g2: Giraffe) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >g1 : Giraffe > : ^^^^^^^ >g2 : Giraffe diff --git a/tests/baselines/reference/contextualSignatureInstatiationCovariance.types b/tests/baselines/reference/contextualSignatureInstatiationCovariance.types index d2f188f70e107..1b34f32dc2001 100644 --- a/tests/baselines/reference/contextualSignatureInstatiationCovariance.types +++ b/tests/baselines/reference/contextualSignatureInstatiationCovariance.types @@ -12,7 +12,7 @@ interface Giraffe extends Animal, TallThing { y } var f2: (x: T, y: T) => void; >f2 : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -20,7 +20,7 @@ var f2: (x: T, y: T) => void; var g2: (a: Animal, t: TallThing) => void; >g2 : (a: Animal, t: TallThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : Animal > : ^^^^^^ >t : TallThing @@ -36,7 +36,7 @@ g2 = f2; // While neither Animal nor TallThing satisfy the constraint, T is at w var h2: (a1: Animal, a2: Animal) => void; >h2 : (a1: Animal, a2: Animal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >a1 : Animal > : ^^^^^^ >a2 : Animal diff --git a/tests/baselines/reference/contextualTupleTypeParameterReadonly.types b/tests/baselines/reference/contextualTupleTypeParameterReadonly.types index dafa21329dc37..faeb0b65839c8 100644 --- a/tests/baselines/reference/contextualTupleTypeParameterReadonly.types +++ b/tests/baselines/reference/contextualTupleTypeParameterReadonly.types @@ -3,11 +3,11 @@ === contextualTupleTypeParameterReadonly.ts === declare function each>(cases: ReadonlyArray): (fn: (...args: T) => any) => void; >each : (cases: ReadonlyArray) => (fn: (...args: T) => any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >cases : readonly T[] > : ^^^^^^^^^^^^ >fn : (...args: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/contextualTypeArrayReturnType.types b/tests/baselines/reference/contextualTypeArrayReturnType.types index 06ed15cf01c2e..2c8f8a8e86b2a 100644 --- a/tests/baselines/reference/contextualTypeArrayReturnType.types +++ b/tests/baselines/reference/contextualTypeArrayReturnType.types @@ -4,7 +4,7 @@ interface IBookStyle { initialLeftPageTransforms?: (width: number) => NamedTransform[]; >initialLeftPageTransforms : (width: number) => NamedTransform[] -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >width : number > : ^^^^^^ } diff --git a/tests/baselines/reference/contextualTypeCaching.types b/tests/baselines/reference/contextualTypeCaching.types index 891b45138edf9..004090bb0e360 100644 --- a/tests/baselines/reference/contextualTypeCaching.types +++ b/tests/baselines/reference/contextualTypeCaching.types @@ -6,17 +6,17 @@ export interface Event { callback: (response: T) => void; >callback : (response: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >response : T > : ^ nested: { >nested : { nestedCallback: (response: T) => void; } -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^ nestedCallback: (response: T) => void; >nestedCallback : (response: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >response : T > : ^ } @@ -38,7 +38,7 @@ export type CustomEvents = { declare function emit(type: T, data: CustomEvents[T]): void >emit : (type: T, data: CustomEvents[T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >type : T > : ^ >data : CustomEvents[T] @@ -91,7 +91,7 @@ declare class MyCompiler { interface WebpackPluginInstance { apply: (compiler: MyCompiler) => void; >apply : (compiler: MyCompiler) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >compiler : MyCompiler > : ^^^^^^^^^^ } @@ -110,7 +110,7 @@ interface Optimization { } declare const A: ( >A : (obj: T, prop: P, factory: () => T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ obj: T, >obj : T @@ -122,14 +122,14 @@ declare const A: ( factory: () => T[P] >factory : () => T[P] -> : ^^^^^^^ ^ +> : ^^^^^^ ) => void; export const applyOptimizationDefaults = (optimization: Optimization) => { >applyOptimizationDefaults : (optimization: Optimization) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >(optimization: Optimization) => { A(optimization, "minimizer", () => [ { apply: (compiler) => {}, }, ]);} : (optimization: Optimization) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >optimization : Optimization > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/contextualTypeFromJSDoc.types b/tests/baselines/reference/contextualTypeFromJSDoc.types index a1bab3e21c596..1a8d58ed9417f 100644 --- a/tests/baselines/reference/contextualTypeFromJSDoc.types +++ b/tests/baselines/reference/contextualTypeFromJSDoc.types @@ -37,7 +37,7 @@ const arr = [ /** @return {Array<[string, {x?:number, y?:number}]>} */ function f() { >f : () => Array<[string, { x?: number; y?: number; }]> -> : ^^^^^^^^^^^ +> : ^^^^^^ return [ >[ ['a', { x: 1 }], ['b', { y: 2 }] ] : ([string, { x: number; }] | [string, { y: number; }])[] diff --git a/tests/baselines/reference/contextualTypeOfIndexedAccessParameter.types b/tests/baselines/reference/contextualTypeOfIndexedAccessParameter.types index 183098feb0a37..0a3bcc125f03c 100644 --- a/tests/baselines/reference/contextualTypeOfIndexedAccessParameter.types +++ b/tests/baselines/reference/contextualTypeOfIndexedAccessParameter.types @@ -19,7 +19,7 @@ type OptionsForKey = { a: { cb: (p: number) => number } } & { b: {} }; declare function f(key: K, options: OptionsForKey[K]): void; >f : (key: K, options: OptionsForKey[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >key : K > : ^ >options : OptionsForKey[K] @@ -49,7 +49,7 @@ f("a", { function g< >g : (x: ({ a: string; } & { b: string; })[K], y: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ K extends "a" | "b">(x: ({ a: string } & { b: string })[K], y: string) { >x : ({ a: string; } & { b: string; })[K] diff --git a/tests/baselines/reference/contextualTypeSelfReferencing.types b/tests/baselines/reference/contextualTypeSelfReferencing.types index 189b0eeb61045..d98cff6c03dc6 100644 --- a/tests/baselines/reference/contextualTypeSelfReferencing.types +++ b/tests/baselines/reference/contextualTypeSelfReferencing.types @@ -16,7 +16,7 @@ type narrow = def extends string declare const parse: (def: narrow) => def; >parse : (def: narrow) => def -> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >def : narrow > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/contextualTypeShouldBeLiteral.types b/tests/baselines/reference/contextualTypeShouldBeLiteral.types index cb776c213b6d3..880453e556a87 100644 --- a/tests/baselines/reference/contextualTypeShouldBeLiteral.types +++ b/tests/baselines/reference/contextualTypeShouldBeLiteral.types @@ -31,7 +31,7 @@ interface Y { function foo(bar: X | Y) { } >foo : (bar: X | Y) => void -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >bar : X | Y > : ^^^^^ @@ -111,7 +111,7 @@ interface Y2 { function foo2(bar: X2 | Y2) { } >foo2 : (bar: X2 | Y2) => void -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >bar : X2 | Y2 > : ^^^^^^^ diff --git a/tests/baselines/reference/contextualTypeTupleEnd.types b/tests/baselines/reference/contextualTypeTupleEnd.types index c1977292cfbff..9607c82b8b5a5 100644 --- a/tests/baselines/reference/contextualTypeTupleEnd.types +++ b/tests/baselines/reference/contextualTypeTupleEnd.types @@ -223,7 +223,7 @@ export type ExampleState = { export function createSelector>(...selectors: [...selectors: S, f: (x: any) => any]) { >createSelector : >(...selectors: [...selectors: S, f: (x: any) => any]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >selectors : [...selectors: S, f: (x: any) => any] > : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ >x : any diff --git a/tests/baselines/reference/contextualTypeWithUnionTypeMembers.types b/tests/baselines/reference/contextualTypeWithUnionTypeMembers.types index f4e4891fce305..5ecae7291efce 100644 --- a/tests/baselines/reference/contextualTypeWithUnionTypeMembers.types +++ b/tests/baselines/reference/contextualTypeWithUnionTypeMembers.types @@ -16,7 +16,7 @@ interface I1 { commonMethodWithTypeParameter(a: T): T; >commonMethodWithTypeParameter : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -43,7 +43,7 @@ interface I2 { commonMethodWithTypeParameter(a: T): T; >commonMethodWithTypeParameter : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/contextualTyping.types b/tests/baselines/reference/contextualTyping.types index 7e447eded818b..d887109d93cd9 100644 --- a/tests/baselines/reference/contextualTyping.types +++ b/tests/baselines/reference/contextualTyping.types @@ -116,7 +116,7 @@ var c3t3: number[] = []; var c3t4: () => IFoo = function() { return ({}) }; >c3t4 : () => IFoo -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return ({}) } : () => IFoo > : ^^^^^^^^^^ >({}) : IFoo @@ -128,7 +128,7 @@ var c3t4: () => IFoo = function() { return ({}) }; var c3t5: (n: number) => IFoo = function(n) { return ({}) }; >c3t5 : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ >function(n) { return ({}) } : (n: number) => IFoo @@ -144,7 +144,7 @@ var c3t5: (n: number) => IFoo = function(n) { return ({}) }; var c3t6: (n: number, s: string) => IFoo = function(n, s) { return ({}) }; >c3t6 : (n: number, s: string) => IFoo -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >n : number > : ^^^^^^ >s : string @@ -246,7 +246,7 @@ var c3t12: IBar = { >c3t12 : IBar > : ^^^^ >{ foo: ({})} : { foo: IFoo; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ foo: ({}) >foo : IFoo @@ -370,17 +370,17 @@ module C5T5 { // CONTEXT: Variable assignment var c6t5: (n: number) => IFoo; >c6t5 : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ c6t5 = <(n: number) => IFoo>function(n) { return ({}) }; >c6t5 = <(n: number) => IFoo>function(n) { return ({}) } : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >c6t5 : (n: number) => IFoo > : ^^^^^^^^^^^^^^^^^^^ ><(n: number) => IFoo>function(n) { return ({}) } : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ >function(n) { return ({}) } : (n: number) => IFoo @@ -437,17 +437,17 @@ interface IPlaceHolder { t4: () => IFoo; >t4 : () => IFoo -> : ^^^^^^^^^^ +> : ^^^^^^ t5: (n: number) => IFoo; >t5 : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ t6: (n: number, s: string) => IFoo; >t6 : (n: number, s: string) => IFoo -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >n : number > : ^^^^^^ >s : string @@ -504,7 +504,7 @@ interface IPlaceHolder { var objc8: { >objc8 : { t1: (s: string) => string; t2: IFoo; t3: number[]; t4: () => IFoo; t5: (n: number) => IFoo; t6: (n: number, s: string) => IFoo; t7: { (n: number, s: string): number; }; t8: (n: number, s: string) => number; t9: number[][]; t10: IFoo[]; t11: { (n: number, s: string): string; }[]; t12: IBar; t13: IFoo; t14: IFoo; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^ t1: (s: string) => string; >t1 : (s: string) => string @@ -522,17 +522,17 @@ var objc8: { t4: () => IFoo; >t4 : () => IFoo -> : ^^^^^^^^^^ +> : ^^^^^^ t5: (n: number) => IFoo; >t5 : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ t6: (n: number, s: string) => IFoo; >t6 : (n: number, s: string) => IFoo -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >n : number > : ^^^^^^ >s : string @@ -801,7 +801,7 @@ objc8.t11 = [function(n, s) { return s; }]; objc8.t12 = { >objc8.t12 = { foo: ({})} : { foo: IFoo; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >objc8.t12 : IBar > : ^^^^ >objc8 : { t1: (s: string) => string; t2: IFoo; t3: number[]; t4: () => IFoo; t5: (n: number) => IFoo; t6: (n: number, s: string) => IFoo; t7: (n: number, s: string) => number; t8: (n: number, s: string) => number; t9: number[][]; t10: IFoo[]; t11: ((n: number, s: string) => string)[]; t12: IBar; t13: IFoo; t14: IFoo; } @@ -809,7 +809,7 @@ objc8.t12 = { >t12 : IBar > : ^^^^ >{ foo: ({})} : { foo: IFoo; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ foo: ({}) >foo : IFoo @@ -876,9 +876,9 @@ objc8.t14 = ({ // CONTEXT: Function call function c9t5(f: (n: number) => IFoo) {}; >c9t5 : (f: (n: number) => IFoo) => void -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ @@ -905,7 +905,7 @@ c9t5(function(n) { // CONTEXT: Return statement var c10t5: () => (n: number) => IFoo = function() { return function(n) { return ({}) } }; >c10t5 : () => (n: number) => IFoo -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : number > : ^^^^^^ >function() { return function(n) { return ({}) } } : () => (n: number) => IFoo @@ -926,7 +926,7 @@ class C11t5 { constructor(f: (n: number) => IFoo) { } }; >C11t5 : C11t5 > : ^^^^^ >f : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ @@ -992,9 +992,9 @@ var c12t3 = []; var c12t4 = <() => IFoo> function() { return ({}) }; >c12t4 : () => IFoo -> : ^^^^^^^^^^ +> : ^^^^^^ ><() => IFoo> function() { return ({}) } : () => IFoo -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return ({}) } : () => IFoo > : ^^^^^^^^^^ >({}) : IFoo @@ -1006,9 +1006,9 @@ var c12t4 = <() => IFoo> function() { return ({}) }; var c12t5 = <(n: number) => IFoo> function(n) { return ({}) }; >c12t5 : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ><(n: number) => IFoo> function(n) { return ({}) } : (n: number) => IFoo -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ >function(n) { return ({}) } : (n: number) => IFoo @@ -1024,9 +1024,9 @@ var c12t5 = <(n: number) => IFoo> function(n) { return ({}) }; var c12t6 = <(n: number, s: string) => IFoo> function(n, s) { return ({}) }; >c12t6 : (n: number, s: string) => IFoo -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ><(n: number, s: string) => IFoo> function(n, s) { return ({}) } : (n: number, s: string) => IFoo -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >n : number > : ^^^^^^ >s : string @@ -1139,7 +1139,7 @@ var c12t12 = { > { foo: ({})} : IBar > : ^^^^ >{ foo: ({})} : { foo: IFoo; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ foo: ({}) >foo : IFoo @@ -1251,7 +1251,7 @@ declare class Point add(dx: number, dy: number): Point; >add : (dx: number, dy: number) => Point -> : ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number diff --git a/tests/baselines/reference/contextualTypingArrayOfLambdas.types b/tests/baselines/reference/contextualTypingArrayOfLambdas.types index 7e99065b1a4c1..1870c53506f37 100644 --- a/tests/baselines/reference/contextualTypingArrayOfLambdas.types +++ b/tests/baselines/reference/contextualTypingArrayOfLambdas.types @@ -34,19 +34,19 @@ class C extends A { var xs = [(x: A) => { }, (x: B) => { }, (x: C) => { }]; >xs : ((x: A) => void)[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >[(x: A) => { }, (x: B) => { }, (x: C) => { }] : ((x: A) => void)[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >(x: A) => { } : (x: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A > : ^ >(x: B) => { } : (x: B) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : B > : ^ >(x: C) => { } : (x: C) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : C > : ^ diff --git a/tests/baselines/reference/contextualTypingFunctionReturningFunction.types b/tests/baselines/reference/contextualTypingFunctionReturningFunction.types index 1081ae741c901..5dd6ca5de7ea4 100644 --- a/tests/baselines/reference/contextualTypingFunctionReturningFunction.types +++ b/tests/baselines/reference/contextualTypingFunctionReturningFunction.types @@ -17,7 +17,7 @@ interface I { declare function f(i: I): void; >f : (i: I) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : I > : ^ diff --git a/tests/baselines/reference/contextualTypingOfConditionalExpression.types b/tests/baselines/reference/contextualTypingOfConditionalExpression.types index 1f974c8ee9837..cd6b2741aa42b 100644 --- a/tests/baselines/reference/contextualTypingOfConditionalExpression.types +++ b/tests/baselines/reference/contextualTypingOfConditionalExpression.types @@ -66,7 +66,7 @@ class C extends A { var x2: (a: A) => void = true ? (a) => a.foo : (b) => b.foo; >x2 : (a: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >true ? (a) => a.foo : (b) => b.foo : (a: A) => number diff --git a/tests/baselines/reference/contextualTypingOfConditionalExpression2.types b/tests/baselines/reference/contextualTypingOfConditionalExpression2.types index 765b9d17baae3..9ad4ad4a37c5c 100644 --- a/tests/baselines/reference/contextualTypingOfConditionalExpression2.types +++ b/tests/baselines/reference/contextualTypingOfConditionalExpression2.types @@ -32,15 +32,15 @@ class C extends A { var x2: (a: A) => void = true ? (a: C) => a.foo : (b: number) => { }; >x2 : (a: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >true ? (a: C) => a.foo : (b: number) => { } : ((a: C) => number) | ((b: number) => void) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >true : true > : ^^^^ >(a: C) => a.foo : (a: C) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >a : C > : ^ >a.foo : number diff --git a/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.types b/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.types index 0f73be1217a2f..c579928f2638a 100644 --- a/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.types +++ b/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.types @@ -8,13 +8,13 @@ interface Collection { add(x: T): void; >add : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ remove(x: T): boolean; >remove : (x: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -22,11 +22,11 @@ interface Collection { interface Combinators { forEach(c: Collection, f: (x: T) => Date): void; >forEach : (c: Collection, f: (x: T) => Date) => void -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >c : Collection > : ^^^^^^^^^^^^^ >f : (x: T) => Date -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/contextualTypingOfObjectLiterals2.types b/tests/baselines/reference/contextualTypingOfObjectLiterals2.types index 8fde2ef70f611..c31639b5de6bb 100644 --- a/tests/baselines/reference/contextualTypingOfObjectLiterals2.types +++ b/tests/baselines/reference/contextualTypingOfObjectLiterals2.types @@ -10,7 +10,7 @@ interface Foo { } function f2(args: Foo) { } >f2 : (args: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >args : Foo > : ^^^ diff --git a/tests/baselines/reference/contextualTypingOfOptionalMembers.types b/tests/baselines/reference/contextualTypingOfOptionalMembers.types index 63b9ad6af624e..9b302532a9275 100644 --- a/tests/baselines/reference/contextualTypingOfOptionalMembers.types +++ b/tests/baselines/reference/contextualTypingOfOptionalMembers.types @@ -16,7 +16,7 @@ interface Options { view?: (state: State, actions: Actions) => any; >view : ((state: State, actions: Actions) => any) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >state : State > : ^^^^^ >actions : Actions @@ -29,7 +29,7 @@ interface Options { declare function app>(obj: Options): void; >app : >(obj: Options) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Options > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -90,7 +90,7 @@ interface Bar { declare function foo(x: string | T): T; >foo : (x: string | T) => T -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ >x : string | T > : ^^^^^^^^^^ @@ -119,7 +119,7 @@ interface Options2 { view?: (state: State, actions: Actions) => any; >view : ((state: State, actions: Actions) => any) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >state : State > : ^^^^^ >actions : Actions @@ -132,7 +132,7 @@ interface Options2 { declare function app2>(obj: Options2): void; >app2 : >(obj: Options2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Options2 > : ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -191,7 +191,7 @@ type ActionsArray = ((state: State) => State)[]; declare function app3>(obj: Options): void; >app3 : >(obj: Options) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Options > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -254,9 +254,9 @@ interface ActionsObjectOr { declare function App4>(props: Options["actions"] & { state: State }): JSX.Element; >App4 : >(props: Options["actions"] & { state: State; }) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >props : (string | Actions) & { state: State; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >state : State > : ^^^^^ >JSX : any diff --git a/tests/baselines/reference/contextualTypingReturnStatementWithReturnTypeAnnotation.types b/tests/baselines/reference/contextualTypingReturnStatementWithReturnTypeAnnotation.types index 4a00b3c57f991..45fe5dd7d539b 100644 --- a/tests/baselines/reference/contextualTypingReturnStatementWithReturnTypeAnnotation.types +++ b/tests/baselines/reference/contextualTypingReturnStatementWithReturnTypeAnnotation.types @@ -13,7 +13,7 @@ declare function isString(text: unknown): text is string; declare function getPropFromRaw( >getPropFromRaw : (prop: "files" | "include" | "exclude" | "references", validateElement: (value: unknown) => boolean, elementTypeName: string) => PropOfRaw -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ prop: "files" | "include" | "exclude" | "references", >prop : "files" | "include" | "exclude" | "references" @@ -33,7 +33,7 @@ declare function getPropFromRaw( function getSpecsFromRaw( >getSpecsFromRaw : (prop: "files" | "include" | "exclude") => PropOfRaw -> : ^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ prop: "files" | "include" | "exclude" >prop : "files" | "include" | "exclude" diff --git a/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.types b/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.types index 248450f2234ce..51864beca11ff 100644 --- a/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.types +++ b/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.types @@ -3,9 +3,9 @@ === contextualTypingTwoInstancesOfSameTypeParameter.ts === function f6(x: (a: T) => T) { >f6 : (x: (a: T) => T) => any -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.types b/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.types index a9fa4e1267a4c..10a86dd30bb28 100644 --- a/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.types +++ b/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.types @@ -3,11 +3,11 @@ === contextualTypingWithFixedTypeParameters1.ts === var f10: (x: T, b: () => (a: T) => void, y: T) => T; >f10 : (x: T, b: () => (a: T) => void, y: T) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >b : () => (a: T) => void -> : ^^^^^^ ^ +> : ^^^^^^ >a : T > : ^ >y : T diff --git a/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.types b/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.types index c3c4da82a354c..64a24f2445806 100644 --- a/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.types +++ b/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.types @@ -5,7 +5,7 @@ var f2: { >f2 : { (x: string, y: number): string; (x: T, y: U): T; } -> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^ (x: string, y: number): string; >x : string @@ -34,7 +34,7 @@ f2 = (x, y) => { return x } var f3: { >f3 : { (x: T, y: U): T; (x: string, y: number): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^ (x: T, y: U): T >x : T diff --git a/tests/baselines/reference/contextualTypingWithGenericSignature.types b/tests/baselines/reference/contextualTypingWithGenericSignature.types index 8040e224e1e6b..08ef7287a68fe 100644 --- a/tests/baselines/reference/contextualTypingWithGenericSignature.types +++ b/tests/baselines/reference/contextualTypingWithGenericSignature.types @@ -5,7 +5,7 @@ var f2: { >f2 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ (x: T, y: U): T >x : T diff --git a/tests/baselines/reference/contextuallyTypeAsyncFunctionAwaitOperand.types b/tests/baselines/reference/contextuallyTypeAsyncFunctionAwaitOperand.types index 959b05e4eb63e..fe11e84ce2021 100644 --- a/tests/baselines/reference/contextuallyTypeAsyncFunctionAwaitOperand.types +++ b/tests/baselines/reference/contextuallyTypeAsyncFunctionAwaitOperand.types @@ -7,7 +7,7 @@ interface Obj { key: "value"; } async function fn1(): Promise { >fn1 : () => Promise -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ const obj1: Obj = await { key: "value" }; >obj1 : Obj diff --git a/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnType.types b/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnType.types index b7f37b52c05eb..a2cd1dd8a5662 100644 --- a/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnType.types +++ b/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnType.types @@ -7,7 +7,7 @@ interface Obj { key: "value"; } async function fn1(): Promise { >fn1 : () => Promise -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ return { key: "value" }; >{ key: "value" } : { key: "value"; } @@ -20,7 +20,7 @@ async function fn1(): Promise { async function fn2(): Promise { >fn2 : () => Promise -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ return new Promise(resolve => { >new Promise(resolve => { resolve({ key: "value" }); }) : Promise @@ -49,7 +49,7 @@ async function fn2(): Promise { async function fn3(): Promise { >fn3 : () => Promise -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ return await { key: "value" }; >await { key: "value" } : { key: "value"; } @@ -64,7 +64,7 @@ async function fn3(): Promise { async function fn4(): Promise { >fn4 : () => Promise -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ return await new Promise(resolve => { >await new Promise(resolve => { resolve({ key: "value" }); }) : Obj @@ -169,7 +169,7 @@ interface ProcessTreeNode { export declare function getProcessTree( >getProcessTree : (rootPid: number, callback: (tree: ProcessTreeNode) => void) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ rootPid: number, >rootPid : number @@ -177,7 +177,7 @@ export declare function getProcessTree( callback: (tree: ProcessTreeNode) => void >callback : (tree: ProcessTreeNode) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >tree : ProcessTreeNode > : ^^^^^^^^^^^^^^^ @@ -264,7 +264,7 @@ type Metadata = { }; declare function scanMetadata( >scanMetadata : (local: ILocalExtension) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ local: ILocalExtension >local : ILocalExtension @@ -274,7 +274,7 @@ declare function scanMetadata( async function copyExtensions( >copyExtensions : (fromExtensions: ILocalExtension[]) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ fromExtensions: ILocalExtension[] >fromExtensions : ILocalExtension[] diff --git a/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnTypeFromUnion.types b/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnTypeFromUnion.types index d32f57271f58f..53aeda87aca91 100644 --- a/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnTypeFromUnion.types +++ b/tests/baselines/reference/contextuallyTypeAsyncFunctionReturnTypeFromUnion.types @@ -9,20 +9,20 @@ declare class StateMachine { onDone: (a: T) => void; >onDone : (a: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ } declare function createMachine(implementations: { >createMachine : (implementations: { services: Record Promise | StateMachine>; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >implementations : { services: Record Promise | StateMachine>; } -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^ ^^^ services: Record Promise | StateMachine>; >services : Record Promise | StateMachine> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^ }): void; @@ -80,7 +80,7 @@ createMachine<{ count: number }>({ function fn1(): () => Promise<{ count: number }> | StateMachine<{ count: number }> { >fn1 : () => () => Promise<{ count: number; }> | StateMachine<{ count: number; }> -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >count : number > : ^^^^^^ >count : number @@ -105,7 +105,7 @@ function fn1(): () => Promise<{ count: number }> | StateMachine<{ count: number declare function load(): Promise; >load : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ type LoadCallback = () => Promise | string; >LoadCallback : LoadCallback diff --git a/tests/baselines/reference/contextuallyTypedBindingInitializer.types b/tests/baselines/reference/contextuallyTypedBindingInitializer.types index 8cc9e02b063c9..c39d74587d269 100644 --- a/tests/baselines/reference/contextuallyTypedBindingInitializer.types +++ b/tests/baselines/reference/contextuallyTypedBindingInitializer.types @@ -10,7 +10,7 @@ interface Show { } function f({ show = v => v.toString() }: Show) {} >f : ({ show }: Show) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >show : (x: number) => string > : ^^^^^^^^^^^^^^^^^^^^^ >v => v.toString() : (v: number) => string @@ -28,7 +28,7 @@ function f({ show = v => v.toString() }: Show) {} function f2({ "show": showRename = v => v.toString() }: Show) {} >f2 : ({ "show": showRename }: Show) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >showRename : (x: number) => string > : ^^^^^^^^^^^^^^^^^^^^^ >v => v.toString() : (v: number) => string @@ -46,7 +46,7 @@ function f2({ "show": showRename = v => v.toString() }: Show) {} function f3({ ["show"]: showRename = v => v.toString() }: Show) {} >f3 : ({ ["show"]: showRename }: Show) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >"show" : "show" > : ^^^^^^ >showRename : (x: number) => string @@ -71,7 +71,7 @@ interface Nested { } function ff({ nested = { show: v => v.toString() } }: Nested) {} >ff : ({ nested }: Nested) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^ >nested : Show > : ^^^^ >{ show: v => v.toString() } : { show: (v: number) => string; } @@ -98,7 +98,7 @@ interface Tuples { } function g({ prop = ["hello", 1234] }: Tuples) {} >g : ({ prop }: Tuples) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >prop : [string, number] > : ^^^^^^^^^^^^^^^^ >["hello", 1234] : [string, number] @@ -115,7 +115,7 @@ interface StringUnion { } function h({ prop = "foo" }: StringUnion) {} >h : ({ prop }: StringUnion) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >prop : "foo" | "bar" > : ^^^^^^^^^^^^^ >"foo" : "foo" diff --git a/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.types b/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.types index 779d1933b5d52..014f242f5304d 100644 --- a/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.types +++ b/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.types @@ -10,7 +10,7 @@ interface Show { } function f({ show: showRename = v => v }: Show) {} >f : ({ show: showRename }: Show) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >show : any > : ^^^ >showRename : (x: number) => string @@ -24,7 +24,7 @@ function f({ show: showRename = v => v }: Show) {} function f2({ "show": showRename = v => v }: Show) {} >f2 : ({ "show": showRename }: Show) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >showRename : (x: number) => string > : ^^^^^^^^^^^^^^^^^^^^^ >v => v : (v: number) => number @@ -36,7 +36,7 @@ function f2({ "show": showRename = v => v }: Show) {} function f3({ ["show"]: showRename = v => v }: Show) {} >f3 : ({ ["show"]: showRename }: Show) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >"show" : "show" > : ^^^^^^ >showRename : (x: number) => string @@ -55,7 +55,7 @@ interface Nested { } function ff({ nested: nestedRename = { show: v => v } }: Nested) {} >ff : ({ nested: nestedRename }: Nested) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >nested : any > : ^^^ >nestedRename : Show @@ -111,7 +111,7 @@ interface Tuples { } function g({ prop = [101, 1234] }: Tuples) {} >g : ({ prop }: Tuples) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >prop : [string, number] > : ^^^^^^^^^^^^^^^^ >[101, 1234] : [number, number] @@ -128,7 +128,7 @@ interface StringUnion { } function h({ prop = "baz" }: StringUnion) {} >h : ({ prop }: StringUnion) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >prop : "foo" | "bar" > : ^^^^^^^^^^^^^ >"baz" : "baz" diff --git a/tests/baselines/reference/contextuallyTypedBooleanLiterals.types b/tests/baselines/reference/contextuallyTypedBooleanLiterals.types index ac77c7e3c239d..31cd42ad9c660 100644 --- a/tests/baselines/reference/contextuallyTypedBooleanLiterals.types +++ b/tests/baselines/reference/contextuallyTypedBooleanLiterals.types @@ -9,18 +9,18 @@ type Box = { get: () => T, >get : () => T -> : ^^^^^^^ +> : ^^^^^^ set: (value: T) => void >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } declare function box(value: T): Box; >box : (value: T) => Box -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -76,7 +76,7 @@ interface Observable declare function observable(value: T): Observable; >observable : (value: T) => Observable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.types b/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.types index 5ba45d2e99d98..60dedc9f7f83c 100644 --- a/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.types +++ b/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.types @@ -31,7 +31,7 @@ type ADT = { function invoke(item: ADT) { >invoke : (item: ADT) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >item : ADT > : ^^^ diff --git a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.types b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.types index 1005821220586..94fd7876f1b0e 100644 --- a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.types +++ b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.types @@ -16,20 +16,20 @@ interface B { interface Foo { method1(arg: A): void; >method1 : (arg: A) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : A > : ^ method2(arg: B): void; >method2 : (arg: B) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : B > : ^ } function getFoo1(): Foo { >getFoo1 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return class { >class { static method1(arg) { arg.numProp = 10; } static method2(arg) { arg.strProp = "hello"; } } : typeof (Anonymous class) @@ -76,7 +76,7 @@ function getFoo1(): Foo { function getFoo2(): Foo { >getFoo2 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return class { >class { static method1 = (arg) => { arg.numProp = 10; } static method2 = (arg) => { arg.strProp = "hello"; } } : typeof (Anonymous class) @@ -127,7 +127,7 @@ function getFoo2(): Foo { function getFoo3(): Foo { >getFoo3 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return class { >class { static method1 = function (arg) { arg.numProp = 10; } static method2 = function (arg) { arg.strProp = "hello"; } } : typeof (Anonymous class) diff --git a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.types b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.types index b33fe0254d300..9038a2963ba8c 100644 --- a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.types +++ b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.types @@ -20,20 +20,20 @@ interface Foo { interface Bar { method1(arg: A): void; >method1 : (arg: A) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : A > : ^ method2(arg: B): void; >method2 : (arg: B) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : B > : ^ } function getFoo1(): Foo { >getFoo1 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return class { >class { method1(arg) { arg.numProp = 10; } method2(arg) { arg.strProp = "hello"; } } : typeof (Anonymous class) @@ -80,7 +80,7 @@ function getFoo1(): Foo { function getFoo2(): Foo { >getFoo2 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return class { >class { method1 = (arg) => { arg.numProp = 10; } method2 = (arg) => { arg.strProp = "hello"; } } : typeof (Anonymous class) @@ -131,7 +131,7 @@ function getFoo2(): Foo { function getFoo3(): Foo { >getFoo3 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return class { >class { method1 = function (arg) { arg.numProp = 10; } method2 = function (arg) { arg.strProp = "hello"; } } : typeof (Anonymous class) diff --git a/tests/baselines/reference/contextuallyTypedGenericAssignment.types b/tests/baselines/reference/contextuallyTypedGenericAssignment.types index 2a89b82ac230a..15476049bbd07 100644 --- a/tests/baselines/reference/contextuallyTypedGenericAssignment.types +++ b/tests/baselines/reference/contextuallyTypedGenericAssignment.types @@ -3,11 +3,11 @@ === contextuallyTypedGenericAssignment.ts === function foo( >foo : (arg: (t: T, ...rest: A) => number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ arg: (t: T, ...rest: A) => number >arg : (t: T, ...rest: A) => number -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >a : number > : ^^^^^^ >t : T diff --git a/tests/baselines/reference/contextuallyTypedJsxAttribute.types b/tests/baselines/reference/contextuallyTypedJsxAttribute.types index c697be5e10953..212f6334ac197 100644 --- a/tests/baselines/reference/contextuallyTypedJsxAttribute.types +++ b/tests/baselines/reference/contextuallyTypedJsxAttribute.types @@ -27,7 +27,7 @@ type Props = { as?: C } & Elements[C]; declare function Test(props: Props): null; >Test : (props: Props) => null -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >props : Props > : ^^^^^^^^ diff --git a/tests/baselines/reference/contextuallyTypedJsxChildren.types b/tests/baselines/reference/contextuallyTypedJsxChildren.types index 6361039c060e7..1fb3174e3f2b2 100644 --- a/tests/baselines/reference/contextuallyTypedJsxChildren.types +++ b/tests/baselines/reference/contextuallyTypedJsxChildren.types @@ -27,7 +27,7 @@ declare namespace DropdownMenu { interface PropsWithChildren extends BaseProps { children(props: { onClose: () => void }): JSX.Element; >children : (props: { onClose: () => void; }) => JSX.Element -> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : { onClose: () => void; } > : ^^^^^^^^^^^ ^^^ >onClose : () => void diff --git a/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.types b/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.types index 9cef8127141a8..e92841f95d00d 100644 --- a/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.types +++ b/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.types @@ -16,20 +16,20 @@ interface B { interface Foo { method1(arg: A): void; >method1 : (arg: A) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : A > : ^ method2(arg: B): void; >method2 : (arg: B) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : B > : ^ } function getFoo1(): Foo { >getFoo1 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return { >{ method1(arg) { arg.numProp = 10; }, method2(arg) { arg.strProp = "hello"; } } : { method1(arg: A): void; method2(arg: B): void; } @@ -77,7 +77,7 @@ function getFoo1(): Foo { function getFoo2(): Foo { >getFoo2 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return { >{ method1: (arg) => { arg.numProp = 10; }, method2: (arg) => { arg.strProp = "hello"; } } : { method1: (arg: A) => void; method2: (arg: B) => void; } @@ -129,7 +129,7 @@ function getFoo2(): Foo { function getFoo3(): Foo { >getFoo3 : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return { >{ method1: function (arg) { arg.numProp = 10; }, method2: function (arg) { arg.strProp = "hello"; } } : { method1: (arg: A) => void; method2: (arg: B) => void; } diff --git a/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=false).types b/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=false).types index 43819c6bee36e..925dfb34e8355 100644 --- a/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=false).types +++ b/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=false).types @@ -5,9 +5,9 @@ declare function match(cb: (value: T) => boolean): T; >match : (cb: (value: T) => boolean) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >cb : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=true).types b/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=true).types index 657fc985e99eb..cb6651f1776d0 100644 --- a/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=true).types +++ b/tests/baselines/reference/contextuallyTypedOptionalProperty(exactoptionalpropertytypes=true).types @@ -5,9 +5,9 @@ declare function match(cb: (value: T) => boolean): T; >match : (cb: (value: T) => boolean) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >cb : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/contextuallyTypedParametersWithInitializers1.types b/tests/baselines/reference/contextuallyTypedParametersWithInitializers1.types index 871208c61277a..41ca9bb5a5f7b 100644 --- a/tests/baselines/reference/contextuallyTypedParametersWithInitializers1.types +++ b/tests/baselines/reference/contextuallyTypedParametersWithInitializers1.types @@ -3,13 +3,13 @@ === contextuallyTypedParametersWithInitializers1.ts === declare function id1(input: T): T; >id1 : (input: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >input : T > : ^ declare function id2 any>(input: T): T; >id2 : any>(input: T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : any > : ^^^ >input : T @@ -17,7 +17,7 @@ declare function id2 any>(input: T): T; declare function id3 any>(input: T): T; >id3 : any>(input: T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : { foo: any; } > : ^^^^^^^ ^^^ >foo : any @@ -27,7 +27,7 @@ declare function id3 any>(input: T): T; declare function id4 any>(input: T): T; >id4 : any>(input: T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : { foo?: number | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >foo : number | undefined @@ -37,7 +37,7 @@ declare function id4 any>(input: T): T; declare function id5 any>(input: T): T; >id5 : any>(input: T) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : number | undefined > : ^^^^^^^^^^^^^^^^^^ >input : T @@ -275,31 +275,31 @@ const f8: () => any = (...x) => 0; // [] declare function g1(x: T): T; >g1 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function g2(x: T): T; >g2 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ declare function g3(x: T): T; >g3 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ declare function g4(x: T): T; >g4 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ declare function g5 any>(x: T): T; >g5 : any>(x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >args : any[] > : ^^^^^ >x : T @@ -307,7 +307,7 @@ declare function g5 any>(x: T): T; declare function g6 any>(x: T): T; >g6 : any>(x: T) => T -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -423,7 +423,7 @@ g6((...x) => 0); // [] function id(input: T): T { return input } >id : (input: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >input : T > : ^ >input : T @@ -478,7 +478,7 @@ const newGetFoo2 = id(function getFoo ({ foo = 42 }) { declare function memoize(func: F): F; >memoize : (func: F) => F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >func : F > : ^ @@ -564,7 +564,7 @@ const memoizedAdd3 = memoize((x: number, y = 0): number => x + y); declare function execute(script: string | Function): Promise; >execute : (script: string | Function) => Promise -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >script : string | Function > : ^^^^^^^^^^^^^^^^^ @@ -578,7 +578,7 @@ export function executeSomething() { >execute : (script: string | Function) => Promise > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(root: HTMLElement, debug = true) => { if (debug) { root.innerHTML = ''; } } : (root: HTMLElement, debug?: boolean) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >root : HTMLElement > : ^^^^^^^^^^^ >debug : boolean diff --git a/tests/baselines/reference/contextuallyTypedParametersWithInitializers2.types b/tests/baselines/reference/contextuallyTypedParametersWithInitializers2.types index 517b8c5345b8b..1b4a5bb8c2971 100644 --- a/tests/baselines/reference/contextuallyTypedParametersWithInitializers2.types +++ b/tests/baselines/reference/contextuallyTypedParametersWithInitializers2.types @@ -3,7 +3,7 @@ === contextuallyTypedParametersWithInitializers2.ts === declare function test1< >test1 : unknown>>(context: TContext, methods: TMethods) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ TContext, TMethods extends Record unknown>, diff --git a/tests/baselines/reference/contextuallyTypedParametersWithInitializers3.types b/tests/baselines/reference/contextuallyTypedParametersWithInitializers3.types index 9a04aa2b0e04e..2d980637f57e0 100644 --- a/tests/baselines/reference/contextuallyTypedParametersWithInitializers3.types +++ b/tests/baselines/reference/contextuallyTypedParametersWithInitializers3.types @@ -8,20 +8,20 @@ type CanvasDirection = "RIGHT" | "LEFT"; interface GraphActions { setDirection: (direction: CanvasDirection) => void; >setDirection : (direction: CanvasDirection) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >direction : CanvasDirection > : ^^^^^^^^^^^^^^^ } export declare function create(config: T): void; >create : (config: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >config : T > : ^ declare function takesDirection(direction: CanvasDirection): void; >takesDirection : (direction: CanvasDirection) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >direction : CanvasDirection > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/contextuallyTypedParametersWithInitializers4.types b/tests/baselines/reference/contextuallyTypedParametersWithInitializers4.types index 8f5e63564a238..3cd83492137cf 100644 --- a/tests/baselines/reference/contextuallyTypedParametersWithInitializers4.types +++ b/tests/baselines/reference/contextuallyTypedParametersWithInitializers4.types @@ -3,7 +3,7 @@ === contextuallyTypedParametersWithInitializers4.ts === declare function test< >test : unknown>>(context: TContext, methods: TMethods) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ TContext, TMethods extends Record unknown>, diff --git a/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes02.types b/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes02.types index 14047da9372e0..82d750dc7417f 100644 --- a/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes02.types +++ b/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes02.types @@ -31,7 +31,7 @@ export interface LinkProps extends ClickableProps { export function MainButton(buttonProps: ButtonProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >buttonProps : ButtonProps > : ^^^^^^^^^^^ >JSX : any @@ -39,7 +39,7 @@ export function MainButton(buttonProps: ButtonProps): JSX.Element; export function MainButton(linkProps: LinkProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >linkProps : LinkProps > : ^^^^^^^^^ >JSX : any @@ -179,7 +179,7 @@ const b4 = ; // goTo has type "home" | "contact export function NoOverload(buttonProps: ButtonProps): JSX.Element { return undefined } >NoOverload : (buttonProps: ButtonProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >buttonProps : ButtonProps > : ^^^^^^^^^^^ >JSX : any @@ -217,7 +217,7 @@ const c1 = {console.log(k)}}} extra />; // k export function NoOverload1(linkProps: LinkProps): JSX.Element { return undefined } >NoOverload1 : (linkProps: LinkProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >linkProps : LinkProps > : ^^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/contextuallyTypedSymbolNamedProperties.types b/tests/baselines/reference/contextuallyTypedSymbolNamedProperties.types index f08c318289283..b8143803010ca 100644 --- a/tests/baselines/reference/contextuallyTypedSymbolNamedProperties.types +++ b/tests/baselines/reference/contextuallyTypedSymbolNamedProperties.types @@ -49,13 +49,13 @@ declare const ab: Action; declare function f(action: T, blah: { [K in T['type']]: (p: K) => void }): any; >f : (action: T, blah: { [K in T["type"]]: (p: K) => void; }) => any -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >type : string | symbol > : ^^^^^^^^^^^^^^^ >action : T > : ^ >blah : { [K in T["type"]]: (p: K) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >p : K > : ^ diff --git a/tests/baselines/reference/contextuallyTypingOrOperator3.types b/tests/baselines/reference/contextuallyTypingOrOperator3.types index 286949db78a11..47d41b80d65ef 100644 --- a/tests/baselines/reference/contextuallyTypingOrOperator3.types +++ b/tests/baselines/reference/contextuallyTypingOrOperator3.types @@ -3,7 +3,7 @@ === contextuallyTypingOrOperator3.ts === function foo(u: U) { >foo : (u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >u : U > : ^ diff --git a/tests/baselines/reference/contravariantInferenceAndTypeGuard.types b/tests/baselines/reference/contravariantInferenceAndTypeGuard.types index 2bc72c8d2bb7f..e3a9d8fbdb232 100644 --- a/tests/baselines/reference/contravariantInferenceAndTypeGuard.types +++ b/tests/baselines/reference/contravariantInferenceAndTypeGuard.types @@ -44,7 +44,7 @@ declare class List { filter(fn: FilterFn, context: TContext): List; >filter : { (fn: FilterFn, context: TContext): List; (fn: FilterFn>): List; (fn: IteratorFn, context: TContext_1): List; (fn: IteratorFn>): List; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : FilterFn > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >context : TContext @@ -52,13 +52,13 @@ declare class List { filter(fn: FilterFn): List; >filter : { (fn: FilterFn, context: TContext): List; (fn: FilterFn): List; (fn: IteratorFn, context: TContext_1): List; (fn: IteratorFn>): List; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : FilterFn> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ filter(fn: IteratorFn, context: TContext): List; >filter : { (fn: FilterFn, context: TContext_1): List; (fn: FilterFn>): List; (fn: IteratorFn, context: TContext): List; (fn: IteratorFn>): List; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : IteratorFn > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >context : TContext @@ -66,7 +66,7 @@ declare class List { filter(fn: IteratorFn): List; >filter : { (fn: FilterFn, context: TContext): List; (fn: FilterFn>): List; (fn: IteratorFn, context: TContext_1): List; (fn: IteratorFn): List; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >fn : IteratorFn> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunction.types b/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunction.types index c2d78be13cf85..099084e86654f 100644 --- a/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunction.types +++ b/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunction.types @@ -10,7 +10,7 @@ type Funcs> = { [K in keyof B]: { fn: (a: A, b: B) => void; >fn : (a: A, b: B) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B @@ -25,7 +25,7 @@ type Funcs> = { declare function foo>(fns: Funcs): [A, B] >foo : >(fns: Funcs) => [A, B] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >fns : Funcs > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunctionJs.types b/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunctionJs.types index 36c290e7c1fa4..c5f65d1f65d78 100644 --- a/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunctionJs.types +++ b/tests/baselines/reference/contravariantOnlyInferenceFromAnnotatedFunctionJs.types @@ -15,7 +15,7 @@ */ function foo(fns) { >foo : >(fns: Funcs) => [A, B] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >fns : Funcs > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameter.types b/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameter.types index d78383719188a..9fb7f92d623f8 100644 --- a/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameter.types +++ b/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameter.types @@ -5,9 +5,9 @@ declare function filter(predicate: (value: T, index: number) => boolean): T; >filter : (predicate: (value: T, index: number) => boolean) => T -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >predicate : (value: T, index: number) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number diff --git a/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameterJs.types b/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameterJs.types index 7588ffdb04698..f9d02089e075f 100644 --- a/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameterJs.types +++ b/tests/baselines/reference/contravariantOnlyInferenceWithAnnotatedOptionalParameterJs.types @@ -8,7 +8,7 @@ */ function filter(predicate) { >filter : (predicate: (value: T, index: number) => boolean) => T -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >predicate : (value: T, index: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/contravariantTypeAliasInference.types b/tests/baselines/reference/contravariantTypeAliasInference.types index c6a74373e58f8..7e051857ca0fa 100644 --- a/tests/baselines/reference/contravariantTypeAliasInference.types +++ b/tests/baselines/reference/contravariantTypeAliasInference.types @@ -23,7 +23,7 @@ declare let f2: Func1<"a">; declare function foo(f1: Func1, f2: Func1): void; >foo : (f1: Func1, f2: Func1) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >f1 : Func1 > : ^^^^^^^^ >f2 : Func1 @@ -49,7 +49,7 @@ declare let g2: Func2<"a">; declare function bar(g1: Func2, g2: Func2): void; >bar : (g1: Func2, g2: Func2) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >g1 : Func2 > : ^^^^^^^^ >g2 : Func2 diff --git a/tests/baselines/reference/controlFlowAliasedDiscriminants.types b/tests/baselines/reference/controlFlowAliasedDiscriminants.types index 2e2d48b18db74..7233b8cc211d3 100644 --- a/tests/baselines/reference/controlFlowAliasedDiscriminants.types +++ b/tests/baselines/reference/controlFlowAliasedDiscriminants.types @@ -30,7 +30,7 @@ type UseQueryResult = { function useQuery(): UseQueryResult { >useQuery : () => UseQueryResult -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return { >{ isSuccess: false, data: undefined, } : { isSuccess: false; data: undefined; } @@ -597,7 +597,7 @@ type Nested = { function bindingPatternInParameter({ data: data1, isSuccess: isSuccess1 }: UseQueryResult) { >bindingPatternInParameter : ({ data: data1, isSuccess: isSuccess1 }: UseQueryResult) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >data : any > : ^^^ >data1 : number | undefined diff --git a/tests/baselines/reference/controlFlowAliasing.types b/tests/baselines/reference/controlFlowAliasing.types index b5747ff72ded3..4b993dabd8f85 100644 --- a/tests/baselines/reference/controlFlowAliasing.types +++ b/tests/baselines/reference/controlFlowAliasing.types @@ -1351,7 +1351,7 @@ type Data = { kind: 'str', payload: string } | { kind: 'num', payload: number }; function gg2(obj: Data) { >gg2 : (obj: Data) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Data > : ^^^^ @@ -1392,7 +1392,7 @@ function gg2(obj: Data) { function foo({ kind, payload }: Data) { >foo : ({ kind, payload }: Data) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "str" | "num" > : ^^^^^^^^^^^^^ >payload : string | number @@ -1462,7 +1462,7 @@ class Utils { static isDefined(value: T): value is NonNullable { >isDefined : (value: T) => value is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/controlFlowAssignmentExpression.types b/tests/baselines/reference/controlFlowAssignmentExpression.types index fd0d3be87a429..633d13a47f644 100644 --- a/tests/baselines/reference/controlFlowAssignmentExpression.types +++ b/tests/baselines/reference/controlFlowAssignmentExpression.types @@ -92,7 +92,7 @@ type D = { done: true, value: 1 } | { done: false, value: 2 }; declare function fn(): D; >fn : () => D -> : ^^^^^^^ +> : ^^^^^^ let o: D; >o : D diff --git a/tests/baselines/reference/controlFlowComputedPropertyNames.types b/tests/baselines/reference/controlFlowComputedPropertyNames.types index f7b59a1259ed3..55913f6458680 100644 --- a/tests/baselines/reference/controlFlowComputedPropertyNames.types +++ b/tests/baselines/reference/controlFlowComputedPropertyNames.types @@ -3,7 +3,7 @@ === controlFlowComputedPropertyNames.ts === function f1(obj: Record, key: string) { >f1 : (obj: Record, key: string) => void -> : ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -41,7 +41,7 @@ function f1(obj: Record, key: string) { function f2(obj: Record, key: string) { >f2 : (obj: Record, key: string) => void -> : ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -159,7 +159,7 @@ type Thing = { a?: string, b?: number, c?: number }; function f3(obj: Thing, key: keyof Thing) { >f3 : (obj: Thing, key: keyof Thing) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Thing > : ^^^^^ >key : keyof Thing @@ -238,7 +238,7 @@ function f3(obj: Thing, key: keyof Thing) { function f4(obj: Record, key: K) { >f4 : (obj: Record, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : K diff --git a/tests/baselines/reference/controlFlowDestructuringLoop.types b/tests/baselines/reference/controlFlowDestructuringLoop.types index 7368bd1b80e24..586cba88d839a 100644 --- a/tests/baselines/reference/controlFlowDestructuringLoop.types +++ b/tests/baselines/reference/controlFlowDestructuringLoop.types @@ -17,7 +17,7 @@ type Val = NumVal | StrVal; function isNumVal(x: Val): x is NumVal { >isNumVal : (x: Val) => x is NumVal -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >x : Val > : ^^^ @@ -38,7 +38,7 @@ function isNumVal(x: Val): x is NumVal { function foo(things: Val[]): void { >foo : (things: Val[]) => void -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >things : Val[] > : ^^^^^ diff --git a/tests/baselines/reference/controlFlowElementAccessNoCrash1.types b/tests/baselines/reference/controlFlowElementAccessNoCrash1.types index 8c103be55ba88..52d2a1a76d5c2 100644 --- a/tests/baselines/reference/controlFlowElementAccessNoCrash1.types +++ b/tests/baselines/reference/controlFlowElementAccessNoCrash1.types @@ -37,13 +37,13 @@ interface VerifyTscEditDiscrepanciesInput { function testTscCompile(input: TestTscCompile) {} >testTscCompile : (input: TestTscCompile) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : TestTscCompile > : ^^^^^^^^^^^^^^ function verifyTscEditDiscrepancies({ >verifyTscEditDiscrepancies : ({ index, edits, commandLineArgs, }: VerifyTscEditDiscrepanciesInput) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ index, >index : number diff --git a/tests/baselines/reference/controlFlowForCatchAndFinally.types b/tests/baselines/reference/controlFlowForCatchAndFinally.types index a22d9113b0a71..76839c8e8eb2c 100644 --- a/tests/baselines/reference/controlFlowForCatchAndFinally.types +++ b/tests/baselines/reference/controlFlowForCatchAndFinally.types @@ -5,29 +5,29 @@ type Page = {close(): Promise; content(): Promise}; >Page : Page > : ^^^^ >close : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >content : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ type Browser = {close(): Promise}; >Browser : Browser > : ^^^^^^^ >close : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ declare function test1(): Promise; >test1 : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ declare function test2(obj: Browser): Promise; >test2 : (obj: Browser) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^ ^^^^^ >obj : Browser > : ^^^^^^^ async function test(): Promise { >test : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let browser: Browser | undefined = undefined; >browser : Browser | undefined diff --git a/tests/baselines/reference/controlFlowForIndexSignatures.types b/tests/baselines/reference/controlFlowForIndexSignatures.types index c89205b97e235..2b2fae0f57d4e 100644 --- a/tests/baselines/reference/controlFlowForIndexSignatures.types +++ b/tests/baselines/reference/controlFlowForIndexSignatures.types @@ -19,7 +19,7 @@ const boo: Foo = { bar: 'bar' }; function a(aboo1?: Foo) { >a : (aboo1?: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >aboo1 : Foo | undefined > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/controlFlowGenericTypes.types b/tests/baselines/reference/controlFlowGenericTypes.types index 6bf9c9d69733d..1a364d9893ba8 100644 --- a/tests/baselines/reference/controlFlowGenericTypes.types +++ b/tests/baselines/reference/controlFlowGenericTypes.types @@ -3,11 +3,11 @@ === controlFlowGenericTypes.ts === function f1(x: T, y: { a: T }, z: [T]): string { >f1 : (x: T, y: { a: T; }, z: [T]) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : { a: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >a : T > : ^ >z : [T] @@ -96,7 +96,7 @@ function f1(x: T, y: { a: T }, z: [T]): string { function f2(x: Extract | null): string { >f2 : (x: Extract | null) => string -> : ^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Extract | null > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -145,13 +145,13 @@ declare function isUndefined(x: unknown): x is undefined; declare function unbox(x: Box): T; >unbox : (x: Box) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Box > : ^^^^^^ function g1 | undefined>(x: T) { >g1 : | undefined>(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -175,7 +175,7 @@ function g1 | undefined>(x: T) { function g2 | undefined>(x: T) { >g2 : | undefined>(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -201,7 +201,7 @@ function g2 | undefined>(x: T) { function g3 | undefined>(x: T) { >g3 : | undefined>(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -227,7 +227,7 @@ function g3 | undefined>(x: T) { function g4 | undefined>(x: T) { >g4 : | undefined>(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -259,7 +259,7 @@ declare function takeA(val: 'A'): void; export function bounceAndTakeIfA(value: AB): AB { >bounceAndTakeIfA : (value: AB) => AB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : AB > : ^^ @@ -322,9 +322,9 @@ type MyUnion = AA | BB; const fn = (value: MyUnion) => { >fn : (value: MyUnion) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >(value: MyUnion) => { value.foo; // Error if ('foo' in value) { value.foo; } if (value.tag === 'B') { value.foo; }} : (value: MyUnion) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >value : MyUnion > : ^^^^^^^ @@ -376,9 +376,9 @@ const fn = (value: MyUnion) => { const fn2 = (value: T): MyUnion => { >fn2 : (value: T) => MyUnion -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(value: T): MyUnion => { value.foo; // Error if ('foo' in value) { value.foo; } if (value.tag === 'B') { value.foo; }} : (value: T) => MyUnion -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -462,7 +462,7 @@ type Union = A1 | B1 function notWorking(object: T) { >notWorking : (object: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >object : T > : ^ @@ -498,7 +498,7 @@ interface A { function get(key: K, obj: A): number { >get : (key: K, obj: A) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >key : K > : ^ >obj : A @@ -538,13 +538,13 @@ class EventEmitter { off(...args: [K, number] | [unknown, string]):void {} >off : (...args: [K, number] | [unknown, string]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : [K, number] | [unknown, string] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } function once>(emittingObject: T, eventName: keyof ET): void { >once : >(emittingObject: T, eventName: keyof ET) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >emittingObject : T > : ^ >eventName : keyof ET @@ -589,7 +589,7 @@ function once>(emittingObject: T, eventName: keyo function fx1(obj: T, key: K) { >fx1 : (obj: T, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -622,7 +622,7 @@ function fx1(obj: T, key: K) { function fx2, K extends keyof T>(obj: T, key: K) { >fx2 : , K extends keyof T>(obj: T, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -655,7 +655,7 @@ function fx2, K extends keyof T>(obj: T, key: function fx3 | undefined, K extends keyof T>(obj: T, key: K) { >fx3 : | undefined, K extends keyof T>(obj: T, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -762,7 +762,7 @@ class TableBaseEnum< function f10(x: T, y: Partial) { >f10 : (x: T, y: Partial) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >x : T @@ -789,13 +789,13 @@ class SqlTable { protected validateRow(_row: Partial>): void { >validateRow : (_row: Partial>) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >_row : Partial> > : ^^^^^^^^^^^^^^^^^^^^^^^^ } public insertRow(row: SqlInsertSet) { >insertRow : (row: SqlInsertSet) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >row : SqlInsertSet > : ^^^^^^^^^^^^^^^ @@ -841,7 +841,7 @@ type Control = Button | Checkbox; function update(control : T | undefined, key: K, value: T[K]): void { >update : (control: T | undefined, key: K, value: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >control : T | undefined > : ^^^^^^^^^^^^^ >key : K @@ -885,7 +885,7 @@ type Column = (keyof T extends never ? { id?: number | string } : { id: T }) function getColumnProperty(column: Column, key: keyof Column) { >getColumnProperty : (column: Column, key: keyof Column) => Column["title" | keyof (keyof T extends never ? { id?: string | number | undefined; } : { id: T; })] -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >column : Column > : ^^^^^^^^^ >key : "title" | keyof (keyof T extends never ? { id?: string | number | undefined; } : { id: T; }) diff --git a/tests/baselines/reference/controlFlowIfStatement.types b/tests/baselines/reference/controlFlowIfStatement.types index c34803d98dcba..059a5b2d96842 100644 --- a/tests/baselines/reference/controlFlowIfStatement.types +++ b/tests/baselines/reference/controlFlowIfStatement.types @@ -134,7 +134,7 @@ function b() { } function c(data: string | T): T { >c : (data: string | T) => T -> : ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >data : string | T > : ^^^^^^^^^^ @@ -167,7 +167,7 @@ function c(data: string | T): T { } function d(data: string | T): never { >d : (data: string | T) => never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >data : string | T > : ^^^^^^^^^^ @@ -203,7 +203,7 @@ interface I { } function e(x: I<"A" | "B">) { >e : (x: I<"A" | "B">) => void -> : ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : I<"A" | "B"> > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.types b/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.types index 7f263ded14066..226f9fa7a4bad 100644 --- a/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.types +++ b/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.types @@ -3,7 +3,7 @@ === controlFlowInstanceOfGuardPrimitives.ts === function distinguish(thing: string | number | Date) { >distinguish : (thing: string | number | Date) => void -> : ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >thing : string | number | Date > : ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/controlFlowInstanceof.types b/tests/baselines/reference/controlFlowInstanceof.types index 3ccb9978e0d19..2159f5388853d 100644 --- a/tests/baselines/reference/controlFlowInstanceof.types +++ b/tests/baselines/reference/controlFlowInstanceof.types @@ -5,7 +5,7 @@ function f1(s: Set | Set) { >f1 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -54,7 +54,7 @@ function f1(s: Set | Set) { function f2(s: Set | Set) { >f2 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -103,7 +103,7 @@ function f2(s: Set | Set) { function f3(s: Set | Set) { >f3 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -132,7 +132,7 @@ function f3(s: Set | Set) { function f4(s: Set | Set) { >f4 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -195,7 +195,7 @@ class C extends A { c: string } function foo(x: A | undefined) { >foo : (x: A | undefined) => void -> : ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | undefined > : ^^^^^^^^^^^^^ @@ -326,7 +326,7 @@ class Y { function goo(x: X) { >goo : (x: X) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : X > : ^ diff --git a/tests/baselines/reference/controlFlowInstanceofWithSymbolHasInstance.types b/tests/baselines/reference/controlFlowInstanceofWithSymbolHasInstance.types index 6112c2f417a63..dee2eb8c8dbe7 100644 --- a/tests/baselines/reference/controlFlowInstanceofWithSymbolHasInstance.types +++ b/tests/baselines/reference/controlFlowInstanceofWithSymbolHasInstance.types @@ -29,7 +29,7 @@ interface SetConstructor { function f1(s: Set | Set) { >f1 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -78,7 +78,7 @@ function f1(s: Set | Set) { function f2(s: Set | Set) { >f2 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -127,7 +127,7 @@ function f2(s: Set | Set) { function f3(s: Set | Set) { >f3 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -156,7 +156,7 @@ function f3(s: Set | Set) { function f4(s: Set | Set) { >f4 : (s: Set | Set) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Set | Set > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -205,7 +205,7 @@ class A { static [Symbol.hasInstance](this: T, value: unknown): value is ( >[Symbol.hasInstance] : (this: T, value: unknown) => value is T extends abstract new (...args: any) => infer U ? U : never -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -266,7 +266,7 @@ class C extends A { c: string } function foo(x: A | undefined) { >foo : (x: A | undefined) => void -> : ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | undefined > : ^^^^^^^^^^^^^ @@ -397,7 +397,7 @@ class Y { function goo(x: X) { >goo : (x: X) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : X > : ^ diff --git a/tests/baselines/reference/controlFlowIterationErrorsAsync.types b/tests/baselines/reference/controlFlowIterationErrorsAsync.types index 98ee0bd134d99..b3d2e926b85ae 100644 --- a/tests/baselines/reference/controlFlowIterationErrorsAsync.types +++ b/tests/baselines/reference/controlFlowIterationErrorsAsync.types @@ -108,13 +108,13 @@ async function f2() { declare function foo(x: string): Promise; >foo : { (x: string): Promise; (x: number): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : string > : ^^^^^^ declare function foo(x: number): Promise; >foo : { (x: string): Promise; (x: number): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : number > : ^^^^^^ @@ -206,7 +206,7 @@ async function g2() { async function asNumber(x: string | number): Promise { >asNumber : (x: string | number) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : string | number > : ^^^^^^^^^^^^^^^ @@ -476,7 +476,7 @@ async function foobar() { declare function foox(x: string | undefined): Promise >foox : (x: string | undefined) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : string | undefined > : ^^^^^^^^^^^^^^^^^^ @@ -520,7 +520,7 @@ async () => { declare function myQuery(input: { lastId: number | undefined }): Promise<{ entities: number[] }>; >myQuery : (input: { lastId: number | undefined; }) => Promise<{ entities: number[]; }> -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : { lastId: number | undefined; } > : ^^^^^^^^^^ ^^^ >lastId : number | undefined @@ -530,7 +530,7 @@ declare function myQuery(input: { lastId: number | undefined }): Promise<{ entit async function myFunc(): Promise { >myFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let lastId: number | undefined = undefined; >lastId : number | undefined diff --git a/tests/baselines/reference/controlFlowLoopAnalysis.types b/tests/baselines/reference/controlFlowLoopAnalysis.types index 71dab99b3b8b5..62dd6d0c058fe 100644 --- a/tests/baselines/reference/controlFlowLoopAnalysis.types +++ b/tests/baselines/reference/controlFlowLoopAnalysis.types @@ -103,7 +103,7 @@ function test2() { function mapUntilCant( >mapUntilCant : (values: a[], canTake: (value: a, index: number) => boolean, mapping: (value: a, index: number) => b) => b[] -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ values: a[], >values : a[] @@ -111,7 +111,7 @@ function mapUntilCant( canTake: (value: a, index: number) => boolean, >canTake : (value: a, index: number) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : a > : ^ >index : number @@ -119,7 +119,7 @@ function mapUntilCant( mapping: (value: a, index: number) => b >mapping : (value: a, index: number) => b -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : a > : ^ >index : number diff --git a/tests/baselines/reference/controlFlowOptionalChain.types b/tests/baselines/reference/controlFlowOptionalChain.types index a5dd4dea446f3..ac8283a1d327f 100644 --- a/tests/baselines/reference/controlFlowOptionalChain.types +++ b/tests/baselines/reference/controlFlowOptionalChain.types @@ -910,7 +910,7 @@ o6.f; // asserts declare const isDefined: (value: T) => asserts value is NonNullable; >isDefined : (value: T) => asserts value is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ @@ -1036,7 +1036,7 @@ type Thing = { foo: string | number, bar(): number, baz: object }; function f10(o: Thing | undefined, value: number) { >f10 : (o: Thing | undefined, value: number) => void -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ >value : number @@ -1170,7 +1170,7 @@ function f10(o: Thing | undefined, value: number) { function f11(o: Thing | null, value: number) { >f11 : (o: Thing | null, value: number) => void -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : Thing | null > : ^^^^^^^^^^^^ >value : number @@ -1304,7 +1304,7 @@ function f11(o: Thing | null, value: number) { function f12(o: Thing | undefined, value: number | undefined) { >f12 : (o: Thing | undefined, value: number | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ >value : number | undefined @@ -1438,7 +1438,7 @@ function f12(o: Thing | undefined, value: number | undefined) { function f12a(o: Thing | undefined, value: number | null) { >f12a : (o: Thing | undefined, value: number | null) => void -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ >value : number | null @@ -1572,7 +1572,7 @@ function f12a(o: Thing | undefined, value: number | null) { function f13(o: Thing | undefined) { >f13 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -1704,7 +1704,7 @@ function f13(o: Thing | undefined) { function f13a(o: Thing | undefined) { >f13a : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -1824,7 +1824,7 @@ function f13a(o: Thing | undefined) { function f14(o: Thing | null) { >f14 : (o: Thing | null) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | null > : ^^^^^^^^^^^^ @@ -1894,7 +1894,7 @@ function f14(o: Thing | null) { function f15(o: Thing | undefined, value: number) { >f15 : (o: Thing | undefined, value: number) => void -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ >value : number @@ -2020,7 +2020,7 @@ function f15(o: Thing | undefined, value: number) { function f15a(o: Thing | undefined, value: unknown) { >f15a : (o: Thing | undefined, value: unknown) => void -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ >value : unknown @@ -2146,7 +2146,7 @@ function f15a(o: Thing | undefined, value: unknown) { function f16(o: Thing | undefined) { >f16 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -2270,7 +2270,7 @@ function f16(o: Thing | undefined) { function f20(o: Thing | undefined) { >f20 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -2366,7 +2366,7 @@ function f20(o: Thing | undefined) { function f21(o: Thing | null) { >f21 : (o: Thing | null) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | null > : ^^^^^^^^^^^^ @@ -2462,7 +2462,7 @@ function f21(o: Thing | null) { function f22(o: Thing | undefined) { >f22 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -2594,7 +2594,7 @@ function f22(o: Thing | undefined) { function f23(o: Thing | undefined) { >f23 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -2732,13 +2732,13 @@ declare function assert(x: unknown): asserts x; declare function assertNonNull(x: T): asserts x is NonNullable; >assertNonNull : (x: T) => asserts x is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ function f30(o: Thing | undefined) { >f30 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -2868,7 +2868,7 @@ function f30(o: Thing | undefined) { function f40(o: Thing | undefined) { >f40 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -2934,7 +2934,7 @@ function f40(o: Thing | undefined) { function f41(o: Thing | undefined) { >f41 : (o: Thing | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Thing | undefined > : ^^^^^^^^^^^^^^^^^ @@ -3022,7 +3022,7 @@ type Shape = function getArea(shape?: Shape) { >getArea : (shape?: Shape) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ >shape : Shape | undefined > : ^^^^^^^^^^^^^^^^^ @@ -3111,7 +3111,7 @@ type Feature = { function extractCoordinates(f: Feature): number[] { >extractCoordinates : (f: Feature) => number[] -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >f : Feature > : ^^^^^^^ @@ -3162,7 +3162,7 @@ let lastSomeProperty: unknown | undefined; function someFunction(someOptionalObject: SomeObject | undefined): void { >someFunction : (someOptionalObject: SomeObject | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >someOptionalObject : SomeObject | undefined > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -3327,7 +3327,7 @@ type Test5 = { main?: { >main : { childs: Record; } | undefined -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ childs: Record; >childs : Record @@ -3338,7 +3338,7 @@ type Test5 = { function f50(obj: Test5) { >f50 : (obj: Test5) => Test5 | null -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ >obj : Test5 > : ^^^^^ diff --git a/tests/baselines/reference/controlFlowOptionalChain2.types b/tests/baselines/reference/controlFlowOptionalChain2.types index f7ddd7736c063..945f0b804d42b 100644 --- a/tests/baselines/reference/controlFlowOptionalChain2.types +++ b/tests/baselines/reference/controlFlowOptionalChain2.types @@ -25,7 +25,7 @@ type B = { function funcTwo(arg: A | B | undefined) { >funcTwo : (arg: A | B | undefined) => void -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : A | B | undefined > : ^^^^^^^^^^^^^^^^^ @@ -63,7 +63,7 @@ function funcTwo(arg: A | B | undefined) { function funcThree(arg: A | B | null) { >funcThree : (arg: A | B | null) => void -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : A | B | null > : ^^^^^^^^^^^^ @@ -125,7 +125,7 @@ type X = { kind: 'X', x: 'x' } function f1(x: X | U | undefined) { >f1 : (x: X | U | undefined) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : U | X | undefined > : ^^^^^^^^^^^^^^^^^ @@ -154,7 +154,7 @@ function f1(x: X | U | undefined) { function f2(x: X | N | undefined) { >f2 : (x: X | N | undefined) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : N | X | undefined > : ^^^^^^^^^^^^^^^^^ @@ -183,7 +183,7 @@ function f2(x: X | N | undefined) { function f3(x: X | U | null) { >f3 : (x: X | U | null) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : U | X | null > : ^^^^^^^^^^^^ @@ -212,7 +212,7 @@ function f3(x: X | U | null) { function f4(x: X | N | null) { >f4 : (x: X | N | null) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : N | X | null > : ^^^^^^^^^^^^ @@ -241,7 +241,7 @@ function f4(x: X | N | null) { function f5(x: X | U | undefined) { >f5 : (x: X | U | undefined) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : U | X | undefined > : ^^^^^^^^^^^^^^^^^ @@ -268,7 +268,7 @@ function f5(x: X | U | undefined) { function f6(x: X | N | undefined) { >f6 : (x: X | N | undefined) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : N | X | undefined > : ^^^^^^^^^^^^^^^^^ @@ -295,7 +295,7 @@ function f6(x: X | N | undefined) { function f7(x: X | U | null) { >f7 : (x: X | U | null) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : U | X | null > : ^^^^^^^^^^^^ @@ -322,7 +322,7 @@ function f7(x: X | U | null) { function f8(x: X | N | null) { >f8 : (x: X | N | null) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : N | X | null > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/controlFlowOptionalChain3.types b/tests/baselines/reference/controlFlowOptionalChain3.types index d99b53307ad53..c1bb55bf6e903 100644 --- a/tests/baselines/reference/controlFlowOptionalChain3.types +++ b/tests/baselines/reference/controlFlowOptionalChain3.types @@ -23,7 +23,7 @@ interface Foo { function test1(foo: Foo | undefined) { >test1 : (foo: Foo | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo | undefined > : ^^^^^^^^^^^^^^^ @@ -50,7 +50,7 @@ function test1(foo: Foo | undefined) { function test2(foo: Foo | undefined) { >test2 : (foo: Foo | undefined) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo | undefined > : ^^^^^^^^^^^^^^^ @@ -79,7 +79,7 @@ function test2(foo: Foo | undefined) { function Test3({ foo }: { foo: Foo | undefined }) { >Test3 : ({ foo }: { foo: Foo | undefined; }) => JSX.Element -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >foo : Foo | undefined > : ^^^^^^^^^^^^^^^ >foo : Foo | undefined diff --git a/tests/baselines/reference/controlFlowOuterVariable.types b/tests/baselines/reference/controlFlowOuterVariable.types index a42e5ce57587f..566816d5e8fcd 100644 --- a/tests/baselines/reference/controlFlowOuterVariable.types +++ b/tests/baselines/reference/controlFlowOuterVariable.types @@ -39,9 +39,9 @@ const CONFIG = { const helper = function(t: T[]) { >helper : (t: T[]) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >function(t: T[]) { helper(t.slice(1));} : (t: T[]) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T[] > : ^^^ diff --git a/tests/baselines/reference/controlFlowTruthiness.types b/tests/baselines/reference/controlFlowTruthiness.types index 573fc94320e42..2214f497bdbf2 100644 --- a/tests/baselines/reference/controlFlowTruthiness.types +++ b/tests/baselines/reference/controlFlowTruthiness.types @@ -246,7 +246,7 @@ function f7(x: {}) { function f8(x: T) { >f8 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -267,7 +267,7 @@ function f8(x: T) { function f9(x: T) { >f9 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/convertKeywordsYes.types b/tests/baselines/reference/convertKeywordsYes.types index 7db8d3e85c3a3..800897453aeb4 100644 --- a/tests/baselines/reference/convertKeywordsYes.types +++ b/tests/baselines/reference/convertKeywordsYes.types @@ -113,7 +113,7 @@ var declare = 0; function bigGeneric< >bigGeneric : (c: constructor, a: any, b2: boolean, i: implements, i2: interface, l: let, m: module, n: number, p: package, p2: private, p3: protected, p4: public, s: set, s2: static, s3: string, g: get, y: yield, d: declare) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ constructor, implements , diff --git a/tests/baselines/reference/correctOrderOfPromiseMethod.types b/tests/baselines/reference/correctOrderOfPromiseMethod.types index 217d19604af15..a82714059e211 100644 --- a/tests/baselines/reference/correctOrderOfPromiseMethod.types +++ b/tests/baselines/reference/correctOrderOfPromiseMethod.types @@ -19,21 +19,21 @@ interface B { async function countEverything(): Promise { >countEverything : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ const providerA = async (): Promise => { return [] } >providerA : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >async (): Promise => { return [] } : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >[] : undefined[] > : ^^^^^^^^^^^ const providerB = async (): Promise => { return [] } >providerB : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >async (): Promise => { return [] } : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >[] : undefined[] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/correlatedUnions.types b/tests/baselines/reference/correlatedUnions.types index 979f458805589..18a6f41334865 100644 --- a/tests/baselines/reference/correlatedUnions.types +++ b/tests/baselines/reference/correlatedUnions.types @@ -33,7 +33,7 @@ type UnionRecord = { [P in K]: { f: (v: RecordMap[P]) => void >f : (v: RecordMap[P]) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^ ^^^^^ >v : RecordMap[P] > : ^^^^^^^^^^^^ @@ -41,7 +41,7 @@ type UnionRecord = { [P in K]: { function processRecord(rec: UnionRecord) { >processRecord : (rec: UnionRecord) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >rec : UnionRecord > : ^^^^^^^^^^^^^^ @@ -165,13 +165,13 @@ type RenderFuncMap = { [K in keyof FieldMap]: RenderFunc }; function renderTextField(props: TextFieldData) {} >renderTextField : (props: TextFieldData) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >props : TextFieldData > : ^^^^^^^^^^^^^ function renderSelectField(props: SelectFieldData) {} >renderSelectField : (props: SelectFieldData) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >props : SelectFieldData > : ^^^^^^^^^^^^^^^ @@ -197,7 +197,7 @@ const renderFuncs: RenderFuncMap = { function renderField(field: FormField) { >renderField : (field: FormField) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >field : FormField > : ^^^^^^^^^^^^ @@ -354,7 +354,7 @@ const data: DataEntry[] = [ function process(data: DataEntry[]) { >process : (data: DataEntry[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >data : DataEntry[] > : ^^^^^^^^^^^^^^ @@ -449,13 +449,13 @@ type LetterCaller = { [P in K]: { letter: Recordletter : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ >caller : (x: Record) => void -> : ^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^ +> : ^^^^ ^^^^^ >x : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ function call({ letter, caller }: LetterCaller): void { >call : ({ letter, caller }: LetterCaller) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >letter : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ >caller : (x: Record) => void @@ -496,7 +496,7 @@ type BCaller = (b: B) => void; declare const xx: { letter: A, caller: ACaller } | { letter: B, caller: BCaller }; >xx : { letter: A; caller: ACaller; } | { letter: B; caller: BCaller; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ >letter : A > : ^ >caller : ACaller @@ -530,7 +530,7 @@ type Ev = { [P in K]: { readonly callback: (ev: DocumentEventMap[P]) => void; >callback : (ev: DocumentEventMap[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >ev : DocumentEventMap[P] > : ^^^^^^^^^^^^^^^^^^^ @@ -538,7 +538,7 @@ type Ev = { [P in K]: { function processEvents(events: Ev[]) { >processEvents : (events: Ev[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >events : Ev[] > : ^^^^^^^ @@ -592,7 +592,7 @@ function processEvents(events: Ev[]) { function createEventListener({ name, once = false, callback }: Ev): Ev { >createEventListener : ({ name, once, callback }: Ev) => Ev -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >name : K > : ^ >once : boolean @@ -825,7 +825,7 @@ function ff1() { } function apply(funKey: K, ...args: ArgMap[K]) { >apply : (funKey: K, ...args: { sum: [a: number, b: number]; concat: [a: string, b: string, c: string]; }[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >funKey : K > : ^ >args : { sum: [a: number, b: number]; concat: [a: string, b: string, c: string]; }[K] @@ -904,7 +904,7 @@ type Funcs = { [K in keyof ArgMap]: Func }; function f1(funcs: Funcs, key: K, arg: ArgMap[K]) { >f1 : (funcs: Funcs, key: K, arg: ArgMap[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >funcs : Funcs > : ^^^^^ >key : K @@ -927,7 +927,7 @@ function f1(funcs: Funcs, key: K, arg: ArgMap[K]) { function f2(funcs: Funcs, key: K, arg: ArgMap[K]) { >f2 : (funcs: Funcs, key: K, arg: ArgMap[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >funcs : Funcs > : ^^^^^ >key : K @@ -956,7 +956,7 @@ function f2(funcs: Funcs, key: K, arg: ArgMap[K]) { function f3(funcs: Funcs, key: K, arg: ArgMap[K]) { >f3 : (funcs: Funcs, key: K, arg: ArgMap[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >funcs : Funcs > : ^^^^^ >key : K @@ -985,7 +985,7 @@ function f3(funcs: Funcs, key: K, arg: ArgMap[K]) { function f4(x: Funcs[keyof ArgMap], y: Funcs[K]) { >f4 : (x: Funcs[keyof ArgMap], y: Funcs[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : Func<"b"> | Func<"a"> > : ^^^^^^^^^^^^^^^^^^^^^ >y : Funcs[K] @@ -1051,7 +1051,7 @@ const ref: MyObj = { function func(k: K): MyObj[K]['name'] | undefined { >func : (k: K) => MyObj[K]['name'] | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >k : K > : ^ @@ -1114,7 +1114,7 @@ interface Foo { function foo(prop: T, f: Required) { >foo : (prop: T, f: Required) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >prop : T > : ^ >f : Required @@ -1143,7 +1143,7 @@ declare function bar(t: string): void; declare function makeCompleteLookupMapping, Attr extends keyof T[number]>( >makeCompleteLookupMapping : (ops: T, attr: Attr) => { [Item in T[number] as Item[Attr]]: Item; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ops: T, attr: Attr): { [Item in T[number]as Item[Attr]]: Item }; >ops : T @@ -1246,9 +1246,9 @@ type MappedFromOriginal = SameKeys; const getStringAndNumberFromOriginalAndMapped = < >getStringAndNumberFromOriginalAndMapped : (original: Original, mappedFromOriginal: MappedFromOriginal, key: K, nestedKey: N) => [Original[K][N], MappedFromOriginal[K][N]] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >< K extends KeyOfOriginal, N extends NestedKeyOfOriginalFor>( original: Original, mappedFromOriginal: MappedFromOriginal, key: K, nestedKey: N): [Original[K][N], MappedFromOriginal[K][N]] => { return [original[key][nestedKey], mappedFromOriginal[key][nestedKey]];} : (original: Original, mappedFromOriginal: MappedFromOriginal, key: K, nestedKey: N) => [Original[K][N], MappedFromOriginal[K][N]] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ K extends KeyOfOriginal, N extends NestedKeyOfOriginalFor @@ -1309,7 +1309,7 @@ interface Config { function getConfigOrDefault( >getConfigOrDefault : (userConfig: Partial, key: T, defaultValue: Config[T]) => Config[T] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ userConfig: Partial, >userConfig : Partial @@ -1371,7 +1371,7 @@ type Foo1 = { function getValueConcrete( >getValueConcrete : (o: Partial, k: K) => Foo1[K] | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ o: Partial, >o : Partial diff --git a/tests/baselines/reference/couldNotSelectGenericOverload.types b/tests/baselines/reference/couldNotSelectGenericOverload.types index 0d1e6b0bd8faa..8483ce0a8b5b4 100644 --- a/tests/baselines/reference/couldNotSelectGenericOverload.types +++ b/tests/baselines/reference/couldNotSelectGenericOverload.types @@ -3,7 +3,7 @@ === couldNotSelectGenericOverload.ts === function makeArray(items: T[]): T[] { return items; } >makeArray : (items: T[]) => T[] -> : ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ >items : T[] diff --git a/tests/baselines/reference/covariance1.types b/tests/baselines/reference/covariance1.types index f2604f63956b2..f98f75249d792 100644 --- a/tests/baselines/reference/covariance1.types +++ b/tests/baselines/reference/covariance1.types @@ -21,7 +21,7 @@ module M { export function f(y:Y) { } >f : (y: Y) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >y : Y > : ^ diff --git a/tests/baselines/reference/covariantCallbacks.types b/tests/baselines/reference/covariantCallbacks.types index 1163ba2aa6c9b..f249a8f26dc58 100644 --- a/tests/baselines/reference/covariantCallbacks.types +++ b/tests/baselines/reference/covariantCallbacks.types @@ -6,9 +6,9 @@ interface P { then(cb: (value: T) => void): void; >then : (cb: (value: T) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -24,7 +24,7 @@ interface B extends A { b: string } function f1(a: P, b: P) { >f1 : (a: P, b: P) => void -> : ^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : P > : ^^^^ >b : P @@ -49,7 +49,7 @@ function f1(a: P, b: P) { function f2(a: Promise, b: Promise) { >f2 : (a: Promise, b: Promise) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Promise > : ^^^^^^^^^^ >b : Promise @@ -75,9 +75,9 @@ function f2(a: Promise, b: Promise) { interface AList1 { forEach(cb: (item: A) => void): void; >forEach : (cb: (item: A) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: A) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : A > : ^ } @@ -85,16 +85,16 @@ interface AList1 { interface BList1 { forEach(cb: (item: B) => void): void; >forEach : (cb: (item: B) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: B) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : B > : ^ } function f11(a: AList1, b: BList1) { >f11 : (a: AList1, b: BList1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : AList1 > : ^^^^^^ >b : BList1 @@ -120,9 +120,9 @@ function f11(a: AList1, b: BList1) { interface AList2 { forEach(cb: (item: A) => boolean): void; >forEach : (cb: (item: A) => boolean) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: A) => boolean -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : A > : ^ } @@ -130,16 +130,16 @@ interface AList2 { interface BList2 { forEach(cb: (item: A) => void): void; >forEach : (cb: (item: A) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: A) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : A > : ^ } function f12(a: AList2, b: BList2) { >f12 : (a: AList2, b: BList2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : AList2 > : ^^^^^^ >b : BList2 @@ -165,9 +165,9 @@ function f12(a: AList2, b: BList2) { interface AList3 { forEach(cb: (item: A) => void): void; >forEach : (cb: (item: A) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: A) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : A > : ^ } @@ -175,9 +175,9 @@ interface AList3 { interface BList3 { forEach(cb: (item: A, context: any) => void): void; >forEach : (cb: (item: A, context: any) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: A, context: any) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >item : A > : ^ >context : any @@ -186,7 +186,7 @@ interface BList3 { function f13(a: AList3, b: BList3) { >f13 : (a: AList3, b: BList3) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : AList3 > : ^^^^^^ >b : BList3 @@ -212,9 +212,9 @@ function f13(a: AList3, b: BList3) { interface AList4 { forEach(cb: (item: A) => A): void; >forEach : (cb: (item: A) => A) => void -> : ^^^^^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: A) => A -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : A > : ^ } @@ -222,16 +222,16 @@ interface AList4 { interface BList4 { forEach(cb: (item: B) => B): void; >forEach : (cb: (item: B) => B) => void -> : ^^^^^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ >cb : (item: B) => B -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : B > : ^ } function f14(a: AList4, b: BList4) { >f14 : (a: AList4, b: BList4) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : AList4 > : ^^^^^^ >b : BList4 @@ -260,7 +260,7 @@ type Bivar = { set(value: T): void } >Bivar : Bivar > : ^^^^^^^^ >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -320,7 +320,7 @@ type Bivar1 = { set(value: T): void } >Bivar1 : Bivar1 > : ^^^^^^^^^ >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -328,7 +328,7 @@ type Bivar2 = { set(value: T): void } >Bivar2 : Bivar2 > : ^^^^^^^^^ >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -364,11 +364,11 @@ type SetLike = { set(value: T): void, get(): T } >SetLike : SetLike > : ^^^^^^^^^^ >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >get : () => T -> : ^^^^^^^ +> : ^^^^^^ declare let sx: SetLike1<(x: unknown) => void>; >sx : SetLike1<(x: unknown) => void> @@ -402,21 +402,21 @@ type SetLike1 = { set(value: T): void, get(): T } >SetLike1 : SetLike1 > : ^^^^^^^^^^^ >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >get : () => T -> : ^^^^^^^ +> : ^^^^^^ type SetLike2 = { set(value: T): void, get(): T } >SetLike2 : SetLike2 > : ^^^^^^^^^^^ >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >get : () => T -> : ^^^^^^^ +> : ^^^^^^ declare let s1: SetLike1<(x: unknown) => void>; >s1 : SetLike1<(x: unknown) => void> diff --git a/tests/baselines/reference/crashInResolveInterface.types b/tests/baselines/reference/crashInResolveInterface.types index ad940d08dffa8..a47088b294525 100644 --- a/tests/baselines/reference/crashInResolveInterface.types +++ b/tests/baselines/reference/crashInResolveInterface.types @@ -26,9 +26,9 @@ interface C { interface Q { each(action: (item: T, index: number) => void): void; >each : (action: (item: T, index: number) => void) => void -> : ^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >action : (item: T, index: number) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^ >item : T > : ^ >index : number diff --git a/tests/baselines/reference/crashInresolveReturnStatement.types b/tests/baselines/reference/crashInresolveReturnStatement.types index 08113e2dee2bd..ee6ceb034f99a 100644 --- a/tests/baselines/reference/crashInresolveReturnStatement.types +++ b/tests/baselines/reference/crashInresolveReturnStatement.types @@ -33,7 +33,7 @@ class CreateCopyOfWorkItemDialog { } function createWorkItemDialog(dialogType: P0) { >createWorkItemDialog : (dialogType: P0) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ >dialogType : P0 > : ^^ } diff --git a/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.types b/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.types index 09a46cdd1c872..949e4ace3e268 100644 --- a/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.types +++ b/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.types @@ -19,13 +19,13 @@ class D extends C { } function foo(x: "hi", items: string[]): typeof foo; >foo : (x: "hi", items: string[]) => typeof foo -> : ^^^^ ^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^ >x : "hi" > : ^^^^ >items : string[] > : ^^^^^^^^ >foo : (x: "hi", items: string[]) => typeof foo -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo(x: string, items: string[]): typeof foo { >foo : (x: "hi", items: string[]) => typeof foo diff --git a/tests/baselines/reference/crashIntypeCheckInvocationExpression.types b/tests/baselines/reference/crashIntypeCheckInvocationExpression.types index 3ab46158e0079..6a34f6e0f847f 100644 --- a/tests/baselines/reference/crashIntypeCheckInvocationExpression.types +++ b/tests/baselines/reference/crashIntypeCheckInvocationExpression.types @@ -7,7 +7,7 @@ var nake; function doCompile(fileset: P0, moduleType: P1) { >doCompile : (fileset: P0, moduleType: P1) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ >fileset : P0 > : ^^ >moduleType : P1 diff --git a/tests/baselines/reference/crashIntypeCheckObjectCreationExpression.types b/tests/baselines/reference/crashIntypeCheckObjectCreationExpression.types index 1162382f562e5..39e0feeb10aa9 100644 --- a/tests/baselines/reference/crashIntypeCheckObjectCreationExpression.types +++ b/tests/baselines/reference/crashIntypeCheckObjectCreationExpression.types @@ -7,7 +7,7 @@ export class BuildWorkspaceService { public injectRequestService(service: P0) { >injectRequestService : (service: P0) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >service : P0 > : ^^ @@ -29,7 +29,7 @@ export class BuildWorkspaceService { } public injectBuildService(service: P0) { >injectBuildService : (service: P0) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^ >service : P0 > : ^^ } diff --git a/tests/baselines/reference/customAsyncIterator.types b/tests/baselines/reference/customAsyncIterator.types index dfe8c11868800..94fe242c41eee 100644 --- a/tests/baselines/reference/customAsyncIterator.types +++ b/tests/baselines/reference/customAsyncIterator.types @@ -12,7 +12,7 @@ class ConstantIterator implements AsyncIterator } async next(value?: T): Promise> { >next : (value?: T) => Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/cyclicGenericTypeInstantiationInference.types b/tests/baselines/reference/cyclicGenericTypeInstantiationInference.types index 6f7861a91a068..da10cb7952070 100644 --- a/tests/baselines/reference/cyclicGenericTypeInstantiationInference.types +++ b/tests/baselines/reference/cyclicGenericTypeInstantiationInference.types @@ -79,7 +79,7 @@ var b = bar(); function test(x: typeof a): void { } >test : (x: typeof a) => void -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >x : { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: any; }; }; }; }; }; }; }; }; }; }; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: any; }; }; }; }; }; }; }; }; }; }; } diff --git a/tests/baselines/reference/cyclicTypeInstantiation.types b/tests/baselines/reference/cyclicTypeInstantiation.types index 7c9f739d239fe..c4072505818fb 100644 --- a/tests/baselines/reference/cyclicTypeInstantiation.types +++ b/tests/baselines/reference/cyclicTypeInstantiation.types @@ -3,11 +3,11 @@ === cyclicTypeInstantiation.ts === function foo() { >foo : () => { a: T; b: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^ var x: { >x : { a: T; b: any; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^ a: T; >a : T @@ -27,11 +27,11 @@ function foo() { function bar() { >bar : () => { a: T; b: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^ var x: { >x : { a: T; b: any; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^ a: T; >a : T diff --git a/tests/baselines/reference/declFileAliasUseBeforeDeclaration.types b/tests/baselines/reference/declFileAliasUseBeforeDeclaration.types index 5b75539053898..e9c99eea689d7 100644 --- a/tests/baselines/reference/declFileAliasUseBeforeDeclaration.types +++ b/tests/baselines/reference/declFileAliasUseBeforeDeclaration.types @@ -3,7 +3,7 @@ === declFileAliasUseBeforeDeclaration_test.ts === export function bar(a: foo.Foo) { } >bar : (a: foo.Foo) => void -> : ^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : foo.Foo > : ^^^^^^^ >foo : any diff --git a/tests/baselines/reference/declFileExportAssignmentImportInternalModule.types b/tests/baselines/reference/declFileExportAssignmentImportInternalModule.types index 6c61559c1cad3..b003ebad8057b 100644 --- a/tests/baselines/reference/declFileExportAssignmentImportInternalModule.types +++ b/tests/baselines/reference/declFileExportAssignmentImportInternalModule.types @@ -15,7 +15,7 @@ module m3 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -30,7 +30,7 @@ module m3 { export var server: { >server : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -44,7 +44,7 @@ module m3 { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declFileForInterfaceWithRestParams.types b/tests/baselines/reference/declFileForInterfaceWithRestParams.types index 94aca0a2db67a..98c0d729c00c7 100644 --- a/tests/baselines/reference/declFileForInterfaceWithRestParams.types +++ b/tests/baselines/reference/declFileForInterfaceWithRestParams.types @@ -4,7 +4,7 @@ interface I { foo(...x): typeof x; >foo : (...x: any[]) => typeof x -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^^ >x : any[] > : ^^^^^ >x : any[] @@ -12,7 +12,7 @@ interface I { foo2(a: number, ...x): typeof x; >foo2 : (a: number, ...x: any[]) => typeof x -> : ^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^ >a : number > : ^^^^^^ >x : any[] @@ -22,7 +22,7 @@ interface I { foo3(b: string, ...x: string[]): typeof x; >foo3 : (b: string, ...x: string[]) => typeof x -> : ^^^^ ^^^^^^^^ ^^^^^ ^ +> : ^^^^ ^^^^^^^^ ^^^^^ >b : string > : ^^^^^^ >x : string[] diff --git a/tests/baselines/reference/declFileForTypeParameters.types b/tests/baselines/reference/declFileForTypeParameters.types index 1631146b6234f..8b90d9651636a 100644 --- a/tests/baselines/reference/declFileForTypeParameters.types +++ b/tests/baselines/reference/declFileForTypeParameters.types @@ -11,7 +11,7 @@ class C { foo(a: T): T { >foo : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/declFileGenericType.types b/tests/baselines/reference/declFileGenericType.types index b69b3bd5a0697..a2c8e080eabaa 100644 --- a/tests/baselines/reference/declFileGenericType.types +++ b/tests/baselines/reference/declFileGenericType.types @@ -15,13 +15,13 @@ export module C { export function F(x: T): A { return null; } >F : (x: T) => A -> : ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ export function F2(x: T): C.A { return null; } >F2 : (x: T) => C.A -> : ^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >C : any @@ -31,7 +31,7 @@ export module C { export function F3(x: T): C.A[] { return null; } >F3 : (x: T) => C.A[] -> : ^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >C : any @@ -41,7 +41,7 @@ export module C { export function F4>(x: T): Array> { return null; } >F4 : >(x: T) => Array> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ >C : any @@ -51,11 +51,11 @@ export module C { export function F5(): T { return null; } >F5 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ export function F6>(x: T): T { return null; } >F6 : >(x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/declFileGenericType2.types b/tests/baselines/reference/declFileGenericType2.types index 3351b99c240fa..33c7e716ac49e 100644 --- a/tests/baselines/reference/declFileGenericType2.types +++ b/tests/baselines/reference/declFileGenericType2.types @@ -37,7 +37,7 @@ declare module templa.mvc.composite { getControllers(): mvc.IController[]; >getControllers : () => mvc.IController[] -> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ +> : ^^^^^^ >mvc : any > : ^^^ >mvc : any diff --git a/tests/baselines/reference/declFileImportModuleWithExportAssignment.types b/tests/baselines/reference/declFileImportModuleWithExportAssignment.types index 575a2969eb7d6..3cd1298f9120c 100644 --- a/tests/baselines/reference/declFileImportModuleWithExportAssignment.types +++ b/tests/baselines/reference/declFileImportModuleWithExportAssignment.types @@ -33,7 +33,7 @@ module m2 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -47,7 +47,7 @@ module m2 { } var m2: { >m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -61,7 +61,7 @@ var m2: { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declFilePrivateMethodOverloads.types b/tests/baselines/reference/declFilePrivateMethodOverloads.types index 69da0e7c0d14d..da5a9b6c8e420 100644 --- a/tests/baselines/reference/declFilePrivateMethodOverloads.types +++ b/tests/baselines/reference/declFilePrivateMethodOverloads.types @@ -12,21 +12,21 @@ class c1 { private _forEachBindingContext(bindingContext: IContext, fn: (bindingContext: IContext) => void); >_forEachBindingContext : { (bindingContext: IContext, fn: (bindingContext: IContext) => void): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bindingContext : IContext > : ^^^^^^^^ >fn : (bindingContext: IContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >bindingContext : IContext > : ^^^^^^^^ private _forEachBindingContext(bindingContextArray: Array, fn: (bindingContext: IContext) => void); >_forEachBindingContext : { (bindingContext: IContext, fn: (bindingContext: IContext) => void): any; (bindingContextArray: Array, fn: (bindingContext: IContext) => void): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >bindingContextArray : IContext[] > : ^^^^^^^^^^ >fn : (bindingContext: IContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >bindingContext : IContext > : ^^^^^^^^ @@ -35,7 +35,7 @@ class c1 { > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >context : any >fn : (bindingContext: IContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >bindingContext : IContext > : ^^^^^^^^ @@ -44,17 +44,17 @@ class c1 { private overloadWithArityDifference(bindingContext: IContext); >overloadWithArityDifference : { (bindingContext: IContext): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bindingContext : IContext > : ^^^^^^^^ private overloadWithArityDifference(bindingContextArray: Array, fn: (bindingContext: IContext) => void); >overloadWithArityDifference : { (bindingContext: IContext): any; (bindingContextArray: Array, fn: (bindingContext: IContext) => void): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >bindingContextArray : IContext[] > : ^^^^^^^^^^ >fn : (bindingContext: IContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >bindingContext : IContext > : ^^^^^^^^ diff --git a/tests/baselines/reference/declFileTypeAnnotationArrayType.types b/tests/baselines/reference/declFileTypeAnnotationArrayType.types index c91cefdca1cd1..3d2adb4655f5a 100644 --- a/tests/baselines/reference/declFileTypeAnnotationArrayType.types +++ b/tests/baselines/reference/declFileTypeAnnotationArrayType.types @@ -26,7 +26,7 @@ class g { // Just the name function foo(): c[] { >foo : () => c[] -> : ^^^^^^^ +> : ^^^^^^ return [new c()]; >[new c()] : c[] @@ -52,7 +52,7 @@ function foo2() { // Qualified name function foo3(): m.c[] { >foo3 : () => m.c[] -> : ^^^^^^^ ^ +> : ^^^^^^ >m : any > : ^^^ @@ -84,7 +84,7 @@ function foo4() { // Just the name with type arguments function foo5(): g[] { >foo5 : () => g[] -> : ^^^^^^^ +> : ^^^^^^ return [new g()]; >[new g()] : g[] @@ -110,7 +110,7 @@ function foo6() { // Qualified name with type arguments function foo7(): m.g[] { >foo7 : () => m.g[] -> : ^^^^^^^ ^ +> : ^^^^^^ >m : any > : ^^^ @@ -146,7 +146,7 @@ function foo8() { // Array of function types function foo9(): (()=>c)[] { >foo9 : () => (() => c)[] -> : ^^^^^^ ^ +> : ^^^^^^ return [() => new c()]; >[() => new c()] : (() => c)[] diff --git a/tests/baselines/reference/declFileTypeAnnotationParenType.types b/tests/baselines/reference/declFileTypeAnnotationParenType.types index 91f3498f106da..96a33c2f33b4d 100644 --- a/tests/baselines/reference/declFileTypeAnnotationParenType.types +++ b/tests/baselines/reference/declFileTypeAnnotationParenType.types @@ -12,7 +12,7 @@ class c { var x: (() => c)[] = [() => new c()]; >x : (() => c)[] -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >[() => new c()] : (() => c)[] > : ^^^^^^^^^^^ >() => new c() : () => c @@ -36,7 +36,7 @@ var y = [() => new c()]; var k: (() => c) | string = (() => new c()) || ""; >k : string | (() => c) -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^ >(() => new c()) || "" : "" | (() => c) > : ^^^^^^^^^^^^^^ >(() => new c()) : () => c diff --git a/tests/baselines/reference/declFileTypeAnnotationTupleType.types b/tests/baselines/reference/declFileTypeAnnotationTupleType.types index 4ca186721b55e..63a4466c0b385 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTupleType.types +++ b/tests/baselines/reference/declFileTypeAnnotationTupleType.types @@ -52,7 +52,7 @@ var l = k; var x: [g, m.g, () => c] = [new g(), new m.g(), () => new c()]; >x : [g, m.g, () => c] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ >m : any > : ^^^ >[new g(), new m.g(), () => new c()] : [g, m.g, () => c] diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.types b/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.types index 5fb8b2d264cfc..0e71060fe4129 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.types +++ b/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.types @@ -22,7 +22,7 @@ module m { // Object literal with everything var x: { >x : { (a: number): c; (a: string): g; new (a: number): c; new (a: string): m.c; [n: number]: c; [n: string]: c; a: c; b: g; m1(): g; m2(a: string, b?: number, ...c: c[]): string; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^ ^^^ // Call signatures (a: number): c; @@ -65,11 +65,11 @@ var x: { // methods m1(): g; >m1 : () => g -> : ^^^^^^^ +> : ^^^^^^ m2(a: string, b?: number, ...c: c[]): string; >m2 : (a: string, b?: number, ...c: c[]) => string -> : ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^ ^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >b : number @@ -90,7 +90,7 @@ var y: (a: string) => string; // constructor type var z: new (a: string) => m.c; >z : new (a: string) => m.c -> : ^^^^^^^^ ^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >m : any diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeQuery.types b/tests/baselines/reference/declFileTypeAnnotationTypeQuery.types index c8a671d1ea6f6..a46b376fd9690 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeQuery.types +++ b/tests/baselines/reference/declFileTypeAnnotationTypeQuery.types @@ -26,7 +26,7 @@ class g { // Just the name function foo(): typeof c { >foo : () => typeof c -> : ^^^^^^ ^ +> : ^^^^^^ >c : typeof c > : ^^^^^^^^ @@ -46,7 +46,7 @@ function foo2() { // Qualified name function foo3(): typeof m.c { >foo3 : () => typeof m.c -> : ^^^^^^ ^ ^ +> : ^^^^^^ >m.c : typeof m.c > : ^^^^^^^^^^ >m : typeof m @@ -78,7 +78,7 @@ function foo4() { // Just the name with type arguments function foo5(): typeof g { >foo5 : () => typeof g -> : ^^^^^^ ^ +> : ^^^^^^ >g : typeof g > : ^^^^^^^^ @@ -98,7 +98,7 @@ function foo6() { // Qualified name with type arguments function foo7(): typeof m.g { >foo7 : () => typeof m.g -> : ^^^^^^ ^ ^ +> : ^^^^^^ >m.g : typeof m.g > : ^^^^^^^^^^ >m : typeof m diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeReference.types b/tests/baselines/reference/declFileTypeAnnotationTypeReference.types index e2361317b9d27..698c85a67dfb9 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeReference.types +++ b/tests/baselines/reference/declFileTypeAnnotationTypeReference.types @@ -26,7 +26,7 @@ class g { // Just the name function foo(): c { >foo : () => c -> : ^^^^^^^ +> : ^^^^^^ return new c(); >new c() : c @@ -48,7 +48,7 @@ function foo2() { // Qualified name function foo3(): m.c { >foo3 : () => m.c -> : ^^^^^^^ ^ +> : ^^^^^^ >m : any > : ^^^ @@ -80,7 +80,7 @@ function foo4() { // Just the name with type arguments function foo5(): g { >foo5 : () => g -> : ^^^^^^^ +> : ^^^^^^ return new g(); >new g() : g @@ -102,7 +102,7 @@ function foo6() { // Qualified name with type arguments function foo7(): m.g { >foo7 : () => m.g -> : ^^^^^^^ ^ +> : ^^^^^^ >m : any > : ^^^ diff --git a/tests/baselines/reference/declFileTypeAnnotationUnionType.types b/tests/baselines/reference/declFileTypeAnnotationUnionType.types index 69dd1274750b1..2c07df3315a99 100644 --- a/tests/baselines/reference/declFileTypeAnnotationUnionType.types +++ b/tests/baselines/reference/declFileTypeAnnotationUnionType.types @@ -80,7 +80,7 @@ var l = new c() || new m.c(); var x: g | m.g | (() => c) = new g() || new m.g() || (() => new c()); >x : g | m.g | (() => c) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ >m : any > : ^^^ >new g() || new m.g() || (() => new c()) : g | m.g | (() => c) diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.types b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.types index 3cf03353c433b..7b814433150a8 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.types +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.types @@ -18,7 +18,7 @@ module m { // Directly using names from this module function foo1(param: private1) { >foo1 : (param: private1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : private1 > : ^^^^^^^^ } @@ -35,7 +35,7 @@ module m { export function foo3(param : private1) { >foo3 : (param: private1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : private1 > : ^^^^^^^^ } @@ -52,7 +52,7 @@ module m { function foo11(param: public1) { >foo11 : (param: public1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : public1 > : ^^^^^^^ } @@ -69,7 +69,7 @@ module m { export function foo13(param: public1) { >foo13 : (param: public1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : public1 > : ^^^^^^^ } @@ -96,7 +96,7 @@ module m { function foo111(param: m2.public2) { >foo111 : (param: m2.public2) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : m2.public2 > : ^^^^^^^^^^ >m2 : any @@ -119,7 +119,7 @@ module m { export function foo113(param: m2.public2) { >foo113 : (param: m2.public2) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : m2.public2 > : ^^^^^^^^^^ >m2 : any diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.types b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.types index b614723291256..5519ff634df8a 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.types +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.types @@ -18,7 +18,7 @@ module m { // Directly using names from this module function foo1(): private1 { >foo1 : () => private1 -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ return; } @@ -35,7 +35,7 @@ module m { export function foo3(): private1 { >foo3 : () => private1 -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ return; } @@ -52,7 +52,7 @@ module m { function foo11(): public1 { >foo11 : () => public1 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return; } @@ -69,7 +69,7 @@ module m { export function foo13(): public1 { >foo13 : () => public1 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return; } @@ -96,7 +96,7 @@ module m { function foo111(): m2.public2 { >foo111 : () => m2.public2 -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ @@ -119,7 +119,7 @@ module m { export function foo113(): m2.public2 { >foo113 : () => m2.public2 -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.types b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.types index 9e9d4a72304de..724b45bc2686a 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.types +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.types @@ -21,7 +21,7 @@ module m { export var x: { >x : { (): m2.public1[]; [n: number]: private1; [s: string]: m2.public1; x: private1; y: m2.public1; method(): private1; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ x: private1; >x : private1 @@ -39,7 +39,7 @@ module m { method(): private1; >method : () => private1 -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ [n: number]: private1; >n : number @@ -98,7 +98,7 @@ module m { // Function type export var y: (a: private1) => m2.public1; >y : (a: private1) => m2.public1 -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : private1 > : ^^^^^^^^ >m2 : any @@ -113,7 +113,7 @@ module m { // constructor type export var z: new (a: private1) => m2.public1; >z : new (a: private1) => m2.public1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : private1 > : ^^^^^^^^ >m2 : any diff --git a/tests/baselines/reference/declFileTypeofFunction.types b/tests/baselines/reference/declFileTypeofFunction.types index ed6a1017e6e64..d32fdd7c14b8f 100644 --- a/tests/baselines/reference/declFileTypeofFunction.types +++ b/tests/baselines/reference/declFileTypeofFunction.types @@ -3,17 +3,17 @@ === declFileTypeofFunction.ts === function f(n: typeof f): string; >f : { (n: typeof f): string; (n: { (n: typeof g): number; (n: typeof f): number; }): string; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : { (n: typeof f): string; (n: { (n: typeof g): number; (n: typeof f): number; }): string; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f : { (n: typeof f): string; (n: { (n: typeof g): number; (n: typeof f): number; }): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function f(n: typeof g): string; >f : { (n: typeof f): string; (n: typeof g): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >n : { (n: typeof g): number; (n: { (n: typeof f): string; (n: typeof g): string; }): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >g : { (n: typeof g): number; (n: { (n: typeof f): string; (n: typeof g): string; }): number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -25,17 +25,17 @@ function f() { return undefined; } function g(n: typeof g): number; >g : { (n: typeof g): number; (n: { (n: typeof f): string; (n: typeof g): string; }): number; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : { (n: typeof g): number; (n: { (n: typeof f): string; (n: typeof g): string; }): number; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >g : { (n: typeof g): number; (n: { (n: typeof f): string; (n: typeof g): string; }): number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function g(n: typeof f): number; >g : { (n: typeof g): number; (n: typeof f): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >n : { (n: typeof f): string; (n: { (n: typeof g): number; (n: typeof f): number; }): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >f : { (n: typeof f): string; (n: { (n: typeof g): number; (n: typeof f): number; }): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -47,9 +47,9 @@ function g() { return undefined; } var b: () => typeof b; >b : () => typeof b -> : ^^^^^^ ^ +> : ^^^^^^ >b : () => typeof b -> : ^^^^^^ ^ +> : ^^^^^^ function b1() { >b1 : () => typeof b1 @@ -62,9 +62,9 @@ function b1() { function foo(): typeof foo { >foo : () => typeof foo -> : ^^^^^^ ^^^ +> : ^^^^^^ >foo : () => typeof foo -> : ^^^^^^ ^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/declFileTypeofInAnonymousType.types b/tests/baselines/reference/declFileTypeofInAnonymousType.types index 569b9dc43d2da..269d761e9584c 100644 --- a/tests/baselines/reference/declFileTypeofInAnonymousType.types +++ b/tests/baselines/reference/declFileTypeofInAnonymousType.types @@ -28,7 +28,7 @@ module m1 { } var a: { c: m1.c; }; >a : { c: m1.c; } -> : ^^^^^^^ ^^^ +> : ^^^^^ ^^^ >c : m1.c > : ^^^^ >m1 : any diff --git a/tests/baselines/reference/declInput-2.types b/tests/baselines/reference/declInput-2.types index 582eac94c5caa..40fac1ccaba28 100644 --- a/tests/baselines/reference/declInput-2.types +++ b/tests/baselines/reference/declInput-2.types @@ -49,31 +49,31 @@ module M { public m232(): E { return null;} >m232 : () => E -> : ^^^^^^^ +> : ^^^^^^ public m242(): I1 { return null; } >m242 : () => I1 -> : ^^^^^^^^ +> : ^^^^^^ public m252(): I2 { return null; } // don't generate >m252 : () => I2 -> : ^^^^^^^^ +> : ^^^^^^ public m26(i:I1) {} >m26 : (i: I1) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >i : I1 > : ^^ public m262(i:I2) {} >m262 : (i: I2) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >i : I2 > : ^^ public m3():C { return new C(); } >m3 : () => C -> : ^^^^^^^ +> : ^^^^^^ >new C() : C > : ^ >C : typeof C diff --git a/tests/baselines/reference/declInput.types b/tests/baselines/reference/declInput.types index bb92073eed989..a1491457053fb 100644 --- a/tests/baselines/reference/declInput.types +++ b/tests/baselines/reference/declInput.types @@ -17,9 +17,9 @@ class bar { public g() { return {a: null, b: undefined, c: void 4 }; } >g : () => { a: bar; b: any; c: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >{a: null, b: undefined, c: void 4 } : { a: bar; b: undefined; c: undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : bar > : ^^^ >null : bar diff --git a/tests/baselines/reference/declInput3.types b/tests/baselines/reference/declInput3.types index 6409e8a2ec17a..a8ede8569a6b1 100644 --- a/tests/baselines/reference/declInput3.types +++ b/tests/baselines/reference/declInput3.types @@ -17,9 +17,9 @@ class bar { public g() { return {a: null, b: undefined, c: void 4 }; } >g : () => { a: bar; b: any; c: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >{a: null, b: undefined, c: void 4 } : { a: bar; b: undefined; c: undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : bar > : ^^^ >null : bar diff --git a/tests/baselines/reference/declInput4.types b/tests/baselines/reference/declInput4.types index 6989171d10dc0..de1476c701a97 100644 --- a/tests/baselines/reference/declInput4.types +++ b/tests/baselines/reference/declInput4.types @@ -37,15 +37,15 @@ module M { public m232(): E { return null;} >m232 : () => E -> : ^^^^^^^ +> : ^^^^^^ public m242(): I1 { return null; } >m242 : () => I1 -> : ^^^^^^^^ +> : ^^^^^^ public m26(i:I1) {} >m26 : (i: I1) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >i : I1 > : ^^ } diff --git a/tests/baselines/reference/declarationEmitAliasExportStar.types b/tests/baselines/reference/declarationEmitAliasExportStar.types index d049a3cca1b3d..d7ae915e848ce 100644 --- a/tests/baselines/reference/declarationEmitAliasExportStar.types +++ b/tests/baselines/reference/declarationEmitAliasExportStar.types @@ -13,9 +13,9 @@ import * as things from "./things"; export const thing2 = (param: things.ThingB) => null; >thing2 : (param: things.ThingB) => any -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >(param: things.ThingB) => null : (param: things.ThingB) => any -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >param : things.ThingB > : ^^^^^^^^^^^^^ >things : any diff --git a/tests/baselines/reference/declarationEmitAliasFromIndirectFile.types b/tests/baselines/reference/declarationEmitAliasFromIndirectFile.types index 6419ad4f56fab..d86a171bcda65 100644 --- a/tests/baselines/reference/declarationEmitAliasFromIndirectFile.types +++ b/tests/baselines/reference/declarationEmitAliasFromIndirectFile.types @@ -55,7 +55,7 @@ import { Locale, CustomLocale, key as LocaleKey } from "./locale"; export interface FlatpickrFn { l10ns: {[k in LocaleKey]?: CustomLocale } & { default: Locale }; >l10ns : { ar?: CustomLocale; bg?: CustomLocale; } & { default: Locale; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >default : Locale > : ^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types index 0002e3ad5ed53..69916a6965300 100644 --- a/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types +++ b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types @@ -22,13 +22,13 @@ export type BoundedInteger< export const toBoundedInteger = >toBoundedInteger : (bounds: { lowerBound: LowerBound; upperBound: UpperBound; }) => (n: number) => BoundedInteger -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ (bounds: { >(bounds: { lowerBound: LowerBound; upperBound: UpperBound; }) => ( n: number ): BoundedInteger => // Implementation doesn't matter here ({} as any) : (bounds: { lowerBound: LowerBound; upperBound: UpperBound; }) => (n: number) => BoundedInteger -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >bounds : { lowerBound: LowerBound; upperBound: UpperBound; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ lowerBound: LowerBound; >lowerBound : LowerBound @@ -41,7 +41,7 @@ export const toBoundedInteger = }) => ( >( n: number ): BoundedInteger => // Implementation doesn't matter here ({} as any) : (n: number) => BoundedInteger -> : ^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^ n: number >n : number diff --git a/tests/baselines/reference/declarationEmitBindingPatternWithReservedWord.types b/tests/baselines/reference/declarationEmitBindingPatternWithReservedWord.types index 8e8a15c0930e4..e8913f2e7f374 100644 --- a/tests/baselines/reference/declarationEmitBindingPatternWithReservedWord.types +++ b/tests/baselines/reference/declarationEmitBindingPatternWithReservedWord.types @@ -36,9 +36,9 @@ export interface GetLocalesOptions { export const getLocales = ({ >getLocales : ({ app, name, default: defaultLocalesConfig, config: userLocalesConfig, }: GetLocalesOptions) => ConvertLocaleConfig -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >({ app, name, default: defaultLocalesConfig, config: userLocalesConfig = {},}: GetLocalesOptions): ConvertLocaleConfig => { return defaultLocalesConfig;} : ({ app, name, default: defaultLocalesConfig, config: userLocalesConfig, }: GetLocalesOptions) => ConvertLocaleConfig -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ app, >app : unknown diff --git a/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.types b/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.types index 3bcfad021d31e..b9d9f2643c931 100644 --- a/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.types +++ b/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.types @@ -10,9 +10,9 @@ type Named = { name: string } // Tempting to remove alias if unused let notReferenced = ({ name: alias }: Named) => { } >notReferenced : ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ name: alias }: Named) => { } : ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -23,9 +23,9 @@ let notReferenced = ({ name: alias }: Named) => { } // 1.Causes duplicate identifier if we remove alias const duplicateIndetifiers = ({ name: alias, name: alias2 }: Named) => { } >duplicateIndetifiers : ({ name: alias, name: alias2 }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ name: alias, name: alias2 }: Named) => { } : ({ name: alias, name: alias2 }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -37,9 +37,9 @@ const duplicateIndetifiers = ({ name: alias, name: alias2 }: Named) => { } const duplicateIndetifiers2 = (name: string, { name: alias }: Named) => { } >duplicateIndetifiers2 : (name: string, { name: alias }: Named) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(name: string, { name: alias }: Named) => { } : (name: string, { name: alias }: Named) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : string > : ^^^^^^ >name : any @@ -49,9 +49,9 @@ const duplicateIndetifiers2 = (name: string, { name: alias }: Named) => { } const duplicateIndetifiers3 = ({ name: alias }: Named, { name: alias2 }: Named) => { } >duplicateIndetifiers3 : ({ name: alias }: Named, { name: alias2 }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ name: alias }: Named, { name: alias2 }: Named) => { } : ({ name: alias }: Named, { name: alias2 }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -70,9 +70,9 @@ let value = ""; // 2.Can change in meaning for typeof value if we remove alias const shadowedVariable = ({ value: alias }: { value: string }): typeof value => value; >shadowedVariable : ({ value: alias }: { value: string; }) => typeof value -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ >({ value: alias }: { value: string }): typeof value => value : ({ value: alias }: { value: string; }) => typeof value -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : any > : ^^^ >alias : string diff --git a/tests/baselines/reference/declarationEmitBindingPatternsUnused.types b/tests/baselines/reference/declarationEmitBindingPatternsUnused.types index 6283b36df0d8a..c38fe196a2cdc 100644 --- a/tests/baselines/reference/declarationEmitBindingPatternsUnused.types +++ b/tests/baselines/reference/declarationEmitBindingPatternsUnused.types @@ -12,7 +12,7 @@ type Named = { name: string } // 1.Causes duplicate identifier if we remove alias function duplicateIndetifiers({ name: alias, name: alias2 }: Named) { } >duplicateIndetifiers : ({ name: alias, name: alias2 }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -24,7 +24,7 @@ function duplicateIndetifiers({ name: alias, name: alias2 }: Named) { } function duplicateIndetifiers2(name: string, { name: alias }: Named) { } >duplicateIndetifiers2 : (name: string, { name: alias }: Named) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : string > : ^^^^^^ >name : any @@ -34,7 +34,7 @@ function duplicateIndetifiers2(name: string, { name: alias }: Named) { } function duplicateIndetifiers3({ name: alias }: Named, { name: alias2 }: Named) { } >duplicateIndetifiers3 : ({ name: alias }: Named, { name: alias2 }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -53,7 +53,7 @@ let value = ""; // 2.Can change in meaning for typeof value if we remove alias function shadowedVariable({ value: alias }: { value: string }): typeof value { return value } >shadowedVariable : ({ value: alias }: { value: string; }) => typeof value -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : any > : ^^^ >alias : string @@ -67,7 +67,7 @@ function shadowedVariable({ value: alias }: { value: string }): typeof value { r function notReferenced({ name: alias }: Named) { >notReferenced : ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -76,7 +76,7 @@ function notReferenced({ name: alias }: Named) { } function notReferencedNestedAlias({ p: { name: alias } }: { p: Named }) { >notReferencedNestedAlias : ({ p: { name: alias } }: { p: Named; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >p : any > : ^^^ >name : any @@ -88,7 +88,7 @@ function notReferencedNestedAlias({ p: { name: alias } }: { p: Named }) { } function notReferencedArrayAlias([a, b, { name: alias }]: Named[]) { >notReferencedArrayAlias : ([a, b, { name: alias }]: Named[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : Named > : ^^^^^ >b : Named @@ -101,7 +101,7 @@ function notReferencedArrayAlias([a, b, { name: alias }]: Named[]) { function referencedInCode({ name: alias }: Named) { >referencedInCode : ({ name: alias }: Named) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -114,7 +114,7 @@ function referencedInCode({ name: alias }: Named) { function referencedInSignarture({ name: alias }: Named): typeof alias { >referencedInSignarture : ({ name: alias }: Named) => typeof alias -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -129,7 +129,7 @@ function referencedInSignarture({ name: alias }: Named): typeof alias { function referencedInSignartureKeyword({ function: alias }: { function: string }): typeof alias { >referencedInSignartureKeyword : ({ function: alias }: { function: string; }) => typeof alias -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >function : any > : ^^^ >alias : string @@ -146,7 +146,7 @@ function referencedInSignartureKeyword({ function: alias }: { function: string } function referencedInInferredType({ name: alias }: Named) { >referencedInInferredType : ({ name: alias }: Named) => { name: typeof alias; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ >name : any > : ^^^ >alias : string @@ -154,7 +154,7 @@ function referencedInInferredType({ name: alias }: Named) { type Named2 = { name: typeof alias } >Named2 : { name: typeof alias; } -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^ >name : string > : ^^^^^^ >alias : string @@ -169,7 +169,7 @@ function referencedInInferredType({ name: alias }: Named) { function referencedInNestedFunction({ name: alias }: Named) { >referencedInNestedFunction : ({ name: alias }: Named) => (p: typeof alias) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -177,7 +177,7 @@ function referencedInNestedFunction({ name: alias }: Named) { return function(p: typeof alias) { >function(p: typeof alias) { } : (p: typeof alias) => void -> : ^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : string > : ^^^^^^ >alias : string @@ -188,7 +188,7 @@ function referencedInNestedFunction({ name: alias }: Named) { function referencedNestedAlias({ p: { name: alias } }: { p: Named }): typeof alias { >referencedNestedAlias : ({ p: { name: alias } }: { p: Named; }) => typeof alias -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >p : any > : ^^^ >name : any @@ -207,7 +207,7 @@ function referencedNestedAlias({ p: { name: alias } }: { p: Named }): typeof ali function referencedArrayAlias([a, b, { name: alias }]: Named[]): typeof alias { >referencedArrayAlias : ([a, b, { name: alias }]: Named[]) => typeof alias -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >a : Named > : ^^^^^ >b : Named @@ -257,7 +257,7 @@ class NotReferencedClass { } m({ name: alias }: Named) { >m : ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -321,7 +321,7 @@ class ReferencedInCodeClas { } m({ name: alias }: Named) { >m : ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -369,7 +369,7 @@ class ReferencedInSignartureClass { } set x({ name: alias }: Named & { o: typeof alias }) { >x : Named & { o: typeof alias; } -> : ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ >name : any > : ^^^ >alias : string @@ -382,7 +382,7 @@ class ReferencedInSignartureClass { } mReturnType({ name: alias }: Named): typeof alias { >mReturnType : ({ name: alias }: Named) => typeof alias -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -396,7 +396,7 @@ class ReferencedInSignartureClass { } mRerturnTypeNested({ name: alias }: Named): NonNullable { >mRerturnTypeNested : ({ name: alias }: Named) => NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -410,7 +410,7 @@ class ReferencedInSignartureClass { } mParameter({ name: alias }: Named, p: typeof alias) { >mParameter : ({ name: alias }: Named, p: typeof alias) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ >name : any > : ^^^ >alias : string @@ -428,7 +428,7 @@ class ReferencedInSignartureClass { let notReferencedFnType: ({ name: alias }: Named) => void; >notReferencedFnType : ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -436,7 +436,7 @@ let notReferencedFnType: ({ name: alias }: Named) => void; let referencedInSignartureReturnTypeFnType: ({ name: alias }: Named) => typeof alias; >referencedInSignartureReturnTypeFnType : ({ name: alias }: Named) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -446,7 +446,7 @@ let referencedInSignartureReturnTypeFnType: ({ name: alias }: Named) => typeof a let referencedInSignartureParamTypeFnType: ({ name: alias }: Named, p: typeof alias) => void; >referencedInSignartureParamTypeFnType : ({ name: alias }: Named, p: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -458,7 +458,7 @@ let referencedInSignartureParamTypeFnType: ({ name: alias }: Named, p: typeof al let notReferencedCtorType: new ({ name: alias }: Named) => void; >notReferencedCtorType : new ({ name: alias }: Named) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -466,7 +466,7 @@ let notReferencedCtorType: new ({ name: alias }: Named) => void; let referencedInSignartureReturnTypeCtorType: new ({ name: alias }: Named) => typeof alias; >referencedInSignartureReturnTypeCtorType : new ({ name: alias }: Named) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -476,7 +476,7 @@ let referencedInSignartureReturnTypeCtorType: new ({ name: alias }: Named) => ty let referencedInSignartureParamTypeCtorType: new ({ name: alias }: Named, p: typeof alias) => void; >referencedInSignartureParamTypeCtorType : new ({ name: alias }: Named, p: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >name : any > : ^^^ >alias : string @@ -510,7 +510,7 @@ interface NotReferencedInterface { m({ name: alias }: Named); >m : ({ name: alias }: Named) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >name : any > : ^^^ >alias : string @@ -556,7 +556,7 @@ interface ReferencedInSignartureInterface { set x({ name: alias }: Named & { o: typeof alias }) >x : Named & { o: typeof alias; } -> : ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ >name : any > : ^^^ >alias : string @@ -568,7 +568,7 @@ interface ReferencedInSignartureInterface { mReturnType({ name: alias }: Named): typeof alias; >mReturnType : ({ name: alias }: Named) => typeof alias -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -578,7 +578,7 @@ interface ReferencedInSignartureInterface { mRerturnTypeNested({ name: alias }: Named): NonNullable; >mRerturnTypeNested : ({ name: alias }: Named) => NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >name : any > : ^^^ >alias : string @@ -588,7 +588,7 @@ interface ReferencedInSignartureInterface { mParameter({ name: alias }: Named, p: typeof alias); >mParameter : ({ name: alias }: Named, p: typeof alias) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ >name : any > : ^^^ >alias : string diff --git a/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.types b/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.types index ec90329907c66..cd05cce259fb3 100644 --- a/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.types +++ b/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.types @@ -29,9 +29,9 @@ import * as DatastoreResult from "src/datastore_result"; export const build = (): DatastoreResult.T => { >build : () => DatastoreResult.T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >(): DatastoreResult.T => { return null;} : () => DatastoreResult.T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >DatastoreResult : any > : ^^^ diff --git a/tests/baselines/reference/declarationEmitClassMemberNameConflict.types b/tests/baselines/reference/declarationEmitClassMemberNameConflict.types index 770c74a0dbf49..223bd595d6465 100644 --- a/tests/baselines/reference/declarationEmitClassMemberNameConflict.types +++ b/tests/baselines/reference/declarationEmitClassMemberNameConflict.types @@ -11,11 +11,11 @@ export class C1 { bar() { >bar : () => (t: typeof C1) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ return function (t: typeof C1) { >function (t: typeof C1) { } : (t: typeof C1) => void -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : typeof C1 > : ^^^^^^^^^ >C1 : typeof C1 @@ -34,11 +34,11 @@ export class C2 { bar() { >bar : () => (t: typeof C2) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ return function (t: typeof C2) { >function (t: typeof C2) { } : (t: typeof C2) => void -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : typeof C2 > : ^^^^^^^^^ >C2 : typeof C2 @@ -60,11 +60,11 @@ export class C3 { bar() { >bar : () => (t: typeof C3) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ return function (t: typeof C3) { >function (t: typeof C3) { } : (t: typeof C3) => void -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : typeof C3 > : ^^^^^^^^^ >C3 : typeof C3 @@ -84,11 +84,11 @@ export class C4 { bar() { >bar : () => (t: typeof C4) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ return function (t: typeof C4) { >function (t: typeof C4) { } : (t: typeof C4) => void -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : typeof C4 > : ^^^^^^^^^ >C4 : typeof C4 diff --git a/tests/baselines/reference/declarationEmitClassMixinLocalClassDeclaration.types b/tests/baselines/reference/declarationEmitClassMixinLocalClassDeclaration.types index 8ee305ea61f21..4c3a12f6bf880 100644 --- a/tests/baselines/reference/declarationEmitClassMixinLocalClassDeclaration.types +++ b/tests/baselines/reference/declarationEmitClassMixinLocalClassDeclaration.types @@ -52,7 +52,7 @@ export class XmlElement2 extends Mixin( (base: AnyConstructor) => { >(base: AnyConstructor) => { class XmlElement2 extends base { num: number = 0 } return XmlElement2; } : (base: AnyConstructor) => typeof XmlElement2 -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >base : AnyConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : typeof Base diff --git a/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types b/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types index c6b187ee3664a..01e38f4b75613 100644 --- a/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types +++ b/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types @@ -26,14 +26,14 @@ export interface SomeProps {} export function foo(): [SomeProps, OtherProps, OtherIndexProps, NestedProps]; >foo : () => [SomeProps, OtherProps, OtherIndexProps, NestedProps] -> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ === node_modules/root/index.d.ts === export interface RootProps {} export function bar(): RootProps; >bar : () => RootProps -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ === r/entry.ts === import { foo } from "foo"; diff --git a/tests/baselines/reference/declarationEmitComputedNameCausesImportToBePainted.types b/tests/baselines/reference/declarationEmitComputedNameCausesImportToBePainted.types index 1cbb2dbd90db7..eb53c6b19d9a5 100644 --- a/tests/baselines/reference/declarationEmitComputedNameCausesImportToBePainted.types +++ b/tests/baselines/reference/declarationEmitComputedNameCausesImportToBePainted.types @@ -40,9 +40,9 @@ export const context: Context = { export const withContext = ({ [Key]: value }: Context) => value; >withContext : ({ [Key]: value }: Context) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >({ [Key]: value }: Context) => value : ({ [Key]: value }: Context) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >Key : unique symbol > : ^^^^^^^^^^^^^ >value : string diff --git a/tests/baselines/reference/declarationEmitDistributiveConditionalWithInfer.types b/tests/baselines/reference/declarationEmitDistributiveConditionalWithInfer.types index 3a84f0bbedb40..42fcd365d4ca0 100644 --- a/tests/baselines/reference/declarationEmitDistributiveConditionalWithInfer.types +++ b/tests/baselines/reference/declarationEmitDistributiveConditionalWithInfer.types @@ -4,13 +4,13 @@ // This function's type is changed on declaration export const fun = ( >fun : (subFun: () => FlatArray[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >( subFun: () => FlatArray[]) => { } : (subFun: () => FlatArray[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ subFun: () >subFun : () => FlatArray[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ => FlatArray[]) => { }; diff --git a/tests/baselines/reference/declarationEmitDoesNotUseReexportedNamespaceAsLocal.types b/tests/baselines/reference/declarationEmitDoesNotUseReexportedNamespaceAsLocal.types index 543733fc7743f..ec42c1c2cb758 100644 --- a/tests/baselines/reference/declarationEmitDoesNotUseReexportedNamespaceAsLocal.types +++ b/tests/baselines/reference/declarationEmitDoesNotUseReexportedNamespaceAsLocal.types @@ -24,7 +24,7 @@ export * as Q from "./sub"; declare function add(x: Promise): T; >add : (x: Promise) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Promise > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitExpandoPropertyPrivateName.types b/tests/baselines/reference/declarationEmitExpandoPropertyPrivateName.types index 416ade520bb9e..f930846d0783d 100644 --- a/tests/baselines/reference/declarationEmitExpandoPropertyPrivateName.types +++ b/tests/baselines/reference/declarationEmitExpandoPropertyPrivateName.types @@ -4,7 +4,7 @@ interface I {} export function f(): I { return null as I; } >f : () => I -> : ^^^^^^^ +> : ^^^^^^ >null as I : I > : ^ diff --git a/tests/baselines/reference/declarationEmitExpandoWithGenericConstraint.types b/tests/baselines/reference/declarationEmitExpandoWithGenericConstraint.types index 828fa4c495fc2..94cc8ea8b8170 100644 --- a/tests/baselines/reference/declarationEmitExpandoWithGenericConstraint.types +++ b/tests/baselines/reference/declarationEmitExpandoWithGenericConstraint.types @@ -23,9 +23,9 @@ export interface Rect

{ export const Point = (x: number, y: number): Point => ({ x, y }); >Point : { (x: number, y: number): Point; zero(): Point; } -> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >(x: number, y: number): Point => ({ x, y }) : { (x: number, y: number): Point; zero(): Point; } -> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ >y : number @@ -41,9 +41,9 @@ export const Point = (x: number, y: number): Point => ({ x, y }); export const Rect =

(a: p, b: p): Rect

=> ({ a, b }); >Rect :

(a: p, b: p) => Rect

-> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >

(a: p, b: p): Rect

=> ({ a, b }) :

(a: p, b: p) => Rect

-> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : p > : ^ >b : p @@ -59,15 +59,15 @@ export const Rect =

(a: p, b: p): Rect

=> ({ a, b }); Point.zero = (): Point => Point(0, 0); >Point.zero = (): Point => Point(0, 0) : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >Point.zero : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >Point : { (x: number, y: number): Point; zero(): Point; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >zero : () => Point > : ^^^^^^^^^^^ >(): Point => Point(0, 0) : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ >Point(0, 0) : Point > : ^^^^^ >Point : { (x: number, y: number): Point; zero(): Point; } diff --git a/tests/baselines/reference/declarationEmitExportAliasVisibiilityMarking.types b/tests/baselines/reference/declarationEmitExportAliasVisibiilityMarking.types index 312f0cbf619e9..2434beeeb3539 100644 --- a/tests/baselines/reference/declarationEmitExportAliasVisibiilityMarking.types +++ b/tests/baselines/reference/declarationEmitExportAliasVisibiilityMarking.types @@ -24,7 +24,7 @@ import { Suit, Rank } from './Types'; export default (suit: Suit, rank: Rank) => ({suit, rank}); >(suit: Suit, rank: Rank) => ({suit, rank}) : (suit: Suit, rank: Rank) => { suit: Suit; rank: Rank; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >suit : Suit > : ^^^^ >rank : Rank diff --git a/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types b/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types index c0ef804192df0..ae4db6f1b7bc7 100644 --- a/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types +++ b/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types @@ -43,7 +43,7 @@ import {Component} from 'react'; export function getComp(): Component { >getComp : () => Component -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return {} as any as Component >{} as any as Component : Component diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends.types b/tests/baselines/reference/declarationEmitExpressionInExtends.types index 033992e572b8b..f87803cdc2a7b 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends.types +++ b/tests/baselines/reference/declarationEmitExpressionInExtends.types @@ -3,7 +3,7 @@ === declarationEmitExpressionInExtends.ts === var x: { >x : new (s: any) => Q -> : ^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ new(s: any): Q; >s : any diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends2.types b/tests/baselines/reference/declarationEmitExpressionInExtends2.types index 8e8c3938f5b96..be97c97efb923 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends2.types +++ b/tests/baselines/reference/declarationEmitExpressionInExtends2.types @@ -16,7 +16,7 @@ class C { function getClass(c: T) { >getClass : (c: T) => typeof C -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >c : T > : ^ diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends3.types b/tests/baselines/reference/declarationEmitExpressionInExtends3.types index 87424e3895079..88fd3bd1e5d54 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends3.types +++ b/tests/baselines/reference/declarationEmitExpressionInExtends3.types @@ -37,7 +37,7 @@ interface LocalInterface { function getLocalClass(c: T) { >getLocalClass : (c: T) => typeof LocalClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >c : T > : ^ @@ -48,7 +48,7 @@ function getLocalClass(c: T) { function getExportedClass(c: T) { >getExportedClass : (c: T) => typeof ExportedClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >c : T > : ^ diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends5.types b/tests/baselines/reference/declarationEmitExpressionInExtends5.types index 8299873db28ea..22c36dcc0f375 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends5.types +++ b/tests/baselines/reference/declarationEmitExpressionInExtends5.types @@ -27,11 +27,11 @@ namespace Test export function getClass() : new() => T >getClass : () => new () => T -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ { return SomeClass as (new() => T); >SomeClass as (new() => T) : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ >SomeClass : typeof SomeClass > : ^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitFBoundedTypeParams.types b/tests/baselines/reference/declarationEmitFBoundedTypeParams.types index 23eb55d4fe9c0..be9986abd14c0 100644 --- a/tests/baselines/reference/declarationEmitFBoundedTypeParams.types +++ b/tests/baselines/reference/declarationEmitFBoundedTypeParams.types @@ -5,7 +5,7 @@ function append(result: a[], value: b): a[] { >append : (result: a[], value: b) => a[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >result : a[] > : ^^^ >value : b diff --git a/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.types b/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.types index d31460eca3c22..dba53240eb5b0 100644 --- a/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.types +++ b/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.types @@ -7,11 +7,11 @@ class X { } var prop11: X< () => Tany >; // spaces before the first type argument >prop11 : X<(() => Tany)> -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^ var prop12: X<(() => Tany)>; // spaces before the first type argument >prop12 : X<(() => Tany)> -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^ function f1() { // Inferred return type >f1 : () => X<(() => Tany)> @@ -31,7 +31,7 @@ function f2() { // Inferred return type } function f3(): X< () => Tany> { // written with space before type argument >f3 : () => X<(() => Tany)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^ ^^ return prop11; >prop11 : X<(() => Tany)> @@ -39,7 +39,7 @@ function f3(): X< () => Tany> { // written with space before type argument } function f4(): X<(() => Tany)> { // written type with parenthesis >f4 : () => X<(() => Tany)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^ ^^ return prop12; >prop12 : X<(() => Tany)> @@ -51,7 +51,7 @@ class Y { } var prop2: Y() => Tany>; // No space after second type argument >prop2 : Y() => Tany> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^ ^ var prop2: Y() => Tany>; // space after second type argument >prop2 : Y() => Tany> @@ -59,9 +59,9 @@ var prop2: Y() => Tany>; // space after second type argument var prop3: Y< () => Tany, () => Tany>; // space before first type argument >prop3 : Y<(() => Tany), () => Tany_1> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ var prop4: Y<(() => Tany), () => Tany>; // parenthesized first type argument >prop4 : Y<(() => Tany), () => Tany_1> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitForDefaultExportClassExtendingExpression01.types b/tests/baselines/reference/declarationEmitForDefaultExportClassExtendingExpression01.types index 27e455e534575..63632f2d60941 100644 --- a/tests/baselines/reference/declarationEmitForDefaultExportClassExtendingExpression01.types +++ b/tests/baselines/reference/declarationEmitForDefaultExportClassExtendingExpression01.types @@ -27,9 +27,9 @@ class A { const getGreeterBase = (): GreeterConstructor => A; >getGreeterBase : () => GreeterConstructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >(): GreeterConstructor => A : () => GreeterConstructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >A : typeof A > : ^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types index 05bc92c842579..903c6931acd85 100644 --- a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types +++ b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types @@ -3,7 +3,7 @@ === /p1/node_modules/typescript-fsa/src/impl.d.ts === export function getA(): A; >getA : () => A -> : ^^^^^^^ +> : ^^^^^^ export enum A { >A : A @@ -19,7 +19,7 @@ export * from "./src/impl"; === /p2/node_modules/typescript-fsa/src/impl.d.ts === export function getA(): A; >getA : () => A -> : ^^^^^^^ +> : ^^^^^^ export enum A { >A : A diff --git a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types index c51342b49857c..8433f37c76da8 100644 --- a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types +++ b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types @@ -3,7 +3,7 @@ === /cache/typescript-fsa/src/impl.d.ts === export function getA(): A; >getA : () => A -> : ^^^^^^^ +> : ^^^^^^ export enum A { >A : A diff --git a/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types b/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types index 6e1dc87d673e7..e86c8c804c313 100644 --- a/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types +++ b/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types @@ -22,7 +22,7 @@ declare module './parent' { export function child1(prototype: ParentThing) { >child1 : (prototype: ParentThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >prototype : ParentThing > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitForTypesWhichNeedImportTypes.types b/tests/baselines/reference/declarationEmitForTypesWhichNeedImportTypes.types index 1a045a9f18a02..a07fd03cccd09 100644 --- a/tests/baselines/reference/declarationEmitForTypesWhichNeedImportTypes.types +++ b/tests/baselines/reference/declarationEmitForTypesWhichNeedImportTypes.types @@ -5,7 +5,7 @@ export interface Named {} export function createNamed(): Named { >createNamed : () => Named -> : ^^^^^^^^^^^ +> : ^^^^^^ return {}; >{} : {} diff --git a/tests/baselines/reference/declarationEmitGlobalThisPreserved.types b/tests/baselines/reference/declarationEmitGlobalThisPreserved.types index 4bf408fec1fa6..7fc6cd766769d 100644 --- a/tests/baselines/reference/declarationEmitGlobalThisPreserved.types +++ b/tests/baselines/reference/declarationEmitGlobalThisPreserved.types @@ -12,9 +12,9 @@ export const a1 = (isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN; >a1 : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >(isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -34,9 +34,9 @@ export const a1 = (isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => i export const a2 = (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN; >a2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -68,9 +68,9 @@ export const a2 = (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN export const a3 = (isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar; >a3 : (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^ >(isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar : (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -92,9 +92,9 @@ export const a3 = (isNaN: number, bar: typeof globalThis.isNaN): typeof globalTh export const a4 = (isNaN: number): typeof globalThis.isNaN => globalThis.isNaN; >a4 : (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >(isNaN: number): typeof globalThis.isNaN => globalThis.isNaN : (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : number > : ^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -112,15 +112,15 @@ export const a4 = (isNaN: number): typeof globalThis.isNaN => globalThis.isNaN; export const aObj = { >aObj : { a1: (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN; a2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN; a3: (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN; a4: (isNaN: number) => typeof globalThis.isNaN; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^ >{ a1: (isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN, a2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN, a3: (isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar, a4: (isNaN: number): typeof globalThis.isNaN => globalThis.isNaN,} : { a1: (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN; a2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN; a3: (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN; a4: (isNaN: number) => typeof globalThis.isNaN; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^ a1: (isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN, >a1 : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >(isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -140,9 +140,9 @@ export const aObj = { a2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN, >a2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -174,9 +174,9 @@ export const aObj = { a3: (isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar, >a3 : (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^ >(isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar : (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -198,9 +198,9 @@ export const aObj = { a4: (isNaN: number): typeof globalThis.isNaN => globalThis.isNaN, >a4 : (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >(isNaN: number): typeof globalThis.isNaN => globalThis.isNaN : (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : number > : ^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -231,9 +231,9 @@ export type a4oReturn = ReturnType>; export const b1 = (isNaN: typeof globalThis.isNaN) => isNaN; >b1 : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(isNaN: typeof globalThis.isNaN) => isNaN : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -247,9 +247,9 @@ export const b1 = (isNaN: typeof globalThis.isNaN) => isNaN; export const b2 = (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => bar ?? isNaN; >b2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => bar ?? isNaN : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -275,9 +275,9 @@ export const b2 = (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN export const b3 = (isNaN: number, bar: typeof globalThis.isNaN) => bar; >b3 : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(isNaN: number, bar: typeof globalThis.isNaN) => bar : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -307,15 +307,15 @@ export const b4 = (isNaN: number) => globalThis.isNaN; export const bObj = { >bObj : { b1: (isNaN: typeof globalThis.isNaN) => (number: number) => boolean; b2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean; b3: (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean; b4: (isNaN: number) => (number: number) => boolean; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ b1: (isNaN: typeof globalThis.isNaN) => isNaN, b2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => bar ?? isNaN, b3: (isNaN: number, bar: typeof globalThis.isNaN) => bar, b4: (isNaN: number) => globalThis.isNaN,} : { b1: (isNaN: typeof globalThis.isNaN) => (number: number) => boolean; b2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean; b3: (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean; b4: (isNaN: number) => (number: number) => boolean; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ b1: (isNaN: typeof globalThis.isNaN) => isNaN, >b1 : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(isNaN: typeof globalThis.isNaN) => isNaN : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -329,9 +329,9 @@ export const bObj = { b2: (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => bar ?? isNaN, >b2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => bar ?? isNaN : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -357,9 +357,9 @@ export const bObj = { b3: (isNaN: number, bar: typeof globalThis.isNaN) => bar, >b3 : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(isNaN: number, bar: typeof globalThis.isNaN) => bar : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -402,7 +402,7 @@ export type b4oReturn = ReturnType>; export function c1(isNaN: typeof globalThis.isNaN) { return isNaN } >c1 : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -416,7 +416,7 @@ export function c1(isNaN: typeof globalThis.isNaN) { return isNaN } export function c2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) { return bar ?? isNaN } >c2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -442,7 +442,7 @@ export function c2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN export function c3(isNaN: number, bar: typeof globalThis.isNaN) { return bar } >c3 : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -470,13 +470,13 @@ export function c4(isNaN: number) { return globalThis.isNaN; } export const cObj = { >cObj : { c1(isNaN: typeof globalThis.isNaN): (number: number) => boolean; c2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): (number: number) => boolean; c3(isNaN: number, bar: typeof globalThis.isNaN): (number: number) => boolean; c4(isNaN: number): (number: number) => boolean; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ c1(isNaN: typeof globalThis.isNaN) { return isNaN }, c2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) { return bar ?? isNaN }, c3(isNaN: number, bar: typeof globalThis.isNaN) { return bar }, c4(isNaN: number) { return globalThis.isNaN; },} : { c1(isNaN: typeof globalThis.isNaN): (number: number) => boolean; c2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): (number: number) => boolean; c3(isNaN: number, bar: typeof globalThis.isNaN): (number: number) => boolean; c4(isNaN: number): (number: number) => boolean; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ c1(isNaN: typeof globalThis.isNaN) { return isNaN }, >c1 : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -490,7 +490,7 @@ export const cObj = { c2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) { return bar ?? isNaN }, >c2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -516,7 +516,7 @@ export const cObj = { c3(isNaN: number, bar: typeof globalThis.isNaN) { return bar }, >c3 : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -557,13 +557,13 @@ export type c4oReturn = ReturnType>; export function d1() { >d1 : () => () => (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ const fn = (isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN; >fn : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >(isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN => isNaN : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -590,13 +590,13 @@ export function d1() { export function d2() { >d2 : () => () => (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ const fn = (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN; >fn : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN): typeof globalThis.isNaN => bar ?? isNaN : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -635,13 +635,13 @@ export function d2() { export function d3() { >d3 : () => () => (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ const fn = (isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar; >fn : (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^ >(isNaN: number, bar: typeof globalThis.isNaN): typeof globalThis.isNaN => bar : (isNaN: number, bar: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -670,13 +670,13 @@ export function d3() { export function d4() { >d4 : () => () => (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ const fn = (isNaN: number): typeof globalThis.isNaN => globalThis.isNaN; >fn : (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >(isNaN: number): typeof globalThis.isNaN => globalThis.isNaN : (isNaN: number) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : number > : ^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -711,7 +711,7 @@ export class A { method1(isNaN: typeof globalThis.isNaN) { return isNaN } >method1 : (isNaN: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -725,7 +725,7 @@ export class A { method2(isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) { return bar ?? isNaN } >method2 : (isNaN: typeof globalThis.isNaN, bar?: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -751,7 +751,7 @@ export class A { method3(isNaN: number, bar: typeof globalThis.isNaN) { return bar } >method3 : (isNaN: number, bar: typeof globalThis.isNaN) => (number: number) => boolean -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -780,7 +780,7 @@ export class A { export function fromParameter(isNaN: number, bar: typeof globalThis.isNaN) { >fromParameter : (isNaN: number, bar: typeof globalThis.isNaN) => () => { bar: (number: number) => boolean; } -> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isNaN : number > : ^^^^^^ >bar : (number: number) => boolean @@ -805,7 +805,7 @@ export function fromParameter(isNaN: number, bar: typeof globalThis.isNaN) { export const explicitlyTypedVariable: (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN = (isNaN) => isNaN; >explicitlyTypedVariable : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean @@ -829,7 +829,7 @@ export const explicitlyTypedVariable: (isNaN: typeof globalThis.isNaN) => typeof export function explicitlyTypedFunction(isNaN: typeof globalThis.isNaN): typeof globalThis.isNaN { >explicitlyTypedFunction : (isNaN: typeof globalThis.isNaN) => typeof globalThis.isNaN -> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >isNaN : (number: number) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >globalThis.isNaN : (number: number) => boolean diff --git a/tests/baselines/reference/declarationEmitIndexTypeArray.types b/tests/baselines/reference/declarationEmitIndexTypeArray.types index 0942a6ae1ccd2..5c3e55cfc9d75 100644 --- a/tests/baselines/reference/declarationEmitIndexTypeArray.types +++ b/tests/baselines/reference/declarationEmitIndexTypeArray.types @@ -3,7 +3,7 @@ === declarationEmitIndexTypeArray.ts === function doSomethingWithKeys(...keys: (keyof T)[]) { } >doSomethingWithKeys : (...keys: (keyof T)[]) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^ >keys : (keyof T)[] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitInlinedDistributiveConditional.types b/tests/baselines/reference/declarationEmitInlinedDistributiveConditional.types index 9e336df2b3e60..bdcd4e1a24130 100644 --- a/tests/baselines/reference/declarationEmitInlinedDistributiveConditional.types +++ b/tests/baselines/reference/declarationEmitInlinedDistributiveConditional.types @@ -55,9 +55,9 @@ import {excludePrivateKeys1, excludePrivateKeys2} from './internal'; export const dropPrivateProps1 = (obj: Obj) => excludePrivateKeys1(obj); >dropPrivateProps1 : (obj: Obj) => { [K in import("internal").PublicKeys1]: Obj[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(obj: Obj) => excludePrivateKeys1(obj) : (obj: Obj) => { [K in import("internal").PublicKeys1]: Obj[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : Obj > : ^^^ >excludePrivateKeys1(obj) : { [K in import("internal").PublicKeys1]: Obj[K]; } @@ -69,9 +69,9 @@ export const dropPrivateProps1 = (obj: Obj) => excludePrivateKeys1(obj); export const dropPrivateProps2 = (obj: Obj) => excludePrivateKeys2(obj); >dropPrivateProps2 : (obj: Obj) => { [K in keyof Obj extends infer T ? T extends keyof Obj ? T extends `_${string}` ? never : T : never : never]: Obj[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(obj: Obj) => excludePrivateKeys2(obj) : (obj: Obj) => { [K in keyof Obj extends infer T ? T extends keyof Obj ? T extends `_${string}` ? never : T : never : never]: Obj[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : Obj > : ^^^ >excludePrivateKeys2(obj) : { [K in keyof Obj extends infer T ? T extends keyof Obj ? T extends `_${string}` ? never : T : never : never]: Obj[K]; } @@ -84,13 +84,13 @@ export const dropPrivateProps2 = (obj: Obj) => excludePrivateKeys2(obj); === internal.ts === export declare function excludePrivateKeys1(obj: Obj): {[K in PublicKeys1]: Obj[K]}; >excludePrivateKeys1 : (obj: Obj) => { [K in PublicKeys1]: Obj[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : Obj > : ^^^ export declare function excludePrivateKeys2(obj: Obj): {[K in PublicKeys2]: Obj[K]}; >excludePrivateKeys2 : (obj: Obj) => { [K in PublicKeys2]: Obj[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : Obj > : ^^^ diff --git a/tests/baselines/reference/declarationEmitKeywordDestructuring.types b/tests/baselines/reference/declarationEmitKeywordDestructuring.types index 019bc61c0bb49..590174262c7c2 100644 --- a/tests/baselines/reference/declarationEmitKeywordDestructuring.types +++ b/tests/baselines/reference/declarationEmitKeywordDestructuring.types @@ -33,7 +33,7 @@ type P = { function f1({ enum: _enum, ...rest }: P) { >f1 : ({ enum: _enum, ...rest }: P) => { function: boolean; abstract: boolean; async: boolean; await: boolean; one: boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >enum : any > : ^^^ >_enum : boolean @@ -48,7 +48,7 @@ function f1({ enum: _enum, ...rest }: P) { function f2({ function: _function, ...rest }: P) { >f2 : ({ function: _function, ...rest }: P) => { enum: boolean; abstract: boolean; async: boolean; await: boolean; one: boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function : any > : ^^^ >_function : boolean @@ -63,7 +63,7 @@ function f2({ function: _function, ...rest }: P) { function f3({ abstract: _abstract, ...rest }: P) { >f3 : ({ abstract: _abstract, ...rest }: P) => { enum: boolean; function: boolean; async: boolean; await: boolean; one: boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >abstract : any > : ^^^ >_abstract : boolean @@ -78,7 +78,7 @@ function f3({ abstract: _abstract, ...rest }: P) { function f4({ async: _async, ...rest }: P) { >f4 : ({ async: _async, ...rest }: P) => { enum: boolean; function: boolean; abstract: boolean; await: boolean; one: boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >async : any > : ^^^ >_async : boolean @@ -93,7 +93,7 @@ function f4({ async: _async, ...rest }: P) { function f5({ await: _await, ...rest }: P) { >f5 : ({ await: _await, ...rest }: P) => { enum: boolean; function: boolean; abstract: boolean; async: boolean; one: boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >await : any > : ^^^ >_await : boolean diff --git a/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types b/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types index 1134f942ee345..51959c4d4e528 100644 --- a/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types +++ b/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types @@ -4,13 +4,13 @@ export interface Foo { preFetch: (c: T1) => void; // Type T2 is not defined >preFetch : (c: T1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >c : T1 > : ^^ preFetcher: new (c: T1) => void; // Type T2 is not defined >preFetcher : new (c: T1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >c : T1 > : ^^ } diff --git a/tests/baselines/reference/declarationEmitLocalClassDeclarationMixin.types b/tests/baselines/reference/declarationEmitLocalClassDeclarationMixin.types index c69cbca90f3e2..9185076b9b7af 100644 --- a/tests/baselines/reference/declarationEmitLocalClassDeclarationMixin.types +++ b/tests/baselines/reference/declarationEmitLocalClassDeclarationMixin.types @@ -7,7 +7,7 @@ interface Constructor { new (...args: any[]): C; } function mixin>(Base: B) { >mixin : >(Base: B) => { new (...args: any[]): PrivateMixed; prototype: mixin.PrivateMixed; } & B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : B > : ^ @@ -51,7 +51,7 @@ export const Mixed = mixin(Unmixed); function Filter>(ctor: C) { >Filter : >(ctor: C) => ((abstract new (...args: any[]) => FilterMixin) & { prototype: Filter.FilterMixin; }) & C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >ctor : C > : ^ diff --git a/tests/baselines/reference/declarationEmitMappedTypeDistributivityPreservesConstraints.types b/tests/baselines/reference/declarationEmitMappedTypeDistributivityPreservesConstraints.types index 62ecc16732be5..608f9439966d0 100644 --- a/tests/baselines/reference/declarationEmitMappedTypeDistributivityPreservesConstraints.types +++ b/tests/baselines/reference/declarationEmitMappedTypeDistributivityPreservesConstraints.types @@ -17,7 +17,7 @@ type AllArg = { [K in keyof T]: Parameters }; function fn }>(sliceIndex: T): AllArg { >fn : ; }>(sliceIndex: T) => AllArg -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >x : Map > : ^^^^^^^^^^^ >sliceIndex : T diff --git a/tests/baselines/reference/declarationEmitMappedTypePropertyFromNumericStringKey.types b/tests/baselines/reference/declarationEmitMappedTypePropertyFromNumericStringKey.types index 0e304a06abe59..375d2318a9a83 100644 --- a/tests/baselines/reference/declarationEmitMappedTypePropertyFromNumericStringKey.types +++ b/tests/baselines/reference/declarationEmitMappedTypePropertyFromNumericStringKey.types @@ -7,9 +7,9 @@ export const f = ((arg: {[K in keyof T]: T[K] | string}) => arg)({'0': 0}); / >((arg: {[K in keyof T]: T[K] | string}) => arg)({'0': 0}) : { '0': string | number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >((arg: {[K in keyof T]: T[K] | string}) => arg) : (arg: { [K in keyof T]: string | T[K]; }) => { [K in keyof T]: string | T[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(arg: {[K in keyof T]: T[K] | string}) => arg : (arg: { [K in keyof T]: string | T[K]; }) => { [K in keyof T]: string | T[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : { [K in keyof T]: string | T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : { [K in keyof T]: string | T[K]; } diff --git a/tests/baselines/reference/declarationEmitMappedTypeTemplateTypeofSymbol.types b/tests/baselines/reference/declarationEmitMappedTypeTemplateTypeofSymbol.types index 73cd6964b6db1..41b2ca504ae08 100644 --- a/tests/baselines/reference/declarationEmitMappedTypeTemplateTypeofSymbol.types +++ b/tests/baselines/reference/declarationEmitMappedTypeTemplateTypeofSymbol.types @@ -19,7 +19,7 @@ export declare const Timestamp: { export declare function now(): typeof Timestamp; >now : () => typeof Timestamp -> : ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >Timestamp : { [timestampSymbol]: true; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitMixinPrivateProtected.types b/tests/baselines/reference/declarationEmitMixinPrivateProtected.types index c206fb675cc84..5065b846b51a1 100644 --- a/tests/baselines/reference/declarationEmitMixinPrivateProtected.types +++ b/tests/baselines/reference/declarationEmitMixinPrivateProtected.types @@ -3,7 +3,7 @@ === first.ts === declare function mix(mixin: TMix): TMix; >mix : (mixin: TMix) => TMix -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >mixin : TMix > : ^^^^ @@ -61,7 +61,7 @@ export class Monitor extends mix(DisposableMixin) { === another.ts === declare function mix(mixin: TMix): TMix; >mix : (mixin: TMix) => TMix -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >mixin : TMix > : ^^^^ diff --git a/tests/baselines/reference/declarationEmitModuleWithScopeMarker.types b/tests/baselines/reference/declarationEmitModuleWithScopeMarker.types index b53613483c4ec..01fd1aa067645 100644 --- a/tests/baselines/reference/declarationEmitModuleWithScopeMarker.types +++ b/tests/baselines/reference/declarationEmitModuleWithScopeMarker.types @@ -17,9 +17,9 @@ declare module "bar" { export default function func(): typeof func; >func : () => typeof func -> : ^^^^^^ ^^^^ +> : ^^^^^^ >func : () => typeof func -> : ^^^^^^ ^^^^ +> : ^^^^^^ var after: typeof func; >after : () => typeof func diff --git a/tests/baselines/reference/declarationEmitNestedGenerics.types b/tests/baselines/reference/declarationEmitNestedGenerics.types index 05ccaca4ca0a4..a365fb4354ede 100644 --- a/tests/baselines/reference/declarationEmitNestedGenerics.types +++ b/tests/baselines/reference/declarationEmitNestedGenerics.types @@ -3,13 +3,13 @@ === declarationEmitNestedGenerics.ts === function f(p: T) { >f : (p: T) => (x: T_1) => typeof p -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^ >p : T > : ^ let g: (x: T) => typeof p = null as any; >g : (x: T_1) => typeof p -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ >x : T > : ^ >p : T_1 @@ -23,7 +23,7 @@ function f(p: T) { function g(x: T) { >g : (x: T) => T extends (infer T_1)[] ? T_1 : T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/declarationEmitObjectAssignedDefaultExport.types b/tests/baselines/reference/declarationEmitObjectAssignedDefaultExport.types index 3a68a90ad431b..509d6f4ee2ed7 100644 --- a/tests/baselines/reference/declarationEmitObjectAssignedDefaultExport.types +++ b/tests/baselines/reference/declarationEmitObjectAssignedDefaultExport.types @@ -51,7 +51,7 @@ export interface StyledComponentBase StyledComponent<"div">; >div : (a: TemplateStringsArray) => StyledComponent<"div"> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitOverloadedPrivateInference.types b/tests/baselines/reference/declarationEmitOverloadedPrivateInference.types index 6c8b6db3a92c9..f10ad778aaf45 100644 --- a/tests/baselines/reference/declarationEmitOverloadedPrivateInference.types +++ b/tests/baselines/reference/declarationEmitOverloadedPrivateInference.types @@ -25,9 +25,9 @@ export class Wrapper { private proxy(fn: (options: T) => U): (options: T) => U; >proxy : { (fn: (options: T) => U): (options: T) => U; (fn: (options?: T_1) => U_1, noArgs: true): (options?: T_1) => U_1; } -> : ^^^^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : (options: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : T > : ^ >options : T @@ -35,9 +35,9 @@ export class Wrapper { private proxy(fn: (options?: T) => U, noArgs: true): (options?: T) => U; >proxy : { (fn: (options: T_1) => U_1): (options: T_1) => U_1; (fn: (options?: T) => U, noArgs: true): (options?: T) => U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >fn : (options?: T) => U -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >options : T > : ^ >noArgs : true @@ -51,7 +51,7 @@ export class Wrapper { >proxy : { (fn: (options: T_1) => U_1): (options: T_1) => U_1; (fn: (options?: T_2) => U_2, noArgs: true): (options?: T_2) => U_2; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : (options: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : T > : ^ diff --git a/tests/baselines/reference/declarationEmitPathMappingMonorepo.types b/tests/baselines/reference/declarationEmitPathMappingMonorepo.types index 078cdadb0a20f..aa853503a829e 100644 --- a/tests/baselines/reference/declarationEmitPathMappingMonorepo.types +++ b/tests/baselines/reference/declarationEmitPathMappingMonorepo.types @@ -35,7 +35,7 @@ declare module "@ts-bug/a" { }; export function a(text: string): AText; >a : (text: string) => AText -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >text : string > : ^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitPathMappingMonorepo2.types b/tests/baselines/reference/declarationEmitPathMappingMonorepo2.types index 5f4a727e046b3..7d3ad18f95ff9 100644 --- a/tests/baselines/reference/declarationEmitPathMappingMonorepo2.types +++ b/tests/baselines/reference/declarationEmitPathMappingMonorepo2.types @@ -45,7 +45,7 @@ import SvgIcon from "./SvgIcon"; export function createSvgIcon(path: string, displayName: string): typeof SvgIcon; >createSvgIcon : (path: string, displayName: string) => typeof SvgIcon -> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >path : string > : ^^^^^^ >displayName : string diff --git a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling.types b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling.types index 290791dac3c91..4dc14f4775ce9 100644 --- a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling.types +++ b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling.types @@ -10,7 +10,7 @@ export interface Scalar { export function scalar(value: string): Scalar { >scalar : (value: string) => Scalar -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : string > : ^^^^^^ diff --git a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.types b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.types index 3a52c6a59f118..996535583fd49 100644 --- a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.types +++ b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.types @@ -10,7 +10,7 @@ export interface Scalar { export function scalar(value: string): Scalar { >scalar : (value: string) => Scalar -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : string > : ^^^^^^ diff --git a/tests/baselines/reference/declarationEmitPrivateNameCausesError.types b/tests/baselines/reference/declarationEmitPrivateNameCausesError.types index 99d05f05f3ac7..b7ac1f5eaa3d1 100644 --- a/tests/baselines/reference/declarationEmitPrivateNameCausesError.types +++ b/tests/baselines/reference/declarationEmitPrivateNameCausesError.types @@ -12,7 +12,7 @@ const IGNORE_EXTRA_VARIABLES = Symbol(); //Notice how this is unexported //This is exported export function ignoreExtraVariables (ctor : CtorT) { >ignoreExtraVariables : {}>(ctor: CtorT) => { new (...args: any[]): (Anonymous class); prototype: ignoreExtraVariables.(Anonymous class); } & CtorT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : any[] > : ^^^^^ >ctor : CtorT diff --git a/tests/baselines/reference/declarationEmitPromise.types b/tests/baselines/reference/declarationEmitPromise.types index affac67c54753..1258ec2bbf5ae 100644 --- a/tests/baselines/reference/declarationEmitPromise.types +++ b/tests/baselines/reference/declarationEmitPromise.types @@ -12,7 +12,7 @@ export class bluebird { export async function runSampleWorks( >runSampleWorks : (a: bluebird, b?: bluebird, c?: bluebird, d?: bluebird, e?: bluebird) => Promise<((f: (a: A, b?: B, c?: C, d?: D, e?: E) => T) => T)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^ ^^ ^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ a: bluebird, b?: bluebird, c?: bluebird, d?: bluebird, e?: bluebird) { >a : bluebird @@ -69,11 +69,11 @@ export async function runSampleWorks( let func = (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T): T => >func : (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T) => T -> : ^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >(f: (a: A, b?: B, c?: C, d?: D, e?: E) => T): T => f.apply(this, result) : (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T) => T -> : ^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : (a: A, b?: B, c?: C, d?: D, e?: E) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : A > : ^ >b : B @@ -112,7 +112,7 @@ export async function runSampleWorks( export async function runSampleBreaks( >runSampleBreaks : (a: bluebird, b?: bluebird, c?: bluebird, d?: bluebird, e?: bluebird) => Promise<((f: (a: A, b?: B, c?: C, d?: D, e?: E) => T) => T)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^ ^^ ^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ a: bluebird, b?: bluebird, c?: bluebird, d?: bluebird, e?: bluebird) { >a : bluebird @@ -169,11 +169,11 @@ export async function runSampleBreaks( let func = (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T): T => >func : (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T) => T -> : ^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >(f: (a: A, b?: B, c?: C, d?: D, e?: E) => T): T => f.apply(this, result) : (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T) => T -> : ^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : (a: A, b?: B, c?: C, d?: D, e?: E) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/declarationEmitQualifiedAliasTypeArgument.types b/tests/baselines/reference/declarationEmitQualifiedAliasTypeArgument.types index 6a008b0d5df5a..510b2ae9feace 100644 --- a/tests/baselines/reference/declarationEmitQualifiedAliasTypeArgument.types +++ b/tests/baselines/reference/declarationEmitQualifiedAliasTypeArgument.types @@ -9,7 +9,7 @@ export interface INode { export function create(): () => INode; >create : () => () => INode -> : ^^^^^^^^^ ^^^^^ ^ +> : ^ ^^^^^^^ === lib.d.ts === export type G = { [P in T]: string }; diff --git a/tests/baselines/reference/declarationEmitReadonlyComputedProperty.types b/tests/baselines/reference/declarationEmitReadonlyComputedProperty.types index 3b5fe8778daac..d5ceba0d9413c 100644 --- a/tests/baselines/reference/declarationEmitReadonlyComputedProperty.types +++ b/tests/baselines/reference/declarationEmitReadonlyComputedProperty.types @@ -19,7 +19,7 @@ export interface Interface { export function createInstance(): Interface { >createInstance : () => Interface -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return { >{ [SYMBOL]: '' } : { [SYMBOL]: string; } diff --git a/tests/baselines/reference/declarationEmitRecursiveConditionalAliasPreserved.types b/tests/baselines/reference/declarationEmitRecursiveConditionalAliasPreserved.types index 6f94b2f63e203..ca7237707a935 100644 --- a/tests/baselines/reference/declarationEmitRecursiveConditionalAliasPreserved.types +++ b/tests/baselines/reference/declarationEmitRecursiveConditionalAliasPreserved.types @@ -138,9 +138,9 @@ import { Power } from "./input"; export const power = ( >power : (num: Num, powerOf: PowerOf) => Power -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >( num: Num, powerOf: PowerOf): Power => (num ** powerOf) as never : (num: Num, powerOf: PowerOf) => Power -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ num: Num, >num : Num diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types b/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types index 1fb02ceebd587..3270359db8989 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types @@ -63,7 +63,7 @@ export declare class MetadataAccessor { static create(key: string): MetadataAccessor; >create : (key: string) => MetadataAccessor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types b/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types index fbb30d5b05311..be43cdad114ae 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types @@ -63,7 +63,7 @@ export declare class MetadataAccessor { static create(key: string): MetadataAccessor; >create : (key: string) => MetadataAccessor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types b/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types index 30c89fb488088..281a05c577412 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types @@ -63,7 +63,7 @@ export declare class MetadataAccessor { static create(key: string): MetadataAccessor; >create : (key: string) => MetadataAccessor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ } diff --git a/tests/baselines/reference/declarationEmitRetainedAnnotationRetainsImportInOutput.types b/tests/baselines/reference/declarationEmitRetainedAnnotationRetainsImportInOutput.types index 3909ca2b413b6..203cb79dee5d1 100644 --- a/tests/baselines/reference/declarationEmitRetainedAnnotationRetainsImportInOutput.types +++ b/tests/baselines/reference/declarationEmitRetainedAnnotationRetainsImportInOutput.types @@ -9,9 +9,9 @@ export type Whatever = {x: T}; export declare function something(cb: () => Whatever): Whatever; >something : (cb: () => Whatever) => Whatever -> : ^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^ >cb : () => Whatever -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^^^ === index.ts === import * as E from 'whatever'; @@ -20,11 +20,11 @@ import * as E from 'whatever'; export const run = (i: () => E.Whatever): E.Whatever => E.something(i); >run : (i: () => E.Whatever) => E.Whatever -> : ^^^^^^^ ^ ^ ^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >(i: () => E.Whatever): E.Whatever => E.something(i) : (i: () => E.Whatever) => E.Whatever -> : ^^^^^^^ ^ ^ ^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >i : () => E.Whatever -> : ^^^^^^^ ^ +> : ^^^^^^ >E : any > : ^^^ >E : any diff --git a/tests/baselines/reference/declarationEmitReusesLambdaParameterNodes.types b/tests/baselines/reference/declarationEmitReusesLambdaParameterNodes.types index 7fb6ba9184c61..2d1df79724884 100644 --- a/tests/baselines/reference/declarationEmitReusesLambdaParameterNodes.types +++ b/tests/baselines/reference/declarationEmitReusesLambdaParameterNodes.types @@ -20,15 +20,15 @@ import { Props } from "react-select"; export const CustomSelect1 = (x: Props(x: A) => A -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: A) => x : (x: A) => A -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : A > : ^ >x : A @@ -17,7 +17,7 @@ var a = (x: A) => x; function a2(x: A) { return x } >a2 : (x: A) => A -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : A > : ^ >x : A @@ -25,9 +25,9 @@ function a2(x: A) { return x } var a3 = (x: A) => new A(); >a3 : (x: A) => globalThis.A -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^ >(x: A) => new A() : (x: A) => globalThis.A -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^ >x : A > : ^ >new A() : globalThis.A @@ -37,7 +37,7 @@ var a3 = (x: A) => new A(); function a4(x: A) { return new A() } >a4 : (x: A) => globalThis.A -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^ >x : A > : ^ >new A() : globalThis.A @@ -50,9 +50,9 @@ interface B { } var b = (x: B) => x; >b : (x: B) => B -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: B) => x : (x: B) => B -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : B > : ^ >x : B @@ -60,7 +60,7 @@ var b = (x: B) => x; function b2(x: B) { return x } >b2 : (x: B) => B -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : B > : ^ >x : B diff --git a/tests/baselines/reference/declarationEmitTypeParameterNameReusedInOverloads.types b/tests/baselines/reference/declarationEmitTypeParameterNameReusedInOverloads.types index b631f3693efcb..8a0c6dcb1d187 100644 --- a/tests/baselines/reference/declarationEmitTypeParameterNameReusedInOverloads.types +++ b/tests/baselines/reference/declarationEmitTypeParameterNameReusedInOverloads.types @@ -29,7 +29,7 @@ export type Foo = { new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -42,7 +42,7 @@ export type Foo = { }): any[]; new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T diff --git a/tests/baselines/reference/declarationEmitTypeParameterNameShadowedInternally.types b/tests/baselines/reference/declarationEmitTypeParameterNameShadowedInternally.types index 0ac93ecd17f8f..080a79d6230b4 100644 --- a/tests/baselines/reference/declarationEmitTypeParameterNameShadowedInternally.types +++ b/tests/baselines/reference/declarationEmitTypeParameterNameShadowedInternally.types @@ -3,17 +3,17 @@ === declarationEmitTypeParameterNameShadowedInternally.ts === export const foo = (x: T) => { >foo : (x: T) => (y: T_1) => readonly [T, T_1] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => { const inner = (y: T) => [x, y] as const; return inner;} : (x: T) => (y: T_1) => readonly [T, T_1] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ const inner = (y: T) => [x, y] as const; >inner : (y: T_1) => readonly [T, T_1] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(y: T) => [x, y] as const : (y: T_1) => readonly [T, T_1] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : T > : ^ >[x, y] as const : readonly [T_1, T] diff --git a/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded.types b/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded.types index d62d68abf5de2..e98deff94cd65 100644 --- a/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded.types +++ b/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded.types @@ -11,7 +11,7 @@ import process = require('process'); export default function parseArgs(): minimist.ParsedArgs { >parseArgs : () => minimist.ParsedArgs -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >minimist : any > : ^^^ @@ -40,7 +40,7 @@ declare namespace thing { } declare function thing(x: any): thing.ParsedArgs; >thing : (x: any) => thing.ParsedArgs -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any >thing : any > : ^^^ diff --git a/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules1.types b/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules1.types index 45c5f38c42270..ab07ec4be297f 100644 --- a/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules1.types +++ b/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules1.types @@ -121,7 +121,7 @@ interface QueryObserverOptions< select?: (data: TQueryData) => TData; >select : ((data: TQueryData) => TData) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >data : TQueryData > : ^^^^^^^^^^ } @@ -339,7 +339,7 @@ type UseBaseQueryReturnType< } & { suspense: () => Promise; >suspense : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ }; @@ -349,7 +349,7 @@ type UseQueryReturnType = UseBaseQueryReturnType; declare function useQuery< >useQuery : (options: UndefinedInitialQueryOptions) => UseQueryReturnType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ TQueryFnData = unknown, TError = DefaultError, @@ -418,15 +418,15 @@ interface IEntry { const testApi = { >testApi : { getEntries: () => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^ >{ getEntries: (): Promise => { return fetch(baseUrl + 'entries') .then((res) => res.json()) .then((data) => data.entries) .catch((err) => console.log(err)) }} : { getEntries: () => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^ getEntries: (): Promise => { >getEntries : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >(): Promise => { return fetch(baseUrl + 'entries') .then((res) => res.json()) .then((data) => data.entries) .catch((err) => console.log(err)) } : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ return fetch(baseUrl + 'entries') >fetch(baseUrl + 'entries') .then((res) => res.json()) .then((data) => data.entries) .catch((err) => console.log(err)) : Promise diff --git a/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules2.types b/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules2.types index 3c590548fd4ed..9d67f14842ff9 100644 --- a/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules2.types +++ b/tests/baselines/reference/declarationEmitUsingAlternativeContainingModules2.types @@ -121,7 +121,7 @@ interface QueryObserverOptions< select?: (data: TQueryData) => TData; >select : ((data: TQueryData) => TData) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >data : TQueryData > : ^^^^^^^^^^ } @@ -339,7 +339,7 @@ type UseBaseQueryReturnType< } & { suspense: () => Promise; >suspense : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ }; @@ -349,7 +349,7 @@ type UseQueryReturnType = UseBaseQueryReturnType; declare function useQuery< >useQuery : (options: UndefinedInitialQueryOptions) => UseQueryReturnType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ TQueryFnData = unknown, TError = DefaultError, @@ -426,15 +426,15 @@ interface IEntry { const testApi = { >testApi : { getEntries: () => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^ >{ getEntries: (): Promise => { return fetch(baseUrl + 'entries') .then((res) => res.json()) .then((data) => data.entries) .catch((err) => console.log(err)) }} : { getEntries: () => Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^ getEntries: (): Promise => { >getEntries : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >(): Promise => { return fetch(baseUrl + 'entries') .then((res) => res.json()) .then((data) => data.entries) .catch((err) => console.log(err)) } : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ return fetch(baseUrl + 'entries') >fetch(baseUrl + 'entries') .then((res) => res.json()) .then((data) => data.entries) .catch((err) => console.log(err)) : Promise diff --git a/tests/baselines/reference/declarationEmitUsingTypeAlias1.types b/tests/baselines/reference/declarationEmitUsingTypeAlias1.types index 5838d93dacbd2..bc8ca584ff4f4 100644 --- a/tests/baselines/reference/declarationEmitUsingTypeAlias1.types +++ b/tests/baselines/reference/declarationEmitUsingTypeAlias1.types @@ -29,9 +29,9 @@ import { SomeType } from "some-dep"; export const foo = (thing: SomeType) => { >foo : (thing: SomeType) => import("node_modules/some-dep/dist/inner").SomeType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(thing: SomeType) => { return thing;} : (thing: SomeType) => import("node_modules/some-dep/dist/inner").SomeType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >thing : import("node_modules/some-dep/dist/inner").SomeType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -43,9 +43,9 @@ export const foo = (thing: SomeType) => { export const bar = (thing: SomeType) => { >bar : (thing: SomeType) => import("node_modules/some-dep/dist/inner").Other -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(thing: SomeType) => { return thing.arg;} : (thing: SomeType) => import("node_modules/some-dep/dist/inner").Other -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >thing : import("node_modules/some-dep/dist/inner").SomeType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/declarationEmitWithDefaultAsComputedName.types b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName.types index b08d4cdc7b4ac..78569dfc5f432 100644 --- a/tests/baselines/reference/declarationEmitWithDefaultAsComputedName.types +++ b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName.types @@ -12,7 +12,7 @@ type Experiment = { }; declare const createExperiment: ( >createExperiment : (options: Experiment) => Experiment -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ options: Experiment >options : Experiment diff --git a/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2.types b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2.types index 894b63e633b60..0340d34450f71 100644 --- a/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2.types +++ b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2.types @@ -12,7 +12,7 @@ type Experiment = { }; declare const createExperiment: ( >createExperiment : (options: Experiment) => Experiment -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ options: Experiment >options : Experiment diff --git a/tests/baselines/reference/declarationEmitWithInvalidPackageJsonTypings.types b/tests/baselines/reference/declarationEmitWithInvalidPackageJsonTypings.types index 5701a4782c3d4..5393cbdc6217a 100644 --- a/tests/baselines/reference/declarationEmitWithInvalidPackageJsonTypings.types +++ b/tests/baselines/reference/declarationEmitWithInvalidPackageJsonTypings.types @@ -13,7 +13,7 @@ export interface MutableRefObject { } export function useRef(current: T): MutableRefObject { >useRef : (current: T) => MutableRefObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^ >current : T > : ^ diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences1.types b/tests/baselines/reference/declarationFilesWithTypeReferences1.types index b5071b47c5aa7..35112dce56099 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences1.types +++ b/tests/baselines/reference/declarationFilesWithTypeReferences1.types @@ -10,7 +10,7 @@ interface Error { === /app.ts === function foo(): Error { >foo : () => Error -> : ^^^^^^^^^^^ +> : ^^^^^^ return undefined; >undefined : undefined diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences2.types b/tests/baselines/reference/declarationFilesWithTypeReferences2.types index 75b4cde41c99f..12a2e95f41be9 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences2.types +++ b/tests/baselines/reference/declarationFilesWithTypeReferences2.types @@ -10,7 +10,7 @@ interface Error2 { === /app.ts === function foo(): Error2 { >foo : () => Error2 -> : ^^^^^^^^^^^^ +> : ^^^^^^ return undefined; >undefined : undefined diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences3.types b/tests/baselines/reference/declarationFilesWithTypeReferences3.types index 3d76306983c52..4f9229175d5de 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences3.types +++ b/tests/baselines/reference/declarationFilesWithTypeReferences3.types @@ -11,7 +11,7 @@ interface Error2 { /// function foo(): Error2 { >foo : () => Error2 -> : ^^^^^^^^^^^^ +> : ^^^^^^ return undefined; >undefined : undefined diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences4.types b/tests/baselines/reference/declarationFilesWithTypeReferences4.types index 3c87e7e5e394f..3cd853b8d4dac 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences4.types +++ b/tests/baselines/reference/declarationFilesWithTypeReferences4.types @@ -11,7 +11,7 @@ interface Error { /// function foo(): Error { >foo : () => Error -> : ^^^^^^^^^^^ +> : ^^^^^^ return undefined; >undefined : undefined diff --git a/tests/baselines/reference/declarationMaps.types b/tests/baselines/reference/declarationMaps.types index 8ed5b4730852a..4f2733576174f 100644 --- a/tests/baselines/reference/declarationMaps.types +++ b/tests/baselines/reference/declarationMaps.types @@ -11,7 +11,7 @@ module m2 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -26,7 +26,7 @@ module m2 { var m2: { >m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -40,7 +40,7 @@ var m2: { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declarationMapsWithoutDeclaration.types b/tests/baselines/reference/declarationMapsWithoutDeclaration.types index 2ee0944058f1c..f4f3635e0de7b 100644 --- a/tests/baselines/reference/declarationMapsWithoutDeclaration.types +++ b/tests/baselines/reference/declarationMapsWithoutDeclaration.types @@ -14,7 +14,7 @@ module m2 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -29,7 +29,7 @@ module m2 { var m2: { >m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -43,7 +43,7 @@ var m2: { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declarationNoDanglingGenerics.types b/tests/baselines/reference/declarationNoDanglingGenerics.types index e26027368a004..4730648c725a2 100644 --- a/tests/baselines/reference/declarationNoDanglingGenerics.types +++ b/tests/baselines/reference/declarationNoDanglingGenerics.types @@ -48,7 +48,7 @@ function register(kind: string): void | never { function ClassFactory(kind: TKind) { >ClassFactory : (kind: TKind) => typeof (Anonymous class) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >kind : TKind > : ^^^^^ diff --git a/tests/baselines/reference/declarationsForFileShadowingGlobalNoError.types b/tests/baselines/reference/declarationsForFileShadowingGlobalNoError.types index 7c3a2c7ba25a0..b12bec5a09022 100644 --- a/tests/baselines/reference/declarationsForFileShadowingGlobalNoError.types +++ b/tests/baselines/reference/declarationsForFileShadowingGlobalNoError.types @@ -27,9 +27,9 @@ type Constructor = new (...args: any[]) => any export const mixin = (Base: Constructor) => { >mixin : (Base: Constructor) => typeof (Anonymous class) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(Base: Constructor) => { return class extends Base { get(domNode: DOMNode) {} }} : (Base: Constructor) => typeof (Anonymous class) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : Constructor > : ^^^^^^^^^^^ @@ -41,7 +41,7 @@ export const mixin = (Base: Constructor) => { get(domNode: DOMNode) {} >get : (domNode: DOMNode) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >domNode : globalThis.Node > : ^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/declarationsIndirectGeneratedAliasReference.types b/tests/baselines/reference/declarationsIndirectGeneratedAliasReference.types index 92f96cd6b590e..0f98ff554f275 100644 --- a/tests/baselines/reference/declarationsIndirectGeneratedAliasReference.types +++ b/tests/baselines/reference/declarationsIndirectGeneratedAliasReference.types @@ -17,7 +17,7 @@ export type ExtendedCtor = {x: number, ext: T}; export interface CtorConstructor { extends(x: T): ExtendedCtor; >extends : (x: T) => ExtendedCtor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.types b/tests/baselines/reference/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.types index 383fc89856220..33841fd1e06f0 100644 --- a/tests/baselines/reference/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.types +++ b/tests/baselines/reference/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.types @@ -15,29 +15,29 @@ export type Value, U> = U[K]; export const updateIfChanged = (t: T) => { >updateIfChanged : (t: T) => ((key: K) => (>(key: K_1) => (>>(key: K_2) => (>>>(key: K_3) => (>>>>(key: K_4) => (>>>>>(key: K_5) => (>>>>>>(key: K_6) => (>>>>>>>(key: K_7) => (>>>>>>>>(key: K_8) => (>>>>>>>>>(key: K_9) => (>>>>>>>>>>(key: K_10) => any & { map: (updater: (u: Value>>>>>>>>>>) => Value>>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>>) => Value>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>) => Value>>>>>>>>) => T; set: (newU: Value>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>) => Value>>>>>>>) => T; set: (newU: Value>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>) => Value>>>>>>) => T; set: (newU: Value>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>) => Value>>>>>) => T; set: (newU: Value>>>>>) => T; }) & { map: (updater: (u: Value>>>>) => Value>>>>) => T; set: (newU: Value>>>>) => T; }) & { map: (updater: (u: Value>>>) => Value>>>) => T; set: (newU: Value>>>) => T; }) & { map: (updater: (u: Value>>) => Value>>) => T; set: (newU: Value>>) => T; }) & { map: (updater: (u: Value>) => Value>) => T; set: (newU: Value>) => T; }) & { map: (updater: (u: Value) => Value) => T; set: (newU: Value) => T; }) & { map: (updater: (u: T) => T) => T; set: (newU: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t: T) => { const reduce = (u: U, update: (u: U) => T) => { const set = (newU: U) => Object.is(u, newU) ? t : update(newU); return Object.assign( >(key: K) => reduce>(u[key as keyof U] as Value, (v: Value) => { return update(Object.assign(Array.isArray(u) ? [] : {}, u, { [key]: v })); }), { map: (updater: (u: U) => U) => set(updater(u)), set }); }; return reduce(t, (t: T) => t);} : (t: T) => ((key: K) => (>(key: K_1) => (>>(key: K_2) => (>>>(key: K_3) => (>>>>(key: K_4) => (>>>>>(key: K_5) => (>>>>>>(key: K_6) => (>>>>>>>(key: K_7) => (>>>>>>>>(key: K_8) => (>>>>>>>>>(key: K_9) => (>>>>>>>>>>(key: K_10) => any & { map: (updater: (u: Value>>>>>>>>>>) => Value>>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>>) => Value>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>) => Value>>>>>>>>) => T; set: (newU: Value>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>) => Value>>>>>>>) => T; set: (newU: Value>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>) => Value>>>>>>) => T; set: (newU: Value>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>) => Value>>>>>) => T; set: (newU: Value>>>>>) => T; }) & { map: (updater: (u: Value>>>>) => Value>>>>) => T; set: (newU: Value>>>>) => T; }) & { map: (updater: (u: Value>>>) => Value>>>) => T; set: (newU: Value>>>) => T; }) & { map: (updater: (u: Value>>) => Value>>) => T; set: (newU: Value>>) => T; }) & { map: (updater: (u: Value>) => Value>) => T; set: (newU: Value>) => T; }) & { map: (updater: (u: Value) => Value) => T; set: (newU: Value) => T; }) & { map: (updater: (u: T) => T) => T; set: (newU: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : T > : ^ const reduce = (u: U, update: (u: U) => T) => { >reduce : (u: U, update: (u: U) => T) => ((key: K) => (>(key: K_1) => (>>(key: K_2) => (>>>(key: K_3) => (>>>>(key: K_4) => (>>>>>(key: K_5) => (>>>>>>(key: K_6) => (>>>>>>>(key: K_7) => (>>>>>>>>(key: K_8) => (>>>>>>>>>(key: K_9) => (>>>>>>>>>>(key: K_10) => any & { map: (updater: (u: Value>>>>>>>>>>) => Value>>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>>) => Value>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>) => Value>>>>>>>>) => T; set: (newU: Value>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>) => Value>>>>>>>) => T; set: (newU: Value>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>) => Value>>>>>>) => T; set: (newU: Value>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>) => Value>>>>>) => T; set: (newU: Value>>>>>) => T; }) & { map: (updater: (u: Value>>>>) => Value>>>>) => T; set: (newU: Value>>>>) => T; }) & { map: (updater: (u: Value>>>) => Value>>>) => T; set: (newU: Value>>>) => T; }) & { map: (updater: (u: Value>>) => Value>>) => T; set: (newU: Value>>) => T; }) & { map: (updater: (u: Value>) => Value>) => T; set: (newU: Value>) => T; }) & { map: (updater: (u: Value) => Value) => T; set: (newU: Value) => T; }) & { map: (updater: (u: U) => U) => T; set: (newU: U) => T; } -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(u: U, update: (u: U) => T) => { const set = (newU: U) => Object.is(u, newU) ? t : update(newU); return Object.assign( >(key: K) => reduce>(u[key as keyof U] as Value, (v: Value) => { return update(Object.assign(Array.isArray(u) ? [] : {}, u, { [key]: v })); }), { map: (updater: (u: U) => U) => set(updater(u)), set }); } : (u: U, update: (u: U) => T) => ((key: K) => (>(key: K_1) => (>>(key: K_2) => (>>>(key: K_3) => (>>>>(key: K_4) => (>>>>>(key: K_5) => (>>>>>>(key: K_6) => (>>>>>>>(key: K_7) => (>>>>>>>>(key: K_8) => (>>>>>>>>>(key: K_9) => (>>>>>>>>>>(key: K_10) => any & { map: (updater: (u: Value>>>>>>>>>>) => Value>>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>>) => Value>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>) => Value>>>>>>>>) => T; set: (newU: Value>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>) => Value>>>>>>>) => T; set: (newU: Value>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>) => Value>>>>>>) => T; set: (newU: Value>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>) => Value>>>>>) => T; set: (newU: Value>>>>>) => T; }) & { map: (updater: (u: Value>>>>) => Value>>>>) => T; set: (newU: Value>>>>) => T; }) & { map: (updater: (u: Value>>>) => Value>>>) => T; set: (newU: Value>>>) => T; }) & { map: (updater: (u: Value>>) => Value>>) => T; set: (newU: Value>>) => T; }) & { map: (updater: (u: Value>) => Value>) => T; set: (newU: Value>) => T; }) & { map: (updater: (u: Value) => Value) => T; set: (newU: Value) => T; }) & { map: (updater: (u: U) => U) => T; set: (newU: U) => T; } -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >u : U > : ^ >update : (u: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >u : U > : ^ const set = (newU: U) => Object.is(u, newU) ? t : update(newU); >set : (newU: U) => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ >(newU: U) => Object.is(u, newU) ? t : update(newU) : (newU: U) => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ >newU : U > : ^ >Object.is(u, newU) ? t : update(newU) : T @@ -65,7 +65,7 @@ export const updateIfChanged = (t: T) => { return Object.assign( >Object.assign( >(key: K) => reduce>(u[key as keyof U] as Value, (v: Value) => { return update(Object.assign(Array.isArray(u) ? [] : {}, u, { [key]: v })); }), { map: (updater: (u: U) => U) => set(updater(u)), set }) : ((key: K) => (>(key: K_1) => (>>(key: K_2) => (>>>(key: K_3) => (>>>>(key: K_4) => (>>>>>(key: K_5) => (>>>>>>(key: K_6) => (>>>>>>>(key: K_7) => (>>>>>>>>(key: K_8) => (>>>>>>>>>(key: K_9) => (>>>>>>>>>>(key: K_10) => any & { map: (updater: (u: Value>>>>>>>>>>) => Value>>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>>) => Value>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>) => Value>>>>>>>>) => T; set: (newU: Value>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>) => Value>>>>>>>) => T; set: (newU: Value>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>) => Value>>>>>>) => T; set: (newU: Value>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>) => Value>>>>>) => T; set: (newU: Value>>>>>) => T; }) & { map: (updater: (u: Value>>>>) => Value>>>>) => T; set: (newU: Value>>>>) => T; }) & { map: (updater: (u: Value>>>) => Value>>>) => T; set: (newU: Value>>>) => T; }) & { map: (updater: (u: Value>>) => Value>>) => T; set: (newU: Value>>) => T; }) & { map: (updater: (u: Value>) => Value>) => T; set: (newU: Value>) => T; }) & { map: (updater: (u: Value) => Value) => T; set: (newU: Value) => T; }) & { map: (updater: (u: U) => U) => T; set: (newU: U) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object.assign : { (target: T_1, source: U_1): T_1 & U_1; (target: T_2, source1: U_2, source2: V): T_2 & U_2 & V; (target: T_3, source1: U_3, source2: V_1, source3: W): T_3 & U_3 & V_1 & W; (target: object, ...sources: any[]): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Object : ObjectConstructor @@ -75,7 +75,7 @@ export const updateIfChanged = (t: T) => { >(key: K) => >>(key: K) => reduce>(u[key as keyof U] as Value, (v: Value) => { return update(Object.assign(Array.isArray(u) ? [] : {}, u, { [key]: v })); }) : (key: K) => (>(key: K_1) => (>>(key: K_2) => (>>>(key: K_3) => (>>>>(key: K_4) => (>>>>>(key: K_5) => (>>>>>>(key: K_6) => (>>>>>>>(key: K_7) => (>>>>>>>>(key: K_8) => (>>>>>>>>>(key: K_9) => (>>>>>>>>>>(key: K_10) => any & { map: (updater: (u: Value>>>>>>>>>>) => Value>>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>>) => Value>>>>>>>>>) => T; set: (newU: Value>>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>>) => Value>>>>>>>>) => T; set: (newU: Value>>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>>) => Value>>>>>>>) => T; set: (newU: Value>>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>>) => Value>>>>>>) => T; set: (newU: Value>>>>>>) => T; }) & { map: (updater: (u: Value>>>>>) => Value>>>>>) => T; set: (newU: Value>>>>>) => T; }) & { map: (updater: (u: Value>>>>) => Value>>>>) => T; set: (newU: Value>>>>) => T; }) & { map: (updater: (u: Value>>>) => Value>>>) => T; set: (newU: Value>>>) => T; }) & { map: (updater: (u: Value>>) => Value>>) => T; set: (newU: Value>>) => T; }) & { map: (updater: (u: Value>) => Value>) => T; set: (newU: Value>) => T; }) & { map: (updater: (u: Value) => Value) => T; set: (newU: Value) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : K > : ^ @@ -95,7 +95,7 @@ export const updateIfChanged = (t: T) => { >key : K > : ^ >(v: Value) => { return update(Object.assign(Array.isArray(u) ? [] : {}, u, { [key]: v })); } : (v: Value) => T -> : ^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^ ^^^^^^ >v : Value > : ^^^^^^^^^^^ @@ -142,13 +142,13 @@ export const updateIfChanged = (t: T) => { }), { map: (updater: (u: U) => U) => set(updater(u)), set }); >{ map: (updater: (u: U) => U) => set(updater(u)), set } : { map: (updater: (u: U) => U) => T; set: (newU: U) => T; } -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >map : (updater: (u: U) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^ >(updater: (u: U) => U) => set(updater(u)) : (updater: (u: U) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^ >updater : (u: U) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >u : U > : ^ >set(updater(u)) : T @@ -173,7 +173,7 @@ export const updateIfChanged = (t: T) => { >t : T > : ^ >(t: T) => t : (t: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >t : T > : ^ >t : T @@ -185,15 +185,15 @@ export const updateIfChanged = (t: T) => { export const testRecFun = (parent: T) => { >testRecFun : (parent: T) => { result: T; deeper: (child: U) => { result: T & U; deeper: (child: U_1) => { result: T & U & U_1; deeper: (child: U_2) => { result: T & U & U_1 & U_2; deeper: (child: U_3) => { result: T & U & U_1 & U_2 & U_3; deeper: (child: U_4) => { result: T & U & U_1 & U_2 & U_3 & U_4; deeper: (child: U_5) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5; deeper: (child: U_6) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6; deeper: (child: U_7) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7; deeper: (child: U_8) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8; deeper: (child: U_9) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9; deeper: (child: U_10) => any; }; }; }; }; }; }; }; }; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(parent: T) => { return { result: parent, deeper: (child: U) => testRecFun({ ...parent, ...child }) };} : (parent: T) => { result: T; deeper: (child: U) => { result: T & U; deeper: (child: U_1) => { result: T & U & U_1; deeper: (child: U_2) => { result: T & U & U_1 & U_2; deeper: (child: U_3) => { result: T & U & U_1 & U_2 & U_3; deeper: (child: U_4) => { result: T & U & U_1 & U_2 & U_3 & U_4; deeper: (child: U_5) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5; deeper: (child: U_6) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6; deeper: (child: U_7) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7; deeper: (child: U_8) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8; deeper: (child: U_9) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9; deeper: (child: U_10) => any; }; }; }; }; }; }; }; }; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >parent : T > : ^ return { >{ result: parent, deeper: (child: U) => testRecFun({ ...parent, ...child }) } : { result: T; deeper: (child: U) => { result: T & U; deeper: (child: U_1) => { result: T & U & U_1; deeper: (child: U_2) => { result: T & U & U_1 & U_2; deeper: (child: U_3) => { result: T & U & U_1 & U_2 & U_3; deeper: (child: U_4) => { result: T & U & U_1 & U_2 & U_3 & U_4; deeper: (child: U_5) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5; deeper: (child: U_6) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6; deeper: (child: U_7) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7; deeper: (child: U_8) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8; deeper: (child: U_9) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9; deeper: (child: U_10) => any; }; }; }; }; }; }; }; }; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ result: parent, >result : T @@ -203,9 +203,9 @@ export const testRecFun = (parent: T) => { deeper: (child: U) => >deeper : (child: U) => { result: T & U; deeper: (child: U_1) => { result: T & U & U_1; deeper: (child: U_2) => { result: T & U & U_1 & U_2; deeper: (child: U_3) => { result: T & U & U_1 & U_2 & U_3; deeper: (child: U_4) => { result: T & U & U_1 & U_2 & U_3 & U_4; deeper: (child: U_5) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5; deeper: (child: U_6) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6; deeper: (child: U_7) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7; deeper: (child: U_8) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8; deeper: (child: U_9) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9; deeper: (child: U_10) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9 & U_10; deeper: any; }; }; }; }; }; }; }; }; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(child: U) => testRecFun({ ...parent, ...child }) : (child: U) => { result: T & U; deeper: (child: U_1) => { result: T & U & U_1; deeper: (child: U_2) => { result: T & U & U_1 & U_2; deeper: (child: U_3) => { result: T & U & U_1 & U_2 & U_3; deeper: (child: U_4) => { result: T & U & U_1 & U_2 & U_3 & U_4; deeper: (child: U_5) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5; deeper: (child: U_6) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6; deeper: (child: U_7) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7; deeper: (child: U_8) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8; deeper: (child: U_9) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9; deeper: (child: U_10) => { result: T & U & U_1 & U_2 & U_3 & U_4 & U_5 & U_6 & U_7 & U_8 & U_9 & U_10; deeper: any; }; }; }; }; }; }; }; }; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >child : U > : ^ diff --git a/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.types b/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.types index a76c5d7a06102..523a01af18dd5 100644 --- a/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.types +++ b/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.types @@ -23,17 +23,17 @@ declare module "express" { enable(name: string): ExpressServer; >enable : (name: string) => ExpressServer -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >name : string > : ^^^^^^ post(path: RegExp, handler: (req: Function) => void ): void; >post : (path: RegExp, handler: (req: Function) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >path : RegExp > : ^^^^^^ >handler : (req: Function) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >req : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/declareFileExportAssignment.types b/tests/baselines/reference/declareFileExportAssignment.types index 3332f8a777790..ff8f6f117421a 100644 --- a/tests/baselines/reference/declareFileExportAssignment.types +++ b/tests/baselines/reference/declareFileExportAssignment.types @@ -11,7 +11,7 @@ module m2 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -26,7 +26,7 @@ module m2 { var m2: { >m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -40,7 +40,7 @@ var m2: { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declareFileExportAssignmentWithVarFromVariableStatement.types b/tests/baselines/reference/declareFileExportAssignmentWithVarFromVariableStatement.types index 2f7ab7b80bccf..34f7d67325c0d 100644 --- a/tests/baselines/reference/declareFileExportAssignmentWithVarFromVariableStatement.types +++ b/tests/baselines/reference/declareFileExportAssignmentWithVarFromVariableStatement.types @@ -11,7 +11,7 @@ module m2 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -30,7 +30,7 @@ var x = 10, m2: { >10 : 10 > : ^^ >m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -44,7 +44,7 @@ var x = 10, m2: { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/declaredExternalModule.types b/tests/baselines/reference/declaredExternalModule.types index aa628975f1c1a..565c067f13f08 100644 --- a/tests/baselines/reference/declaredExternalModule.types +++ b/tests/baselines/reference/declaredExternalModule.types @@ -18,7 +18,7 @@ declare module 'connect' { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -32,7 +32,7 @@ declare module 'connect' { var server: { >server : { (): connectExport; test1: connectModule; test2(): connectModule; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): connectExport; @@ -42,7 +42,7 @@ declare module 'connect' { test2(): connectModule; // ERROR: Return type of method from exported interface has or is using private type ''connect'.connectModule'. >test2 : () => connectModule -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ }; } diff --git a/tests/baselines/reference/declaredExternalModuleWithExportAssignment.types b/tests/baselines/reference/declaredExternalModuleWithExportAssignment.types index 985a85db90e34..3eafdbe8d8ffc 100644 --- a/tests/baselines/reference/declaredExternalModuleWithExportAssignment.types +++ b/tests/baselines/reference/declaredExternalModuleWithExportAssignment.types @@ -15,7 +15,7 @@ declare module 'connect' { interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -28,7 +28,7 @@ declare module 'connect' { var server: { >server : { (): connectExport; test1: connectModule; test2(): connectModule; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): connectExport; test1: connectModule; @@ -37,7 +37,7 @@ declare module 'connect' { test2(): connectModule; >test2 : () => connectModule -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ }; export = server; diff --git a/tests/baselines/reference/decoratedBlockScopedClass1.types b/tests/baselines/reference/decoratedBlockScopedClass1.types index 3bbc6f282f91e..ecacdf47ca18c 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass1.types +++ b/tests/baselines/reference/decoratedBlockScopedClass1.types @@ -26,7 +26,7 @@ class Foo { public static func(): Foo { >func : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return new Foo(); >new Foo() : Foo diff --git a/tests/baselines/reference/decoratedBlockScopedClass3.types b/tests/baselines/reference/decoratedBlockScopedClass3.types index e5d746de6b704..530290b4bcebc 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass3.types +++ b/tests/baselines/reference/decoratedBlockScopedClass3.types @@ -26,7 +26,7 @@ class Foo { public static func(): Foo { >func : () => Foo -> : ^^^^^^^^^ +> : ^^^^^^ return new Foo(); >new Foo() : Foo diff --git a/tests/baselines/reference/decoratorCallGeneric.types b/tests/baselines/reference/decoratorCallGeneric.types index b5b39bbf74cac..95b8782d7d5d8 100644 --- a/tests/baselines/reference/decoratorCallGeneric.types +++ b/tests/baselines/reference/decoratorCallGeneric.types @@ -8,11 +8,11 @@ interface I { m: () => T >m : () => T -> : ^^^^^^^ +> : ^^^^^^ } function dec(c: I) { } >dec : (c: I) => void -> : ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >c : I > : ^^^^ diff --git a/tests/baselines/reference/decoratorMetadataConditionalType.types b/tests/baselines/reference/decoratorMetadataConditionalType.types index a35c6c583d98d..f9c21a693deb0 100644 --- a/tests/baselines/reference/decoratorMetadataConditionalType.types +++ b/tests/baselines/reference/decoratorMetadataConditionalType.types @@ -3,7 +3,7 @@ === decoratorMetadataConditionalType.ts === declare function d(): PropertyDecorator; >d : () => PropertyDecorator -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ abstract class BaseEntity { >BaseEntity : BaseEntity @@ -17,7 +17,7 @@ abstract class BaseEntity { public attributes: T extends { attributes: infer A } ? A : undefined; >attributes : T extends { attributes: infer A; } ? A : undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >attributes : A > : ^ } diff --git a/tests/baselines/reference/decoratorMetadataElidedImport(module=commonjs).types b/tests/baselines/reference/decoratorMetadataElidedImport(module=commonjs).types index fa40cbeda209e..8f0c1a631d204 100644 --- a/tests/baselines/reference/decoratorMetadataElidedImport(module=commonjs).types +++ b/tests/baselines/reference/decoratorMetadataElidedImport(module=commonjs).types @@ -23,7 +23,7 @@ class Test { foo( >foo : (arg1: string, arg2: number) => Observable -> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ @whatever arg1: string, >whatever : (a: any, b: any, c: any) => void diff --git a/tests/baselines/reference/decoratorMetadataElidedImport(module=esnext).types b/tests/baselines/reference/decoratorMetadataElidedImport(module=esnext).types index fa40cbeda209e..8f0c1a631d204 100644 --- a/tests/baselines/reference/decoratorMetadataElidedImport(module=esnext).types +++ b/tests/baselines/reference/decoratorMetadataElidedImport(module=esnext).types @@ -23,7 +23,7 @@ class Test { foo( >foo : (arg1: string, arg2: number) => Observable -> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ @whatever arg1: string, >whatever : (a: any, b: any, c: any) => void diff --git a/tests/baselines/reference/decoratorMetadataOnInferredType.types b/tests/baselines/reference/decoratorMetadataOnInferredType.types index cad33ecdc284d..7d190296697f1 100644 --- a/tests/baselines/reference/decoratorMetadataOnInferredType.types +++ b/tests/baselines/reference/decoratorMetadataOnInferredType.types @@ -32,7 +32,7 @@ class A { function decorator(target: Object, propertyKey: string) { >decorator : (target: Object, propertyKey: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorMetadataPromise.types b/tests/baselines/reference/decoratorMetadataPromise.types index caf1e548798b6..0c131649bb71c 100644 --- a/tests/baselines/reference/decoratorMetadataPromise.types +++ b/tests/baselines/reference/decoratorMetadataPromise.types @@ -23,7 +23,7 @@ class A { async bar(): Promise { return 0; } >bar : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >0 : 0 > : ^ @@ -33,7 +33,7 @@ class A { baz(n: Promise): Promise { return n; } >baz : (n: Promise) => Promise -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >n : Promise > : ^^^^^^^^^^^^^^^ >n : Promise diff --git a/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType.types b/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType.types index a1f1864da3064..6bcf5e1ffe9c9 100644 --- a/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType.types +++ b/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType.types @@ -40,7 +40,7 @@ import { SomeClass1 } from './aux1'; function annotation(): ClassDecorator { >annotation : () => ClassDecorator -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return (target: any): void => { }; >(target: any): void => { } : (target: any) => void @@ -50,7 +50,7 @@ function annotation(): ClassDecorator { function annotation1(): MethodDecorator { >annotation1 : () => MethodDecorator -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return (target: any): void => { }; >(target: any): void => { } : (target: any) => void @@ -97,7 +97,7 @@ export class ClassA { foo(... args: SomeClass1[]) { >foo : (...args: SomeClass1[]) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >args : SomeClass1[] > : ^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/decoratorMetadataWithConstructorType.types b/tests/baselines/reference/decoratorMetadataWithConstructorType.types index 82995a768cdaf..8d16ac0a72666 100644 --- a/tests/baselines/reference/decoratorMetadataWithConstructorType.types +++ b/tests/baselines/reference/decoratorMetadataWithConstructorType.types @@ -32,7 +32,7 @@ class A { function decorator(target: Object, propertyKey: string) { >decorator : (target: Object, propertyKey: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnArrowFunction.types b/tests/baselines/reference/decoratorOnArrowFunction.types index a9a6debd6ee5b..028f2c87592c5 100644 --- a/tests/baselines/reference/decoratorOnArrowFunction.types +++ b/tests/baselines/reference/decoratorOnArrowFunction.types @@ -3,7 +3,7 @@ === decoratorOnArrowFunction.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass1.es6.types b/tests/baselines/reference/decoratorOnClass1.es6.types index 51015e62e1357..fab75c2cf14dc 100644 --- a/tests/baselines/reference/decoratorOnClass1.es6.types +++ b/tests/baselines/reference/decoratorOnClass1.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass1.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass1.types b/tests/baselines/reference/decoratorOnClass1.types index d7ea8680c67b1..c8792273dcbfa 100644 --- a/tests/baselines/reference/decoratorOnClass1.types +++ b/tests/baselines/reference/decoratorOnClass1.types @@ -3,7 +3,7 @@ === decoratorOnClass1.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass2.es6.types b/tests/baselines/reference/decoratorOnClass2.es6.types index 852256294fe83..ff2208c639f3a 100644 --- a/tests/baselines/reference/decoratorOnClass2.es6.types +++ b/tests/baselines/reference/decoratorOnClass2.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass2.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass2.types b/tests/baselines/reference/decoratorOnClass2.types index dd074c6ab3ef3..b2c71ec29cec7 100644 --- a/tests/baselines/reference/decoratorOnClass2.types +++ b/tests/baselines/reference/decoratorOnClass2.types @@ -3,7 +3,7 @@ === decoratorOnClass2.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass3.es6.types b/tests/baselines/reference/decoratorOnClass3.es6.types index 47ea82f145aab..fa928c6dca711 100644 --- a/tests/baselines/reference/decoratorOnClass3.es6.types +++ b/tests/baselines/reference/decoratorOnClass3.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass3.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass3.types b/tests/baselines/reference/decoratorOnClass3.types index 233c60960b297..8a3f6056cedf8 100644 --- a/tests/baselines/reference/decoratorOnClass3.types +++ b/tests/baselines/reference/decoratorOnClass3.types @@ -3,7 +3,7 @@ === decoratorOnClass3.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass4.es6.types b/tests/baselines/reference/decoratorOnClass4.es6.types index dbe3eb9df22bc..a1d5a7369bb0e 100644 --- a/tests/baselines/reference/decoratorOnClass4.es6.types +++ b/tests/baselines/reference/decoratorOnClass4.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass4.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass4.types b/tests/baselines/reference/decoratorOnClass4.types index 6a7e21f6c7e17..d7f67e313446c 100644 --- a/tests/baselines/reference/decoratorOnClass4.types +++ b/tests/baselines/reference/decoratorOnClass4.types @@ -3,7 +3,7 @@ === decoratorOnClass4.ts === declare function dec(): (target: T) => T; >dec : () => (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass5.es6.types b/tests/baselines/reference/decoratorOnClass5.es6.types index 46f701f8e9c59..90b4e45c776a4 100644 --- a/tests/baselines/reference/decoratorOnClass5.es6.types +++ b/tests/baselines/reference/decoratorOnClass5.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass5.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass5.types b/tests/baselines/reference/decoratorOnClass5.types index 7c6d2e4fab22b..d0695f5fd6213 100644 --- a/tests/baselines/reference/decoratorOnClass5.types +++ b/tests/baselines/reference/decoratorOnClass5.types @@ -3,7 +3,7 @@ === decoratorOnClass5.ts === declare function dec(): (target: T) => T; >dec : () => (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass6.es6.types b/tests/baselines/reference/decoratorOnClass6.es6.types index ff8008662c0a8..ae1f342ae9736 100644 --- a/tests/baselines/reference/decoratorOnClass6.es6.types +++ b/tests/baselines/reference/decoratorOnClass6.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass6.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass7.es6.types b/tests/baselines/reference/decoratorOnClass7.es6.types index 32b1602554369..6f656084a5182 100644 --- a/tests/baselines/reference/decoratorOnClass7.es6.types +++ b/tests/baselines/reference/decoratorOnClass7.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass7.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass8.es6.types b/tests/baselines/reference/decoratorOnClass8.es6.types index 246b0ab6bf01f..ae29a336091e7 100644 --- a/tests/baselines/reference/decoratorOnClass8.es6.types +++ b/tests/baselines/reference/decoratorOnClass8.es6.types @@ -3,7 +3,7 @@ === decoratorOnClass8.es6.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClass8.types b/tests/baselines/reference/decoratorOnClass8.types index 7c0afdef32d17..a2710dff5ea7a 100644 --- a/tests/baselines/reference/decoratorOnClass8.types +++ b/tests/baselines/reference/decoratorOnClass8.types @@ -3,7 +3,7 @@ === decoratorOnClass8.ts === declare function dec(): (target: Function, paramIndex: number) => void; >dec : () => (target: Function, paramIndex: number) => void -> : ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >target : Function > : ^^^^^^^^ >paramIndex : number diff --git a/tests/baselines/reference/decoratorOnClassAccessor1.es6.types b/tests/baselines/reference/decoratorOnClassAccessor1.es6.types index 3aa3c7eb2ade8..23775c2bf4afa 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor1.es6.types +++ b/tests/baselines/reference/decoratorOnClassAccessor1.es6.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor1.es6.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassAccessor1.types b/tests/baselines/reference/decoratorOnClassAccessor1.types index 2b3a2f70aa307..4440632a2d14d 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor1.types +++ b/tests/baselines/reference/decoratorOnClassAccessor1.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor1.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassAccessor2.types b/tests/baselines/reference/decoratorOnClassAccessor2.types index 6e776716172ab..2c328ac295901 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor2.types +++ b/tests/baselines/reference/decoratorOnClassAccessor2.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor2.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassAccessor3.types b/tests/baselines/reference/decoratorOnClassAccessor3.types index 2efe2e43f48f1..369e3ebd526c5 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor3.types +++ b/tests/baselines/reference/decoratorOnClassAccessor3.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor3.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassAccessor4.types b/tests/baselines/reference/decoratorOnClassAccessor4.types index 58d17542642a2..ea3a4380e4c42 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor4.types +++ b/tests/baselines/reference/decoratorOnClassAccessor4.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor4.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassAccessor5.types b/tests/baselines/reference/decoratorOnClassAccessor5.types index e74f19dcdd2c5..dab757de4fdec 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor5.types +++ b/tests/baselines/reference/decoratorOnClassAccessor5.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor5.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassAccessor6.types b/tests/baselines/reference/decoratorOnClassAccessor6.types index 1c3a4e3bdff40..28381455fa7b6 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor6.types +++ b/tests/baselines/reference/decoratorOnClassAccessor6.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor6.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassAccessor7.types b/tests/baselines/reference/decoratorOnClassAccessor7.types index 1d5fffaafc120..0bc8b8ea62674 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor7.types +++ b/tests/baselines/reference/decoratorOnClassAccessor7.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor7.ts === declare function dec1(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec1 : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string @@ -13,7 +13,7 @@ declare function dec1(target: any, propertyKey: string, descriptor: TypedProp declare function dec2(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec2 : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassAccessor8.types b/tests/baselines/reference/decoratorOnClassAccessor8.types index eb3782d985b78..84321057bd7ed 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor8.types +++ b/tests/baselines/reference/decoratorOnClassAccessor8.types @@ -3,7 +3,7 @@ === decoratorOnClassAccessor8.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassConstructor1.types b/tests/baselines/reference/decoratorOnClassConstructor1.types index b44387ff6518a..2771cccf8df69 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor1.types +++ b/tests/baselines/reference/decoratorOnClassConstructor1.types @@ -3,7 +3,7 @@ === decoratorOnClassConstructor1.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassConstructor2.types b/tests/baselines/reference/decoratorOnClassConstructor2.types index 88d22128fb179..16e8c3c0d4895 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor2.types +++ b/tests/baselines/reference/decoratorOnClassConstructor2.types @@ -7,7 +7,7 @@ export class base { } export function foo(target: Object, propertyKey: string | symbol, parameterIndex: number) { } >foo : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnClassConstructor3.types b/tests/baselines/reference/decoratorOnClassConstructor3.types index 45b307ed1d943..55e244ec3818d 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor3.types +++ b/tests/baselines/reference/decoratorOnClassConstructor3.types @@ -7,7 +7,7 @@ export class base { } export function foo(target: Object, propertyKey: string | symbol, parameterIndex: number) { } >foo : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter1.types b/tests/baselines/reference/decoratorOnClassConstructorParameter1.types index 703731577566e..344aa54ce5cf6 100644 --- a/tests/baselines/reference/decoratorOnClassConstructorParameter1.types +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter1.types @@ -3,7 +3,7 @@ === decoratorOnClassConstructorParameter1.ts === declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void; >dec : (target: Function, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >target : Function > : ^^^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter4.types b/tests/baselines/reference/decoratorOnClassConstructorParameter4.types index 4a222d20dad90..020ff1c6b1041 100644 --- a/tests/baselines/reference/decoratorOnClassConstructorParameter4.types +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter4.types @@ -3,7 +3,7 @@ === decoratorOnClassConstructorParameter4.ts === declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void; >dec : (target: Function, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >target : Function > : ^^^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnClassMethod1.es6.types b/tests/baselines/reference/decoratorOnClassMethod1.es6.types index bf372fa811ca5..66f922287fe51 100644 --- a/tests/baselines/reference/decoratorOnClassMethod1.es6.types +++ b/tests/baselines/reference/decoratorOnClassMethod1.es6.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod1.es6.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod1.types b/tests/baselines/reference/decoratorOnClassMethod1.types index 2699dadb95167..145b0d3c4bf2c 100644 --- a/tests/baselines/reference/decoratorOnClassMethod1.types +++ b/tests/baselines/reference/decoratorOnClassMethod1.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod1.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod10.types b/tests/baselines/reference/decoratorOnClassMethod10.types index d4bb807929fe0..668d837e993a4 100644 --- a/tests/baselines/reference/decoratorOnClassMethod10.types +++ b/tests/baselines/reference/decoratorOnClassMethod10.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod10.ts === declare function dec(target: Function, paramIndex: number): void; >dec : (target: Function, paramIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : Function > : ^^^^^^^^ >paramIndex : number diff --git a/tests/baselines/reference/decoratorOnClassMethod11.types b/tests/baselines/reference/decoratorOnClassMethod11.types index 7e7901a004cc2..c69de6582a0e6 100644 --- a/tests/baselines/reference/decoratorOnClassMethod11.types +++ b/tests/baselines/reference/decoratorOnClassMethod11.types @@ -11,7 +11,7 @@ module M { decorator(target: Object, key: string): void { } >decorator : (target: Object, key: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >key : string diff --git a/tests/baselines/reference/decoratorOnClassMethod12.types b/tests/baselines/reference/decoratorOnClassMethod12.types index e8e8835c9ee3d..7f4ab44653bf3 100644 --- a/tests/baselines/reference/decoratorOnClassMethod12.types +++ b/tests/baselines/reference/decoratorOnClassMethod12.types @@ -11,7 +11,7 @@ module M { decorator(target: Object, key: string): void { } >decorator : (target: Object, key: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >key : string diff --git a/tests/baselines/reference/decoratorOnClassMethod13.types b/tests/baselines/reference/decoratorOnClassMethod13.types index d5c8b27a2ff24..b084117ffce0c 100644 --- a/tests/baselines/reference/decoratorOnClassMethod13.types +++ b/tests/baselines/reference/decoratorOnClassMethod13.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod13.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).types b/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).types index c3fe6e3aa72ae..14f89ecb0995f 100644 --- a/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).types +++ b/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).types @@ -16,7 +16,7 @@ class C1 { >decorator((x: C1) => x.#x) : any >decorator : any >(x: C1) => x.#x : (x: C1) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : C1 > : ^^ >x.#x : any @@ -41,7 +41,7 @@ class C2 { >decorator((x: C2) => x.#x) : any >decorator : any >(x: C2) => x.#x : (x: C2) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : C2 > : ^^ >x.#x : any diff --git a/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).types b/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).types index c3fe6e3aa72ae..14f89ecb0995f 100644 --- a/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).types +++ b/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).types @@ -16,7 +16,7 @@ class C1 { >decorator((x: C1) => x.#x) : any >decorator : any >(x: C1) => x.#x : (x: C1) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : C1 > : ^^ >x.#x : any @@ -41,7 +41,7 @@ class C2 { >decorator((x: C2) => x.#x) : any >decorator : any >(x: C2) => x.#x : (x: C2) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : C2 > : ^^ >x.#x : any diff --git a/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).types b/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).types index c3fe6e3aa72ae..14f89ecb0995f 100644 --- a/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).types +++ b/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).types @@ -16,7 +16,7 @@ class C1 { >decorator((x: C1) => x.#x) : any >decorator : any >(x: C1) => x.#x : (x: C1) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : C1 > : ^^ >x.#x : any @@ -41,7 +41,7 @@ class C2 { >decorator((x: C2) => x.#x) : any >decorator : any >(x: C2) => x.#x : (x: C2) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : C2 > : ^^ >x.#x : any diff --git a/tests/baselines/reference/decoratorOnClassMethod2.types b/tests/baselines/reference/decoratorOnClassMethod2.types index 9308a881276d8..3d38a76a99f4f 100644 --- a/tests/baselines/reference/decoratorOnClassMethod2.types +++ b/tests/baselines/reference/decoratorOnClassMethod2.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod2.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod3.types b/tests/baselines/reference/decoratorOnClassMethod3.types index 1a83a96b2d3b7..adfdfd873a0af 100644 --- a/tests/baselines/reference/decoratorOnClassMethod3.types +++ b/tests/baselines/reference/decoratorOnClassMethod3.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod3.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassMethod4.types b/tests/baselines/reference/decoratorOnClassMethod4.types index ade9cb5d82202..cb1d6e1d229d0 100644 --- a/tests/baselines/reference/decoratorOnClassMethod4.types +++ b/tests/baselines/reference/decoratorOnClassMethod4.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod4.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod5.types b/tests/baselines/reference/decoratorOnClassMethod5.types index 33cd6a813bcec..75f43fa8ab5e9 100644 --- a/tests/baselines/reference/decoratorOnClassMethod5.types +++ b/tests/baselines/reference/decoratorOnClassMethod5.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod5.ts === declare function dec(): (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor; >dec : () => (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod6.types b/tests/baselines/reference/decoratorOnClassMethod6.types index 97a653d96f9fd..9d8c4c9412993 100644 --- a/tests/baselines/reference/decoratorOnClassMethod6.types +++ b/tests/baselines/reference/decoratorOnClassMethod6.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod6.ts === declare function dec(): (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor; >dec : () => (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassMethod7.types b/tests/baselines/reference/decoratorOnClassMethod7.types index cd8ae4b04ba70..c3ab7f5921363 100644 --- a/tests/baselines/reference/decoratorOnClassMethod7.types +++ b/tests/baselines/reference/decoratorOnClassMethod7.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod7.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethod8.types b/tests/baselines/reference/decoratorOnClassMethod8.types index 7044842f9489b..fbcdac6178dc8 100644 --- a/tests/baselines/reference/decoratorOnClassMethod8.types +++ b/tests/baselines/reference/decoratorOnClassMethod8.types @@ -3,7 +3,7 @@ === decoratorOnClassMethod8.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload1.types b/tests/baselines/reference/decoratorOnClassMethodOverload1.types index ffd7a33b44246..6d7ef548dd377 100644 --- a/tests/baselines/reference/decoratorOnClassMethodOverload1.types +++ b/tests/baselines/reference/decoratorOnClassMethodOverload1.types @@ -3,7 +3,7 @@ === decoratorOnClassMethodOverload1.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload2.types b/tests/baselines/reference/decoratorOnClassMethodOverload2.types index 3204fa3020d7a..1e4161fb9eb48 100644 --- a/tests/baselines/reference/decoratorOnClassMethodOverload2.types +++ b/tests/baselines/reference/decoratorOnClassMethodOverload2.types @@ -3,7 +3,7 @@ === decoratorOnClassMethodOverload2.ts === declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter1.es6.types b/tests/baselines/reference/decoratorOnClassMethodParameter1.es6.types index f56bef498e577..44185328da81c 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter1.es6.types +++ b/tests/baselines/reference/decoratorOnClassMethodParameter1.es6.types @@ -3,7 +3,7 @@ === decoratorOnClassMethodParameter1.es6.ts === declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter1.types b/tests/baselines/reference/decoratorOnClassMethodParameter1.types index 777feb5e110e2..f43d37ddb4d24 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter1.types +++ b/tests/baselines/reference/decoratorOnClassMethodParameter1.types @@ -3,7 +3,7 @@ === decoratorOnClassMethodParameter1.ts === declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter2.types b/tests/baselines/reference/decoratorOnClassMethodParameter2.types index 02bb837e6c685..45c875bd8e15d 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter2.types +++ b/tests/baselines/reference/decoratorOnClassMethodParameter2.types @@ -3,7 +3,7 @@ === decoratorOnClassMethodParameter2.ts === declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >propertyKey : string | symbol @@ -17,7 +17,7 @@ class C { method(this: C, @dec p: number) {} >method : (this: C, p: number) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^ >this : C > : ^ >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter3.types b/tests/baselines/reference/decoratorOnClassMethodParameter3.types index 57bb87afb56bb..7aef67b4a7f44 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter3.types +++ b/tests/baselines/reference/decoratorOnClassMethodParameter3.types @@ -10,7 +10,7 @@ declare function dec(a: any): any; function fn(value: Promise): any { >fn : (value: Promise) => any -> : ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Promise > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassMethodThisParameter.types b/tests/baselines/reference/decoratorOnClassMethodThisParameter.types index 5a84945f5b631..52202e82d50d3 100644 --- a/tests/baselines/reference/decoratorOnClassMethodThisParameter.types +++ b/tests/baselines/reference/decoratorOnClassMethodThisParameter.types @@ -3,7 +3,7 @@ === decoratorOnClassMethodThisParameter.ts === declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >propertyKey : string | symbol @@ -17,7 +17,7 @@ class C { method(@dec this: C) {} >method : (this: C) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >this : C @@ -30,7 +30,7 @@ class C2 { method(@dec allowed: C2, @dec this: C2) {} >method : (allowed: C2, this: C2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >allowed : C2 diff --git a/tests/baselines/reference/decoratorOnClassProperty10.types b/tests/baselines/reference/decoratorOnClassProperty10.types index d1c154a4541ca..1f952c06dad7d 100644 --- a/tests/baselines/reference/decoratorOnClassProperty10.types +++ b/tests/baselines/reference/decoratorOnClassProperty10.types @@ -3,7 +3,7 @@ === decoratorOnClassProperty10.ts === declare function dec(): (target: any, propertyKey: string) => void; >dec : () => (target: any, propertyKey: string) => void -> : ^^^^^^ ^ +> : ^^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassProperty11.types b/tests/baselines/reference/decoratorOnClassProperty11.types index 4fe1dfef8375d..c3affe29d1d8e 100644 --- a/tests/baselines/reference/decoratorOnClassProperty11.types +++ b/tests/baselines/reference/decoratorOnClassProperty11.types @@ -3,7 +3,7 @@ === decoratorOnClassProperty11.ts === declare function dec(): (target: any, propertyKey: string) => void; >dec : () => (target: any, propertyKey: string) => void -> : ^^^^^^ ^ +> : ^^^^^^ >target : any > : ^^^ >propertyKey : string diff --git a/tests/baselines/reference/decoratorOnClassProperty12.types b/tests/baselines/reference/decoratorOnClassProperty12.types index c9c2d14ce1a45..cbd80df693c13 100644 --- a/tests/baselines/reference/decoratorOnClassProperty12.types +++ b/tests/baselines/reference/decoratorOnClassProperty12.types @@ -3,7 +3,7 @@ === decoratorOnClassProperty12.ts === declare function dec(): (target: any, propertyKey: string) => void; >dec : () => (target: any, propertyKey: string) => void -> : ^^^^^^ ^ +> : ^^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassProperty13.types b/tests/baselines/reference/decoratorOnClassProperty13.types index 1b6f8b48ad64e..34ac21e2a7e42 100644 --- a/tests/baselines/reference/decoratorOnClassProperty13.types +++ b/tests/baselines/reference/decoratorOnClassProperty13.types @@ -3,7 +3,7 @@ === decoratorOnClassProperty13.ts === declare function dec(target: any, propertyKey: string, desc: PropertyDescriptor): void; >dec : (target: any, propertyKey: string, desc: PropertyDescriptor) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >target : any >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassProperty6.types b/tests/baselines/reference/decoratorOnClassProperty6.types index 6439bfa2261dd..7038b5d5e3132 100644 --- a/tests/baselines/reference/decoratorOnClassProperty6.types +++ b/tests/baselines/reference/decoratorOnClassProperty6.types @@ -3,7 +3,7 @@ === decoratorOnClassProperty6.ts === declare function dec(target: Function): void; >dec : (target: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >target : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassProperty7.types b/tests/baselines/reference/decoratorOnClassProperty7.types index abe4710ff6a24..adbb6f47a8bbd 100644 --- a/tests/baselines/reference/decoratorOnClassProperty7.types +++ b/tests/baselines/reference/decoratorOnClassProperty7.types @@ -3,7 +3,7 @@ === decoratorOnClassProperty7.ts === declare function dec(target: Function, propertyKey: string | symbol, paramIndex: number): void; >dec : (target: Function, propertyKey: string | symbol, paramIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : Function > : ^^^^^^^^ >propertyKey : string | symbol diff --git a/tests/baselines/reference/decoratorOnEnum.types b/tests/baselines/reference/decoratorOnEnum.types index edcac754bfb2c..baba1221a3166 100644 --- a/tests/baselines/reference/decoratorOnEnum.types +++ b/tests/baselines/reference/decoratorOnEnum.types @@ -3,7 +3,7 @@ === decoratorOnEnum.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnEnum2.types b/tests/baselines/reference/decoratorOnEnum2.types index f7829b3029987..907e36e1e773e 100644 --- a/tests/baselines/reference/decoratorOnEnum2.types +++ b/tests/baselines/reference/decoratorOnEnum2.types @@ -3,7 +3,7 @@ === decoratorOnEnum2.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnFunctionDeclaration.types b/tests/baselines/reference/decoratorOnFunctionDeclaration.types index 1c7bb48cb32f5..395401bdb4980 100644 --- a/tests/baselines/reference/decoratorOnFunctionDeclaration.types +++ b/tests/baselines/reference/decoratorOnFunctionDeclaration.types @@ -3,7 +3,7 @@ === decoratorOnFunctionDeclaration.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnFunctionExpression.types b/tests/baselines/reference/decoratorOnFunctionExpression.types index e080af9716e77..d3b787b45ba50 100644 --- a/tests/baselines/reference/decoratorOnFunctionExpression.types +++ b/tests/baselines/reference/decoratorOnFunctionExpression.types @@ -3,7 +3,7 @@ === decoratorOnFunctionExpression.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnFunctionParameter.types b/tests/baselines/reference/decoratorOnFunctionParameter.types index 023914cbafb3c..0d566e80004fa 100644 --- a/tests/baselines/reference/decoratorOnFunctionParameter.types +++ b/tests/baselines/reference/decoratorOnFunctionParameter.types @@ -15,7 +15,7 @@ class C { n = true; } function direct(@dec this: C) { return this.n; } >direct : (this: C) => boolean -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ >dec : any > : ^^^ >this : C @@ -29,7 +29,7 @@ function direct(@dec this: C) { return this.n; } function called(@dec() this: C) { return this.n; } >called : (this: C) => boolean -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ >dec() : any > : ^^^ >dec : any diff --git a/tests/baselines/reference/decoratorOnImportEquals1.types b/tests/baselines/reference/decoratorOnImportEquals1.types index a04e29fc8c44a..3da96063f1e69 100644 --- a/tests/baselines/reference/decoratorOnImportEquals1.types +++ b/tests/baselines/reference/decoratorOnImportEquals1.types @@ -3,7 +3,7 @@ === decoratorOnImportEquals1.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnImportEquals2.types b/tests/baselines/reference/decoratorOnImportEquals2.types index 8df66c03e3d87..d34ed96101e07 100644 --- a/tests/baselines/reference/decoratorOnImportEquals2.types +++ b/tests/baselines/reference/decoratorOnImportEquals2.types @@ -11,7 +11,7 @@ import lib = require('./decoratorOnImportEquals2_0'); declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnInterface.types b/tests/baselines/reference/decoratorOnInterface.types index 8e7385452639f..2d6cf8938c357 100644 --- a/tests/baselines/reference/decoratorOnInterface.types +++ b/tests/baselines/reference/decoratorOnInterface.types @@ -3,7 +3,7 @@ === decoratorOnInterface.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnInternalModule.types b/tests/baselines/reference/decoratorOnInternalModule.types index 32d2494523d2b..6d9884173ee2c 100644 --- a/tests/baselines/reference/decoratorOnInternalModule.types +++ b/tests/baselines/reference/decoratorOnInternalModule.types @@ -3,7 +3,7 @@ === decoratorOnInternalModule.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnTypeAlias.types b/tests/baselines/reference/decoratorOnTypeAlias.types index 152727a52f0c0..eb6c103886178 100644 --- a/tests/baselines/reference/decoratorOnTypeAlias.types +++ b/tests/baselines/reference/decoratorOnTypeAlias.types @@ -3,7 +3,7 @@ === decoratorOnTypeAlias.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorOnVar.types b/tests/baselines/reference/decoratorOnVar.types index 43163567c3338..19eade5b46a0d 100644 --- a/tests/baselines/reference/decoratorOnVar.types +++ b/tests/baselines/reference/decoratorOnVar.types @@ -3,7 +3,7 @@ === decoratorOnVar.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/decoratorReferenceOnOtherProperty.types b/tests/baselines/reference/decoratorReferenceOnOtherProperty.types index d0aa68d520bfd..a776ab992d5dd 100644 --- a/tests/baselines/reference/decoratorReferenceOnOtherProperty.types +++ b/tests/baselines/reference/decoratorReferenceOnOtherProperty.types @@ -22,7 +22,7 @@ class Bar { yoha(@foo yoha, bar: Yoha) {} >yoha : (yoha: any, bar: Yoha) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : (...args: any[]) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^ >yoha : any @@ -49,7 +49,7 @@ class Bar { yoha(@foo yoha, ...bar: Yoha[]) {} >yoha : (yoha: any, ...bar: Yoha[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : (...args: any[]) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^ >yoha : any diff --git a/tests/baselines/reference/decoratorWithUnderscoreMethod.types b/tests/baselines/reference/decoratorWithUnderscoreMethod.types index 856a9187e91eb..e159f01a9fe48 100644 --- a/tests/baselines/reference/decoratorWithUnderscoreMethod.types +++ b/tests/baselines/reference/decoratorWithUnderscoreMethod.types @@ -11,11 +11,11 @@ declare var console : { log(arg: string): void }; function dec(): Function { >dec : () => Function -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ return function (target: any, propKey: string, descr: PropertyDescriptor): void { >function (target: any, propKey: string, descr: PropertyDescriptor): void { console.log(target[propKey]); //logs undefined //propKey has three underscores as prefix, but the method has only two underscores } : (target: any, propKey: string, descr: PropertyDescriptor) => void -> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >target : any >propKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorsOnComputedProperties.types b/tests/baselines/reference/decoratorsOnComputedProperties.types index 6248d46d5d71d..84328ade1b307 100644 --- a/tests/baselines/reference/decoratorsOnComputedProperties.types +++ b/tests/baselines/reference/decoratorsOnComputedProperties.types @@ -3,7 +3,7 @@ === decoratorsOnComputedProperties.ts === function x(o: object, k: PropertyKey) { } >x : (o: object, k: PropertyKey) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >o : object > : ^^^^^^ >k : PropertyKey diff --git a/tests/baselines/reference/deepComparisons.types b/tests/baselines/reference/deepComparisons.types index 55b9e966c7233..2e6ee1f008f2c 100644 --- a/tests/baselines/reference/deepComparisons.types +++ b/tests/baselines/reference/deepComparisons.types @@ -119,7 +119,7 @@ type F = {} & ( declare function f(): F; >f : () => F -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ function g() { >g : () => F diff --git a/tests/baselines/reference/deepElaborationsIntoArrowExpressions.types b/tests/baselines/reference/deepElaborationsIntoArrowExpressions.types index cd54333fe32a9..b196726905fc0 100644 --- a/tests/baselines/reference/deepElaborationsIntoArrowExpressions.types +++ b/tests/baselines/reference/deepElaborationsIntoArrowExpressions.types @@ -31,7 +31,7 @@ interface Foo { function foo1(): () => Foo { >foo1 : () => () => Foo -> : ^^^^^^ ^^^ +> : ^^^^^^ return () => ({a: ''}); >() => ({a: ''}) : () => { a: string; } @@ -48,7 +48,7 @@ function foo1(): () => Foo { function foo3(): Foo[] { >foo3 : () => Foo[] -> : ^^^^^^^^^ +> : ^^^^^^ return [{a: ''}]; >[{a: ''}] : { a: string; }[] diff --git a/tests/baselines/reference/deepKeysIndexing.types b/tests/baselines/reference/deepKeysIndexing.types index 08b23badbbf25..90d9911c8e1cb 100644 --- a/tests/baselines/reference/deepKeysIndexing.types +++ b/tests/baselines/reference/deepKeysIndexing.types @@ -64,7 +64,7 @@ class Bar { broken< >broken : , V extends O[K1][K2]>(k1: K1, k2: K2, value: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ K1 extends keyof O, K2 extends keys2broken, @@ -79,7 +79,7 @@ class Bar { working< >working : , V extends O[K1][K2]>(k1: K1, k2: K2, value: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ K1 extends keyof O, K2 extends keys2working, @@ -94,7 +94,7 @@ class Bar { workaround< >workaround : , V extends O[K1][K2]>(k1: K1, k2: K2, value: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ K1 extends keyof O, K2 extends keys2workaround, diff --git a/tests/baselines/reference/deeplyNestedAssignabilityIssue.types b/tests/baselines/reference/deeplyNestedAssignabilityIssue.types index 66ee98b07951a..113e8ab1336b6 100644 --- a/tests/baselines/reference/deeplyNestedAssignabilityIssue.types +++ b/tests/baselines/reference/deeplyNestedAssignabilityIssue.types @@ -10,15 +10,15 @@ interface A { interface Large { something: { >something : { another: { more: { thing: A; }; yetstill: { another: A; }; }; } -> : ^^^^^^^^^^^ ^ ^ ^^^ +> : ^^^^^^^^^^^ ^^^ another: { >another : { more: { thing: A; }; yetstill: { another: A; }; } -> : ^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ more: { >more : { thing: A; } -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ thing: A; >thing : A @@ -26,7 +26,7 @@ interface Large { } yetstill: { >yetstill : { another: A; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ another: A; >another : A diff --git a/tests/baselines/reference/deeplyNestedCheck.types b/tests/baselines/reference/deeplyNestedCheck.types index 0129d076bf92d..74bcdf4c50326 100644 --- a/tests/baselines/reference/deeplyNestedCheck.types +++ b/tests/baselines/reference/deeplyNestedCheck.types @@ -6,7 +6,7 @@ interface DataSnapshot { child(path: string): DataSnapshot; >child : (path: string) => DataSnapshot -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >path : string > : ^^^^^^ } @@ -14,7 +14,7 @@ interface DataSnapshot { interface Snapshot extends DataSnapshot { child>(path: U): Snapshot; >child : >(path: U) => Snapshot -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >path : U > : ^ } diff --git a/tests/baselines/reference/deeplyNestedConstraints.types b/tests/baselines/reference/deeplyNestedConstraints.types index 404d9fa129672..d87e92690f3fa 100644 --- a/tests/baselines/reference/deeplyNestedConstraints.types +++ b/tests/baselines/reference/deeplyNestedConstraints.types @@ -17,7 +17,7 @@ class BufferPool> { setArray2(_: K, array: Extract>) { >setArray2 : (_: K, array: Extract>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >_ : K > : ^ >array : Extract> diff --git a/tests/baselines/reference/deeplyNestedMappedTypes.types b/tests/baselines/reference/deeplyNestedMappedTypes.types index 9b2c2b14eb4a2..5a8bf4666f2c0 100644 --- a/tests/baselines/reference/deeplyNestedMappedTypes.types +++ b/tests/baselines/reference/deeplyNestedMappedTypes.types @@ -343,7 +343,7 @@ export const Output = Type.Object({ function problematicFunction1(ors: Input[]): Output[] { >problematicFunction1 : (ors: Input[]) => Output[] -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >ors : { level1: { level2: { foo: string; }; }; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -354,7 +354,7 @@ function problematicFunction1(ors: Input[]): Output[] { function problematicFunction2(ors: Input[]): T { >problematicFunction2 : (ors: Input[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >ors : { level1: { level2: { foo: string; }; }; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -365,7 +365,7 @@ function problematicFunction2(ors: Input[]): T { function problematicFunction3(ors: (typeof Input.static)[]): Output[] { >problematicFunction3 : (ors: (typeof Input.static)[]) => Output[] -> : ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >ors : { level1: { level2: { foo: string; }; }; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Input.static : { level1: { level2: { foo: string; }; }; } @@ -542,12 +542,12 @@ declare namespace Type { function Object(object: T): TObject >Object : (object: T) => TObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >object : T > : ^ function String(): TString >String : () => TString -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/defaultBestCommonTypesHaveDecls.types b/tests/baselines/reference/defaultBestCommonTypesHaveDecls.types index 9d9b9d94985d8..cbc7423e0f692 100644 --- a/tests/baselines/reference/defaultBestCommonTypesHaveDecls.types +++ b/tests/baselines/reference/defaultBestCommonTypesHaveDecls.types @@ -27,7 +27,7 @@ obj2.length; function concat(x: T, y: T): T { return null; } >concat : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -57,7 +57,7 @@ var elementCount = result.length; function concat2(x: T, y: U) { return null; } >concat2 : (x: T, y: U) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/defaultDeclarationEmitDefaultImport.types b/tests/baselines/reference/defaultDeclarationEmitDefaultImport.types index 72bbdf172675b..7f8078162366f 100644 --- a/tests/baselines/reference/defaultDeclarationEmitDefaultImport.types +++ b/tests/baselines/reference/defaultDeclarationEmitDefaultImport.types @@ -3,7 +3,7 @@ === root.ts === export function getSomething(): Something { return null as any } >getSomething : () => Something -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >null as any : any export default class Something {} diff --git a/tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.types b/tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.types index 8dfa8f2f9e504..1b0d1691886ec 100644 --- a/tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.types +++ b/tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.types @@ -12,9 +12,9 @@ export interface Things { } export function make(x: { new (): CTor & {props: P} }): Things { >make : (x: { new (): CTor & { props: P; }; }) => Things -> : ^^^^^^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^ ^ ^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : new () => CTor & { props: P; } -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ >props : P > : ^ diff --git a/tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.types b/tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.types index f5d2b0782c4a1..c61efe8e78662 100644 --- a/tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.types +++ b/tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.types @@ -16,9 +16,9 @@ export interface Things { } export function make(x: { new (): CTor & {props: P} }): Things { >make : (x: { new (): CTor & { props: P; }; }) => Things -> : ^^^^^^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^ ^ ^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : new () => CTor & { props: P; } -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ >props : P > : ^ diff --git a/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.types b/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.types index 0851b5e3f6dd3..2a7cf136f41b7 100644 --- a/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.types +++ b/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.types @@ -205,7 +205,7 @@ type OptionalNullableString = string | null | undefined; function allowsNull(val: OptionalNullableString = "") { >allowsNull : (val?: OptionalNullableString) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >val : OptionalNullableString > : ^^^^^^^^^^^^^^^^^^^^^^ >"" : "" diff --git a/tests/baselines/reference/deferredLookupTypeResolution.types b/tests/baselines/reference/deferredLookupTypeResolution.types index d37d8fc527fbf..80145a4f903b7 100644 --- a/tests/baselines/reference/deferredLookupTypeResolution.types +++ b/tests/baselines/reference/deferredLookupTypeResolution.types @@ -38,7 +38,7 @@ type T2 = ObjectHasKey<{ a: string }, 'b'>; // 'false' declare function f1(a: A, b: B): { [P in A | B]: any }; >f1 : (a: A, b: B) => { [P in A | B]: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B @@ -46,7 +46,7 @@ declare function f1(a: A, b: B): { [P in A | function f2(a: A) { >f2 : (a: A) => { [P in A | "x"]: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : A > : ^ diff --git a/tests/baselines/reference/dependentDestructuredVariables.types b/tests/baselines/reference/dependentDestructuredVariables.types index 0b37d0e54989a..27d694fc6330b 100644 --- a/tests/baselines/reference/dependentDestructuredVariables.types +++ b/tests/baselines/reference/dependentDestructuredVariables.types @@ -25,7 +25,7 @@ type Action = function f10({ kind, payload }: Action) { >f10 : ({ kind, payload }: Action) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" > : ^^^^^^^^^ >payload : string | number @@ -71,7 +71,7 @@ function f10({ kind, payload }: Action) { function f11(action: Action) { >f11 : (action: Action) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >action : Action > : ^^^^^^ @@ -123,7 +123,7 @@ function f11(action: Action) { function f12({ kind, payload }: Action) { >f12 : ({ kind, payload }: Action) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" > : ^^^^^^^^^ >payload : string | number @@ -173,7 +173,7 @@ function f12({ kind, payload }: Action) { // repro #50206 function f13({ kind, payload }: T) { >f13 : ({ kind, payload }: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" > : ^^^^^^^^^ >payload : string | number @@ -219,7 +219,7 @@ function f13({ kind, payload }: T) { function f14(t: T) { >f14 : (t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : T > : ^ @@ -287,7 +287,7 @@ type Action2 = function f20({ kind, payload }: Action2) { >f20 : ({ kind, payload }: Action2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" > : ^^^^^^^^^ >payload : string | number | undefined @@ -338,7 +338,7 @@ function f20({ kind, payload }: Action2) { function f21(action: Action2) { >f21 : (action: Action2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >action : Action2 > : ^^^^^^^ @@ -395,7 +395,7 @@ function f21(action: Action2) { function f22(action: Action2) { >f22 : (action: Action2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >action : Action2 > : ^^^^^^^ @@ -456,7 +456,7 @@ function f22(action: Action2) { function f23({ kind, payload }: Action2) { >f23 : ({ kind, payload }: Action2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" > : ^^^^^^^^^ >payload : string | number | undefined @@ -538,7 +538,7 @@ type Foo = function f30({ kind, isA }: Foo) { >f30 : ({ kind, isA }: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" | "C" > : ^^^^^^^^^^^^^^^ >isA : boolean @@ -601,7 +601,7 @@ type Args = ['A', number] | ['B', string] function f40(...[kind, data]: Args) { >f40 : (...[kind, data]: Args) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >kind : "A" | "B" > : ^^^^^^^^^ >data : string | number @@ -665,19 +665,19 @@ type AB = A | B; declare function printValue(t: T): void; >printValue : (t: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >t : T > : ^ declare function printValueList(t: Array): void; >printValueList : (t: Array) => void -> : ^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >t : T[] > : ^^^ function unrefined1(ab: AB): void { >unrefined1 : (ab: AB) => void -> : ^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^ ^^^^^ >ab : AB > : ^^^^^ @@ -740,9 +740,9 @@ type Action3 = const reducerBroken = (state: number, { type, payload }: Action3) => { >reducerBroken : (state: number, { type, payload }: Action3) => number -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >(state: number, { type, payload }: Action3) => { switch (type) { case 'add': return state + payload.toAdd; case 'remove': return state - payload.toRemove; }} : (state: number, { type, payload }: Action3) => number -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >state : number > : ^^^^^^ >type : "add" | "remove" @@ -823,9 +823,9 @@ if (!done) { declare function f50(cb: (...args: Args) => void): void >f50 : (cb: (...args: Args) => void) => void -> : ^^^^^ ^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (...args: Args) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : Args > : ^^^^ @@ -968,11 +968,11 @@ const f52: (...args: ['A', number] | ['B']) => void = (kind, payload?) => { declare function readFile(path: string, callback: (...args: [err: null, data: unknown[]] | [err: Error, data: undefined]) => void): void; >readFile : (path: string, callback: (...args: [err: null, data: unknown[]] | [err: Error, data: undefined]) => void) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >path : string > : ^^^^^^ >callback : (...args: [err: null, data: unknown[]] | [err: Error, data: undefined]) => void -> : ^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [err: null, data: unknown[]] | [err: Error, data: undefined] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1029,7 +1029,7 @@ type ReducerArgs = ["add", { a: number, b: number }] | ["concat", { firstArr: an const reducer: (...args: ReducerArgs) => void = (op, args) => { >reducer : (...args: ReducerArgs) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : ReducerArgs > : ^^^^^^^^^^^ >(op, args) => { switch (op) { case "add": console.log(args.a + args.b); break; case "concat": console.log(args.firstArr.concat(args.secondArr)); break; }} : (op: "add" | "concat", args: { a: number; b: number; } | { firstArr: any[]; secondArr: any[]; }) => void @@ -1223,7 +1223,7 @@ type FooAsyncMethod = { method(...args: >method : (...args: [type: "str", cb: (e: string) => void] | [type: "num", cb: (e: number) => void]) => Promise -> : ^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [type: "str", cb: (e: string) => void] | [type: "num", cb: (e: number) => void] > : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ @@ -1286,7 +1286,7 @@ type FooGenMethod = { method(...args: >method : (...args: [type: "str", cb: (e: string) => void] | [type: "num", cb: (e: number) => void]) => Generator -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [type: "str", cb: (e: string) => void] | [type: "num", cb: (e: number) => void] > : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ @@ -1349,7 +1349,7 @@ type FooAsyncGenMethod = { method(...args: >method : (...args: [type: "str", cb: (e: string) => void] | [type: "num", cb: (e: number) => void]) => AsyncGenerator -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [type: "str", cb: (e: string) => void] | [type: "num", cb: (e: number) => void] > : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ @@ -1722,11 +1722,11 @@ declare class Client { public on(event: K, listener: (...args: ClientEvents[K]) => void): void; >on : (event: K, listener: (...args: ClientEvents[K]) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >event : K > : ^ >listener : (...args: ClientEvents[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : ClientEvents[K] > : ^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.types b/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.types index adf7db5be1e6f..74204ef0b204b 100644 --- a/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.types +++ b/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.types @@ -3,7 +3,7 @@ === dependentDestructuredVariablesFromNestedPatterns.ts === function test1(arg: [[undefined, Error] | [number, undefined]]) { >test1 : (arg: [[undefined, Error] | [number, undefined]]) => void -> : ^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : [[undefined, Error] | [number, undefined]] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -29,7 +29,7 @@ function test1(arg: [[undefined, Error] | [number, undefined]]) { function test2([[p1, p1Error]]: [[undefined, Error] | [number, undefined]]) { >test2 : ([[p1, p1Error]]: [[undefined, Error] | [number, undefined]]) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >p1 : number | undefined > : ^^^^^^^^^^^^^^^^^^ >p1Error : Error | undefined @@ -49,9 +49,9 @@ function test2([[p1, p1Error]]: [[undefined, Error] | [number, undefined]]) { async function myAllSettled(fn: () => T) { >myAllSettled : (fn: () => T) => Promise<{ [K in keyof T]: [undefined, Error] | [Awaited, undefined]; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : () => T -> : ^^^^^^^ +> : ^^^^^^ const promises = await Promise.allSettled(fn()); >promises : { -readonly [P in keyof T]: PromiseSettledResult>; } @@ -194,7 +194,7 @@ async function test3() { function test4([[p1, p1Error]]: [[undefined, Error] | [number, undefined]]) { >test4 : ([[p1, p1Error]]: [[undefined, Error] | [number, undefined]]) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >p1 : number | undefined > : ^^^^^^^^^^^^^^^^^^ >p1Error : Error | undefined diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers.types b/tests/baselines/reference/derivedClassOverridesProtectedMembers.types index 21cc6e9d7f33b..12d7621016a18 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers.types +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers.types @@ -27,7 +27,7 @@ class Base { protected b(a: typeof x) { } >b : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -49,7 +49,7 @@ class Base { protected d: (a: typeof x) => void; >d : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -63,7 +63,7 @@ class Base { protected static s(a: typeof x) { } >s : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -85,7 +85,7 @@ class Base { protected static u: (a: typeof x) => void; >u : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -112,7 +112,7 @@ class Derived extends Base { protected b(a: typeof y) { } >b : (a: typeof y) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -134,7 +134,7 @@ class Derived extends Base { protected d: (a: typeof y) => void; >d : (a: typeof y) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -148,7 +148,7 @@ class Derived extends Base { protected static s(a: typeof y) { } >s : (a: typeof y) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -170,7 +170,7 @@ class Derived extends Base { protected static u: (a: typeof y) => void; >u : (a: typeof y) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers2.types b/tests/baselines/reference/derivedClassOverridesProtectedMembers2.types index 368aeef798e21..142fa6249f7fc 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers2.types +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers2.types @@ -27,7 +27,7 @@ class Base { protected b(a: typeof x) { } >b : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -49,7 +49,7 @@ class Base { protected d: (a: typeof x) => void ; >d : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -63,7 +63,7 @@ class Base { protected static s(a: typeof x) { } >s : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -85,7 +85,7 @@ class Base { protected static u: (a: typeof x) => void ; >u : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -113,7 +113,7 @@ class Derived extends Base { b(a: typeof y) { } >b : (a: typeof y) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -135,7 +135,7 @@ class Derived extends Base { d: (a: typeof y) => void; >d : (a: typeof y) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -149,7 +149,7 @@ class Derived extends Base { static s(a: typeof y) { } >s : (a: typeof y) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -171,7 +171,7 @@ class Derived extends Base { static u: (a: typeof y) => void; >u : (a: typeof y) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers3.types b/tests/baselines/reference/derivedClassOverridesProtectedMembers3.types index 0b210aa4a9bab..45afca5c2c9d7 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers3.types +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers3.types @@ -27,7 +27,7 @@ class Base { b(a: typeof x) { } >b : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -49,7 +49,7 @@ class Base { d: (a: typeof x) => void; >d : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -63,7 +63,7 @@ class Base { static s(a: typeof x) { } >s : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -85,7 +85,7 @@ class Base { static u: (a: typeof x) => void; >u : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -133,7 +133,7 @@ class Derived2 extends Base { protected b(a: typeof x) { } >b : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -212,7 +212,7 @@ class Derived5 extends Base { protected d: (a: typeof x) => void ; >d : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -264,7 +264,7 @@ class Derived7 extends Base { protected static s(a: typeof x) { } >s : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -343,7 +343,7 @@ class Derived10 extends Base { protected static u: (a: typeof x) => void ; >u : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } diff --git a/tests/baselines/reference/derivedClassOverridesPublicMembers.types b/tests/baselines/reference/derivedClassOverridesPublicMembers.types index ff3917b4f4a5c..dff1cdb7df7a8 100644 --- a/tests/baselines/reference/derivedClassOverridesPublicMembers.types +++ b/tests/baselines/reference/derivedClassOverridesPublicMembers.types @@ -27,7 +27,7 @@ class Base { b(a: typeof x) { } >b : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -49,7 +49,7 @@ class Base { d: (a: typeof x) => void; >d : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -63,7 +63,7 @@ class Base { static s(a: typeof x) { } >s : (a: typeof x) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -85,7 +85,7 @@ class Base { static u: (a: typeof x) => void; >u : (a: typeof x) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; } > : ^^^^^^^^^^^^^^^^ >x : { foo: string; } @@ -112,7 +112,7 @@ class Derived extends Base { b(a: typeof y) { } >b : (a: typeof y) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -134,7 +134,7 @@ class Derived extends Base { d: (a: typeof y) => void; >d : (a: typeof y) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -148,7 +148,7 @@ class Derived extends Base { static s(a: typeof y) { } >s : (a: typeof y) => void -> : ^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } @@ -170,7 +170,7 @@ class Derived extends Base { static u: (a: typeof y) => void; >u : (a: typeof y) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >a : { foo: string; bar: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { foo: string; bar: string; } diff --git a/tests/baselines/reference/derivedClassTransitivity3.types b/tests/baselines/reference/derivedClassTransitivity3.types index b13ed861c7cde..c2686df55978e 100644 --- a/tests/baselines/reference/derivedClassTransitivity3.types +++ b/tests/baselines/reference/derivedClassTransitivity3.types @@ -9,7 +9,7 @@ class C { foo(x: T, y: T) { } >foo : (x: T, y: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -24,7 +24,7 @@ class D extends C { foo(x: T) { } // ok to drop parameters >foo : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ } @@ -37,7 +37,7 @@ class E extends D { foo(x: T, y?: number) { } // ok to add optional parameters >foo : (x: T, y?: number) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^^^^^ >x : T > : ^ >y : number diff --git a/tests/baselines/reference/derivedGenericClassWithAny.types b/tests/baselines/reference/derivedGenericClassWithAny.types index 131ba868d18c6..29f75b4c41e75 100644 --- a/tests/baselines/reference/derivedGenericClassWithAny.types +++ b/tests/baselines/reference/derivedGenericClassWithAny.types @@ -15,7 +15,7 @@ class C { foo(): T { >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ return null; } @@ -83,7 +83,7 @@ class E extends D { foo(): T { >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ return ''; // error >'' : "" diff --git a/tests/baselines/reference/derivedInterfaceCallSignature.types b/tests/baselines/reference/derivedInterfaceCallSignature.types index 862d5b1f43573..e1a1367a23f61 100644 --- a/tests/baselines/reference/derivedInterfaceCallSignature.types +++ b/tests/baselines/reference/derivedInterfaceCallSignature.types @@ -44,7 +44,7 @@ interface D3SvgPath { interface D3SvgArea extends D3SvgPath { x(x: (data: any, index?: number) => number): D3SvgArea; >x : (x: (data: any, index?: number) => number) => D3SvgArea -> : ^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : (data: any, index?: number) => number > : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >data : any @@ -54,7 +54,7 @@ interface D3SvgArea extends D3SvgPath { y(y: (data: any, index?: number) => number): D3SvgArea; >y : (y: (data: any, index?: number) => number) => D3SvgArea -> : ^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >y : (data: any, index?: number) => number > : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >data : any @@ -72,13 +72,13 @@ interface D3SvgArea extends D3SvgPath { y0(y: number): D3SvgArea; >y0 : { (): (data: any, index?: number) => number; (y: number): D3SvgArea; (y: (data: any, index?: number) => number): D3SvgArea; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : number > : ^^^^^^ y0(y: (data: any, index?: number) => number): D3SvgArea; >y0 : { (): (data: any, index?: number) => number; (y: number): D3SvgArea; (y: (data: any, index?: number) => number): D3SvgArea; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >y : (data: any, index?: number) => number > : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >data : any @@ -96,13 +96,13 @@ interface D3SvgArea extends D3SvgPath { y1(y: number): D3SvgArea; >y1 : { (): (data: any, index?: number) => number; (y: number): D3SvgArea; (y: (data: any, index?: number) => number): D3SvgArea; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : number > : ^^^^^^ y1(y: (data: any, index?: number) => number): D3SvgArea; >y1 : { (): (data: any, index?: number) => number; (y: number): D3SvgArea; (y: (data: any, index?: number) => number): D3SvgArea; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >y : (data: any, index?: number) => number > : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >data : any @@ -112,19 +112,19 @@ interface D3SvgArea extends D3SvgPath { interpolate(interpolator: string): D3SvgArea; >interpolate : (interpolator: string) => D3SvgArea -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >interpolator : string > : ^^^^^^ tension(tension: number): D3SvgArea; >tension : (tension: number) => D3SvgArea -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >tension : number > : ^^^^^^ defined(defined: (data: any, index?: number) => boolean): D3SvgArea; >defined : (defined: (data: any, index?: number) => boolean) => D3SvgArea -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >defined : (data: any, index?: number) => boolean > : ^^^^^^^ ^^^^^^^^^^ ^^^^^ >data : any diff --git a/tests/baselines/reference/destructureOfVariableSameAsShorthand.types b/tests/baselines/reference/destructureOfVariableSameAsShorthand.types index a2caf34f32a9f..f87dfc9d8b118 100644 --- a/tests/baselines/reference/destructureOfVariableSameAsShorthand.types +++ b/tests/baselines/reference/destructureOfVariableSameAsShorthand.types @@ -10,7 +10,7 @@ interface AxiosResponse { declare function get>(): Promise; >get : >() => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ async function main() { >main : () => Promise diff --git a/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.types b/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.types index 223b3c1771938..f6af4d60eed55 100644 --- a/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.types +++ b/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.types @@ -3,7 +3,7 @@ === destructuredMaappedTypeIsNotImplicitlyAny.ts === function foo(key: T, obj: { [_ in T]: number }) { >foo : (key: T, obj: { [_ in T]: number; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >key : T > : ^ >obj : { [_ in T]: number; } diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.types b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.types index 8f747af0db298..0ee52d6e88b23 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.types +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.types @@ -46,7 +46,7 @@ interface J extends Array { function bar(): J { >bar : () => J -> : ^^^^^^^ +> : ^^^^^^ return <[number, number, number]>[1, 2, 3]; ><[number, number, number]>[1, 2, 3] : [number, number, number] @@ -120,7 +120,7 @@ interface F { function foo(idx: number): F { >foo : (idx: number) => F -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >idx : number > : ^^^^^^ diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.types b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.types index 5139c68f79af7..17fcfbcddd41a 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.types +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.types @@ -100,7 +100,7 @@ interface F { function foo(): F { >foo : () => F -> : ^^^^^^^ +> : ^^^^^^ return { >{ 1: true } : { 1: true; } @@ -117,7 +117,7 @@ function foo(): F { function bar(): F { >bar : () => F -> : ^^^^^^^ +> : ^^^^^^ return { >{ 2: true } : { 2: true; } @@ -158,7 +158,7 @@ interface F1 { function foo1(): F1 { >foo1 : () => F1 -> : ^^^^^^^^ +> : ^^^^^^ return { >{ "prop1": 2 } : { prop1: number; } diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.types b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.types index c42ce7f996d24..842b93dd57c1e 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.types +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.types @@ -100,7 +100,7 @@ interface F { function foo(): F { >foo : () => F -> : ^^^^^^^ +> : ^^^^^^ return { >{ 1: true } : { 1: true; } @@ -117,7 +117,7 @@ function foo(): F { function bar(): F { >bar : () => F -> : ^^^^^^^ +> : ^^^^^^ return { >{ 2: true } : { 2: true; } @@ -158,7 +158,7 @@ interface F1 { function foo1(): F1 { >foo1 : () => F1 -> : ^^^^^^^^ +> : ^^^^^^ return { >{ "prop1": 2 } : { prop1: number; } diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES5.types b/tests/baselines/reference/destructuringParameterDeclaration3ES5.types index 181602f4dca8a..fb739477ab5ed 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES5.types +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES5.types @@ -33,7 +33,7 @@ function a2(...a) { } function a3(...a: Array) { } >a3 : (...a: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >a : String[] > : ^^^^^^^^ @@ -219,7 +219,7 @@ a11([1, 2]); // Parameter type is number[] // Rest parameter with generic function foo(...a: T[]) { } >foo : (...a: T[]) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ @@ -263,7 +263,7 @@ const enum E1 { a, b } function foo1(...a: T[]) { } >foo1 : (...a: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.types b/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.types index fae8d08414723..e9cc3981272b6 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.types +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.types @@ -33,7 +33,7 @@ function a2(...a) { } function a3(...a: Array) { } >a3 : (...a: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >a : String[] > : ^^^^^^^^ @@ -219,7 +219,7 @@ a11([1, 2]); // Parameter type is number[] // Rest parameter with generic function foo(...a: T[]) { } >foo : (...a: T[]) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ @@ -263,7 +263,7 @@ const enum E1 { a, b } function foo1(...a: T[]) { } >foo1 : (...a: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES6.types b/tests/baselines/reference/destructuringParameterDeclaration3ES6.types index b410cdb2f1153..451d2db3fd967 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES6.types +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES6.types @@ -33,7 +33,7 @@ function a2(...a) { } function a3(...a: Array) { } >a3 : (...a: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >a : String[] > : ^^^^^^^^ @@ -219,7 +219,7 @@ a11([1, 2]); // Parameter type is number[] // Rest parameter with generic function foo(...a: T[]) { } >foo : (...a: T[]) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ @@ -263,7 +263,7 @@ const enum E1 { a, b } function foo1(...a: T[]) { } >foo1 : (...a: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ diff --git a/tests/baselines/reference/destructuringParameterDeclaration4.types b/tests/baselines/reference/destructuringParameterDeclaration4.types index 00d328450ad43..2609ccfc5263c 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration4.types +++ b/tests/baselines/reference/destructuringParameterDeclaration4.types @@ -33,7 +33,7 @@ function a1(...x: (number|string)[]) { } function a2(...a: someArray) { } // Error, rest parameter must be array type >a2 : (...a: someArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >a : someArray > : ^^^^^^^^^ @@ -173,7 +173,7 @@ class C { // Rest parameter with generic function foo1(...a: T[]) { } >foo1 : (...a: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T[] > : ^^^ diff --git a/tests/baselines/reference/destructuringParameterDeclaration5.types b/tests/baselines/reference/destructuringParameterDeclaration5.types index 8acfd676c6c6e..d1561cb015700 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration5.types +++ b/tests/baselines/reference/destructuringParameterDeclaration5.types @@ -75,7 +75,7 @@ function d0({x} = { x: new Class() }) { } function d1({x}: { x: F }) { } >d1 : ({ x }: { x: F; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : F > : ^ >x : F @@ -83,7 +83,7 @@ function d1({x}: { x: F }) { } function d2({x}: { x: Class }) { } >d2 : ({ x }: { x: Class; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : Class > : ^^^^^ >x : Class @@ -91,7 +91,7 @@ function d2({x}: { x: Class }) { } function d3({y}: { y: D }) { } >d3 : ({ y }: { y: D; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : D > : ^ >y : D diff --git a/tests/baselines/reference/destructuringParameterDeclaration7ES5.types b/tests/baselines/reference/destructuringParameterDeclaration7ES5.types index cf50cb64c1e27..bf8559eeded2e 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration7ES5.types +++ b/tests/baselines/reference/destructuringParameterDeclaration7ES5.types @@ -13,7 +13,7 @@ interface ISomething { function foo({}, {foo, bar}: ISomething) {} >foo : ({}: {}, { foo, bar }: ISomething) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : string > : ^^^^^^ >bar : string @@ -21,7 +21,7 @@ function foo({}, {foo, bar}: ISomething) {} function baz([], {foo, bar}: ISomething) {} >baz : ([]: any[], { foo, bar }: ISomething) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : string > : ^^^^^^ >bar : string diff --git a/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.types b/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.types index 11427c48eed49..4025db634b4a9 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.types +++ b/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.types @@ -13,7 +13,7 @@ interface ISomething { function foo({}, {foo, bar}: ISomething) {} >foo : ({}: {}, { foo, bar }: ISomething) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : string > : ^^^^^^ >bar : string @@ -21,7 +21,7 @@ function foo({}, {foo, bar}: ISomething) {} function baz([], {foo, bar}: ISomething) {} >baz : ([]: any[], { foo, bar }: ISomething) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : string > : ^^^^^^ >bar : string diff --git a/tests/baselines/reference/destructuringUnspreadableIntoRest.types b/tests/baselines/reference/destructuringUnspreadableIntoRest.types index 15d965ae456fc..59d3d2b09802c 100644 --- a/tests/baselines/reference/destructuringUnspreadableIntoRest.types +++ b/tests/baselines/reference/destructuringUnspreadableIntoRest.types @@ -271,7 +271,7 @@ class A { function destructure(x: T) { >destructure : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/destructuringWithConstraint.types b/tests/baselines/reference/destructuringWithConstraint.types index 59c37b1a3a601..0d917ec5b2949 100644 --- a/tests/baselines/reference/destructuringWithConstraint.types +++ b/tests/baselines/reference/destructuringWithConstraint.types @@ -11,7 +11,7 @@ interface Props { function foo

(props: Readonly

) { >foo :

(props: Readonly

) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >props : Readonly

> : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/destructuringWithGenericParameter.types b/tests/baselines/reference/destructuringWithGenericParameter.types index 86a7ae92539d6..57d8714842a6b 100644 --- a/tests/baselines/reference/destructuringWithGenericParameter.types +++ b/tests/baselines/reference/destructuringWithGenericParameter.types @@ -22,11 +22,11 @@ var genericObject = new GenericClass<{ greeting: string }>(); function genericFunction(object: GenericClass, callback: (payload: T) => void) { >genericFunction : (object: GenericClass, callback: (payload: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >object : GenericClass > : ^^^^^^^^^^^^^^^ >callback : (payload: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >payload : T > : ^ diff --git a/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.types b/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.types index 070e0446694f2..601e84bbef6e2 100644 --- a/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.types +++ b/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.types @@ -16,9 +16,9 @@ declare function getNum(): number; declare function foo(arg: { x: Bar, y: Date }, item: number, items?: [number, number, number]): void; >foo : (arg: { x: Bar; y: Date; }, item: number, items?: [number, number, number]) => void -> : ^^^^^^ ^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >arg : { x: Bar; y: Date; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : Bar > : ^^^ >y : Date diff --git a/tests/baselines/reference/differentTypesWithSameName.types b/tests/baselines/reference/differentTypesWithSameName.types index b3c8a78bd3e26..a7d7749f1eb15 100644 --- a/tests/baselines/reference/differentTypesWithSameName.types +++ b/tests/baselines/reference/differentTypesWithSameName.types @@ -15,7 +15,7 @@ module m { } export function doSomething(v: m.variable) { >doSomething : (v: m.variable) => void -> : ^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >v : variable > : ^^^^^^^^ >m : any diff --git a/tests/baselines/reference/discriminantElementAccessCheck.types b/tests/baselines/reference/discriminantElementAccessCheck.types index 13fcd6048f100..8c0842ce42d60 100644 --- a/tests/baselines/reference/discriminantElementAccessCheck.types +++ b/tests/baselines/reference/discriminantElementAccessCheck.types @@ -37,7 +37,7 @@ function assertNever(x: never) { function IfWithString(val: U) { >IfWithString : (val: U) => string | number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >val : U > : ^ @@ -74,7 +74,7 @@ function IfWithString(val: U) { function SwitchWithString(val: U) { >SwitchWithString : (val: U) => string | number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >val : U > : ^ @@ -123,7 +123,7 @@ function SwitchWithString(val: U) { function IfWithTemplate(val: U) { >IfWithTemplate : (val: U) => string | number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >val : U > : ^ @@ -160,7 +160,7 @@ function IfWithTemplate(val: U) { function SwitchWithTemplate(val: U) { >SwitchWithTemplate : (val: U) => string | number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >val : U > : ^ diff --git a/tests/baselines/reference/discriminantNarrowingCouldBeCircular.types b/tests/baselines/reference/discriminantNarrowingCouldBeCircular.types index 7ac403a7b5eb6..5b9550c615bda 100644 --- a/tests/baselines/reference/discriminantNarrowingCouldBeCircular.types +++ b/tests/baselines/reference/discriminantNarrowingCouldBeCircular.types @@ -4,7 +4,7 @@ // #57705, 57690 declare function is(v: T): v is T; >is : (v: T) => v is T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >v : T > : ^ @@ -59,13 +59,13 @@ declare const kPresentationInheritanceParents: { [tagName: string]: string[] }; declare function parentElementOrShadowHost(element: SomeRecord): SomeRecord | undefined; >parentElementOrShadowHost : (element: SomeRecord) => SomeRecord | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : SomeRecord > : ^^^^^^^^^^ function getImplicitAriaRole(element: SomeRecord) { >getImplicitAriaRole : (element: SomeRecord) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >element : SomeRecord > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/discriminantPropertyCheck.types b/tests/baselines/reference/discriminantPropertyCheck.types index 4e3e62dcc1590..b584576b273e8 100644 --- a/tests/baselines/reference/discriminantPropertyCheck.types +++ b/tests/baselines/reference/discriminantPropertyCheck.types @@ -53,7 +53,7 @@ interface Item2 extends Base { function goo1(x: Item) { >goo1 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -97,7 +97,7 @@ function goo1(x: Item) { function goo2(x: Item) { >goo2 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -141,7 +141,7 @@ function goo2(x: Item) { function foo1(x: Item) { >foo1 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -181,7 +181,7 @@ function foo1(x: Item) { function foo2(x: Item) { >foo2 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -221,7 +221,7 @@ function foo2(x: Item) { function foo3(x: Item) { >foo3 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -261,7 +261,7 @@ function foo3(x: Item) { function foo4(x: Item) { >foo4 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -301,7 +301,7 @@ function foo4(x: Item) { function foo5(x: Item) { >foo5 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -341,7 +341,7 @@ function foo5(x: Item) { function foo6(x: Item) { >foo6 : (x: Item) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Item > : ^^^^ @@ -427,7 +427,7 @@ interface NumType { function func2(inst: Instance) { >func2 : (inst: Instance) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >inst : Instance > : ^^^^^^^^ @@ -630,7 +630,7 @@ type Obj = AdditiveObj | MultiplicativeObj export function foo(obj: Obj) { >foo : (obj: Obj) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Obj > : ^^^ @@ -721,7 +721,7 @@ type TypeBar2 = { type: BarEnum.bar2 }; function func3(value: Partial) { >func3 : (value: Partial) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >value : Partial > : ^^^^^^^^^^^^^^^^^^^ @@ -813,7 +813,7 @@ declare function isType(x: unknown): x is Type; function WorksProperly(data: Type) { >WorksProperly : (data: Type) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >data : Type > : ^^^^ @@ -918,9 +918,9 @@ type MapOfAllTests = Record; const doTestingStuff = (mapOfTests: MapOfAllTests, ids: string[]) => { >doTestingStuff : (mapOfTests: MapOfAllTests, ids: string[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >(mapOfTests: MapOfAllTests, ids: string[]) => { ids.forEach(id => { let test; test = mapOfTests[id]; if (test.type === 'testA') { console.log(test.bananas); } switch (test.type) { case 'testA': { console.log(test.bananas); } } });} : (mapOfTests: MapOfAllTests, ids: string[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >mapOfTests : MapOfAllTests > : ^^^^^^^^^^^^^ >ids : string[] diff --git a/tests/baselines/reference/discriminantPropertyInference.types b/tests/baselines/reference/discriminantPropertyInference.types index f754a0e95acb4..168d5dd0af370 100644 --- a/tests/baselines/reference/discriminantPropertyInference.types +++ b/tests/baselines/reference/discriminantPropertyInference.types @@ -43,7 +43,7 @@ type Props = DiscriminatorTrue | DiscriminatorFalse; declare function f(options: DiscriminatorTrue | DiscriminatorFalse): any; >f : (options: DiscriminatorTrue | DiscriminatorFalse) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : DiscriminatorTrue | DiscriminatorFalse > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/discriminantUsingEvaluatableTemplateExpression.types b/tests/baselines/reference/discriminantUsingEvaluatableTemplateExpression.types index 3c941db065521..2e5bbd534f59c 100644 --- a/tests/baselines/reference/discriminantUsingEvaluatableTemplateExpression.types +++ b/tests/baselines/reference/discriminantUsingEvaluatableTemplateExpression.types @@ -25,7 +25,7 @@ type N = { d: "n"; cb: (x: number) => void }; declare function foo(foo: S | N): void; >foo : (foo: S | N) => void -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >foo : S | N > : ^^^^^ diff --git a/tests/baselines/reference/discriminantsAndNullOrUndefined.types b/tests/baselines/reference/discriminantsAndNullOrUndefined.types index 056a39f820d61..1d51696f469bb 100644 --- a/tests/baselines/reference/discriminantsAndNullOrUndefined.types +++ b/tests/baselines/reference/discriminantsAndNullOrUndefined.types @@ -30,13 +30,13 @@ function never(_: never): never { function useA(_: A): void { } >useA : (_: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : A > : ^ function useB(_: B): void { } >useB : (_: B) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : B > : ^ diff --git a/tests/baselines/reference/discriminantsAndPrimitives.types b/tests/baselines/reference/discriminantsAndPrimitives.types index 9320d515fc28c..6fbf2671fad64 100644 --- a/tests/baselines/reference/discriminantsAndPrimitives.types +++ b/tests/baselines/reference/discriminantsAndPrimitives.types @@ -25,7 +25,7 @@ interface Bar { function f1(x: Foo | Bar | string) { >f1 : (x: Foo | Bar | string) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | Foo | Bar > : ^^^^^^^^^^^^^^^^^^ @@ -64,7 +64,7 @@ function f1(x: Foo | Bar | string) { function f2(x: Foo | Bar | string | undefined) { >f2 : (x: Foo | Bar | string | undefined) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | Foo | Bar | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -103,7 +103,7 @@ function f2(x: Foo | Bar | string | undefined) { function f3(x: Foo | Bar | string | null) { >f3 : (x: Foo | Bar | string | null) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | Foo | Bar | null > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -146,7 +146,7 @@ function f3(x: Foo | Bar | string | null) { function f4(x: Foo | Bar | string | number | null) { >f4 : (x: Foo | Bar | string | number | null) => void -> : ^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | number | Foo | Bar | null > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/discriminantsAndTypePredicates.types b/tests/baselines/reference/discriminantsAndTypePredicates.types index b8b2ab6e58fbf..c9884d04e13d2 100644 --- a/tests/baselines/reference/discriminantsAndTypePredicates.types +++ b/tests/baselines/reference/discriminantsAndTypePredicates.types @@ -13,7 +13,7 @@ interface B { type: 'B' } function isA(x: A | B): x is A { return x.type === 'A'; } >isA : (x: A | B) => x is A -> : ^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : A | B > : ^^^^^ >x.type === 'A' : boolean @@ -29,7 +29,7 @@ function isA(x: A | B): x is A { return x.type === 'A'; } function isB(x: A | B): x is B { return x.type === 'B'; } >isB : (x: A | B) => x is B -> : ^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : A | B > : ^^^^^ >x.type === 'B' : boolean @@ -45,7 +45,7 @@ function isB(x: A | B): x is B { return x.type === 'B'; } function foo1(x: A | B): any { >foo1 : (x: A | B) => any -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : A | B > : ^^^^^ @@ -88,7 +88,7 @@ function foo1(x: A | B): any { function foo2(x: A | B): any { >foo2 : (x: A | B) => any -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : A | B > : ^^^^^ diff --git a/tests/baselines/reference/discriminateWithMissingProperty.types b/tests/baselines/reference/discriminateWithMissingProperty.types index 88e727840578e..0e6a30f3f8348 100644 --- a/tests/baselines/reference/discriminateWithMissingProperty.types +++ b/tests/baselines/reference/discriminateWithMissingProperty.types @@ -30,7 +30,7 @@ type Arg = { declare function foo(arg: Arg): void; >foo : (arg: Arg) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Arg > : ^^^ diff --git a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types index b2ff216b5ac51..c7d35020599c3 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types +++ b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types @@ -9,7 +9,7 @@ type PromiseOrValue = Promise | T; function mapAsyncIterable( >mapAsyncIterable : (iterable: AsyncGenerator | AsyncIterable, callback: (value: T) => PromiseOrValue) => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ iterable: AsyncGenerator | AsyncIterable, >iterable : AsyncGenerator | AsyncIterable @@ -17,7 +17,7 @@ function mapAsyncIterable( callback: (value: T) => PromiseOrValue, >callback : (value: T) => PromiseOrValue -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -40,7 +40,7 @@ function mapAsyncIterable( async function mapResult( >mapResult : (result: IteratorResult) => Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^^ ^^^^^ result: IteratorResult, >result : IteratorResult @@ -126,7 +126,7 @@ function mapAsyncIterable( return { >{ async next() { return mapResult(await iterator.next()); }, async return(): Promise> { return typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { if (typeof iterator.throw === "function") { return mapResult(await iterator.throw(error)); } throw error; }, [Symbol.asyncIterator]() { return this; }, } : { next(): Promise>; return(): Promise>; throw(error?: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async next() { >next : () => Promise> @@ -151,7 +151,7 @@ function mapAsyncIterable( }, async return(): Promise> { >return : () => Promise> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ return typeof iterator.return === "function" >typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true } : Promise> | { value: any; done: true; } diff --git a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types index b2ff216b5ac51..c7d35020599c3 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types +++ b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types @@ -9,7 +9,7 @@ type PromiseOrValue = Promise | T; function mapAsyncIterable( >mapAsyncIterable : (iterable: AsyncGenerator | AsyncIterable, callback: (value: T) => PromiseOrValue) => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ iterable: AsyncGenerator | AsyncIterable, >iterable : AsyncGenerator | AsyncIterable @@ -17,7 +17,7 @@ function mapAsyncIterable( callback: (value: T) => PromiseOrValue, >callback : (value: T) => PromiseOrValue -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -40,7 +40,7 @@ function mapAsyncIterable( async function mapResult( >mapResult : (result: IteratorResult) => Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^^ ^^^^^ result: IteratorResult, >result : IteratorResult @@ -126,7 +126,7 @@ function mapAsyncIterable( return { >{ async next() { return mapResult(await iterator.next()); }, async return(): Promise> { return typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { if (typeof iterator.throw === "function") { return mapResult(await iterator.throw(error)); } throw error; }, [Symbol.asyncIterator]() { return this; }, } : { next(): Promise>; return(): Promise>; throw(error?: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async next() { >next : () => Promise> @@ -151,7 +151,7 @@ function mapAsyncIterable( }, async return(): Promise> { >return : () => Promise> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ return typeof iterator.return === "function" >typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true } : Promise> | { value: any; done: true; } diff --git a/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=false).types b/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=false).types index 29cd32bcc64a9..1faad53463ad8 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=false).types +++ b/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=false).types @@ -54,7 +54,7 @@ type CoercedVariableValues = declare function getVariableValues(inputs: { >getVariableValues : (inputs: { readonly [variable: string]: unknown; }) => CoercedVariableValues -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >inputs : { readonly [variable: string]: unknown; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -66,7 +66,7 @@ declare function getVariableValues(inputs: { export function buildExecutionContext( >buildExecutionContext : (args: ExecutionArgs) => ReadonlyArray | ExecutionContext -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ args: ExecutionArgs, >args : ExecutionArgs diff --git a/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=true).types b/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=true).types index 1a6d0046c00be..0fcdcc396a770 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=true).types +++ b/tests/baselines/reference/discriminateWithOptionalProperty3(exactoptionalpropertytypes=true).types @@ -54,7 +54,7 @@ type CoercedVariableValues = declare function getVariableValues(inputs: { >getVariableValues : (inputs: { readonly [variable: string]: unknown; }) => CoercedVariableValues -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >inputs : { readonly [variable: string]: unknown; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -66,7 +66,7 @@ declare function getVariableValues(inputs: { export function buildExecutionContext( >buildExecutionContext : (args: ExecutionArgs) => ReadonlyArray | ExecutionContext -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ args: ExecutionArgs, >args : ExecutionArgs diff --git a/tests/baselines/reference/discriminatedUnionInference.types b/tests/baselines/reference/discriminatedUnionInference.types index 4aab6285ddca5..ee8f9a0629951 100644 --- a/tests/baselines/reference/discriminatedUnionInference.types +++ b/tests/baselines/reference/discriminatedUnionInference.types @@ -43,7 +43,7 @@ type Item = { kind: 'a', data: T } | { kind: 'b', data: T[] }; declare function foo(item: Item): T; >foo : (item: Item) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >item : Item > : ^^^^^^^ diff --git a/tests/baselines/reference/discriminatedUnionJsxElement.types b/tests/baselines/reference/discriminatedUnionJsxElement.types index c5a8faa167142..f4493e55cdb6b 100644 --- a/tests/baselines/reference/discriminatedUnionJsxElement.types +++ b/tests/baselines/reference/discriminatedUnionJsxElement.types @@ -14,7 +14,7 @@ interface IData(data: IData) { >Menu : (data: IData) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >ListItemVariant : any > : ^^^ >data : IData @@ -75,7 +75,7 @@ enum ListItemVariant { function ListItem(_data: IListItemData) { >ListItem : (_data: IListItemData) => null -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >_data : IListItemData > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/discriminatedUnionTypes1.types b/tests/baselines/reference/discriminatedUnionTypes1.types index 895a49ebc15da..a2820f1e621ea 100644 --- a/tests/baselines/reference/discriminatedUnionTypes1.types +++ b/tests/baselines/reference/discriminatedUnionTypes1.types @@ -41,7 +41,7 @@ type Shape = Square | Rectangle | Circle; function area1(s: Shape) { >area1 : (s: Shape) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >s : Shape > : ^^^^^ @@ -146,7 +146,7 @@ function area1(s: Shape) { function area2(s: Shape) { >area2 : (s: Shape) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >s : Shape > : ^^^^^ @@ -243,7 +243,7 @@ function assertNever(x: never): never { function area3(s: Shape) { >area3 : (s: Shape) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >s : Shape > : ^^^^^ @@ -329,7 +329,7 @@ function area3(s: Shape) { function area4(s: Shape) { >area4 : (s: Shape) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >s : Shape > : ^^^^^ @@ -434,7 +434,7 @@ type Message = function f1(m: Message) { >f1 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ @@ -479,7 +479,7 @@ function f1(m: Message) { function f2(m: Message) { >f2 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ @@ -504,7 +504,7 @@ function f2(m: Message) { function f3(m: Message) { >f3 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ @@ -528,7 +528,7 @@ function f3(m: Message) { function f4(m: Message, x: "A" | "D") { >f4 : (m: Message, x: "A" | "D") => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ >x : "A" | "D" @@ -554,7 +554,7 @@ function f4(m: Message, x: "A" | "D") { function f5(m: Message) { >f5 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ @@ -593,7 +593,7 @@ function f5(m: Message) { function f6(m: Message) { >f6 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ @@ -631,7 +631,7 @@ function f6(m: Message) { function f7(m: Message) { >f7 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ @@ -660,7 +660,7 @@ function f7(m: Message) { function f8(m: Message) { >f8 : (m: Message) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : Message > : ^^^^^^^ diff --git a/tests/baselines/reference/discriminatedUnionTypes2.types b/tests/baselines/reference/discriminatedUnionTypes2.types index d60bd42096e4c..81b89a85c94ac 100644 --- a/tests/baselines/reference/discriminatedUnionTypes2.types +++ b/tests/baselines/reference/discriminatedUnionTypes2.types @@ -3,7 +3,7 @@ === discriminatedUnionTypes2.ts === function f10(x : { kind: false, a: string } | { kind: true, b: string } | { kind: string, c: string }) { >f10 : (x: { kind: false; a: string; } | { kind: true; b: string; } | { kind: string; c: string; }) => void -> : ^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : { kind: false; a: string; } | { kind: true; b: string; } | { kind: string; c: string; } > : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^ >kind : false @@ -76,7 +76,7 @@ function f10(x : { kind: false, a: string } | { kind: true, b: string } | { kind function f11(x : { kind: false, a: string } | { kind: true, b: string } | { kind: string, c: string }) { >f11 : (x: { kind: false; a: string; } | { kind: true; b: string; } | { kind: string; c: string; }) => void -> : ^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : { kind: false; a: string; } | { kind: true; b: string; } | { kind: string; c: string; } > : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^ >kind : false @@ -143,7 +143,7 @@ function f11(x : { kind: false, a: string } | { kind: true, b: string } | { kind function f13(x: { a: null; b: string } | { a: string, c: number }) { >f13 : (x: { a: null; b: string; } | { a: string; c: number; }) => void -> : ^^^^ ^ ^ ^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : { a: null; b: string; } | { a: string; c: number; } > : ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^ >a : null @@ -176,9 +176,9 @@ function f13(x: { a: null; b: string } | { a: string, c: number }) { function f14(x: { a: 0; b: string } | { a: T, c: number }) { >f14 : (x: { a: 0; b: string; } | { a: T; c: number; }) => void -> : ^^^^^^^ ^ ^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : { a: 0; b: string; } | { a: T; c: number; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^ >a : 0 > : ^ >b : string @@ -222,7 +222,7 @@ type Result = { error?: undefined, value: T } | { error: Error }; function f15(x: Result) { >f15 : (x: Result) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Result > : ^^^^^^^^^^^^^^ @@ -315,7 +315,7 @@ type DataCarrier = WithError | WithoutError function f20(carrier: DataCarrier) { >f20 : (carrier: DataCarrier) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^ >carrier : DataCarrier > : ^^^^^^^^^^^^^^^^^ @@ -394,7 +394,7 @@ type Foo = { tag: true, x: number } | { tag: false, y: number } | { [x: string]: function f30(foo: Foo) { >f30 : (foo: Foo) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo > : ^^^ @@ -419,7 +419,7 @@ function f30(foo: Foo) { function f31(foo: Foo) { >f31 : (foo: Foo) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo > : ^^^ @@ -491,7 +491,7 @@ type abc = a | b | c; function f(problem: abc & (b | c)) { >f : (problem: abc & (b | c)) => void -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >problem : b | c > : ^^^^^ @@ -550,7 +550,7 @@ type RuntimeValue = function foo1(x: RuntimeValue & { type: 'number' }) { >foo1 : (x: RuntimeValue & { type: 'number'; }) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : { type: "number"; value: number; } & { type: 'number'; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >type : "number" @@ -589,7 +589,7 @@ function foo1(x: RuntimeValue & { type: 'number' }) { function foo2(x: RuntimeValue & ({ type: 'number' } | { type: 'string' })) { >foo2 : (x: RuntimeValue & ({ type: 'number'; } | { type: 'string'; })) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : ({ type: "number"; value: number; } & { type: 'number'; }) | ({ type: "string"; value: string; } & { type: 'string'; }) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >type : "number" diff --git a/tests/baselines/reference/discriminatingUnionWithUnionPropertyAgainstUndefinedWithoutStrictNullChecks.types b/tests/baselines/reference/discriminatingUnionWithUnionPropertyAgainstUndefinedWithoutStrictNullChecks.types index bbb1903c278ae..0f7227b5801bc 100644 --- a/tests/baselines/reference/discriminatingUnionWithUnionPropertyAgainstUndefinedWithoutStrictNullChecks.types +++ b/tests/baselines/reference/discriminatingUnionWithUnionPropertyAgainstUndefinedWithoutStrictNullChecks.types @@ -10,7 +10,7 @@ interface B {} declare let opts: >opts : { objectRef?: undefined; getObjectRef: () => any; } | { objectRef: A | B; getObjectRef?: undefined; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ | { objectRef?: undefined; getObjectRef: () => any } >objectRef : undefined @@ -72,9 +72,9 @@ interface B2 { const testMethod = (m: A2 | B2) => { >testMethod : (m: A2 | B2) => void -> : ^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >(m: A2 | B2) => { if (m.error) { m; // should be A2 | B2 } else { m; // should be A2 | B2 }} : (m: A2 | B2) => void -> : ^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >m : A2 | B2 > : ^^^^^^^ diff --git a/tests/baselines/reference/distributiveConditionalTypeConstraints.types b/tests/baselines/reference/distributiveConditionalTypeConstraints.types index 83650ca555748..51ac55a54bb4b 100644 --- a/tests/baselines/reference/distributiveConditionalTypeConstraints.types +++ b/tests/baselines/reference/distributiveConditionalTypeConstraints.types @@ -11,7 +11,7 @@ type IsArray = T extends unknown[] ? true : false; function f1(x: IsArray) { >f1 : (x: IsArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : IsArray > : ^^^^^^^^^^ @@ -34,7 +34,7 @@ function f1(x: IsArray) { function f2(x: IsArray) { >f2 : (x: IsArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : IsArray > : ^^^^^^^^^^ @@ -57,7 +57,7 @@ function f2(x: IsArray) { function f3(x: IsArray) { >f3 : (x: IsArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : IsArray > : ^^^^^^^^^^ @@ -80,7 +80,7 @@ function f3(x: IsArray) { function f4(x: IsArray) { >f4 : (x: IsArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : IsArray > : ^^^^^^^^^^ @@ -117,7 +117,7 @@ type ZeroOf = function f10(x: ZeroOf) { >f10 : (x: ZeroOf) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : ZeroOf > : ^^^^^^^^^ @@ -140,7 +140,7 @@ type Foo = T extends "abc" | 42 ? true : false; function f20(x: Foo) { >f20 : (x: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : Foo > : ^^^^^^ @@ -171,7 +171,7 @@ interface C { foo(): void, bar(): void } function test1(y: T extends B ? number : string) { >test1 : (y: T extends B ? number : string) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : T extends B ? number : string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -207,7 +207,7 @@ function test1(y: T extends B ? number : string) { function test2(y: T extends B ? string : number) { >test2 : (y: T extends B ? string : number) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : T extends B ? string : number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -243,7 +243,7 @@ function test2(y: T extends B ? string : number) { function test3(y: T extends C ? number : string) { >test3 : (y: T extends C ? number : string) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : T extends C ? number : string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -279,7 +279,7 @@ function test3(y: T extends C ? number : string) { function test4(y: T extends C ? string : number) { >test4 : (y: T extends C ? string : number) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >y : T extends C ? string : number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/divergentAccessorsTypes6.types b/tests/baselines/reference/divergentAccessorsTypes6.types index d4631ae981289..973364f035901 100644 --- a/tests/baselines/reference/divergentAccessorsTypes6.types +++ b/tests/baselines/reference/divergentAccessorsTypes6.types @@ -79,9 +79,9 @@ interface I1 { } const o1 = { >o1 : { get x(): number; set x(value: Fail); } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ >{ get x(): number { return 0; }, set x(value: Fail) {}} : { get x(): number; set x(value: Fail); } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ get x(): number { return 0; }, >x : number diff --git a/tests/baselines/reference/divergentAccessorsTypes7.types b/tests/baselines/reference/divergentAccessorsTypes7.types index 8c216ba0a3d5d..e4801a253c326 100644 --- a/tests/baselines/reference/divergentAccessorsTypes7.types +++ b/tests/baselines/reference/divergentAccessorsTypes7.types @@ -11,7 +11,7 @@ class Test { >value : string > : ^^^^^^ >value : string | ((item: S) => string) -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^ >item : S > : ^ diff --git a/tests/baselines/reference/divideAndConquerIntersections.types b/tests/baselines/reference/divideAndConquerIntersections.types index 0508c1745cd6c..0cb9eaa981d66 100644 --- a/tests/baselines/reference/divideAndConquerIntersections.types +++ b/tests/baselines/reference/divideAndConquerIntersections.types @@ -156,7 +156,7 @@ type FilterFunction = (up: U) => up is V; export function matchFilter( >matchFilter : (filter: Q | Q[]) => FilterFunction> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ filter: Q | Q[], >filter : Q | Q[] @@ -180,7 +180,7 @@ export function matchFilter( return (up: U): up is Filter => !!up; >(up: U): up is Filter => !!up : (up: U) => up is PerformQuery, Q>> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >up : U > : ^ >!!up : true @@ -253,7 +253,7 @@ class EventHub { use(...middleware: Array>): EventHub { >use : (...middleware: Array>) => EventHub -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^ ^^^^^ >middleware : Middleware[] > : ^^^^^^^^^^^^^^^ @@ -283,7 +283,7 @@ class EventHub { } on( >on : (filter: Q | Q[], ...middleware: Array>>) => EventHub> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ filter: Q | Q[], >filter : Q | Q[] diff --git a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.types b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.types index 01fa57a621896..ab0ee6d090391 100644 --- a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.types +++ b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.types @@ -3,7 +3,7 @@ === doNotElaborateAssignabilityToTypeParameters.ts === async function foo(x: T): Promise { >foo : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -36,7 +36,7 @@ interface Yadda { declare function getXOrYadda(x: T): T | Yadda; >getXOrYadda : (x: T) => T | Yadda -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/doNotInferUnrelatedTypes.types b/tests/baselines/reference/doNotInferUnrelatedTypes.types index 3f5e8deb5e54c..381097ef5a971 100644 --- a/tests/baselines/reference/doNotInferUnrelatedTypes.types +++ b/tests/baselines/reference/doNotInferUnrelatedTypes.types @@ -4,7 +4,7 @@ // #16709 declare function dearray(ara: ReadonlyArray): T; >dearray : (ara: ReadonlyArray) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >ara : readonly T[] > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/dottedSymbolResolution1.types b/tests/baselines/reference/dottedSymbolResolution1.types index 9a5acb2d6f955..78f881a5ae941 100644 --- a/tests/baselines/reference/dottedSymbolResolution1.types +++ b/tests/baselines/reference/dottedSymbolResolution1.types @@ -4,7 +4,7 @@ interface JQuery { find(selector: string): JQuery; >find : (selector: string) => JQuery -> : ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >selector : string > : ^^^^^^ } @@ -38,11 +38,11 @@ function each(collection: string, callback: (indexInArray: any, valueOfElement: function each(collection: JQuery, callback: (indexInArray: number, valueOfElement: Base) => any): any; >each : { (collection: string, callback: (indexInArray: any, valueOfElement: any) => any): any; (collection: JQuery, callback: (indexInArray: number, valueOfElement: Base) => any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >collection : JQuery > : ^^^^^^ >callback : (indexInArray: number, valueOfElement: Base) => any -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >indexInArray : number > : ^^^^^^ >valueOfElement : Base diff --git a/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.types b/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.types index 954b9fae4e85a..ed1b7cda15522 100644 --- a/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.types +++ b/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.types @@ -9,9 +9,9 @@ type Constructor = new (...args: any[]) => {}; const Mixin1 = (Base: C) => class extends Base { private _fooPrivate: {}; } >Mixin1 : (Base: C) => { new (...args: any[]): (Anonymous class); prototype: Mixin1.(Anonymous class); } & C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(Base: C) => class extends Base { private _fooPrivate: {}; } : (Base: C) => { new (...args: any[]): (Anonymous class); prototype: Mixin1.(Anonymous class); } & C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : C > : ^ >class extends Base { private _fooPrivate: {}; } : { new (...args: any[]): (Anonymous class); prototype: Mixin1.(Anonymous class); } & C @@ -31,9 +31,9 @@ type FooConstructor = typeof Mixin1 extends (a: Constructor) => infer Cls ? Cls const Mixin2 = (Base: C) => class extends Base {}; >Mixin2 : .(Anonymous class); prototype: Mixin1.(Anonymous class); } & Constructor>(Base: C) => { new (...args: any[]): (Anonymous class); prototype: Mixin2.(Anonymous class); } & C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(Base: C) => class extends Base {} : .(Anonymous class); prototype: Mixin1.(Anonymous class); } & Constructor>(Base: C) => { new (...args: any[]): (Anonymous class); prototype: Mixin2.(Anonymous class); } & C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : C > : ^ >class extends Base {} : { new (...args: any[]): (Anonymous class); prototype: Mixin2.(Anonymous class); } & C diff --git a/tests/baselines/reference/dtsEmitTripleSlashAvoidUnnecessaryResolutionMode.types b/tests/baselines/reference/dtsEmitTripleSlashAvoidUnnecessaryResolutionMode.types index 75ab51052d27a..dff10257e8f38 100644 --- a/tests/baselines/reference/dtsEmitTripleSlashAvoidUnnecessaryResolutionMode.types +++ b/tests/baselines/reference/dtsEmitTripleSlashAvoidUnnecessaryResolutionMode.types @@ -4,7 +4,7 @@ /// export async function drainStream(stream: NodeJS.ReadableStream): Promise { >drainStream : (stream: NodeJS.ReadableStream) => Promise -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >stream : NodeJS.ReadableStream > : ^^^^^^^^^^^^^^^^^^^^^ >NodeJS : any diff --git a/tests/baselines/reference/duplicateLocalVariable1.types b/tests/baselines/reference/duplicateLocalVariable1.types index 45148f44730ab..fae51e27568e8 100644 --- a/tests/baselines/reference/duplicateLocalVariable1.types +++ b/tests/baselines/reference/duplicateLocalVariable1.types @@ -80,7 +80,7 @@ export class TestRunner { public addTest(test: TestCase) { >addTest : (test: TestCase) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >test : TestCase > : ^^^^^^^^ diff --git a/tests/baselines/reference/duplicateLocalVariable2.types b/tests/baselines/reference/duplicateLocalVariable2.types index cf76f0a5db9ef..dde1ffb215e2b 100644 --- a/tests/baselines/reference/duplicateLocalVariable2.types +++ b/tests/baselines/reference/duplicateLocalVariable2.types @@ -33,7 +33,7 @@ export class TestRunner { public addTest(test: TestCase) { >addTest : (test: TestCase) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >test : TestCase > : ^^^^^^^^ } diff --git a/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.types b/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.types index 175e4d6ccb473..4ab33cebfe78d 100644 --- a/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.types +++ b/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.types @@ -4,9 +4,9 @@ interface Array { reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, >reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T; (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U_1, currentValue: T, currentIndex: number, array: T[]) => U_1, initialValue: U_1): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : T > : ^ >currentValue : T @@ -22,9 +22,9 @@ interface Array { reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, >reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T; (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T; (callbackfn: (previousValue: U_1, currentValue: T, currentIndex: number, array: T[]) => U_1, initialValue: U_1): U_1; (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : U > : ^ >currentValue : T diff --git a/tests/baselines/reference/duplicatePackage.types b/tests/baselines/reference/duplicatePackage.types index 9ce94bb28d09a..3b8a1d55c3905 100644 --- a/tests/baselines/reference/duplicatePackage.types +++ b/tests/baselines/reference/duplicatePackage.types @@ -36,7 +36,7 @@ import X from "x"; export function a(x: X): void; >a : (x: X) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : X > : ^ diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.types b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.types index 97dbf4e6c542d..49843b929e95a 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.types +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.types @@ -43,7 +43,7 @@ import { C } from "./index"; export function use(o: C): void; >use : (o: C) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >o : C > : ^ diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.types b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.types index 2dde6d89f04c2..8f50763c8e948 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.types +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.types @@ -43,7 +43,7 @@ import { C } from "./index"; export function use(o: C): void; >use : (o: C) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >o : C > : ^ diff --git a/tests/baselines/reference/duplicateTypeParameters3.types b/tests/baselines/reference/duplicateTypeParameters3.types index cb869808bb168..a8c795f07540b 100644 --- a/tests/baselines/reference/duplicateTypeParameters3.types +++ b/tests/baselines/reference/duplicateTypeParameters3.types @@ -4,7 +4,7 @@ interface X { x: () => () => void; >x : () => () => void -> : ^^^^^^ ^ ^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/elaboratedErrors.types b/tests/baselines/reference/elaboratedErrors.types index 4f9a83104006a..6a0b15500c3a3 100644 --- a/tests/baselines/reference/elaboratedErrors.types +++ b/tests/baselines/reference/elaboratedErrors.types @@ -9,13 +9,13 @@ interface FileSystem { function fn(s: WorkerFS): void; >fn : { (s: WorkerFS): void; (s: FileSystem): void; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : WorkerFS > : ^^^^^^^^ function fn(s: FileSystem): void; >fn : { (s: WorkerFS): void; (s: FileSystem): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : FileSystem > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.types b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.types index 9eeecca644c06..b8037a60edea6 100644 --- a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.types +++ b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.types @@ -37,7 +37,7 @@ class B { foo(a: T) >foo : { (a: T): any; (a: any): any; (b: string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.types b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.types index 4258b2d367b93..3f0e1d6835641 100644 --- a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.types +++ b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.types @@ -29,7 +29,7 @@ class B { foo(): T { >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ return this.x; >this.x : T diff --git a/tests/baselines/reference/emitClassExpressionInDeclarationFile.types b/tests/baselines/reference/emitClassExpressionInDeclarationFile.types index 0d5c6e8219c82..9097e27fb079b 100644 --- a/tests/baselines/reference/emitClassExpressionInDeclarationFile.types +++ b/tests/baselines/reference/emitClassExpressionInDeclarationFile.types @@ -62,7 +62,7 @@ export type Constructor = new(...args: any[]) => T; export function WithTags>(Base: T) { >WithTags : >(Base: T) => { new (...args: any[]): (Anonymous class); prototype: WithTags.(Anonymous class); getTags(): void; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >Base : T > : ^ diff --git a/tests/baselines/reference/emitClassExpressionInDeclarationFile2.types b/tests/baselines/reference/emitClassExpressionInDeclarationFile2.types index e8b87a38b21d5..0fc1bf16d8163 100644 --- a/tests/baselines/reference/emitClassExpressionInDeclarationFile2.types +++ b/tests/baselines/reference/emitClassExpressionInDeclarationFile2.types @@ -58,7 +58,7 @@ export type Constructor = new(...args: any[]) => T; export function WithTags>(Base: T) { >WithTags : >(Base: T) => { new (...args: any[]): (Anonymous class); prototype: WithTags.(Anonymous class); getTags(): void; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >Base : T > : ^ diff --git a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types index ff5455fbdb957..fc6d179ba8153 100644 --- a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types +++ b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types @@ -47,7 +47,7 @@ class HelloWorld { handleEvent1(event: T1) {} // Error >handleEvent1 : (event: T1) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >event : T1 > : ^^ @@ -59,7 +59,7 @@ class HelloWorld { handleEvent2(event: T2) {} // Ok >handleEvent2 : (event: T2) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >event : T2 > : ^^ @@ -103,7 +103,7 @@ class HelloWorld { handleEvent3(event: C3): T1 { return undefined! } // Ok, Error >handleEvent3 : (event: C3) => T1 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >event : C3 > : ^^ >undefined! : undefined diff --git a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types index dee706164ea94..0b05b35e1c0f7 100644 --- a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types +++ b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types @@ -50,7 +50,7 @@ class HelloWorld { handleEvent1(event: T1) {} // Error >handleEvent1 : (event: T1) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >event : T1 > : ^^ @@ -64,7 +64,7 @@ class HelloWorld { handleEvent2(event: T2) {} // Ok >handleEvent2 : (event: T2) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >event : T2 > : ^^ @@ -116,7 +116,7 @@ class HelloWorld { handleEvent3(event: C3): T1 { return undefined! } // Ok, Error >handleEvent3 : (event: C3) => T1 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >event : C3 > : ^^ >undefined! : undefined diff --git a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).types b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).types index d4d0b66088221..118a3a48450d1 100644 --- a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).types +++ b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).types @@ -49,7 +49,7 @@ else { function f1(x: T) { >f1 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -74,7 +74,7 @@ function f1(x: T) { function f2(x: T) { >f2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).types b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).types index 77c233d3fb2ab..5e65fa417daa0 100644 --- a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).types +++ b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).types @@ -49,7 +49,7 @@ else { function f1(x: T) { >f1 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -74,7 +74,7 @@ function f1(x: T) { function f2(x: T) { >f2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.types b/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.types index a4992075b53f4..361e809efa839 100644 --- a/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.types +++ b/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.types @@ -40,7 +40,7 @@ type DictionaryIterator = ObjectIterator, TResult>; // In lodash.d.ts this function has many overloads, but this seems to be the problematic one. function mapValues( >mapValues : (obj: Dictionary | NumericDictionary | null | undefined, callback: DictionaryIterator) => Dictionary -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ obj: Dictionary | NumericDictionary | null | undefined, >obj : Dictionary | NumericDictionary @@ -71,7 +71,7 @@ interface Bar { export function fooToBar( >fooToBar : (foos: Record) => Record -> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^ foos: Record >foos : Record diff --git a/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.types b/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.types index 8c31d85cd4d9b..f1ffc75f64752 100644 --- a/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.types +++ b/tests/baselines/reference/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.types @@ -40,7 +40,7 @@ type DictionaryIterator = ObjectIterator, TResult>; // In lodash.d.ts this function has many overloads, but this seems to be the problematic one. function mapValues( >mapValues : (obj: Dictionary | NumericDictionary | null | undefined, callback: DictionaryIterator) => Dictionary -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ obj: Dictionary | NumericDictionary | null | undefined, >obj : Dictionary | NumericDictionary @@ -71,7 +71,7 @@ interface Bar { export function fooToBar( >fooToBar : (foos: Record) => Record -> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^ foos: Record >foos : Record diff --git a/tests/baselines/reference/enumAssignability.types b/tests/baselines/reference/enumAssignability.types index 938386b738eba..986079342aaae 100644 --- a/tests/baselines/reference/enumAssignability.types +++ b/tests/baselines/reference/enumAssignability.types @@ -212,7 +212,7 @@ module Others { var o: (x: T) => T = e; >o : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >e : E @@ -232,7 +232,7 @@ module Others { function foo(x: T, y: U, z: V) { >foo : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/enumAssignabilityInInheritance.types b/tests/baselines/reference/enumAssignabilityInInheritance.types index 0a1e1b949a686..8732d0470a0fb 100644 --- a/tests/baselines/reference/enumAssignabilityInInheritance.types +++ b/tests/baselines/reference/enumAssignabilityInInheritance.types @@ -23,7 +23,7 @@ interface I0 { declare function foo(x: E): E; >foo : { (x: E): E; (x: number): number; (x: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : E > : ^ @@ -81,7 +81,7 @@ declare function foo2(x: string): string; declare function foo2(x: E): E; >foo2 : { (x: string): string; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -107,7 +107,7 @@ declare function foo3(x: boolean): boolean; declare function foo3(x: E): E; >foo3 : { (x: boolean): boolean; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -127,13 +127,13 @@ var r4 = foo3(E.A); declare function foo4(x: Date): Date; >foo4 : { (x: Date): Date; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : Date > : ^^^^ declare function foo4(x: E): E; >foo4 : { (x: Date): Date; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -153,13 +153,13 @@ var r4 = foo4(E.A); declare function foo5(x: RegExp): RegExp; >foo5 : { (x: RegExp): RegExp; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : RegExp > : ^^^^^^ declare function foo5(x: E): E; >foo5 : { (x: RegExp): RegExp; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -189,7 +189,7 @@ declare function foo6(x: { bar: number }): { bar: number }; declare function foo6(x: E): E; >foo6 : { (x: { bar: number; }): { bar: number; }; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -215,7 +215,7 @@ declare function foo7(x: number[]): number[]; declare function foo7(x: E): E; >foo7 : { (x: number[]): number[]; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -239,13 +239,13 @@ interface I8 { foo: string; } declare function foo8(x: I8): I8; >foo8 : { (x: I8): I8; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : I8 > : ^^ declare function foo8(x: E): E; >foo8 : { (x: I8): I8; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -271,13 +271,13 @@ class A { foo: number; } declare function foo9(x: A): A; >foo9 : { (x: A): A; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : A > : ^ declare function foo9(x: E): E; >foo9 : { (x: A): A; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -303,13 +303,13 @@ class A2 { foo: T; } declare function foo10(x: A2): A2; >foo10 : { (x: A2): A2; (x: E): E; } -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : A2 > : ^^^^^^^^^^ declare function foo10(x: E): E; >foo10 : { (x: A2): A2; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -339,7 +339,7 @@ declare function foo11(x: (x) => number): (x) => number; declare function foo11(x: E): E; >foo11 : { (x: (x: any) => number): (x: any) => number; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -359,9 +359,9 @@ var r4 = foo11(E.A); declare function foo12(x: (x: T) => T): (x: T) => T; >foo12 : { (x: (x: T) => T): (x: T_1) => T_1; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -369,7 +369,7 @@ declare function foo12(x: (x: T) => T): (x: T) => T; declare function foo12(x: E): E; >foo12 : { (x: (x: T) => T): (x: T_1) => T_1; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -395,13 +395,13 @@ enum E2 { A } declare function foo13(x: E2): E2; >foo13 : { (x: E2): E2; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : E2 > : ^^ declare function foo13(x: E): E; >foo13 : { (x: E2): E2; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -435,7 +435,7 @@ module f { } declare function foo14(x: typeof f): typeof f; >foo14 : { (x: typeof f): typeof f; (x: E): E; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : typeof f > : ^^^^^^^^ >f : typeof f @@ -445,7 +445,7 @@ declare function foo14(x: typeof f): typeof f; declare function foo14(x: E): E; >foo14 : { (x: typeof f): typeof f; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -481,13 +481,13 @@ module CC { } declare function foo15(x: CC): CC; >foo15 : { (x: CC): CC; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : CC > : ^^ declare function foo15(x: E): E; >foo15 : { (x: CC): CC; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -507,13 +507,13 @@ var r4 = foo15(E.A); declare function foo16(x: Object): Object; >foo16 : { (x: Object): Object; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^ >x : Object > : ^^^^^^ declare function foo16(x: E): E; >foo16 : { (x: Object): Object; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ @@ -539,7 +539,7 @@ declare function foo17(x: {}): {}; declare function foo17(x: E): E; >foo17 : { (x: {}): {}; (x: E): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : E > : ^ diff --git a/tests/baselines/reference/enumAssignmentCompat6.types b/tests/baselines/reference/enumAssignmentCompat6.types index accf54d7916fe..08f7f9e710a07 100644 --- a/tests/baselines/reference/enumAssignmentCompat6.types +++ b/tests/baselines/reference/enumAssignmentCompat6.types @@ -110,7 +110,7 @@ declare namespace ambients { function f(x: numerics.DiagnosticCategory, y: strings.DiagnosticCategory) { >f : (x: numerics.DiagnosticCategory, y: strings.DiagnosticCategory) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : numerics.DiagnosticCategory > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >numerics : any @@ -139,7 +139,7 @@ function f(x: numerics.DiagnosticCategory, y: strings.DiagnosticCategory) { function g(x: numerics.DiagnosticCategory2, y: strings.DiagnosticCategory) { >g : (x: numerics.DiagnosticCategory2, y: strings.DiagnosticCategory) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : numerics.DiagnosticCategory2 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >numerics : any @@ -168,7 +168,7 @@ function g(x: numerics.DiagnosticCategory2, y: strings.DiagnosticCategory) { function h(x: numerics.DiagnosticCategory, y: ambients.DiagnosticCategory) { >h : (x: numerics.DiagnosticCategory, y: ambients.DiagnosticCategory) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : numerics.DiagnosticCategory > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >numerics : any @@ -197,7 +197,7 @@ function h(x: numerics.DiagnosticCategory, y: ambients.DiagnosticCategory) { function i(x: strings.DiagnosticCategory, y: ambients.DiagnosticCategory) { >i : (x: strings.DiagnosticCategory, y: ambients.DiagnosticCategory) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : strings.DiagnosticCategory > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >strings : any diff --git a/tests/baselines/reference/enumAssignmentCompat7.types b/tests/baselines/reference/enumAssignmentCompat7.types index 75f5af6ae6243..56fd6bdb0940e 100644 --- a/tests/baselines/reference/enumAssignmentCompat7.types +++ b/tests/baselines/reference/enumAssignmentCompat7.types @@ -33,7 +33,7 @@ class Base { method(param: first.E) { >method : (param: first.E) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : first.E > : ^^^^^^^ >first : any @@ -50,7 +50,7 @@ class Derived extends Base { override method(param: second.E) { >method : (param: second.E) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : second.E > : ^^^^^^^^ >second : any @@ -60,7 +60,7 @@ class Derived extends Base { function overloadingFunction(): first.E >overloadingFunction : () => first.E -> : ^^^^^^^^^^^ +> : ^^^^^^ >first : any > : ^^^ diff --git a/tests/baselines/reference/enumLiteralTypes1.types b/tests/baselines/reference/enumLiteralTypes1.types index 8968fdd25b96d..28a5aaea201a5 100644 --- a/tests/baselines/reference/enumLiteralTypes1.types +++ b/tests/baselines/reference/enumLiteralTypes1.types @@ -68,7 +68,7 @@ function f1() { function f2(a: YesNo, b: UnknownYesNo, c: Choice) { >f2 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -103,7 +103,7 @@ function f2(a: YesNo, b: UnknownYesNo, c: Choice) { function f3(a: Choice.Yes, b: YesNo) { >f3 : (a: Choice.Yes, b: YesNo) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -298,7 +298,7 @@ function f3(a: Choice.Yes, b: YesNo) { function f4(a: Choice.Yes, b: YesNo) { >f4 : (a: Choice.Yes, b: YesNo) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -321,7 +321,7 @@ function f4(a: Choice.Yes, b: YesNo) { declare function g(x: Choice.Yes): string; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -329,7 +329,7 @@ declare function g(x: Choice.Yes): string; declare function g(x: Choice.No): boolean; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.No > : ^^^^^^^^^ >Choice : any @@ -337,13 +337,13 @@ declare function g(x: Choice.No): boolean; declare function g(x: Choice): number; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : Choice > : ^^^^^^ function f5(a: YesNo, b: UnknownYesNo, c: Choice) { >f5 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -427,7 +427,7 @@ function assertNever(x: never): never { function f10(x: YesNo) { >f10 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -459,7 +459,7 @@ function f10(x: YesNo) { function f11(x: YesNo) { >f11 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -498,7 +498,7 @@ function f11(x: YesNo) { function f12(x: UnknownYesNo) { >f12 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -519,7 +519,7 @@ function f12(x: UnknownYesNo) { function f13(x: UnknownYesNo) { >f13 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -568,7 +568,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -612,7 +612,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/enumLiteralTypes2.types b/tests/baselines/reference/enumLiteralTypes2.types index c84909847bda1..637f46abdff50 100644 --- a/tests/baselines/reference/enumLiteralTypes2.types +++ b/tests/baselines/reference/enumLiteralTypes2.types @@ -68,7 +68,7 @@ function f1() { function f2(a: YesNo, b: UnknownYesNo, c: Choice) { >f2 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -103,7 +103,7 @@ function f2(a: YesNo, b: UnknownYesNo, c: Choice) { function f3(a: Choice.Yes, b: UnknownYesNo) { >f3 : (a: Choice.Yes, b: UnknownYesNo) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -298,7 +298,7 @@ function f3(a: Choice.Yes, b: UnknownYesNo) { function f4(a: Choice.Yes, b: UnknownYesNo) { >f4 : (a: Choice.Yes, b: UnknownYesNo) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -321,7 +321,7 @@ function f4(a: Choice.Yes, b: UnknownYesNo) { declare function g(x: Choice.Yes): string; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -329,7 +329,7 @@ declare function g(x: Choice.Yes): string; declare function g(x: Choice.No): boolean; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.No > : ^^^^^^^^^ >Choice : any @@ -337,13 +337,13 @@ declare function g(x: Choice.No): boolean; declare function g(x: Choice): number; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : Choice > : ^^^^^^ function f5(a: YesNo, b: UnknownYesNo, c: Choice) { >f5 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -427,7 +427,7 @@ function assertNever(x: never): never { function f10(x: YesNo) { >f10 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -459,7 +459,7 @@ function f10(x: YesNo) { function f11(x: YesNo) { >f11 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -498,7 +498,7 @@ function f11(x: YesNo) { function f12(x: UnknownYesNo) { >f12 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -519,7 +519,7 @@ function f12(x: UnknownYesNo) { function f13(x: UnknownYesNo) { >f13 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -568,7 +568,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -612,7 +612,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/enumLiteralTypes3.types b/tests/baselines/reference/enumLiteralTypes3.types index 8ff63ab6b8617..150543d1ec334 100644 --- a/tests/baselines/reference/enumLiteralTypes3.types +++ b/tests/baselines/reference/enumLiteralTypes3.types @@ -45,7 +45,7 @@ type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No; function f1(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f1 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -90,7 +90,7 @@ function f1(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f2(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f2 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -135,7 +135,7 @@ function f2(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f3(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f3 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -180,7 +180,7 @@ function f3(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f4(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f4 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -225,7 +225,7 @@ function f4(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f5(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f5 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -382,7 +382,7 @@ function f5(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f6(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f6 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -539,7 +539,7 @@ function f6(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f7(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f7 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -680,7 +680,7 @@ function f7(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f10(x: Yes): Yes { >f10 : (x: Yes) => Yes -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Choice.Yes > : ^^^^^^^^^^ @@ -725,7 +725,7 @@ function f10(x: Yes): Yes { function f11(x: YesNo): YesNo { >f11 : (x: YesNo) => YesNo -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : YesNo > : ^^^^^ @@ -770,7 +770,7 @@ function f11(x: YesNo): YesNo { function f12(x: UnknownYesNo): UnknownYesNo { >f12 : (x: UnknownYesNo) => UnknownYesNo -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -815,7 +815,7 @@ function f12(x: UnknownYesNo): UnknownYesNo { function f13(x: Choice): Choice { >f13 : (x: Choice) => Choice -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Choice > : ^^^^^^ diff --git a/tests/baselines/reference/enumLiteralUnionNotWidened.types b/tests/baselines/reference/enumLiteralUnionNotWidened.types index 4a46e96b4c09b..c6b3c5825cb3f 100644 --- a/tests/baselines/reference/enumLiteralUnionNotWidened.types +++ b/tests/baselines/reference/enumLiteralUnionNotWidened.types @@ -49,7 +49,7 @@ class List function asList(arg: T): List { return new List(); } >asList : (arg: T) => List -> : ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >arg : T > : ^ >new List() : List @@ -61,7 +61,7 @@ function asList(arg: T): List { return new List(); } // The correct type is "List" function fn1(x: C): List { return asList(x); } >fn1 : (x: C) => List -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : C > : ^ >asList(x) : List @@ -74,7 +74,7 @@ function fn1(x: C): List { return asList(x); } // If we use the literal "foo" instead of B.foo, the correct type is inferred function fn2(x: D): List { return asList(x); } >fn2 : (x: D) => List -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : D > : ^ >asList(x) : List diff --git a/tests/baselines/reference/enumMemberReduction.types b/tests/baselines/reference/enumMemberReduction.types index 22401bad5de48..e5bfb8f4fa1b3 100644 --- a/tests/baselines/reference/enumMemberReduction.types +++ b/tests/baselines/reference/enumMemberReduction.types @@ -66,7 +66,7 @@ enum MyStringEnumWithEmpty { export function fn(optionalEnum: MyEnum | undefined) { >fn : (optionalEnum: MyEnum | undefined) => MyEnum -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >optionalEnum : MyEnum > : ^^^^^^ @@ -85,7 +85,7 @@ export function fn(optionalEnum: MyEnum | undefined) { export function fn2(optionalEnum: MyEnum | undefined) { >fn2 : (optionalEnum: MyEnum | undefined) => MyEnum.B | MyEnum.C -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >optionalEnum : MyEnum > : ^^^^^^ @@ -104,7 +104,7 @@ export function fn2(optionalEnum: MyEnum | undefined) { export function fn3(optionalEnum?: MyEnum) { >fn3 : (optionalEnum?: MyEnum) => MyEnum -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >optionalEnum : MyEnum > : ^^^^^^ @@ -123,7 +123,7 @@ export function fn3(optionalEnum?: MyEnum) { export function fn4(optionalEnum?: MyEnum) { >fn4 : (optionalEnum?: MyEnum) => MyEnum.B | MyEnum.C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >optionalEnum : MyEnum > : ^^^^^^ @@ -142,7 +142,7 @@ export function fn4(optionalEnum?: MyEnum) { export function fn5(optionalEnum?: MyStringEnum) { >fn5 : (optionalEnum?: MyStringEnum) => MyStringEnum -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >optionalEnum : MyStringEnum > : ^^^^^^^^^^^^ @@ -161,7 +161,7 @@ export function fn5(optionalEnum?: MyStringEnum) { export function fn6(optionalEnum?: MyStringEnumWithEmpty) { >fn6 : (optionalEnum?: MyStringEnumWithEmpty) => MyStringEnumWithEmpty.B | MyStringEnumWithEmpty.C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >optionalEnum : MyStringEnumWithEmpty > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/enumPropertyAccess.types b/tests/baselines/reference/enumPropertyAccess.types index 38c464034b789..0620db4ce8468 100644 --- a/tests/baselines/reference/enumPropertyAccess.types +++ b/tests/baselines/reference/enumPropertyAccess.types @@ -47,7 +47,7 @@ x.toFixed(); // ok // Now with generics function fill(f: B) { >fill : (f: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >f : B > : ^ diff --git a/tests/baselines/reference/enumTag.types b/tests/baselines/reference/enumTag.types index ee954cfd3ed20..b967c23d36a62 100644 --- a/tests/baselines/reference/enumTag.types +++ b/tests/baselines/reference/enumTag.types @@ -117,7 +117,7 @@ const Fs = { */ function consume(t,s,f) { >consume : (t: Target, s: Second, f: Fs) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : string > : ^^^^^^ >s : number diff --git a/tests/baselines/reference/equalityWithEnumTypes.types b/tests/baselines/reference/equalityWithEnumTypes.types index 64e1de34a1992..bbaca0dde5875 100644 --- a/tests/baselines/reference/equalityWithEnumTypes.types +++ b/tests/baselines/reference/equalityWithEnumTypes.types @@ -47,7 +47,7 @@ enum E2 { function f1(v: E1) { >f1 : (v: E1) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >v : E1 > : ^^ @@ -103,7 +103,7 @@ function f1(v: E1) { function f2(v: E2) { >f2 : (v: E2) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >v : E2 > : ^^ diff --git a/tests/baselines/reference/errorConstructorSubtypes.types b/tests/baselines/reference/errorConstructorSubtypes.types index a6d7e1cad3821..99007cc903e53 100644 --- a/tests/baselines/reference/errorConstructorSubtypes.types +++ b/tests/baselines/reference/errorConstructorSubtypes.types @@ -5,7 +5,7 @@ interface ErrorConstructor { captureStackTrace(targetObject: Object, constructorOpt?: Function): void; >captureStackTrace : (targetObject: Object, constructorOpt?: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >targetObject : Object > : ^^^^^^ >constructorOpt : Function diff --git a/tests/baselines/reference/errorElaboration.types b/tests/baselines/reference/errorElaboration.types index 3720599f560d6..71a84ea5b61c6 100644 --- a/tests/baselines/reference/errorElaboration.types +++ b/tests/baselines/reference/errorElaboration.types @@ -19,13 +19,13 @@ interface Container { } declare function foo(x: () => Container>): void; >foo : (x: () => Container>) => void -> : ^^^^ ^^^^^^^^^ ^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : () => Container> -> : ^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ let a: () => Container>; >a : () => Container> -> : ^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ foo(a); >foo(a) : void diff --git a/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.types b/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.types index c5943a912108e..6e855f30d69e5 100644 --- a/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.types +++ b/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.types @@ -3,7 +3,7 @@ === errorElaborationDivesIntoApparentlyPresentPropsOnly.ts === function foo(x: T) { >foo : (x: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >x : T @@ -32,7 +32,7 @@ function foo(x: T) { function bar(x: T) { >bar : (x: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >x : T @@ -53,7 +53,7 @@ function bar(x: T) { function baz(x: T) { >baz : (x: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >x : T diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types index b38532f1cefda..14e7071e0f5d7 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types @@ -7,7 +7,7 @@ namespace Test1 { function foo(x: T) { >foo : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >abc : number > : ^^^^^^ >x : T diff --git a/tests/baselines/reference/errorMessagesIntersectionTypes01.types b/tests/baselines/reference/errorMessagesIntersectionTypes01.types index deb3d6e194ab8..a4474669aeab7 100644 --- a/tests/baselines/reference/errorMessagesIntersectionTypes01.types +++ b/tests/baselines/reference/errorMessagesIntersectionTypes01.types @@ -18,7 +18,7 @@ interface FooBar extends Foo, Bar { declare function mixBar(obj: T): T & Bar; >mixBar : (obj: T) => T & Bar -> : ^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/errorMessagesIntersectionTypes02.types b/tests/baselines/reference/errorMessagesIntersectionTypes02.types index f5d1accfba14c..6793a0aed4af8 100644 --- a/tests/baselines/reference/errorMessagesIntersectionTypes02.types +++ b/tests/baselines/reference/errorMessagesIntersectionTypes02.types @@ -18,7 +18,7 @@ interface FooBar extends Foo, Bar { declare function mixBar(obj: T): T & Bar; >mixBar : (obj: T) => T & Bar -> : ^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/errorOnFunctionReturnType.types b/tests/baselines/reference/errorOnFunctionReturnType.types index e3f7a4e58372d..243bcab51621d 100644 --- a/tests/baselines/reference/errorOnFunctionReturnType.types +++ b/tests/baselines/reference/errorOnFunctionReturnType.types @@ -9,7 +9,7 @@ /** @type {FunctionReturningPromise} */ function testPromise1() { >testPromise1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ console.log("Nope"); >console.log("Nope") : void diff --git a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.types b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.types index faeb0ec57eefa..e92ebc759953d 100644 --- a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.types +++ b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.types @@ -4,52 +4,52 @@ interface Stuff { a?: () => Promise; >a : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ b: () => Promise; >b : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ c: () => Promise; >c : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ d: () => Promise; >d : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ e: () => Promise; >e : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ f: () => Promise; >f : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ g: () => Promise; >g : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ h: () => Promise; >h : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ i: () => Promise; >i : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ j: () => Promise; >j : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ k: () => Promise; >k : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } function foo(): Stuff | string { >foo : () => Stuff | string -> : ^^^^^^^^^^^ +> : ^^^^^^ return { >{ a() { return [123] }, b: () => "hello", c: () => "hello", d: () => "hello", e: () => "hello", f: () => "hello", g: () => "hello", h: () => "hello", i: () => "hello", j: () => "hello", k: () => 123 } : { a(): number[]; b: () => string; c: () => string; d: () => string; e: () => string; f: () => string; g: () => string; h: () => string; i: () => string; j: () => string; k: () => number; } diff --git a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.types b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.types index 87cbdd8faebe3..362cb0988913b 100644 --- a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.types +++ b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.types @@ -4,52 +4,52 @@ interface Stuff { a?: () => Promise; >a : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ b: () => Promise; >b : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ c: () => Promise; >c : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ d: () => Promise; >d : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ e: () => Promise; >e : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ f: () => Promise; >f : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ g: () => Promise; >g : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ h: () => Promise; >h : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ i: () => Promise; >i : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ j: () => Promise; >j : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ k: () => Promise; >k : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } function foo(): Stuff | Date { >foo : () => Stuff | Date -> : ^^^^^^^^^^^ ^^^^ +> : ^^^^^^ return { >{ a() { return [123] }, b: () => "hello", c: () => "hello", d: () => "hello", e: () => "hello", f: () => "hello", g: () => "hello", h: () => "hello", i: () => "hello", j: () => "hello", k: () => 123 } : { a(): number[]; b: () => string; c: () => string; d: () => string; e: () => string; f: () => string; g: () => string; h: () => string; i: () => string; j: () => string; k: () => number; } diff --git a/tests/baselines/reference/errorTypesAsTypeArguments.types b/tests/baselines/reference/errorTypesAsTypeArguments.types index fb316cd013e1e..e97f9f9321dd7 100644 --- a/tests/baselines/reference/errorTypesAsTypeArguments.types +++ b/tests/baselines/reference/errorTypesAsTypeArguments.types @@ -4,7 +4,7 @@ interface Foo { bar(baz: Foo): Foo; >bar : (baz: Foo) => Foo -> : ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ ^^^^^ >baz : Foo > : ^^^^^^ } diff --git a/tests/baselines/reference/errorsInGenericTypeReference.types b/tests/baselines/reference/errorsInGenericTypeReference.types index 26f4407bc0cca..1eda491c15342 100644 --- a/tests/baselines/reference/errorsInGenericTypeReference.types +++ b/tests/baselines/reference/errorsInGenericTypeReference.types @@ -61,13 +61,13 @@ class testClass3 { testMethod1(): Foo<{ x: V }> { return null; } // error: could not find symbol V >testMethod1 : () => Foo<{ x: V; }> -> : ^^^^^^^^^ +> : ^^^^^^ >x : V > : ^ static testMethod2(): Foo<{ x: V }> { return null } // error: could not find symbol V >testMethod2 : () => Foo<{ x: V; }> -> : ^^^^^^^^^ +> : ^^^^^^ >x : V > : ^ @@ -90,7 +90,7 @@ class testClass3 { // in function return type annotation function testFunction1(): Foo<{ x: V }> { return null; } // error: could not find symbol V >testFunction1 : () => Foo<{ x: V; }> -> : ^^^^^^^^^ +> : ^^^^^^ >x : V > : ^ @@ -98,7 +98,7 @@ function testFunction1(): Foo<{ x: V }> { return null; } // error: could not fin // in paramter types function testFunction2(p: Foo<{ x: V }>) { }// error: could not find symbol V >testFunction2 : (p: Foo<{ x: V; }>) => void -> : ^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : Foo<{ x: V; }> > : ^^^^^^^^^^^^^^ >x : V @@ -180,7 +180,7 @@ interface testInterface2 { method(a: Foo<{ x: V }>): Foo<{ x: V }>; //2x: error: could not find symbol V >method : (a: Foo<{ x: V; }>) => Foo<{ x: V; }> -> : ^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^ >a : Foo<{ x: V; }> > : ^^^^^^^^^^^^^^ >x : V diff --git a/tests/baselines/reference/errorsOnUnionsOfOverlappingObjects01.types b/tests/baselines/reference/errorsOnUnionsOfOverlappingObjects01.types index cb7db36b8e635..5cc98b4688391 100644 --- a/tests/baselines/reference/errorsOnUnionsOfOverlappingObjects01.types +++ b/tests/baselines/reference/errorsOnUnionsOfOverlappingObjects01.types @@ -40,7 +40,7 @@ export let x = { a: '', b: '' }; declare function f(x: Foo | Other): any; >f : (x: Foo | Other) => any -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Foo | Other > : ^^^^^^^^^^^ @@ -70,7 +70,7 @@ f({ a: '', b: '' }) declare function g(x: Bar | Other): any; >g : (x: Bar | Other) => any -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Bar | Other > : ^^^^^^^^^^^ @@ -100,7 +100,7 @@ g({ a: '', b: '' }) declare function h(x: Foo | Bar | Other): any; >h : (x: Foo | Bar | Other) => any -> : ^^^^^^^ ^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Foo | Bar | Other > : ^^^^^^^^^^^^^^^^^ @@ -156,7 +156,7 @@ type ExoticAnimal = declare function addToZoo(animal: ExoticAnimal): void; >addToZoo : (animal: ExoticAnimal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >animal : ExoticAnimal > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/es2017basicAsync.types b/tests/baselines/reference/es2017basicAsync.types index 0337dc7347ae1..59422ddb6b6c8 100644 --- a/tests/baselines/reference/es2017basicAsync.types +++ b/tests/baselines/reference/es2017basicAsync.types @@ -3,7 +3,7 @@ === es2017basicAsync.ts === async (): Promise => { >async (): Promise => { await 0;} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 0; >await 0 : 0 @@ -25,9 +25,9 @@ async function asyncFunc() { const asyncArrowFunc = async (): Promise => { >asyncArrowFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { await 0;} : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 0; >await 0 : 0 @@ -52,9 +52,9 @@ async function asyncIIFE() { >(async function(): Promise { await 1; })() : Promise > : ^^^^^^^^^^^^^ >(async function(): Promise { await 1; }) : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { await 1; } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 1; >await 1 : 1 @@ -70,11 +70,11 @@ async function asyncIIFE() { >(async function asyncNamedFunc(): Promise { await 1; })() : Promise > : ^^^^^^^^^^^^^ >(async function asyncNamedFunc(): Promise { await 1; }) : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function asyncNamedFunc(): Promise { await 1; } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >asyncNamedFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 1; >await 1 : 1 @@ -90,9 +90,9 @@ async function asyncIIFE() { >(async (): Promise => { await 1; })() : Promise > : ^^^^^^^^^^^^^ >(async (): Promise => { await 1; }) : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { await 1; } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 1; >await 1 : 1 @@ -109,9 +109,9 @@ class AsyncClass { asyncPropFunc = async function(): Promise { >asyncPropFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function(): Promise { await 2; } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 2; >await 2 : 2 @@ -122,11 +122,11 @@ class AsyncClass { asyncPropNamedFunc = async function namedFunc(): Promise { >asyncPropNamedFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async function namedFunc(): Promise { await 2; } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >namedFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 2; >await 2 : 2 @@ -137,9 +137,9 @@ class AsyncClass { asyncPropArrowFunc = async (): Promise => { >asyncPropArrowFunc : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >async (): Promise => { await 2; } : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 2; >await 2 : 2 @@ -150,7 +150,7 @@ class AsyncClass { async asyncMethod(): Promise { >asyncMethod : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await 2; >await 2 : 2 diff --git a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.types b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.types index 17d7fad25ec64..b21da2df5acf4 100644 --- a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.types +++ b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.types @@ -442,7 +442,7 @@ async function binaryComma0() { async function binaryComma1(): Promise { >binaryComma1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return x, await y; >x, await y : any diff --git a/tests/baselines/reference/es5-asyncFunctionReturnStatements.types b/tests/baselines/reference/es5-asyncFunctionReturnStatements.types index cf18689936171..225b01e2688a1 100644 --- a/tests/baselines/reference/es5-asyncFunctionReturnStatements.types +++ b/tests/baselines/reference/es5-asyncFunctionReturnStatements.types @@ -11,14 +11,14 @@ declare var x, y, z, a, b, c; async function returnStatement0(): Promise { >returnStatement0 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return; } async function returnStatement1(): Promise { >returnStatement1 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return x; >x : any @@ -26,7 +26,7 @@ async function returnStatement1(): Promise { async function returnStatement2(): Promise { >returnStatement2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ return await x; >await x : any @@ -35,14 +35,14 @@ async function returnStatement2(): Promise { async function returnStatement3(): Promise { >returnStatement3 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ { return; } } async function returnStatement4(): Promise { >returnStatement4 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ await x; >await x : any @@ -53,7 +53,7 @@ async function returnStatement4(): Promise { async function returnStatement5(): Promise{ >returnStatement5 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ { return await x; } >await x : any diff --git a/tests/baselines/reference/es5-asyncFunctionTryStatements.types b/tests/baselines/reference/es5-asyncFunctionTryStatements.types index fb4f4461dc913..9a66d6208571d 100644 --- a/tests/baselines/reference/es5-asyncFunctionTryStatements.types +++ b/tests/baselines/reference/es5-asyncFunctionTryStatements.types @@ -73,7 +73,7 @@ async function tryCatch2() { async function tryCatch3(): Promise { >tryCatch3 : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ var x: any, y: any; >x : any diff --git a/tests/baselines/reference/es5-importHelpersAsyncFunctions.types b/tests/baselines/reference/es5-importHelpersAsyncFunctions.types index 975cbf7fe90e4..d54abc21c73e1 100644 --- a/tests/baselines/reference/es5-importHelpersAsyncFunctions.types +++ b/tests/baselines/reference/es5-importHelpersAsyncFunctions.types @@ -15,7 +15,7 @@ async function foo() { === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -30,7 +30,7 @@ export declare function __assign(t: any, ...sources: any[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -40,7 +40,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -48,13 +48,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function @@ -64,7 +64,7 @@ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, ge export declare function __generator(body: Function): any; >__generator : (body: Function) => any -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >body : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration3.types b/tests/baselines/reference/es5ExportDefaultClassDeclaration3.types index f5914efee2798..3921189da8305 100644 --- a/tests/baselines/reference/es5ExportDefaultClassDeclaration3.types +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration3.types @@ -15,7 +15,7 @@ export default class C { method(): C { >method : () => C -> : ^^^^^^^ +> : ^^^^^^ return new C(); >new C() : C diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration4.types b/tests/baselines/reference/es5ExportDefaultClassDeclaration4.types index 81d96b30b345c..b4f9d32075730 100644 --- a/tests/baselines/reference/es5ExportDefaultClassDeclaration4.types +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration4.types @@ -15,7 +15,7 @@ declare module "foo" { method(): C; >method : () => C -> : ^^^^^^^ +> : ^^^^^^ } export var after: C; diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types index c9c5e347415fc..85be1d5d2677d 100644 --- a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types @@ -13,9 +13,9 @@ var before: typeof func = func(); export default function func(): typeof func { >func : () => typeof func -> : ^^^^^^ ^^^^ +> : ^^^^^^ >func : () => typeof func -> : ^^^^^^ ^^^^ +> : ^^^^^^ return func; >func : () => typeof func diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.types b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.types index 7d400698ad4bc..7a75994016e7f 100644 --- a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.types +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.types @@ -13,9 +13,9 @@ declare module "bar" { export default function func(): typeof func; >func : () => typeof func -> : ^^^^^^ ^^^^ +> : ^^^^^^ >func : () => typeof func -> : ^^^^^^ ^^^^ +> : ^^^^^^ var after: typeof func; >after : () => typeof func diff --git a/tests/baselines/reference/es6ClassTest4.types b/tests/baselines/reference/es6ClassTest4.types index 4cc9e9a2a9fab..dd793fa6505ce 100644 --- a/tests/baselines/reference/es6ClassTest4.types +++ b/tests/baselines/reference/es6ClassTest4.types @@ -15,7 +15,7 @@ declare class Point add(dx: number, dy: number): Point; >add : (dx: number, dy: number) => Point -> : ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number @@ -23,7 +23,7 @@ declare class Point mult(p: Point): Point; >mult : (p: Point) => Point -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/es6ClassTest8.types b/tests/baselines/reference/es6ClassTest8.types index a633fc2d1d5a6..7d112d4e2e5a3 100644 --- a/tests/baselines/reference/es6ClassTest8.types +++ b/tests/baselines/reference/es6ClassTest8.types @@ -42,13 +42,13 @@ class Vector { static norm(v:Vector):Vector {return null;} >norm : (v: Vector) => Vector -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : Vector > : ^^^^^^ static minus(v1:Vector, v2:Vector):Vector {return null;} >minus : (v1: Vector, v2: Vector) => Vector -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >v1 : Vector > : ^^^^^^ >v2 : Vector @@ -56,7 +56,7 @@ class Vector { static times(v1:Vector, v2:Vector):Vector {return null;} >times : (v1: Vector, v2: Vector) => Vector -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >v1 : Vector > : ^^^^^^ >v2 : Vector @@ -64,7 +64,7 @@ class Vector { static cross(v1:Vector, v2:Vector):Vector {return null;} >cross : (v1: Vector, v2: Vector) => Vector -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >v1 : Vector > : ^^^^^^ >v2 : Vector @@ -85,7 +85,7 @@ class Vector { static dot(v1:Vector, v2:Vector):Vector {return null;} >dot : (v1: Vector, v2: Vector) => Vector -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >v1 : Vector > : ^^^^^^ >v2 : Vector diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).types b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).types index 482068a933f55..84783c6772468 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).types +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).types @@ -103,7 +103,7 @@ class C { >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >(x: C) => x.#a : (x: C) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^ >x.#a : number diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).types b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).types index 482068a933f55..84783c6772468 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).types +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).types @@ -103,7 +103,7 @@ class C { >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >(x: C) => x.#a : (x: C) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^ >x.#a : number diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).types b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).types index 482068a933f55..84783c6772468 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).types +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).types @@ -103,7 +103,7 @@ class C { >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >(x: C) => x.#a : (x: C) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^ >x.#a : number diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).types b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).types index 482068a933f55..84783c6772468 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).types +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).types @@ -103,7 +103,7 @@ class C { >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >(x: C) => x.#a : (x: C) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^ >x.#a : number diff --git a/tests/baselines/reference/esDecorators-contextualTypes.2.types b/tests/baselines/reference/esDecorators-contextualTypes.2.types index 2d54e158ef28f..bb568b6d91477 100644 --- a/tests/baselines/reference/esDecorators-contextualTypes.2.types +++ b/tests/baselines/reference/esDecorators-contextualTypes.2.types @@ -53,7 +53,7 @@ export { C }; function boundMethodLogger(source: string, bound = true) { >boundMethodLogger : (source: string, bound?: boolean) => (target: (this: This, ...args: Args) => Return, context: ClassMethodDecoratorContext Return>) => ((this: This, ...args: Args) => Return) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >source : string > : ^^^^^^ >bound : boolean @@ -63,13 +63,13 @@ function boundMethodLogger(source: string, bou return function loggedDecorator( >function loggedDecorator( target: (this: This, ...args: Args) => Return, context: ClassMethodDecoratorContext Return> ): ((this: This, ...args: Args) => Return) { if (bound) { context.addInitializer(function () { (this as any)[context.name] = (this as any)[context.name].bind(this); }); } return function (this, ...args) { console.log(`<${source}>: I'm logging stuff from ${context.name.toString()}!`); return target.apply(this, args); } } : (target: (this: This, ...args: Args) => Return, context: ClassMethodDecoratorContext Return>) => ((this: This, ...args: Args) => Return) -> : ^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >loggedDecorator : (target: (this: This, ...args: Args) => Return, context: ClassMethodDecoratorContext Return>) => ((this: This, ...args: Args) => Return) -> : ^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ target: (this: This, ...args: Args) => Return, >target : (this: This, ...args: Args) => Return -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >this : This > : ^^^^ >args : Args @@ -77,7 +77,7 @@ function boundMethodLogger(source: string, bou context: ClassMethodDecoratorContext Return> >context : ClassMethodDecoratorContext Return> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^ >this : This > : ^^^^ >args : Args diff --git a/tests/baselines/reference/esDecorators-preservesThis.types b/tests/baselines/reference/esDecorators-preservesThis.types index 584e5a909dcc6..41cb3069f6b23 100644 --- a/tests/baselines/reference/esDecorators-preservesThis.types +++ b/tests/baselines/reference/esDecorators-preservesThis.types @@ -9,7 +9,7 @@ declare class DecoratorProvider { decorate(this: DecoratorProvider, v: T, ctx: DecoratorContext): T; >decorate : (this: DecoratorProvider, v: T, ctx: DecoratorContext) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^ >this : DecoratorProvider > : ^^^^^^^^^^^^^^^^^ >v : T diff --git a/tests/baselines/reference/esDecorators-privateFieldAccess.types b/tests/baselines/reference/esDecorators-privateFieldAccess.types index 2552010e4dba1..c0b1aa3986d07 100644 --- a/tests/baselines/reference/esDecorators-privateFieldAccess.types +++ b/tests/baselines/reference/esDecorators-privateFieldAccess.types @@ -37,7 +37,7 @@ class A { >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >(x: A) => x.#foo : (x: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : A > : ^ >x.#foo : number @@ -56,7 +56,7 @@ class A { >dec : any > : ^^^ >(x: B) => x.#foo : (x: B) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : B > : ^ >x.#foo : any diff --git a/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types b/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types index 9eddba8bd59b7..853d18b226f40 100644 --- a/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types +++ b/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types @@ -4,9 +4,9 @@ /** `static #cleanup` */ const IterableWeakMap_cleanup = ({ ref, set }: { >IterableWeakMap_cleanup : ({ ref, set }: { readonly ref: WeakRef; readonly set: Set>; }) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ ref, set }: { readonly ref: WeakRef; readonly set: Set>;}) => { set.delete(ref);} : ({ ref, set }: { readonly ref: WeakRef; readonly set: Set>; }) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >ref : WeakRef > : ^^^^^^^^^^^^^^^ >set : Set> @@ -52,9 +52,9 @@ export class IterableWeakMap implements WeakMap { #weakMap = new WeakMap; value: V }>(); >#weakMap : WeakMap; value: V; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ >new WeakMap; value: V }>() : WeakMap; value: V; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ >WeakMap : WeakMapConstructor > : ^^^^^^^^^^^^^^^^^^ >ref : WeakRef @@ -117,7 +117,7 @@ export class IterableWeakMap implements WeakMap { set(key: K, value: V): this { >set : (key: K, value: V) => this -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : V @@ -243,7 +243,7 @@ export class IterableWeakMap implements WeakMap { has(key: K): boolean { >has : (key: K) => boolean -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ @@ -264,7 +264,7 @@ export class IterableWeakMap implements WeakMap { get(key: K): V | undefined { >get : (key: K) => V | undefined -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ @@ -289,7 +289,7 @@ export class IterableWeakMap implements WeakMap { delete(key: K): boolean { >delete : (key: K) => boolean -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ @@ -387,7 +387,7 @@ export class IterableWeakMap implements WeakMap { *entries(): Generator<[key: K, value: V], void> { >entries : () => Generator<[key: K, value: V], void> -> : ^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ for (const ref of this.#refSet) { >ref : WeakRef diff --git a/tests/baselines/reference/eventEmitterPatternWithRecordOfFunction.types b/tests/baselines/reference/eventEmitterPatternWithRecordOfFunction.types index 4c90a4f2bc300..2bb6bb2037843 100644 --- a/tests/baselines/reference/eventEmitterPatternWithRecordOfFunction.types +++ b/tests/baselines/reference/eventEmitterPatternWithRecordOfFunction.types @@ -24,7 +24,7 @@ type EventMap = Record; interface B extends A { emit(event: Event, ...args: Args): boolean; >emit : (event: Event, ...args: Args) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >event : Event > : ^^^^^ >args : Args diff --git a/tests/baselines/reference/everyTypeAssignableToAny.types b/tests/baselines/reference/everyTypeAssignableToAny.types index a58e60c4d03af..5f484020b696c 100644 --- a/tests/baselines/reference/everyTypeAssignableToAny.types +++ b/tests/baselines/reference/everyTypeAssignableToAny.types @@ -92,7 +92,7 @@ var n: { foo: string }; var o: (x: T) => T; >o : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -230,7 +230,7 @@ a = ae; function foo(x: T, y: U, z: V) { >foo : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/excessPropertyCheckIntersectionWithRecursiveType.types b/tests/baselines/reference/excessPropertyCheckIntersectionWithRecursiveType.types index 602f0588b06a5..d768a600b1d2a 100644 --- a/tests/baselines/reference/excessPropertyCheckIntersectionWithRecursiveType.types +++ b/tests/baselines/reference/excessPropertyCheckIntersectionWithRecursiveType.types @@ -265,7 +265,7 @@ type BuildTree = { 0: T & { children: BuildTree>[] }; >0 : T & { children: BuildTree>[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^ ^^^ >children : BuildTree[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/excessPropertyCheckWithUnions.types b/tests/baselines/reference/excessPropertyCheckWithUnions.types index 8c098d7871ec7..34114a9aa9d58 100644 --- a/tests/baselines/reference/excessPropertyCheckWithUnions.types +++ b/tests/baselines/reference/excessPropertyCheckWithUnions.types @@ -609,9 +609,9 @@ declare const prop2: string | undefined; function F1(_arg: { props: Properties }) { } >F1 : (_arg: { props: Properties; }) => void -> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >_arg : { props: Properties; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >props : Properties > : ^^^^^^^^^^ @@ -642,7 +642,7 @@ F1({ function F2(_props: Properties) { } >F2 : (_props: Properties) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >_props : Properties > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.types b/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.types index 8c2fdec00fc3e..20b5eb0fa9e0d 100644 --- a/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.types +++ b/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.types @@ -9,9 +9,9 @@ type Foo = K extends unknown ? { a: number } : unknown const createDefaultExample = (x: K): Foo & { x: K; } => { >createDefaultExample : (x: K) => Foo & { x: K; } -> : ^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >(x: K): Foo & { x: K; } => { return { a: 1, x: x }; // okay in TS 4.7.4, error in TS 4.8.2} : (x: K) => Foo & { x: K; } -> : ^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >x : K > : ^ >x : K diff --git a/tests/baselines/reference/excessiveStackDepthFlatArray.types b/tests/baselines/reference/excessiveStackDepthFlatArray.types index 607ca33b09d1d..ce34f73a0eecf 100644 --- a/tests/baselines/reference/excessiveStackDepthFlatArray.types +++ b/tests/baselines/reference/excessiveStackDepthFlatArray.types @@ -10,9 +10,9 @@ Symbol count: 28,000 / 28,000 (nearest 500) interface MiddlewareArray extends Array {} declare function configureStore(options: { middleware: MiddlewareArray }): void; >configureStore : (options: { middleware: MiddlewareArray; }) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : { middleware: MiddlewareArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^ ^^^ >middleware : MiddlewareArray > : ^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/exhaustiveSwitchStatements1.types b/tests/baselines/reference/exhaustiveSwitchStatements1.types index 2da1d776b730c..3afbc5d598a76 100644 --- a/tests/baselines/reference/exhaustiveSwitchStatements1.types +++ b/tests/baselines/reference/exhaustiveSwitchStatements1.types @@ -126,7 +126,7 @@ enum E { A, B } function f(e: E): number { >f : (e: E) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : E > : ^ @@ -158,7 +158,7 @@ function f(e: E): number { function g(e: E): number { >g : (e: E) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : E > : ^ @@ -235,7 +235,7 @@ type Shape = Square | Rectangle | Circle | Triangle; function area(s: Shape): number { >area : (s: Shape) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : Shape > : ^^^^^ @@ -370,7 +370,7 @@ function area(s: Shape): number { function areaWrapped(s: Shape): number { >areaWrapped : (s: Shape) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : Shape > : ^^^^^ @@ -517,7 +517,7 @@ enum MyEnum { function thisGivesError(e: MyEnum): string { >thisGivesError : (e: MyEnum) => string -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : MyEnum > : ^^^^^^ @@ -564,7 +564,7 @@ function thisGivesError(e: MyEnum): string { function good1(e: MyEnum): string { >good1 : (e: MyEnum) => string -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : MyEnum > : ^^^^^^ @@ -619,7 +619,7 @@ function good1(e: MyEnum): string { function good2(e: MyEnum): string { >good2 : (e: MyEnum) => string -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : MyEnum > : ^^^^^^ @@ -666,9 +666,9 @@ enum Level { const doSomethingWithLevel = (level: Level) => { >doSomethingWithLevel : (level: Level) => Level -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ >(level: Level) => { let next: Level; switch (level) { case Level.One: next = Level.Two; break; case Level.Two: next = Level.One; break; } return next;} : (level: Level) => Level -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ >level : Level > : ^^^^^ @@ -757,7 +757,7 @@ type Shape2 = Square2 | Circle2; function withDefault(s1: Shape2, s2: Shape2): string { >withDefault : (s1: Shape2, s2: Shape2) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >s1 : Shape2 > : ^^^^^^ >s2 : Shape2 @@ -817,7 +817,7 @@ function withDefault(s1: Shape2, s2: Shape2): string { function withoutDefault(s1: Shape2, s2: Shape2): string { >withoutDefault : (s1: Shape2, s2: Shape2) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >s1 : Shape2 > : ^^^^^^ >s2 : Shape2 @@ -923,13 +923,13 @@ enum Animal { DOG, CAT } declare const zoo: { animal: Animal } | undefined; >zoo : { animal: Animal; } | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ >animal : Animal > : ^^^^^^ function expression(): Animal { >expression : () => Animal -> : ^^^^^^^^^^^^ +> : ^^^^^^ switch (zoo?.animal ?? Animal.DOG) { >zoo?.animal ?? Animal.DOG : Animal @@ -1035,7 +1035,7 @@ type K = keyof O | 'c'; function ff(o: O, k: K) { >ff : (o: O, k: K) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^ >o : O > : ^ >k : K @@ -1085,7 +1085,7 @@ type A = { kind: "abc" } | { kind: "def" }; function f35431(a: A) { >f35431 : (a: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : A > : ^ diff --git a/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.types b/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.types index 4ac8a5bf68a16..eafb1f0b52b4e 100644 --- a/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.types +++ b/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.types @@ -27,7 +27,7 @@ class B { function f(value: A | B): number { >f : (value: A | B) => number -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : A | B > : ^^^^^ diff --git a/tests/baselines/reference/expandoFunctionContextualTypesJs.types b/tests/baselines/reference/expandoFunctionContextualTypesJs.types index f1ec12f6b7912..06f6e5433fae7 100644 --- a/tests/baselines/reference/expandoFunctionContextualTypesJs.types +++ b/tests/baselines/reference/expandoFunctionContextualTypesJs.types @@ -53,7 +53,7 @@ MyComponent2.defaultProps = { >MyComponent2.defaultProps : MyComponentProps > : ^^^^^^^^^^^^^^^^ >MyComponent2 : { (): any; defaultProps: MyComponentProps; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >defaultProps : MyComponentProps > : ^^^^^^^^^^^^^^^^ >{ color: "red"} : { color: "red"; } @@ -81,7 +81,7 @@ const check = MyComponent2; */ function expectLiteral(p) {} >expectLiteral : (p: { props: MyComponentProps; }) => void -> : ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : { props: MyComponentProps; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/expandoFunctionNullishProperty.types b/tests/baselines/reference/expandoFunctionNullishProperty.types index 586d72fb69cb2..bef6555affd61 100644 --- a/tests/baselines/reference/expandoFunctionNullishProperty.types +++ b/tests/baselines/reference/expandoFunctionNullishProperty.types @@ -12,7 +12,7 @@ interface TestNull { export function testNull(): TestNull { >testNull : () => TestNull -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ function inner() {} >inner : { (): void; prop: null; } @@ -42,7 +42,7 @@ interface TestNull2 { export function testNull2(): TestNull2 { >testNull2 : () => TestNull2 -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ function inner() {} >inner : { (): void; prop: null; } @@ -72,7 +72,7 @@ interface TestUndefined { export function testUndefined(): TestUndefined { >testUndefined : () => TestUndefined -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ function inner() {} >inner : { (): void; prop: undefined; } diff --git a/tests/baselines/reference/expandoFunctionSymbolProperty.types b/tests/baselines/reference/expandoFunctionSymbolProperty.types index df25d167277e9..d119b79c0e79e 100644 --- a/tests/baselines/reference/expandoFunctionSymbolProperty.types +++ b/tests/baselines/reference/expandoFunctionSymbolProperty.types @@ -22,7 +22,7 @@ interface TestSymb { export function test(): TestSymb { >test : () => TestSymb -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ function inner() {} >inner : { (): void; [symb]: boolean; } diff --git a/tests/baselines/reference/exponentiationOperatorWithTypeParameter.types b/tests/baselines/reference/exponentiationOperatorWithTypeParameter.types index 33c2690f40026..3236850bccd69 100644 --- a/tests/baselines/reference/exponentiationOperatorWithTypeParameter.types +++ b/tests/baselines/reference/exponentiationOperatorWithTypeParameter.types @@ -4,7 +4,7 @@ // type parameter type is not valid for arithmetic operand function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/exportAssignTypes.types b/tests/baselines/reference/exportAssignTypes.types index 249c37b5d1754..f0721463c0d75 100644 --- a/tests/baselines/reference/exportAssignTypes.types +++ b/tests/baselines/reference/exportAssignTypes.types @@ -65,7 +65,7 @@ import iGeneric = require('./expGeneric'); var v7: {(p1: x): x} = iGeneric; >v7 : (p1: x) => x -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >p1 : x > : ^ >iGeneric : (a: T) => T @@ -149,7 +149,7 @@ export = x; === expGeneric.ts === function x(a: T){ >x : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/exportAssignedNamespaceIsVisibleInDeclarationEmit.types b/tests/baselines/reference/exportAssignedNamespaceIsVisibleInDeclarationEmit.types index 1840ba4982089..5541fe00eaafe 100644 --- a/tests/baselines/reference/exportAssignedNamespaceIsVisibleInDeclarationEmit.types +++ b/tests/baselines/reference/exportAssignedNamespaceIsVisibleInDeclarationEmit.types @@ -8,7 +8,7 @@ declare namespace Foo { export interface Bar {} export function f(): Bar; >f : () => Bar -> : ^^^^^^^^^ +> : ^^^^^^ } export = Foo; >Foo : typeof Foo diff --git a/tests/baselines/reference/exportAssignmentMembersVisibleInAugmentation.types b/tests/baselines/reference/exportAssignmentMembersVisibleInAugmentation.types index 2b0de1684ee8a..de75f587064ac 100644 --- a/tests/baselines/reference/exportAssignmentMembersVisibleInAugmentation.types +++ b/tests/baselines/reference/exportAssignmentMembersVisibleInAugmentation.types @@ -22,7 +22,7 @@ declare module "foo" { export function f(): T; // OK >f : () => T -> : ^^^^^^^ +> : ^^^^^^ } === /b.ts === @@ -36,7 +36,7 @@ declare module "foo" { export function g(): foo.T; // OK >g : () => foo.T -> : ^^^^^^^^^ ^ +> : ^^^^^^ >foo : any > : ^^^ } diff --git a/tests/baselines/reference/exportAssignmentWithImportStatementPrivacyError.types b/tests/baselines/reference/exportAssignmentWithImportStatementPrivacyError.types index 1edea951f3067..0472e35201301 100644 --- a/tests/baselines/reference/exportAssignmentWithImportStatementPrivacyError.types +++ b/tests/baselines/reference/exportAssignmentWithImportStatementPrivacyError.types @@ -11,7 +11,7 @@ module m2 { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -30,7 +30,7 @@ module M { export var server: { >server : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; } -> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): m2.connectExport; >m2 : any @@ -44,7 +44,7 @@ module M { test2(): m2.connectModule; >test2 : () => m2.connectModule -> : ^^^^^^^^ +> : ^^^^^^ >m2 : any > : ^^^ diff --git a/tests/baselines/reference/exportAssignmentWithPrivacyError.types b/tests/baselines/reference/exportAssignmentWithPrivacyError.types index 5a03ee15a6e9a..5f1bfff65aec7 100644 --- a/tests/baselines/reference/exportAssignmentWithPrivacyError.types +++ b/tests/baselines/reference/exportAssignmentWithPrivacyError.types @@ -10,7 +10,7 @@ interface connectmodule { interface connectexport { use: (mod: connectmodule) => connectexport; >use : (mod: connectmodule) => connectexport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectmodule > : ^^^^^^^^^^^^^ @@ -23,7 +23,7 @@ interface connectexport { var server: { >server : { (): connectexport; test1: connectmodule; test2(): connectmodule; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): connectexport; test1: connectmodule; @@ -32,7 +32,7 @@ var server: { test2(): connectmodule; >test2 : () => connectmodule -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ }; diff --git a/tests/baselines/reference/exportClassExtendingIntersection.types b/tests/baselines/reference/exportClassExtendingIntersection.types index 505eeee8d8b30..9e89e95e8373e 100644 --- a/tests/baselines/reference/exportClassExtendingIntersection.types +++ b/tests/baselines/reference/exportClassExtendingIntersection.types @@ -34,7 +34,7 @@ export interface MyMixin { export function MyMixin>>(base: T): T & Constructor { >MyMixin : >>(base: T) => T & Constructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >base : T > : ^ diff --git a/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.types b/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.types index fad8f7b4cb262..05b9609991b0d 100644 --- a/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.types +++ b/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.types @@ -7,7 +7,7 @@ declare namespace Q { function _try(method: Function, ...args: any[]): any; >_try : (method: Function, ...args: any[]) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >method : Function > : ^^^^^^^^ >args : any[] diff --git a/tests/baselines/reference/exportDefaultAsyncFunction.types b/tests/baselines/reference/exportDefaultAsyncFunction.types index 21e1cb416c6ee..2525182328291 100644 --- a/tests/baselines/reference/exportDefaultAsyncFunction.types +++ b/tests/baselines/reference/exportDefaultAsyncFunction.types @@ -3,7 +3,7 @@ === exportDefaultAsyncFunction.ts === export default async function foo(): Promise {} >foo : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ foo(); >foo() : Promise diff --git a/tests/baselines/reference/exportDefaultStripsFreshness.types b/tests/baselines/reference/exportDefaultStripsFreshness.types index f76c4372ff0eb..1d1f8d27da8c6 100644 --- a/tests/baselines/reference/exportDefaultStripsFreshness.types +++ b/tests/baselines/reference/exportDefaultStripsFreshness.types @@ -39,7 +39,7 @@ interface IFoo { function nFoo(x: IFoo) {} >nFoo : (x: IFoo) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : IFoo > : ^^^^ diff --git a/tests/baselines/reference/exportEqualErrorType.types b/tests/baselines/reference/exportEqualErrorType.types index 3830c807de0ad..d36001f6d3fff 100644 --- a/tests/baselines/reference/exportEqualErrorType.types +++ b/tests/baselines/reference/exportEqualErrorType.types @@ -42,14 +42,14 @@ module server { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ } } var server: { >server : { (): server.connectExport; foo: Date; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^ (): server.connectExport; >server : any diff --git a/tests/baselines/reference/exportEqualMemberMissing.types b/tests/baselines/reference/exportEqualMemberMissing.types index 2f1a1d61b197f..0b76c14ebd051 100644 --- a/tests/baselines/reference/exportEqualMemberMissing.types +++ b/tests/baselines/reference/exportEqualMemberMissing.types @@ -42,14 +42,14 @@ module server { export interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ } } var server: { >server : { (): server.connectExport; foo: Date; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^ (): server.connectExport; >server : any diff --git a/tests/baselines/reference/exportEqualsOfModule.types b/tests/baselines/reference/exportEqualsOfModule.types index e9ad31a2abf16..82201a96ded88 100644 --- a/tests/baselines/reference/exportEqualsOfModule.types +++ b/tests/baselines/reference/exportEqualsOfModule.types @@ -46,7 +46,7 @@ declare module 'popsicle-proxy-agent' { function proxy(): (request: Request) => any; >proxy : () => (request: Request) => any -> : ^^^^^^ ^^^^^^^ +> : ^^^^^^ >request : Request > : ^^^^^^^ diff --git a/tests/baselines/reference/exportImport.types b/tests/baselines/reference/exportImport.types index c983f302943e8..c386895b21f1e 100644 --- a/tests/baselines/reference/exportImport.types +++ b/tests/baselines/reference/exportImport.types @@ -7,7 +7,7 @@ import e = require('./exporter'); export function w(): e.w { // Should be OK >w : () => e.w -> : ^^^^^^^ +> : ^^^^^^ >e : any > : ^^^ diff --git a/tests/baselines/reference/exportImportNonInstantiatedModule2.types b/tests/baselines/reference/exportImportNonInstantiatedModule2.types index acbbf228ba0d0..f554cdbe38520 100644 --- a/tests/baselines/reference/exportImportNonInstantiatedModule2.types +++ b/tests/baselines/reference/exportImportNonInstantiatedModule2.types @@ -7,7 +7,7 @@ import e = require('./exporter'); export function w(): e.w { // Should be OK >w : () => e.w -> : ^^^^^^^ +> : ^^^^^^ >e : any > : ^^^ diff --git a/tests/baselines/reference/exportNestedNamespaces.types b/tests/baselines/reference/exportNestedNamespaces.types index 1f334e230c719..965267ccfb99d 100644 --- a/tests/baselines/reference/exportNestedNamespaces.types +++ b/tests/baselines/reference/exportNestedNamespaces.types @@ -112,7 +112,7 @@ var classic = new s.Classic() @param {s.Classic} classic */ function f(c, classic) { >f : (c: K, classic: s.Classic) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >c : K > : ^ >classic : s.Classic diff --git a/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.types b/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.types index e28c60d316703..4cedac37686b5 100644 --- a/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.types +++ b/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.types @@ -20,7 +20,7 @@ declare module "m2" { function Z(): X.I; >Z : () => X.I -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ } @@ -31,7 +31,7 @@ declare module "m2" { function Z2(): X.I; >Z2 : () => X.I -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ } diff --git a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types index e70a2f131552a..1166e17b3ee19 100644 --- a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types +++ b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types @@ -20,7 +20,7 @@ declare module "m2" { function Z(): X.I; >Z : () => X.I -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ } diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.types index d5e11995d52bc..b5c3b3261e827 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.types @@ -12,7 +12,7 @@ declare module "m" { export function foo(): X.bar; >foo : () => X.bar -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ } diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types index 7af7d5d7be79a..c541ad4e0d418 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types @@ -11,7 +11,7 @@ export { X }; export declare function foo(): X.bar; >foo : () => X.bar -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types index fb958c1c5ffe6..6479046c76e2e 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types @@ -13,7 +13,7 @@ declare module "m" { export function foo(): X.foo; >foo : () => X.foo -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types index 3000f0c3ab9db..5bd8e94d07540 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types @@ -12,7 +12,7 @@ export { X }; export declare function foo(): X.foo; >foo : () => X.foo -> : ^^^^^^^ +> : ^^^^^^ >X : any > : ^^^ diff --git a/tests/baselines/reference/exportTypeMergedWithExportStarAsNamespace.types b/tests/baselines/reference/exportTypeMergedWithExportStarAsNamespace.types index 8f058425cc6de..d9becc426a085 100644 --- a/tests/baselines/reference/exportTypeMergedWithExportStarAsNamespace.types +++ b/tests/baselines/reference/exportTypeMergedWithExportStarAsNamespace.types @@ -40,7 +40,7 @@ export type SubType = { value: A } export declare function of(value: A): Something >of : (value: A) => Something -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : A > : ^ diff --git a/tests/baselines/reference/exportVisibility.types b/tests/baselines/reference/exportVisibility.types index 8b976ada313ca..6434239850970 100644 --- a/tests/baselines/reference/exportVisibility.types +++ b/tests/baselines/reference/exportVisibility.types @@ -16,7 +16,7 @@ export var foo = new Foo(); export function test(foo: Foo) { >test : (foo: Foo) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ >foo : Foo > : ^^^ diff --git a/tests/baselines/reference/exportedInterfaceInaccessibleInCallbackInModule.types b/tests/baselines/reference/exportedInterfaceInaccessibleInCallbackInModule.types index 4ff0ed235bff8..d03f9baedad45 100644 --- a/tests/baselines/reference/exportedInterfaceInaccessibleInCallbackInModule.types +++ b/tests/baselines/reference/exportedInterfaceInaccessibleInCallbackInModule.types @@ -13,9 +13,9 @@ export declare class TPromise { constructor(init:(complete: (value:V)=>void, error:(err:any)=>void, progress:ProgressCallback)=>void, oncancel?: any); >init : (complete: (value: V) => void, error: (err: any) => void, progress: ProgressCallback) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >complete : (value: V) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => void @@ -28,13 +28,13 @@ export declare class TPromise { // removing this method fixes the error squiggle..... public then(success?: (value:V)=>TPromise, error?: (err:any)=>TPromise, progress?:ProgressCallback): TPromise; >then : (success?: (value: V) => TPromise, error?: (err: any) => TPromise, progress?: ProgressCallback) => TPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: V) => TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => TPromise -> : ^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^ ^^^^^ >err : any >progress : ProgressCallback > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/expressionTypeNodeShouldError.types b/tests/baselines/reference/expressionTypeNodeShouldError.types index 9ca4e1f84f7ea..ba93245788d75 100644 --- a/tests/baselines/reference/expressionTypeNodeShouldError.types +++ b/tests/baselines/reference/expressionTypeNodeShouldError.types @@ -15,7 +15,7 @@ declare const x: "foo".charCodeAt(0); interface String { typeof(x: T): T; >typeof : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -80,7 +80,7 @@ type ItemType = "".typeof(nodes.item(0)); interface Number { typeof(x: T): T; >typeof : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -145,7 +145,7 @@ type ItemType2 = 4..typeof(nodes.item(0)); interface Boolean { typeof(x: T): T; >typeof : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/expressionWithJSDocTypeArguments.types b/tests/baselines/reference/expressionWithJSDocTypeArguments.types index adce55b77101d..17790fc9e5e8b 100644 --- a/tests/baselines/reference/expressionWithJSDocTypeArguments.types +++ b/tests/baselines/reference/expressionWithJSDocTypeArguments.types @@ -5,7 +5,7 @@ function foo(x: T): T { return x } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -53,25 +53,25 @@ const ComeOnFoo = foo; type TWhatFoo = typeof foo; >TWhatFoo : typeof foo -> : ^^^ ^^^^^^^ +> : ^^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^ type THuhFoo = typeof foo; >THuhFoo : typeof foo -> : ^^^ ^^^^^^^ +> : ^^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^ type TNopeFoo = typeof foo; >TNopeFoo : typeof foo -> : ^^^ ^^^^^^^ +> : ^^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^ type TComeOnFoo = typeof foo; >TComeOnFoo : typeof foo<(string | null) | null> -> : ^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^ @@ -109,25 +109,25 @@ const ComeOnBar = Bar; type TWhatBar = typeof Bar; >TWhatBar : typeof Bar -> : ^^^ ^^^^^^^ +> : ^^^^^^^ >Bar : typeof Bar > : ^^^^^^^^^^ type THuhBar = typeof Bar; >THuhBar : typeof Bar -> : ^^^ ^^^^^^^ +> : ^^^^^^^ >Bar : typeof Bar > : ^^^^^^^^^^ type TNopeBar = typeof Bar; >TNopeBar : typeof Bar -> : ^^^ ^^^^^^^ +> : ^^^^^^^ >Bar : typeof Bar > : ^^^^^^^^^^ type TComeOnBar = typeof Bar; >TComeOnBar : typeof Bar<(string | null) | null> -> : ^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ >Bar : typeof Bar > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/extendAndImplementTheSameBaseType2.types b/tests/baselines/reference/extendAndImplementTheSameBaseType2.types index 089f25b779696..e552629d89b20 100644 --- a/tests/baselines/reference/extendAndImplementTheSameBaseType2.types +++ b/tests/baselines/reference/extendAndImplementTheSameBaseType2.types @@ -11,7 +11,7 @@ class C { bar(): T { >bar : () => T -> : ^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/extendBooleanInterface.types b/tests/baselines/reference/extendBooleanInterface.types index 740f027e3e65d..48d795918cb65 100644 --- a/tests/baselines/reference/extendBooleanInterface.types +++ b/tests/baselines/reference/extendBooleanInterface.types @@ -8,7 +8,7 @@ interface Boolean { doOtherStuff(x: T): T; >doOtherStuff : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/extendGenericArray.types b/tests/baselines/reference/extendGenericArray.types index ece637bc00bd2..94bc01a159786 100644 --- a/tests/baselines/reference/extendGenericArray.types +++ b/tests/baselines/reference/extendGenericArray.types @@ -4,7 +4,7 @@ interface Array { foo(): T; >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ } var arr: string[] = []; diff --git a/tests/baselines/reference/extendNumberInterface.types b/tests/baselines/reference/extendNumberInterface.types index 1220902c52691..5d4a75ce038c7 100644 --- a/tests/baselines/reference/extendNumberInterface.types +++ b/tests/baselines/reference/extendNumberInterface.types @@ -8,7 +8,7 @@ interface Number { doOtherStuff(x:T): T; >doOtherStuff : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/extendStringInterface.types b/tests/baselines/reference/extendStringInterface.types index 3fc6f3e144450..313604556ffbe 100644 --- a/tests/baselines/reference/extendStringInterface.types +++ b/tests/baselines/reference/extendStringInterface.types @@ -8,7 +8,7 @@ interface String { doOtherStuff(x:T): T; >doOtherStuff : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/extendedInterfaceGenericType.types b/tests/baselines/reference/extendedInterfaceGenericType.types index 4eb134954000d..c8f949b779e7c 100644 --- a/tests/baselines/reference/extendedInterfaceGenericType.types +++ b/tests/baselines/reference/extendedInterfaceGenericType.types @@ -4,13 +4,13 @@ interface Alpha { takesArgOfT(arg: T): Alpha; >takesArgOfT : (arg: T) => Alpha -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ makeBetaOfNumber(): Beta; >makeBetaOfNumber : () => Beta -> : ^^^^^^^^^^ +> : ^^^^^^ } interface Beta extends Alpha { } diff --git a/tests/baselines/reference/externModuleClobber.types b/tests/baselines/reference/externModuleClobber.types index da1037bfe3314..e8d0f64f48ce6 100644 --- a/tests/baselines/reference/externModuleClobber.types +++ b/tests/baselines/reference/externModuleClobber.types @@ -15,7 +15,7 @@ declare module EM { public getPosition() : EM.Position; >getPosition : () => EM.Position -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >EM : any > : ^^^ } diff --git a/tests/baselines/reference/externalModuleAssignToVar.types b/tests/baselines/reference/externalModuleAssignToVar.types index 0f5f136b64d02..b90b7d90968d9 100644 --- a/tests/baselines/reference/externalModuleAssignToVar.types +++ b/tests/baselines/reference/externalModuleAssignToVar.types @@ -8,9 +8,9 @@ import ext = require('externalModuleAssignToVar_core_require'); var y1: { C: new() => ext.C; } = ext; >y1 : { C: new () => ext.C; } -> : ^^^^^ ^^^ ^^^ +> : ^^^^^ ^^^ >C : new () => ext.C -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >ext : any > : ^^^ >ext : typeof ext @@ -30,7 +30,7 @@ import ext2 = require('externalModuleAssignToVar_core_require2'); var y2: new() => ext2 = ext2; >y2 : new () => ext2 -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >ext2 : typeof ext2 > : ^^^^^^^^^^^ @@ -48,7 +48,7 @@ import ext3 = require('externalModuleAssignToVar_ext'); var y3: new () => ext3 = ext3; >y3 : new () => ext3 -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >ext3 : typeof ext3 > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/externalModuleQualification.types b/tests/baselines/reference/externalModuleQualification.types index 462d2f28de597..6770d248cd942 100644 --- a/tests/baselines/reference/externalModuleQualification.types +++ b/tests/baselines/reference/externalModuleQualification.types @@ -28,7 +28,7 @@ class NavigateAction { f(editor: DiffEditor) { >f : (editor: DiffEditor) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >editor : DiffEditor > : ^^^^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/extractInferenceImprovement.types b/tests/baselines/reference/extractInferenceImprovement.types index ad89814661a9d..29c18ed892048 100644 --- a/tests/baselines/reference/extractInferenceImprovement.types +++ b/tests/baselines/reference/extractInferenceImprovement.types @@ -4,7 +4,7 @@ // repro mostly from https://github.com/Microsoft/TypeScript/issues/25065 function getProperty2(obj: T, key: Extract): T[K] { >getProperty2 : (obj: T, key: Extract) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >obj : T > : ^ >key : Extract @@ -21,7 +21,7 @@ function getProperty2(obj: T, key: Extract): T[ function getProperty3>(obj: T, key: K): T[K] { >getProperty3 : >(obj: T, key: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >obj : T > : ^ >key : K diff --git a/tests/baselines/reference/fallbackToBindingPatternForTypeInference.types b/tests/baselines/reference/fallbackToBindingPatternForTypeInference.types index 983c32ee0f9b7..4296b40d44512 100644 --- a/tests/baselines/reference/fallbackToBindingPatternForTypeInference.types +++ b/tests/baselines/reference/fallbackToBindingPatternForTypeInference.types @@ -3,9 +3,9 @@ === fallbackToBindingPatternForTypeInference.ts === declare function trans(f: (x: T) => string): number; >trans : (f: (x: T) => string) => number -> : ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >f : (x: T) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/fatArrowSelf.types b/tests/baselines/reference/fatArrowSelf.types index 4bdc418d69df4..8cb9c44ce07d3 100644 --- a/tests/baselines/reference/fatArrowSelf.types +++ b/tests/baselines/reference/fatArrowSelf.types @@ -15,7 +15,7 @@ module Events { public addListener(type:string, listener:ListenerCallback) { >addListener : (type: string, listener: ListenerCallback) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >type : string > : ^^^^^^ >listener : ListenerCallback diff --git a/tests/baselines/reference/fatArrowfunctionAsType.types b/tests/baselines/reference/fatArrowfunctionAsType.types index bb8e3e77269bc..1bb3027c8373d 100644 --- a/tests/baselines/reference/fatArrowfunctionAsType.types +++ b/tests/baselines/reference/fatArrowfunctionAsType.types @@ -3,17 +3,17 @@ === fatArrowfunctionAsType.ts === declare var b: (x: T) => void ; >b : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var c: (x: T) => void = function (x: T) { return 42; } >c : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >function (x: T) { return 42; } : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >42 : 42 diff --git a/tests/baselines/reference/fixCrashAliasLookupForDefauledImport.types b/tests/baselines/reference/fixCrashAliasLookupForDefauledImport.types index b214851bee49b..91f8d1a7562be 100644 --- a/tests/baselines/reference/fixCrashAliasLookupForDefauledImport.types +++ b/tests/baselines/reference/fixCrashAliasLookupForDefauledImport.types @@ -12,7 +12,7 @@ import {Foo} from "./input"; function bar(element: Foo) { >bar : (element: Foo) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ >element : Foo > : ^^^ diff --git a/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.types b/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.types index 61663a05f33f9..de1e5afbcd650 100644 --- a/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.types +++ b/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.types @@ -3,7 +3,7 @@ === fixTypeParameterInSignatureWithRestParameters.ts === function bar(item1: T, item2: T) { } >bar : (item1: T, item2: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >item1 : T > : ^ >item2 : T diff --git a/tests/baselines/reference/fixingTypeParametersRepeatedly1.types b/tests/baselines/reference/fixingTypeParametersRepeatedly1.types index 95603b67d9648..f71651c4169cb 100644 --- a/tests/baselines/reference/fixingTypeParametersRepeatedly1.types +++ b/tests/baselines/reference/fixingTypeParametersRepeatedly1.types @@ -3,15 +3,15 @@ === fixingTypeParametersRepeatedly1.ts === declare function f(x: T, y: (p: T) => T, z: (p: T) => T): T; >f : (x: T, y: (p: T) => T, z: (p: T) => T) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ >z : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ @@ -42,15 +42,15 @@ f("", x => null, x => x.toLowerCase()); // First overload of g should type check just like f declare function g(x: T, y: (p: T) => T, z: (p: T) => T): T; >g : { (x: T, y: (p: T) => T, z: (p: T) => T): T; (): any; } -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >x : T > : ^ >y : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ >z : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/fixingTypeParametersRepeatedly2.types b/tests/baselines/reference/fixingTypeParametersRepeatedly2.types index c8bc069db3994..ccc2fe2b68b23 100644 --- a/tests/baselines/reference/fixingTypeParametersRepeatedly2.types +++ b/tests/baselines/reference/fixingTypeParametersRepeatedly2.types @@ -9,7 +9,7 @@ interface Base { interface Derived extends Base { toBase(): Base; >toBase : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ } var derived: Derived; @@ -18,11 +18,11 @@ var derived: Derived; declare function foo(x: T, func: (p: T) => T): T; >foo : (x: T, func: (p: T) => T) => T -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ ^^^^^ >x : T > : ^ >func : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ @@ -52,21 +52,21 @@ var result = foo(derived, d => d.toBase()); // The same error should be observed in both cases. declare function bar(x: T, func: (p: T) => T): T; >bar : { (x: T, func: (p: T) => T): T; (x: T_1, func: (p: T_1) => T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >func : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ declare function bar(x: T, func: (p: T) => T): T; >bar : { (x: T_1, func: (p: T_1) => T_1): T_1; (x: T, func: (p: T) => T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^ ^^^ >x : T > : ^ >func : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/fixingTypeParametersRepeatedly3.types b/tests/baselines/reference/fixingTypeParametersRepeatedly3.types index 35c837464922d..11c7e7f502f1e 100644 --- a/tests/baselines/reference/fixingTypeParametersRepeatedly3.types +++ b/tests/baselines/reference/fixingTypeParametersRepeatedly3.types @@ -8,7 +8,7 @@ interface Base { interface Derived extends Base { toBase?(): Base; >toBase : () => Base -> : ^^^^^^^^^^ +> : ^^^^^^ } var derived: Derived; @@ -17,11 +17,11 @@ var derived: Derived; declare function foo(x: T, func: (p: T) => T): T; >foo : (x: T, func: (p: T) => T) => T -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ ^^^^^ >x : T > : ^ >func : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ @@ -51,21 +51,21 @@ var result = foo(derived, d => d.toBase()); // result2 should have the same type as result declare function bar(x: T, func: (p: T) => T): T; >bar : { (x: T, func: (p: T) => T): T; (x: T_1, func: (p: T_1) => T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >func : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ declare function bar(x: T, func: (p: T) => T): T; >bar : { (x: T_1, func: (p: T_1) => T_1): T_1; (x: T, func: (p: T) => T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^ ^^^ >x : T > : ^ >func : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types b/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types index 885320a854792..ed0cc9fc9182f 100644 --- a/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types +++ b/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types @@ -93,7 +93,7 @@ const repro_43249 = (value: unknown) => { function f(x: FlatArray, y: FlatArray) { >f : (x: FlatArray, y: FlatArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : FlatArray > : ^^^^^^^^^^^^^^^^^^^ >y : FlatArray diff --git a/tests/baselines/reference/flowControlTypeGuardThenSwitch.types b/tests/baselines/reference/flowControlTypeGuardThenSwitch.types index 8497e470ec9c1..149b405c6d469 100644 --- a/tests/baselines/reference/flowControlTypeGuardThenSwitch.types +++ b/tests/baselines/reference/flowControlTypeGuardThenSwitch.types @@ -48,7 +48,7 @@ type Both = A | B; function isBoth(x: Base): x is Both { >isBoth : (x: Base) => x is Both -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^ >x : Base > : ^^^^ diff --git a/tests/baselines/reference/for-inStatements.types b/tests/baselines/reference/for-inStatements.types index 40af3bd84e1b6..0ad5be1f4f6f6 100644 --- a/tests/baselines/reference/for-inStatements.types +++ b/tests/baselines/reference/for-inStatements.types @@ -163,9 +163,9 @@ for (var x in ((x: T) => x)) { } >x : string > : ^^^^^^ >((x: T) => x) : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/for-inStatementsInvalid.types b/tests/baselines/reference/for-inStatementsInvalid.types index cc7076ecc1132..ffd5088a0d8bf 100644 --- a/tests/baselines/reference/for-inStatementsInvalid.types +++ b/tests/baselines/reference/for-inStatementsInvalid.types @@ -137,9 +137,9 @@ for (var x in ((x: T) => x)) { } >x : string > : ^^^^^^ >((x: T) => x) : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/for-of29.types b/tests/baselines/reference/for-of29.types index 6e72a158fff76..6bd79100347b1 100644 --- a/tests/baselines/reference/for-of29.types +++ b/tests/baselines/reference/for-of29.types @@ -3,11 +3,11 @@ === for-of29.ts === var iterableWithOptionalIterator: { >iterableWithOptionalIterator : { [Symbol.iterator]?(): Iterator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ [Symbol.iterator]?(): Iterator >[Symbol.iterator] : () => Iterator -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor diff --git a/tests/baselines/reference/forAwaitForUnion.types b/tests/baselines/reference/forAwaitForUnion.types index d517c59d818ae..f9fadb845a897 100644 --- a/tests/baselines/reference/forAwaitForUnion.types +++ b/tests/baselines/reference/forAwaitForUnion.types @@ -3,7 +3,7 @@ === forAwaitForUnion.ts === async function f(source: Iterable | AsyncIterable) { >f : (source: Iterable | AsyncIterable) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >source : Iterable | AsyncIterable > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/freshLiteralInference.types b/tests/baselines/reference/freshLiteralInference.types index 55a154ab5e804..5674eba707026 100644 --- a/tests/baselines/reference/freshLiteralInference.types +++ b/tests/baselines/reference/freshLiteralInference.types @@ -3,7 +3,7 @@ === freshLiteralInference.ts === declare function f1(x: T): T; >f1 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -25,9 +25,9 @@ let x1 = value; // regular "1" declare function f2(x: { value: T }): { value: T }; >f2 : (x: { value: T; }) => { value: T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { value: T; } -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >value : T > : ^ >value : T @@ -59,7 +59,7 @@ let x2 = obj2.value; // regular "1" declare function f3(obj: T): T; >f3 : (obj: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >value : "1" | "2" | "3" > : ^^^^^^^^^^^^^^^ >obj : T diff --git a/tests/baselines/reference/freshLiteralTypesInIntersections.types b/tests/baselines/reference/freshLiteralTypesInIntersections.types index 599b896db6d09..553db2d800e99 100644 --- a/tests/baselines/reference/freshLiteralTypesInIntersections.types +++ b/tests/baselines/reference/freshLiteralTypesInIntersections.types @@ -5,7 +5,7 @@ declare function func(a: A, b: B[]): (ab: A & B) => void; >func : (a: A, b: B[]) => (ab: A & B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B[] diff --git a/tests/baselines/reference/funcdecl.types b/tests/baselines/reference/funcdecl.types index ea01b130951cf..af2fdb3a051d0 100644 --- a/tests/baselines/reference/funcdecl.types +++ b/tests/baselines/reference/funcdecl.types @@ -57,7 +57,7 @@ var withparamsVar = withParams; function withMultiParams(a : number, b, c: Object) { >withMultiParams : (a: number, b: any, c: Object) => number -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ >a : number > : ^^^^^^ >b : any diff --git a/tests/baselines/reference/functionArgShadowing.types b/tests/baselines/reference/functionArgShadowing.types index f95f5bc143f81..84b9a65daf418 100644 --- a/tests/baselines/reference/functionArgShadowing.types +++ b/tests/baselines/reference/functionArgShadowing.types @@ -15,7 +15,7 @@ class B { bar() { } } function foo(x: A) { >foo : (x: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A > : ^ diff --git a/tests/baselines/reference/functionAssignment.types b/tests/baselines/reference/functionAssignment.types index f9614289c1155..59288ddbff293 100644 --- a/tests/baselines/reference/functionAssignment.types +++ b/tests/baselines/reference/functionAssignment.types @@ -3,7 +3,7 @@ === functionAssignment.ts === function f(n: Function) { } >f : (n: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Function > : ^^^^^^^^ @@ -28,7 +28,7 @@ interface foo { interface baz { get(callback: Function): number; >get : (callback: Function) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >callback : Function > : ^^^^^^^^ } diff --git a/tests/baselines/reference/functionCall18.types b/tests/baselines/reference/functionCall18.types index 10b2978d2c2a8..f8db6d3f6eb31 100644 --- a/tests/baselines/reference/functionCall18.types +++ b/tests/baselines/reference/functionCall18.types @@ -4,7 +4,7 @@ // Repro from #26835 declare function foo(a: T, b: T); >foo : { (a: T, b: T): any; (a: {}): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/functionCall5.types b/tests/baselines/reference/functionCall5.types index 244027d76405b..5e2f11b769d23 100644 --- a/tests/baselines/reference/functionCall5.types +++ b/tests/baselines/reference/functionCall5.types @@ -10,7 +10,7 @@ module m1 { export class c1 { public a; }} function foo():m1.c1{return new m1.c1();}; >foo : () => m1.c1 -> : ^^^^^^^^ +> : ^^^^^^ >m1 : any > : ^^^ >new m1.c1() : m1.c1 diff --git a/tests/baselines/reference/functionCall7.types b/tests/baselines/reference/functionCall7.types index 40c0951a14c46..89555b6576f69 100644 --- a/tests/baselines/reference/functionCall7.types +++ b/tests/baselines/reference/functionCall7.types @@ -11,7 +11,7 @@ module m1 { export class c1 { public a; }} function foo(a:m1.c1){ a.a = 1; }; >foo : (a: m1.c1) => void -> : ^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : m1.c1 > : ^^^^^ >m1 : any diff --git a/tests/baselines/reference/functionCallOnConstrainedTypeVariable.types b/tests/baselines/reference/functionCallOnConstrainedTypeVariable.types index e148789de584f..a08b0dc7f68b2 100644 --- a/tests/baselines/reference/functionCallOnConstrainedTypeVariable.types +++ b/tests/baselines/reference/functionCallOnConstrainedTypeVariable.types @@ -28,7 +28,7 @@ type B = { function call0(p: A | B) { >call0 : (p: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : A | B > : ^^^^^ @@ -47,7 +47,7 @@ function call0(p: A | B) { function callN(p: T) { >callN : (p: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/functionConstraintSatisfaction.types b/tests/baselines/reference/functionConstraintSatisfaction.types index b6858883ca62f..f512b87e42f6e 100644 --- a/tests/baselines/reference/functionConstraintSatisfaction.types +++ b/tests/baselines/reference/functionConstraintSatisfaction.types @@ -5,7 +5,7 @@ function foo(x: T): T { return x; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -164,19 +164,19 @@ class C2 { var a2: { (x: T): T }; >a2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var b2: { new (x: T): T }; >b2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var c2: { (x: T): T; (x: T, y: T): T }; >c2 : { (x: T): T; (x: T_1, y: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -186,13 +186,13 @@ var c2: { (x: T): T; (x: T, y: T): T }; var r9 = foo((x: U) => x); >r9 : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo((x: U) => x) : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => x : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : U > : ^ >x : U @@ -200,13 +200,13 @@ var r9 = foo((x: U) => x); var r10 = foo(function (x: U) { return x; }); >r10 : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo(function (x: U) { return x; }) : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function (x: U) { return x; } : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : U > : ^ >x : U @@ -214,13 +214,13 @@ var r10 = foo(function (x: U) { return x; }); var r11 = foo((x: U) => x); >r11 : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >foo((x: U) => x) : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => x : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : U > : ^ >x : U @@ -228,13 +228,13 @@ var r11 = foo((x: U) => x); var r12 = foo((x: U, y: V) => x); >r12 : (x: U, y: V) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >foo((x: U, y: V) => x) : (x: U, y: V) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >foo : (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U, y: V) => x : (x: U, y: V) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >x : U > : ^ >y : V @@ -302,7 +302,7 @@ var r17 = foo(f2); function foo2(x: T, y: U) { >foo2 : void, U extends () => void>(x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/functionConstraintSatisfaction2.types b/tests/baselines/reference/functionConstraintSatisfaction2.types index e8c34ab278d97..c1e7fca2686cd 100644 --- a/tests/baselines/reference/functionConstraintSatisfaction2.types +++ b/tests/baselines/reference/functionConstraintSatisfaction2.types @@ -5,7 +5,7 @@ function foo(x: T): T { return x; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -41,7 +41,7 @@ foo(1, () => { }); function foo2 string>(x: T): T { return x; } >foo2 : string>(x: T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : string > : ^^^^^^ >x : T @@ -75,7 +75,7 @@ class C2 { var b2: { new (x: T): T }; >b2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -127,13 +127,13 @@ var r7 = foo2(b); var r8 = foo2((x: U) => x); // no error expected >r8 : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo2((x: U) => x) : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo2 : string>(x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => x : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : U > : ^ >x : U @@ -147,7 +147,7 @@ var r11 = foo2((x: U, y: V) => x); >foo2 : string>(x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U, y: V) => x : (x: U, y: V) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >x : U > : ^ >y : V @@ -195,7 +195,7 @@ var r16 = foo2(f2); function fff(x: T, y: U) { >fff : void, U extends T>(x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/functionConstraintSatisfaction3.types b/tests/baselines/reference/functionConstraintSatisfaction3.types index 91c2a92743927..a18da402e8a12 100644 --- a/tests/baselines/reference/functionConstraintSatisfaction3.types +++ b/tests/baselines/reference/functionConstraintSatisfaction3.types @@ -5,7 +5,7 @@ function foo string>(x: T): T { return x; } >foo : string>(x: T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : string > : ^^^^^^ >x : T @@ -138,19 +138,19 @@ class C2 { var a2: { (x: T): T }; >a2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var b2: { new (x: T): T }; >b2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var c2: { (x: T): T; (x: T, y: T): T }; >c2 : { (x: T): T; (x: T_1, y: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -160,13 +160,13 @@ var c2: { (x: T): T; (x: T, y: T): T }; var r9 = foo(function (x: U) { return x; }); >r9 : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo(function (x: U) { return x; }) : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >foo : string>(x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function (x: U) { return x; } : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : U > : ^ >x : U @@ -174,13 +174,13 @@ var r9 = foo(function (x: U) { return x; }); var r10 = foo((x: U) => x); >r10 : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >foo((x: U) => x) : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >foo : string>(x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => x : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : U > : ^ >x : U diff --git a/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.types b/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.types index 1012d66ec7272..783dead4e2c71 100644 --- a/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.types +++ b/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.types @@ -8,7 +8,7 @@ class CDoc { constructor() { function doSomething(a: Function) { >doSomething : (a: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : Function > : ^^^^^^^^ } diff --git a/tests/baselines/reference/functionExpressionContextualTyping1.types b/tests/baselines/reference/functionExpressionContextualTyping1.types index 99d4e3b6b2445..5ab006738b9fc 100644 --- a/tests/baselines/reference/functionExpressionContextualTyping1.types +++ b/tests/baselines/reference/functionExpressionContextualTyping1.types @@ -55,7 +55,7 @@ class Class { var a1: (c: Class) => number = (a1) => { >a1 : (c: Class) => number -> : ^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >c : Class > : ^^^^^^^^^^^^^ >(a1) => { a1.foo(); return 1;} : (a1: Class) => number @@ -173,7 +173,7 @@ b3 = (name, number) => { }; var b4: (n: E) => string = (number = 1) => { return "hello"; }; >b4 : (n: E) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >n : E > : ^ >(number = 1) => { return "hello"; } : (number?: E) => string @@ -276,7 +276,7 @@ class C { constructor() { var k: ((j: T, k: U) => (T|U)[]) | ((j: number,k :U) => number[]) = (j, k) => { >k : ((j: T, k: U) => (T | U)[]) | ((j: number, k: U) => number[]) -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ ^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^ >j : T > : ^ >k : U diff --git a/tests/baselines/reference/functionExpressionContextualTyping3.types b/tests/baselines/reference/functionExpressionContextualTyping3.types index f7aacf0eb8790..6510f084d0a91 100644 --- a/tests/baselines/reference/functionExpressionContextualTyping3.types +++ b/tests/baselines/reference/functionExpressionContextualTyping3.types @@ -4,7 +4,7 @@ // #31114 declare function f(value: T | number): void; >f : (value: T | number) => void -> : ^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : number | T > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/functionImplementations.types b/tests/baselines/reference/functionImplementations.types index 959120dbbb247..09e5178f712f1 100644 --- a/tests/baselines/reference/functionImplementations.types +++ b/tests/baselines/reference/functionImplementations.types @@ -198,7 +198,7 @@ var n = function (x: T) { >function (x: T) { return x;} (4) : 4 > : ^ >function (x: T) { return x;} : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -217,7 +217,7 @@ var n = function (x: T) { >function (x: T) { return x;} (4) : 4 > : ^ >function (x: T) { return x;} : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/functionLiteral.types b/tests/baselines/reference/functionLiteral.types index 3f9525c8f02e9..a1585670aa279 100644 --- a/tests/baselines/reference/functionLiteral.types +++ b/tests/baselines/reference/functionLiteral.types @@ -32,11 +32,11 @@ var y: (x: string) => string; var y2: { (x: T): T; } = (x: T) => x >y2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/functionLiteralForOverloads.types b/tests/baselines/reference/functionLiteralForOverloads.types index fb9cac561cd6e..13e5f363cdaab 100644 --- a/tests/baselines/reference/functionLiteralForOverloads.types +++ b/tests/baselines/reference/functionLiteralForOverloads.types @@ -41,7 +41,7 @@ var f2: { var f3: { >f3 : { (x: T): string; (x: T_1): number; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^ ^^^ (x: T): string; >x : T @@ -59,7 +59,7 @@ var f3: { var f4: { >f4 : { (x: string): T; (x: number): T_1; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^ ^^^^^^^^^ (x: string): T; >x : string diff --git a/tests/baselines/reference/functionLiteralForOverloads2.types b/tests/baselines/reference/functionLiteralForOverloads2.types index 0f516ad9d3a13..9332834ff06b3 100644 --- a/tests/baselines/reference/functionLiteralForOverloads2.types +++ b/tests/baselines/reference/functionLiteralForOverloads2.types @@ -37,7 +37,7 @@ class D { var f: { >f : { new (x: string): C; new (x: number): C; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new(x: string): C; >x : string @@ -53,7 +53,7 @@ var f: { var f2: { >f2 : { new (x: string): C; new (x: number): C; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^ new(x: string): C; >x : string @@ -69,7 +69,7 @@ var f2: { var f3: { >f3 : { new (x: string): D; new (x: number): D; } -> : ^^^^^^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^ new(x: string): D; >x : string diff --git a/tests/baselines/reference/functionLiterals.types b/tests/baselines/reference/functionLiterals.types index 61bcb98237e20..d65d0ec55a1c5 100644 --- a/tests/baselines/reference/functionLiterals.types +++ b/tests/baselines/reference/functionLiterals.types @@ -190,23 +190,23 @@ c.func5 = c.func4; // generic versions var b2: { >b2 : { func1(x: T): number; func2: (x: T_1) => number; func3: (x: T_2) => number; } -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ func1(x: T): number; // Method signature >func1 : (x: T) => number -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ func2: (x: T) => number; // Function type literal >func2 : (x: T) => number -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ func3: { (x: T): number }; // Object type literal >func3 : (x: T) => number -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -310,23 +310,23 @@ b2.func3 = b2.func2; var c2: { >c2 : { func4(x: T): number; func4(s: T_1): string; func5: { (x: T_2): number; (s: T_3): string; }; } -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^ func4(x: T): number; >func4 : { (x: T): number; (s: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ func4(s: T): string; >func4 : { (x: T_1): number; (s: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >s : T > : ^ func5: { >func5 : { (x: T): number; (s: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^ ^^^ (x: T): number; >x : T diff --git a/tests/baselines/reference/functionOverloadErrors.types b/tests/baselines/reference/functionOverloadErrors.types index 76d6877d8c672..c134a2fccb121 100644 --- a/tests/baselines/reference/functionOverloadErrors.types +++ b/tests/baselines/reference/functionOverloadErrors.types @@ -36,7 +36,7 @@ function fn2b(n: number[]); function fn2b(n: Array); >fn2b : { (n: number[]): any; (n: Array): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >n : number[] > : ^^^^^^^^ @@ -123,13 +123,13 @@ function fn8() { } //Function overloads that differ only by type parameter name when used in parameter type annotations function fn9(n: T); >fn9 : { (n: T): any; (n: S): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ function fn9(n: S); >fn9 : { (n: T): any; (n: S): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : S > : ^ @@ -326,11 +326,11 @@ function fn14() { //Function overloads where return types are different infinitely recursive type reference function fn15>>(): T; >fn15 : { >>(): T; >(): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function fn15>(): T; >fn15 : { >>(): T_1; >(): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ function fn15() { >fn15 : { >>(): T; >(): T_1; } diff --git a/tests/baselines/reference/functionOverloads44.types b/tests/baselines/reference/functionOverloads44.types index 8daada01c0b75..92e763261c0a7 100644 --- a/tests/baselines/reference/functionOverloads44.types +++ b/tests/baselines/reference/functionOverloads44.types @@ -12,7 +12,7 @@ interface Cat extends Animal { cat } function foo1(bar: { a:number }[]): Dog; >foo1 : { (bar: { a: number; }[]): Dog; (bar: { a: string; }[]): Animal; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bar : { a: number; }[] > : ^^^^^ ^^^^^ >a : number @@ -20,7 +20,7 @@ function foo1(bar: { a:number }[]): Dog; function foo1(bar: { a:string }[]): Animal; >foo1 : { (bar: { a: number; }[]): Dog; (bar: { a: string; }[]): Animal; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >bar : { a: string; }[] > : ^^^^^ ^^^^^ >a : string @@ -41,7 +41,7 @@ function foo1([x]: { a:number | string }[]): Dog { function foo2(bar: { a:number }[]): Cat; >foo2 : { (bar: { a: number; }[]): Cat; (bar: { a: string; }[]): Dog | Cat; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bar : { a: number; }[] > : ^^^^^ ^^^^^ >a : number @@ -49,7 +49,7 @@ function foo2(bar: { a:number }[]): Cat; function foo2(bar: { a:string }[]): Cat | Dog; >foo2 : { (bar: { a: number; }[]): Cat; (bar: { a: string; }[]): Cat | Dog; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >bar : { a: string; }[] > : ^^^^^ ^^^^^ >a : string diff --git a/tests/baselines/reference/functionOverloads45.types b/tests/baselines/reference/functionOverloads45.types index fb69bb858c0ef..4b458049b08f0 100644 --- a/tests/baselines/reference/functionOverloads45.types +++ b/tests/baselines/reference/functionOverloads45.types @@ -12,7 +12,7 @@ interface Cat extends Animal { cat } function foo1(bar: { a:number }[]): Cat; >foo1 : { (bar: { a: number; }[]): Cat; (bar: { a: string; }[]): Dog; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bar : { a: number; }[] > : ^^^^^ ^^^^^ >a : number @@ -20,7 +20,7 @@ function foo1(bar: { a:number }[]): Cat; function foo1(bar: { a:string }[]): Dog; >foo1 : { (bar: { a: number; }[]): Cat; (bar: { a: string; }[]): Dog; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >bar : { a: string; }[] > : ^^^^^ ^^^^^ >a : string @@ -41,7 +41,7 @@ function foo1([x]: { a:number | string }[]): Animal { function foo2(bar: { a:number }[]): Cat; >foo2 : { (bar: { a: number; }[]): Cat; (bar: { a: string; }[]): Dog; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >bar : { a: number; }[] > : ^^^^^ ^^^^^ >a : number @@ -49,7 +49,7 @@ function foo2(bar: { a:number }[]): Cat; function foo2(bar: { a:string }[]): Dog; >foo2 : { (bar: { a: number; }[]): Cat; (bar: { a: string; }[]): Dog; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >bar : { a: string; }[] > : ^^^^^ ^^^^^ >a : string diff --git a/tests/baselines/reference/functionOverloadsOnGenericArity2.types b/tests/baselines/reference/functionOverloadsOnGenericArity2.types index a53e8edd2fd2e..bdb73ec409768 100644 --- a/tests/baselines/reference/functionOverloadsOnGenericArity2.types +++ b/tests/baselines/reference/functionOverloadsOnGenericArity2.types @@ -16,7 +16,7 @@ interface I { then(p: string): Date; >then : { (p: string): string; (p: string): string; (p: string): Date; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >p : string > : ^^^^^^ } diff --git a/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.types b/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.types index e15f69483bb96..279d48a7ea665 100644 --- a/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.types +++ b/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.types @@ -16,18 +16,18 @@ class A{ GetEnumerator: () => B; >GetEnumerator : () => B -> : ^^^^^^^ ^ +> : ^^^^^^ } function Choice(args: T[]): A; >Choice : { (args: T[]): A; (...v_args: T_1[]): A; } -> : ^^^^^^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : T[] > : ^^^ function Choice(...v_args: T[]): A; >Choice : { (args: T_1[]): A; (...v_args: T[]): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >v_args : T[] > : ^^^ diff --git a/tests/baselines/reference/functionReturnTypeQuery.types b/tests/baselines/reference/functionReturnTypeQuery.types index fec3a4d9aa131..dc609513d347b 100644 --- a/tests/baselines/reference/functionReturnTypeQuery.types +++ b/tests/baselines/reference/functionReturnTypeQuery.types @@ -7,7 +7,7 @@ declare let foo: number; declare function test1(foo: string, bar: typeof foo): typeof foo; >test1 : (foo: string, bar: typeof foo) => typeof foo -> : ^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^ >foo : string > : ^^^^^^ >bar : string @@ -19,7 +19,7 @@ declare function test1(foo: string, bar: typeof foo): typeof foo; declare function test2({foo}: {foo: string}, bar: typeof foo): typeof foo; >test2 : ({ foo }: { foo: string; }, bar: typeof foo) => typeof foo -> : ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^^^^^ ^^^^^ >foo : string > : ^^^^^^ >foo : string diff --git a/tests/baselines/reference/functionSignatureAssignmentCompat1.types b/tests/baselines/reference/functionSignatureAssignmentCompat1.types index efcdd42353a82..fb762c8c56254 100644 --- a/tests/baselines/reference/functionSignatureAssignmentCompat1.types +++ b/tests/baselines/reference/functionSignatureAssignmentCompat1.types @@ -15,7 +15,7 @@ interface Parsers { readline(delimiter?: string): ParserFunc; >readline : (delimiter?: string) => ParserFunc -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >delimiter : string > : ^^^^^^ } diff --git a/tests/baselines/reference/functionTypeArgumentAssignmentCompat.types b/tests/baselines/reference/functionTypeArgumentAssignmentCompat.types index 855aea5262891..79db8b1e2fa88 100644 --- a/tests/baselines/reference/functionTypeArgumentAssignmentCompat.types +++ b/tests/baselines/reference/functionTypeArgumentAssignmentCompat.types @@ -3,7 +3,7 @@ === functionTypeArgumentAssignmentCompat.ts === var f : { >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ (x:T): T; >x : T @@ -12,7 +12,7 @@ var f : { var g : { >g : () => S[] -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ () : S[]; } = () => []; diff --git a/tests/baselines/reference/functionWithMultipleReturnStatements.types b/tests/baselines/reference/functionWithMultipleReturnStatements.types index b56dc99da8891..13db4b1b50495 100644 --- a/tests/baselines/reference/functionWithMultipleReturnStatements.types +++ b/tests/baselines/reference/functionWithMultipleReturnStatements.types @@ -103,7 +103,7 @@ function f5() { function f6(x: T, y:U) { >f6 : (x: T, y: U) => T | U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >x : T > : ^ >y : U @@ -126,7 +126,7 @@ function f6(x: T, y:U) { function f8(x: T, y: U) { >f8 : (x: T, y: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/functionWithMultipleReturnStatements2.types b/tests/baselines/reference/functionWithMultipleReturnStatements2.types index f56fb37d23f94..78cd5be5b489d 100644 --- a/tests/baselines/reference/functionWithMultipleReturnStatements2.types +++ b/tests/baselines/reference/functionWithMultipleReturnStatements2.types @@ -85,7 +85,7 @@ function f5() { function f6(x: T) { >f6 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -169,7 +169,7 @@ function f10() { // returns number => void function f11() { >f11 : () => ((x: number) => void) | ((x: Object) => void) -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ if (true) { >true : true @@ -184,7 +184,7 @@ function f11() { } else { return (x: Object) => { } >(x: Object) => { } : (x: Object) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Object > : ^^^^^^ } @@ -193,7 +193,7 @@ function f11() { // returns Object => void function f12() { >f12 : () => ((x: Object) => void) | ((x: number) => void) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ if (true) { >true : true @@ -201,7 +201,7 @@ function f12() { return (x: Object) => { } >(x: Object) => { } : (x: Object) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Object > : ^^^^^^ diff --git a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.types b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.types index 0756154942f90..2f52f90d3e2dc 100644 --- a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.types +++ b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.types @@ -51,21 +51,21 @@ const f22: () => number = () => { async function f30(): Promise { >f30 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Ok, return type allows implicit return of undefined } async function f31(): Promise { >f31 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Error, return type isn't just undefined } async function f32(): Promise { >f32 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ // Error, return type doesn't include undefined } diff --git a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).types b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).types index 9e5c7852097bb..fe02509640618 100644 --- a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).types +++ b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).types @@ -90,7 +90,7 @@ function f5(): {} { function f6(): Record { >f6 : () => Record -> : ^^^^^^^^^^^^ +> : ^^^^^^ if (Math.random() < 0.5) return { "foo": true }; >Math.random() < 0.5 : boolean diff --git a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).types b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).types index 9e5c7852097bb..fe02509640618 100644 --- a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).types +++ b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).types @@ -90,7 +90,7 @@ function f5(): {} { function f6(): Record { >f6 : () => Record -> : ^^^^^^^^^^^^ +> : ^^^^^^ if (Math.random() < 0.5) return { "foo": true }; >Math.random() < 0.5 : boolean diff --git a/tests/baselines/reference/funduleUsedAcrossFileBoundary.types b/tests/baselines/reference/funduleUsedAcrossFileBoundary.types index 7236a6e50f64f..202e8f7f021aa 100644 --- a/tests/baselines/reference/funduleUsedAcrossFileBoundary.types +++ b/tests/baselines/reference/funduleUsedAcrossFileBoundary.types @@ -24,7 +24,7 @@ declare module Q { === funduleUsedAcrossFileBoundary_file2.ts === function promiseWithCancellation(promise: Q.Promise) { >promiseWithCancellation : (promise: Q.Promise) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^ >promise : Q.Promise > : ^^^^^^^^^^^^ >Q : any diff --git a/tests/baselines/reference/fuzzy.types b/tests/baselines/reference/fuzzy.types index 24fa307e741ae..184c666e0c15a 100644 --- a/tests/baselines/reference/fuzzy.types +++ b/tests/baselines/reference/fuzzy.types @@ -8,15 +8,15 @@ module M { export interface I { works:()=>R; >works : () => R -> : ^^^^^^^ +> : ^^^^^^ alsoWorks:()=>R; >alsoWorks : () => R -> : ^^^^^^^ +> : ^^^^^^ doesntWork:()=>R; >doesntWork : () => R -> : ^^^^^^^ +> : ^^^^^^ } export interface R { @@ -39,7 +39,7 @@ module M { } works():R { >works : () => R -> : ^^^^^^^ +> : ^^^^^^ return ({ anything: 1 }); >({ anything: 1 }) : R @@ -56,7 +56,7 @@ module M { doesntWork():R { >doesntWork : () => R -> : ^^^^^^^ +> : ^^^^^^ return { anything:1, oneI:this }; >{ anything:1, oneI:this } : { anything: number; oneI: this; } @@ -73,7 +73,7 @@ module M { worksToo():R { >worksToo : () => R -> : ^^^^^^^ +> : ^^^^^^ return ({ oneI: this }); >({ oneI: this }) : R diff --git a/tests/baselines/reference/generatedContextualTyping.types b/tests/baselines/reference/generatedContextualTyping.types index c85d9358bd5b2..51a6d113ec113 100644 --- a/tests/baselines/reference/generatedContextualTyping.types +++ b/tests/baselines/reference/generatedContextualTyping.types @@ -27,7 +27,7 @@ class Derived2 extends Base { private n; } interface Genric { func(n: T[]); } >func : (n: T[]) => any -> : ^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : T[] > : ^^^ @@ -53,7 +53,7 @@ var b = new Base(), d1 = new Derived1(), d2 = new Derived2(); var x1: () => Base[] = () => [d1, d2]; >x1 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -65,7 +65,7 @@ var x1: () => Base[] = () => [d1, d2]; var x2: () => Base[] = function() { return [d1, d2] }; >x2 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -77,7 +77,7 @@ var x2: () => Base[] = function() { return [d1, d2] }; var x3: () => Base[] = function named() { return [d1, d2] }; >x3 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -91,7 +91,7 @@ var x3: () => Base[] = function named() { return [d1, d2] }; var x4: { (): Base[]; } = () => [d1, d2]; >x4 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -103,7 +103,7 @@ var x4: { (): Base[]; } = () => [d1, d2]; var x5: { (): Base[]; } = function() { return [d1, d2] }; >x5 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -115,7 +115,7 @@ var x5: { (): Base[]; } = function() { return [d1, d2] }; var x6: { (): Base[]; } = function named() { return [d1, d2] }; >x6 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -161,7 +161,7 @@ var x9: { [n: number]: Base; } = [d1, d2]; var x10: {n: Base[]; } = { n: [d1, d2] }; >x10 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -177,11 +177,11 @@ var x10: {n: Base[]; } = { n: [d1, d2] }; var x11: (s: Base[]) => any = n => { var n: Base[]; return null; }; >x11 : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -209,7 +209,7 @@ class x13 { member: () => Base[] = () => [d1, d2] } >x13 : x13 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -223,7 +223,7 @@ class x14 { member: () => Base[] = function() { return [d1, d2] } } >x14 : x14 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -237,7 +237,7 @@ class x15 { member: () => Base[] = function named() { return [d1, d2] } } >x15 : x15 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -253,7 +253,7 @@ class x16 { member: { (): Base[]; } = () => [d1, d2] } >x16 : x16 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -267,7 +267,7 @@ class x17 { member: { (): Base[]; } = function() { return [d1, d2] } } >x17 : x17 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -281,7 +281,7 @@ class x18 { member: { (): Base[]; } = function named() { return [d1, d2] } } >x18 : x18 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -335,7 +335,7 @@ class x22 { member: {n: Base[]; } = { n: [d1, d2] } } >x22 : x22 > : ^^^ >member : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -353,11 +353,11 @@ class x23 { member: (s: Base[]) => any = n => { var n: Base[]; return null; } } >x23 : x23 > : ^^^ >member : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -387,7 +387,7 @@ class x25 { private member: () => Base[] = () => [d1, d2] } >x25 : x25 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -401,7 +401,7 @@ class x26 { private member: () => Base[] = function() { return [d1, d2] } } >x26 : x26 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -415,7 +415,7 @@ class x27 { private member: () => Base[] = function named() { return [d1, d2] } >x27 : x27 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -431,7 +431,7 @@ class x28 { private member: { (): Base[]; } = () => [d1, d2] } >x28 : x28 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -445,7 +445,7 @@ class x29 { private member: { (): Base[]; } = function() { return [d1, d2] } } >x29 : x29 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -459,7 +459,7 @@ class x30 { private member: { (): Base[]; } = function named() { return [d1, d2] >x30 : x30 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -513,7 +513,7 @@ class x34 { private member: {n: Base[]; } = { n: [d1, d2] } } >x34 : x34 > : ^^^ >member : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -531,11 +531,11 @@ class x35 { private member: (s: Base[]) => any = n => { var n: Base[]; return nu >x35 : x35 > : ^^^ >member : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -565,7 +565,7 @@ class x37 { public member: () => Base[] = () => [d1, d2] } >x37 : x37 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -579,7 +579,7 @@ class x38 { public member: () => Base[] = function() { return [d1, d2] } } >x38 : x38 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -593,7 +593,7 @@ class x39 { public member: () => Base[] = function named() { return [d1, d2] } } >x39 : x39 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -609,7 +609,7 @@ class x40 { public member: { (): Base[]; } = () => [d1, d2] } >x40 : x40 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -623,7 +623,7 @@ class x41 { public member: { (): Base[]; } = function() { return [d1, d2] } } >x41 : x41 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -637,7 +637,7 @@ class x42 { public member: { (): Base[]; } = function named() { return [d1, d2] >x42 : x42 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -691,7 +691,7 @@ class x46 { public member: {n: Base[]; } = { n: [d1, d2] } } >x46 : x46 > : ^^^ >member : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -709,11 +709,11 @@ class x47 { public member: (s: Base[]) => any = n => { var n: Base[]; return nul >x47 : x47 > : ^^^ >member : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -743,7 +743,7 @@ class x49 { static member: () => Base[] = () => [d1, d2] } >x49 : x49 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -757,7 +757,7 @@ class x50 { static member: () => Base[] = function() { return [d1, d2] } } >x50 : x50 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -771,7 +771,7 @@ class x51 { static member: () => Base[] = function named() { return [d1, d2] } } >x51 : x51 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -787,7 +787,7 @@ class x52 { static member: { (): Base[]; } = () => [d1, d2] } >x52 : x52 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -801,7 +801,7 @@ class x53 { static member: { (): Base[]; } = function() { return [d1, d2] } } >x53 : x53 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -815,7 +815,7 @@ class x54 { static member: { (): Base[]; } = function named() { return [d1, d2] >x54 : x54 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -869,7 +869,7 @@ class x58 { static member: {n: Base[]; } = { n: [d1, d2] } } >x58 : x58 > : ^^^ >member : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -887,11 +887,11 @@ class x59 { static member: (s: Base[]) => any = n => { var n: Base[]; return nul >x59 : x59 > : ^^^ >member : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -921,7 +921,7 @@ class x61 { private static member: () => Base[] = () => [d1, d2] } >x61 : x61 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -935,7 +935,7 @@ class x62 { private static member: () => Base[] = function() { return [d1, d2] } >x62 : x62 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -949,7 +949,7 @@ class x63 { private static member: () => Base[] = function named() { return [d1, >x63 : x63 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -965,7 +965,7 @@ class x64 { private static member: { (): Base[]; } = () => [d1, d2] } >x64 : x64 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -979,7 +979,7 @@ class x65 { private static member: { (): Base[]; } = function() { return [d1, d2 >x65 : x65 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -993,7 +993,7 @@ class x66 { private static member: { (): Base[]; } = function named() { return [ >x66 : x66 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1047,7 +1047,7 @@ class x70 { private static member: {n: Base[]; } = { n: [d1, d2] } } >x70 : x70 > : ^^^ >member : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -1065,11 +1065,11 @@ class x71 { private static member: (s: Base[]) => any = n => { var n: Base[]; re >x71 : x71 > : ^^^ >member : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -1099,7 +1099,7 @@ class x73 { public static member: () => Base[] = () => [d1, d2] } >x73 : x73 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1113,7 +1113,7 @@ class x74 { public static member: () => Base[] = function() { return [d1, d2] } >x74 : x74 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1127,7 +1127,7 @@ class x75 { public static member: () => Base[] = function named() { return [d1, >x75 : x75 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1143,7 +1143,7 @@ class x76 { public static member: { (): Base[]; } = () => [d1, d2] } >x76 : x76 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1157,7 +1157,7 @@ class x77 { public static member: { (): Base[]; } = function() { return [d1, d2] >x77 : x77 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1171,7 +1171,7 @@ class x78 { public static member: { (): Base[]; } = function named() { return [d >x78 : x78 > : ^^^ >member : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1225,7 +1225,7 @@ class x82 { public static member: {n: Base[]; } = { n: [d1, d2] } } >x82 : x82 > : ^^^ >member : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -1243,11 +1243,11 @@ class x83 { public static member: (s: Base[]) => any = n => { var n: Base[]; ret >x83 : x83 > : ^^^ >member : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -1277,7 +1277,7 @@ class x85 { constructor(parm: () => Base[] = () => [d1, d2]) { } } >x85 : x85 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1291,7 +1291,7 @@ class x86 { constructor(parm: () => Base[] = function() { return [d1, d2] }) { } >x86 : x86 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1305,7 +1305,7 @@ class x87 { constructor(parm: () => Base[] = function named() { return [d1, d2] >x87 : x87 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1321,7 +1321,7 @@ class x88 { constructor(parm: { (): Base[]; } = () => [d1, d2]) { } } >x88 : x88 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1335,7 +1335,7 @@ class x89 { constructor(parm: { (): Base[]; } = function() { return [d1, d2] }) >x89 : x89 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1349,7 +1349,7 @@ class x90 { constructor(parm: { (): Base[]; } = function named() { return [d1, d >x90 : x90 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1403,7 +1403,7 @@ class x94 { constructor(parm: {n: Base[]; } = { n: [d1, d2] }) { } } >x94 : x94 > : ^^^ >parm : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -1421,11 +1421,11 @@ class x95 { constructor(parm: (s: Base[]) => any = n => { var n: Base[]; return >x95 : x95 > : ^^^ >parm : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -1455,7 +1455,7 @@ class x97 { constructor(public parm: () => Base[] = () => [d1, d2]) { } } >x97 : x97 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1469,7 +1469,7 @@ class x98 { constructor(public parm: () => Base[] = function() { return [d1, d2] >x98 : x98 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1483,7 +1483,7 @@ class x99 { constructor(public parm: () => Base[] = function named() { return [d >x99 : x99 > : ^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1499,7 +1499,7 @@ class x100 { constructor(public parm: { (): Base[]; } = () => [d1, d2]) { } } >x100 : x100 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1513,7 +1513,7 @@ class x101 { constructor(public parm: { (): Base[]; } = function() { return [d1, >x101 : x101 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1527,7 +1527,7 @@ class x102 { constructor(public parm: { (): Base[]; } = function named() { retur >x102 : x102 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1581,7 +1581,7 @@ class x106 { constructor(public parm: {n: Base[]; } = { n: [d1, d2] }) { } } >x106 : x106 > : ^^^^ >parm : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -1599,11 +1599,11 @@ class x107 { constructor(public parm: (s: Base[]) => any = n => { var n: Base[]; >x107 : x107 > : ^^^^ >parm : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -1633,7 +1633,7 @@ class x109 { constructor(private parm: () => Base[] = () => [d1, d2]) { } } >x109 : x109 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1647,7 +1647,7 @@ class x110 { constructor(private parm: () => Base[] = function() { return [d1, d >x110 : x110 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1661,7 +1661,7 @@ class x111 { constructor(private parm: () => Base[] = function named() { return >x111 : x111 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1677,7 +1677,7 @@ class x112 { constructor(private parm: { (): Base[]; } = () => [d1, d2]) { } } >x112 : x112 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1691,7 +1691,7 @@ class x113 { constructor(private parm: { (): Base[]; } = function() { return [d1 >x113 : x113 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1705,7 +1705,7 @@ class x114 { constructor(private parm: { (): Base[]; } = function named() { retu >x114 : x114 > : ^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1759,7 +1759,7 @@ class x118 { constructor(private parm: {n: Base[]; } = { n: [d1, d2] }) { } } >x118 : x118 > : ^^^^ >parm : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -1777,11 +1777,11 @@ class x119 { constructor(private parm: (s: Base[]) => any = n => { var n: Base[] >x119 : x119 > : ^^^^ >parm : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -1809,9 +1809,9 @@ class x120 { constructor(private parm: Genric = { func: n => { return [d1, function x121(parm: () => Base[] = () => [d1, d2]) { } >x121 : (parm?: () => Base[]) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1823,9 +1823,9 @@ function x121(parm: () => Base[] = () => [d1, d2]) { } function x122(parm: () => Base[] = function() { return [d1, d2] }) { } >x122 : (parm?: () => Base[]) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1837,9 +1837,9 @@ function x122(parm: () => Base[] = function() { return [d1, d2] }) { } function x123(parm: () => Base[] = function named() { return [d1, d2] }) { } >x123 : (parm?: () => Base[]) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1853,9 +1853,9 @@ function x123(parm: () => Base[] = function named() { return [d1, d2] }) { } function x124(parm: { (): Base[]; } = () => [d1, d2]) { } >x124 : (parm?: { (): Base[]; }) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1867,9 +1867,9 @@ function x124(parm: { (): Base[]; } = () => [d1, d2]) { } function x125(parm: { (): Base[]; } = function() { return [d1, d2] }) { } >x125 : (parm?: { (): Base[]; }) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1881,9 +1881,9 @@ function x125(parm: { (): Base[]; } = function() { return [d1, d2] }) { } function x126(parm: { (): Base[]; } = function named() { return [d1, d2] }) { } >x126 : (parm?: { (): Base[]; }) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -1897,7 +1897,7 @@ function x126(parm: { (): Base[]; } = function named() { return [d1, d2] }) { } function x127(parm: Base[] = [d1, d2]) { } >x127 : (parm?: Base[]) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : Base[] > : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1909,7 +1909,7 @@ function x127(parm: Base[] = [d1, d2]) { } function x128(parm: Array = [d1, d2]) { } >x128 : (parm?: Array) => void -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : Base[] > : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1921,7 +1921,7 @@ function x128(parm: Array = [d1, d2]) { } function x129(parm: { [n: number]: Base; } = [d1, d2]) { } >x129 : (parm?: { [n: number]: Base; }) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : { [n: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >n : number @@ -1935,9 +1935,9 @@ function x129(parm: { [n: number]: Base; } = [d1, d2]) { } function x130(parm: {n: Base[]; } = { n: [d1, d2] }) { } >x130 : (parm?: { n: Base[]; }) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -1953,13 +1953,13 @@ function x130(parm: {n: Base[]; } = { n: [d1, d2] }) { } function x131(parm: (s: Base[]) => any = n => { var n: Base[]; return null; }) { } >x131 : (parm?: (s: Base[]) => any) => void -> : ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -1967,7 +1967,7 @@ function x131(parm: (s: Base[]) => any = n => { var n: Base[]; return null; }) { function x132(parm: Genric = { func: n => { return [d1, d2]; } }) { } >x132 : (parm?: Genric) => void -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >parm : Genric > : ^^^^^^^^^^^^ >{ func: n => { return [d1, d2]; } } : { func: (n: Base[]) => (Derived1 | Derived2)[]; } @@ -1987,7 +1987,7 @@ function x132(parm: Genric = { func: n => { return [d1, d2]; } }) { } function x133(): () => Base[] { return () => [d1, d2]; } >x133 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -1999,7 +1999,7 @@ function x133(): () => Base[] { return () => [d1, d2]; } function x134(): () => Base[] { return function() { return [d1, d2] }; } >x134 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2011,7 +2011,7 @@ function x134(): () => Base[] { return function() { return [d1, d2] }; } function x135(): () => Base[] { return function named() { return [d1, d2] }; } >x135 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2025,7 +2025,7 @@ function x135(): () => Base[] { return function named() { return [d1, d2] }; } function x136(): { (): Base[]; } { return () => [d1, d2]; } >x136 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2037,7 +2037,7 @@ function x136(): { (): Base[]; } { return () => [d1, d2]; } function x137(): { (): Base[]; } { return function() { return [d1, d2] }; } >x137 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2049,7 +2049,7 @@ function x137(): { (): Base[]; } { return function() { return [d1, d2] }; } function x138(): { (): Base[]; } { return function named() { return [d1, d2] }; } >x138 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2063,7 +2063,7 @@ function x138(): { (): Base[]; } { return function named() { return [d1, d2] }; function x139(): Base[] { return [d1, d2]; } >x139 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >d1 : Derived1 @@ -2073,7 +2073,7 @@ function x139(): Base[] { return [d1, d2]; } function x140(): Array { return [d1, d2]; } >x140 : () => Array -> : ^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >d1 : Derived1 @@ -2083,7 +2083,7 @@ function x140(): Array { return [d1, d2]; } function x141(): { [n: number]: Base; } { return [d1, d2]; } >x141 : () => { [n: number]: Base; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : number > : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2095,7 +2095,7 @@ function x141(): { [n: number]: Base; } { return [d1, d2]; } function x142(): {n: Base[]; } { return { n: [d1, d2] }; } >x142 : () => { n: Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -2111,11 +2111,11 @@ function x142(): {n: Base[]; } { return { n: [d1, d2] }; } function x143(): (s: Base[]) => any { return n => { var n: Base[]; return null; }; } >x143 : () => (s: Base[]) => any -> : ^^^^^^ ^^^^ +> : ^^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -2123,7 +2123,7 @@ function x143(): (s: Base[]) => any { return n => { var n: Base[]; return null; function x144(): Genric { return { func: n => { return [d1, d2]; } }; } >x144 : () => Genric -> : ^^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >{ func: n => { return [d1, d2]; } } : { func: (n: Base[]) => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >func : (n: Base[]) => (Derived1 | Derived2)[] @@ -2141,7 +2141,7 @@ function x144(): Genric { return { func: n => { return [d1, d2]; } }; } function x145(): () => Base[] { return () => [d1, d2]; return () => [d1, d2]; } >x145 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2161,7 +2161,7 @@ function x145(): () => Base[] { return () => [d1, d2]; return () => [d1, d2]; } function x146(): () => Base[] { return function() { return [d1, d2] }; return function() { return [d1, d2] }; } >x146 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2181,7 +2181,7 @@ function x146(): () => Base[] { return function() { return [d1, d2] }; return fu function x147(): () => Base[] { return function named() { return [d1, d2] }; return function named() { return [d1, d2] }; } >x147 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2205,7 +2205,7 @@ function x147(): () => Base[] { return function named() { return [d1, d2] }; ret function x148(): { (): Base[]; } { return () => [d1, d2]; return () => [d1, d2]; } >x148 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2225,7 +2225,7 @@ function x148(): { (): Base[]; } { return () => [d1, d2]; return () => [d1, d2]; function x149(): { (): Base[]; } { return function() { return [d1, d2] }; return function() { return [d1, d2] }; } >x149 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2245,7 +2245,7 @@ function x149(): { (): Base[]; } { return function() { return [d1, d2] }; return function x150(): { (): Base[]; } { return function named() { return [d1, d2] }; return function named() { return [d1, d2] }; } >x150 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2269,7 +2269,7 @@ function x150(): { (): Base[]; } { return function named() { return [d1, d2] }; function x151(): Base[] { return [d1, d2]; return [d1, d2]; } >x151 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >d1 : Derived1 @@ -2285,7 +2285,7 @@ function x151(): Base[] { return [d1, d2]; return [d1, d2]; } function x152(): Array { return [d1, d2]; return [d1, d2]; } >x152 : () => Array -> : ^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^ >d1 : Derived1 @@ -2301,7 +2301,7 @@ function x152(): Array { return [d1, d2]; return [d1, d2]; } function x153(): { [n: number]: Base; } { return [d1, d2]; return [d1, d2]; } >x153 : () => { [n: number]: Base; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : number > : ^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2319,7 +2319,7 @@ function x153(): { [n: number]: Base; } { return [d1, d2]; return [d1, d2]; } function x154(): {n: Base[]; } { return { n: [d1, d2] }; return { n: [d1, d2] }; } >x154 : () => { n: Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -2345,17 +2345,17 @@ function x154(): {n: Base[]; } { return { n: [d1, d2] }; return { n: [d1, d2] } function x155(): (s: Base[]) => any { return n => { var n: Base[]; return null; }; return n => { var n: Base[]; return null; }; } >x155 : () => (s: Base[]) => any -> : ^^^^^^ ^^^^ +> : ^^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -2363,7 +2363,7 @@ function x155(): (s: Base[]) => any { return n => { var n: Base[]; return null; function x156(): Genric { return { func: n => { return [d1, d2]; } }; return { func: n => { return [d1, d2]; } }; } >x156 : () => Genric -> : ^^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >{ func: n => { return [d1, d2]; } } : { func: (n: Base[]) => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >func : (n: Base[]) => (Derived1 | Derived2)[] @@ -2395,7 +2395,7 @@ function x156(): Genric { return { func: n => { return [d1, d2]; } }; retu var x157: () => () => Base[] = () => { return () => [d1, d2]; }; >x157 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => { return () => [d1, d2]; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] @@ -2409,7 +2409,7 @@ var x157: () => () => Base[] = () => { return () => [d1, d2]; }; var x158: () => () => Base[] = () => { return function() { return [d1, d2] }; }; >x158 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => { return function() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2423,7 +2423,7 @@ var x158: () => () => Base[] = () => { return function() { return [d1, d2] }; }; var x159: () => () => Base[] = () => { return function named() { return [d1, d2] }; }; >x159 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => { return function named() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2439,7 +2439,7 @@ var x159: () => () => Base[] = () => { return function named() { return [d1, d2] var x160: () => { (): Base[]; } = () => { return () => [d1, d2]; }; >x160 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => { return () => [d1, d2]; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] @@ -2453,7 +2453,7 @@ var x160: () => { (): Base[]; } = () => { return () => [d1, d2]; }; var x161: () => { (): Base[]; } = () => { return function() { return [d1, d2] }; }; >x161 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => { return function() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2467,7 +2467,7 @@ var x161: () => { (): Base[]; } = () => { return function() { return [d1, d2] }; var x162: () => { (): Base[]; } = () => { return function named() { return [d1, d2] }; }; >x162 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >() => { return function named() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2483,7 +2483,7 @@ var x162: () => { (): Base[]; } = () => { return function named() { return [d1, var x163: () => Base[] = () => { return [d1, d2]; }; >x163 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => { return [d1, d2]; } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2495,7 +2495,7 @@ var x163: () => Base[] = () => { return [d1, d2]; }; var x164: () => Array = () => { return [d1, d2]; }; >x164 : () => Array -> : ^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >() => { return [d1, d2]; } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2507,7 +2507,7 @@ var x164: () => Array = () => { return [d1, d2]; }; var x165: () => { [n: number]: Base; } = () => { return [d1, d2]; }; >x165 : () => { [n: number]: Base; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : number > : ^^^^^^ >() => { return [d1, d2]; } : () => (Derived1 | Derived2)[] @@ -2521,7 +2521,7 @@ var x165: () => { [n: number]: Base; } = () => { return [d1, d2]; }; var x166: () => {n: Base[]; } = () => { return { n: [d1, d2] }; }; >x166 : () => { n: Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : Base[] > : ^^^^^^ >() => { return { n: [d1, d2] }; } : () => { n: (Derived1 | Derived2)[]; } @@ -2539,13 +2539,13 @@ var x166: () => {n: Base[]; } = () => { return { n: [d1, d2] }; }; var x167: () => (s: Base[]) => any = () => { return n => { var n: Base[]; return null; }; }; >x167 : () => (s: Base[]) => any -> : ^^^^^^ ^^^^ +> : ^^^^^^ >s : Base[] > : ^^^^^^ >() => { return n => { var n: Base[]; return null; }; } : () => (n: Base[]) => any -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -2553,7 +2553,7 @@ var x167: () => (s: Base[]) => any = () => { return n => { var n: Base[]; return var x168: () => Genric = () => { return { func: n => { return [d1, d2]; } }; }; >x168 : () => Genric -> : ^^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >() => { return { func: n => { return [d1, d2]; } }; } : () => { func: (n: Base[]) => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ func: n => { return [d1, d2]; } } : { func: (n: Base[]) => (Derived1 | Derived2)[]; } @@ -2573,7 +2573,7 @@ var x168: () => Genric = () => { return { func: n => { return [d1, d2]; } var x169: () => () => Base[] = function() { return () => [d1, d2]; }; >x169 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return () => [d1, d2]; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] @@ -2587,7 +2587,7 @@ var x169: () => () => Base[] = function() { return () => [d1, d2]; }; var x170: () => () => Base[] = function() { return function() { return [d1, d2] }; }; >x170 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return function() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2601,7 +2601,7 @@ var x170: () => () => Base[] = function() { return function() { return [d1, d2] var x171: () => () => Base[] = function() { return function named() { return [d1, d2] }; }; >x171 : () => () => Base[] -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return function named() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2617,7 +2617,7 @@ var x171: () => () => Base[] = function() { return function named() { return [d1 var x172: () => { (): Base[]; } = function() { return () => [d1, d2]; }; >x172 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return () => [d1, d2]; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] @@ -2631,7 +2631,7 @@ var x172: () => { (): Base[]; } = function() { return () => [d1, d2]; }; var x173: () => { (): Base[]; } = function() { return function() { return [d1, d2] }; }; >x173 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return function() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2645,7 +2645,7 @@ var x173: () => { (): Base[]; } = function() { return function() { return [d1, d var x174: () => { (): Base[]; } = function() { return function named() { return [d1, d2] }; }; >x174 : () => { (): Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >function() { return function named() { return [d1, d2] }; } : () => () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -2661,7 +2661,7 @@ var x174: () => { (): Base[]; } = function() { return function named() { return var x175: () => Base[] = function() { return [d1, d2]; }; >x175 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2]; } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2673,7 +2673,7 @@ var x175: () => Base[] = function() { return [d1, d2]; }; var x176: () => Array = function() { return [d1, d2]; }; >x176 : () => Array -> : ^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >function() { return [d1, d2]; } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2685,7 +2685,7 @@ var x176: () => Array = function() { return [d1, d2]; }; var x177: () => { [n: number]: Base; } = function() { return [d1, d2]; }; >x177 : () => { [n: number]: Base; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : number > : ^^^^^^ >function() { return [d1, d2]; } : () => (Derived1 | Derived2)[] @@ -2699,7 +2699,7 @@ var x177: () => { [n: number]: Base; } = function() { return [d1, d2]; }; var x178: () => {n: Base[]; } = function() { return { n: [d1, d2] }; }; >x178 : () => { n: Base[]; } -> : ^^^^^^ ^^^^ +> : ^^^^^^ >n : Base[] > : ^^^^^^ >function() { return { n: [d1, d2] }; } : () => { n: (Derived1 | Derived2)[]; } @@ -2717,13 +2717,13 @@ var x178: () => {n: Base[]; } = function() { return { n: [d1, d2] }; }; var x179: () => (s: Base[]) => any = function() { return n => { var n: Base[]; return null; }; }; >x179 : () => (s: Base[]) => any -> : ^^^^^^ ^^^^ +> : ^^^^^^ >s : Base[] > : ^^^^^^ >function() { return n => { var n: Base[]; return null; }; } : () => (n: Base[]) => any -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -2731,7 +2731,7 @@ var x179: () => (s: Base[]) => any = function() { return n => { var n: Base[]; r var x180: () => Genric = function() { return { func: n => { return [d1, d2]; } }; }; >x180 : () => Genric -> : ^^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >function() { return { func: n => { return [d1, d2]; } }; } : () => { func: (n: Base[]) => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ func: n => { return [d1, d2]; } } : { func: (n: Base[]) => (Derived1 | Derived2)[]; } @@ -2753,7 +2753,7 @@ module x181 { var t: () => Base[] = () => [d1, d2]; } >x181 : typeof x181 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2767,7 +2767,7 @@ module x182 { var t: () => Base[] = function() { return [d1, d2] }; } >x182 : typeof x182 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2781,7 +2781,7 @@ module x183 { var t: () => Base[] = function named() { return [d1, d2] }; } >x183 : typeof x183 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2797,7 +2797,7 @@ module x184 { var t: { (): Base[]; } = () => [d1, d2]; } >x184 : typeof x184 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2811,7 +2811,7 @@ module x185 { var t: { (): Base[]; } = function() { return [d1, d2] }; } >x185 : typeof x185 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2825,7 +2825,7 @@ module x186 { var t: { (): Base[]; } = function named() { return [d1, d2] }; } >x186 : typeof x186 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2879,7 +2879,7 @@ module x190 { var t: {n: Base[]; } = { n: [d1, d2] }; } >x190 : typeof x190 > : ^^^^^^^^^^^ >t : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -2897,11 +2897,11 @@ module x191 { var t: (s: Base[]) => any = n => { var n: Base[]; return null; }; >x191 : typeof x191 > : ^^^^^^^^^^^ >t : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -2931,7 +2931,7 @@ module x193 { export var t: () => Base[] = () => [d1, d2]; } >x193 : typeof x193 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2945,7 +2945,7 @@ module x194 { export var t: () => Base[] = function() { return [d1, d2] }; } >x194 : typeof x194 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2959,7 +2959,7 @@ module x195 { export var t: () => Base[] = function named() { return [d1, d2] }; >x195 : typeof x195 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -2975,7 +2975,7 @@ module x196 { export var t: { (): Base[]; } = () => [d1, d2]; } >x196 : typeof x196 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -2989,7 +2989,7 @@ module x197 { export var t: { (): Base[]; } = function() { return [d1, d2] }; } >x197 : typeof x197 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -3003,7 +3003,7 @@ module x198 { export var t: { (): Base[]; } = function named() { return [d1, d2] >x198 : typeof x198 > : ^^^^^^^^^^^ >t : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -3057,7 +3057,7 @@ module x202 { export var t: {n: Base[]; } = { n: [d1, d2] }; } >x202 : typeof x202 > : ^^^^^^^^^^^ >t : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -3075,11 +3075,11 @@ module x203 { export var t: (s: Base[]) => any = n => { var n: Base[]; return nu >x203 : typeof x203 > : ^^^^^^^^^^^ >t : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -3107,9 +3107,9 @@ module x204 { export var t: Genric = { func: n => { return [d1, d2]; } }; var x206 = <() => Base[]>function() { return [d1, d2] }; >x206 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><() => Base[]>function() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -3121,9 +3121,9 @@ var x206 = <() => Base[]>function() { return [d1, d2] }; var x207 = <() => Base[]>function named() { return [d1, d2] }; >x207 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><() => Base[]>function named() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -3137,9 +3137,9 @@ var x207 = <() => Base[]>function named() { return [d1, d2] }; var x209 = <{ (): Base[]; }>function() { return [d1, d2] }; >x209 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><{ (): Base[]; }>function() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[d1, d2] : (Derived1 | Derived2)[] @@ -3151,9 +3151,9 @@ var x209 = <{ (): Base[]; }>function() { return [d1, d2] }; var x210 = <{ (): Base[]; }>function named() { return [d1, d2] }; >x210 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><{ (): Base[]; }>function named() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >named : () => (Derived1 | Derived2)[] @@ -3205,9 +3205,9 @@ var x213 = <{ [n: number]: Base; }>[d1, d2]; var x214 = <{n: Base[]; } >{ n: [d1, d2] }; >x214 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ ><{n: Base[]; } >{ n: [d1, d2] } : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -3243,13 +3243,13 @@ var x216 = >{ func: n => { return [d1, d2]; } }; var x217 = (<() => Base[]>undefined) || function() { return [d1, d2] }; >x217 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<() => Base[]>undefined) || function() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<() => Base[]>undefined) : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><() => Base[]>undefined : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined : undefined > : ^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3263,13 +3263,13 @@ var x217 = (<() => Base[]>undefined) || function() { return [d1, d2] }; var x218 = (<() => Base[]>undefined) || function named() { return [d1, d2] }; >x218 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<() => Base[]>undefined) || function named() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<() => Base[]>undefined) : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><() => Base[]>undefined : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined : undefined > : ^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3285,13 +3285,13 @@ var x218 = (<() => Base[]>undefined) || function named() { return [d1, d2] }; var x219 = (<{ (): Base[]; }>undefined) || function() { return [d1, d2] }; >x219 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<{ (): Base[]; }>undefined) || function() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<{ (): Base[]; }>undefined) : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><{ (): Base[]; }>undefined : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined : undefined > : ^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3305,13 +3305,13 @@ var x219 = (<{ (): Base[]; }>undefined) || function() { return [d1, d2] }; var x220 = (<{ (): Base[]; }>undefined) || function named() { return [d1, d2] }; >x220 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<{ (): Base[]; }>undefined) || function named() { return [d1, d2] } : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >(<{ (): Base[]; }>undefined) : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ ><{ (): Base[]; }>undefined : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined : undefined > : ^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3383,13 +3383,13 @@ var x223 = (<{ [n: number]: Base; }>undefined) || [d1, d2]; var x224 = (<{n: Base[]; } >undefined) || { n: [d1, d2] }; >x224 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >(<{n: Base[]; } >undefined) || { n: [d1, d2] } : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >(<{n: Base[]; } >undefined) : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ ><{n: Base[]; } >undefined : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >undefined : undefined @@ -3407,7 +3407,7 @@ var x224 = (<{n: Base[]; } >undefined) || { n: [d1, d2] }; var x225: () => Base[]; x225 = () => [d1, d2]; >x225 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x225 = () => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x225 : () => Base[] @@ -3423,7 +3423,7 @@ var x225: () => Base[]; x225 = () => [d1, d2]; var x226: () => Base[]; x226 = function() { return [d1, d2] }; >x226 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x226 = function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x226 : () => Base[] @@ -3439,7 +3439,7 @@ var x226: () => Base[]; x226 = function() { return [d1, d2] }; var x227: () => Base[]; x227 = function named() { return [d1, d2] }; >x227 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x227 = function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x227 : () => Base[] @@ -3457,7 +3457,7 @@ var x227: () => Base[]; x227 = function named() { return [d1, d2] }; var x228: { (): Base[]; }; x228 = () => [d1, d2]; >x228 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x228 = () => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x228 : () => Base[] @@ -3473,7 +3473,7 @@ var x228: { (): Base[]; }; x228 = () => [d1, d2]; var x229: { (): Base[]; }; x229 = function() { return [d1, d2] }; >x229 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x229 = function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x229 : () => Base[] @@ -3489,7 +3489,7 @@ var x229: { (): Base[]; }; x229 = function() { return [d1, d2] }; var x230: { (): Base[]; }; x230 = function named() { return [d1, d2] }; >x230 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x230 = function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x230 : () => Base[] @@ -3551,7 +3551,7 @@ var x233: { [n: number]: Base; }; x233 = [d1, d2]; var x234: {n: Base[]; } ; x234 = { n: [d1, d2] }; >x234 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >x234 = { n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -3571,15 +3571,15 @@ var x234: {n: Base[]; } ; x234 = { n: [d1, d2] }; var x235: (s: Base[]) => any; x235 = n => { var n: Base[]; return null; }; >x235 : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >x235 = n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x235 : (s: Base[]) => any > : ^^^^^^^^^^^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -3609,9 +3609,9 @@ var x236: Genric; x236 = { func: n => { return [d1, d2]; } }; var x237: { n: () => Base[]; } = { n: () => [d1, d2] }; >x237 : { n: () => Base[]; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >{ n: () => [d1, d2] } : { n: () => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : () => (Derived1 | Derived2)[] @@ -3627,9 +3627,9 @@ var x237: { n: () => Base[]; } = { n: () => [d1, d2] }; var x238: { n: () => Base[]; } = { n: function() { return [d1, d2] } }; >x238 : { n: () => Base[]; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >{ n: function() { return [d1, d2] } } : { n: () => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : () => (Derived1 | Derived2)[] @@ -3645,9 +3645,9 @@ var x238: { n: () => Base[]; } = { n: function() { return [d1, d2] } }; var x239: { n: () => Base[]; } = { n: function named() { return [d1, d2] } }; >x239 : { n: () => Base[]; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >{ n: function named() { return [d1, d2] } } : { n: () => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : () => (Derived1 | Derived2)[] @@ -3665,9 +3665,9 @@ var x239: { n: () => Base[]; } = { n: function named() { return [d1, d2] } }; var x240: { n: { (): Base[]; }; } = { n: () => [d1, d2] }; >x240 : { n: { (): Base[]; }; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >{ n: () => [d1, d2] } : { n: () => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : () => (Derived1 | Derived2)[] @@ -3683,9 +3683,9 @@ var x240: { n: { (): Base[]; }; } = { n: () => [d1, d2] }; var x241: { n: { (): Base[]; }; } = { n: function() { return [d1, d2] } }; >x241 : { n: { (): Base[]; }; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >{ n: function() { return [d1, d2] } } : { n: () => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : () => (Derived1 | Derived2)[] @@ -3701,9 +3701,9 @@ var x241: { n: { (): Base[]; }; } = { n: function() { return [d1, d2] } }; var x242: { n: { (): Base[]; }; } = { n: function named() { return [d1, d2] } }; >x242 : { n: { (): Base[]; }; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >{ n: function named() { return [d1, d2] } } : { n: () => (Derived1 | Derived2)[]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : () => (Derived1 | Derived2)[] @@ -3721,7 +3721,7 @@ var x242: { n: { (): Base[]; }; } = { n: function named() { return [d1, d2] } }; var x243: { n: Base[]; } = { n: [d1, d2] }; >x243 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -3737,7 +3737,7 @@ var x243: { n: Base[]; } = { n: [d1, d2] }; var x244: { n: Array; } = { n: [d1, d2] }; >x244 : { n: Array; } -> : ^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -3753,7 +3753,7 @@ var x244: { n: Array; } = { n: [d1, d2] }; var x245: { n: { [n: number]: Base; }; } = { n: [d1, d2] }; >x245 : { n: { [n: number]: Base; }; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : { [n: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >n : number @@ -3771,9 +3771,9 @@ var x245: { n: { [n: number]: Base; }; } = { n: [d1, d2] }; var x246: { n: {n: Base[]; } ; } = { n: { n: [d1, d2] } }; >x246 : { n: { n: Base[]; }; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: { n: [d1, d2] } } : { n: { n: (Derived1 | Derived2)[]; }; } @@ -3793,17 +3793,17 @@ var x246: { n: {n: Base[]; } ; } = { n: { n: [d1, d2] } }; var x247: { n: (s: Base[]) => any; } = { n: n => { var n: Base[]; return null; } }; >x247 : { n: (s: Base[]) => any; } -> : ^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >{ n: n => { var n: Base[]; return null; } } : { n: (n: Base[]) => any; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ >n : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -3811,7 +3811,7 @@ var x247: { n: (s: Base[]) => any; } = { n: n => { var n: Base[]; return null; } var x248: { n: Genric; } = { n: { func: n => { return [d1, d2]; } } }; >x248 : { n: Genric; } -> : ^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^ ^^^ >n : Genric > : ^^^^^^^^^^^^ >{ n: { func: n => { return [d1, d2]; } } } : { n: { func: (n: Base[]) => (Derived1 | Derived2)[]; }; } @@ -3835,7 +3835,7 @@ var x248: { n: Genric; } = { n: { func: n => { return [d1, d2]; } } }; var x252: { (): Base[]; }[] = [() => [d1, d2]]; >x252 : (() => Base[])[] -> : ^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^ >[() => [d1, d2]] : (() => (Derived1 | Derived2)[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => [d1, d2] : () => (Derived1 | Derived2)[] @@ -3849,7 +3849,7 @@ var x252: { (): Base[]; }[] = [() => [d1, d2]]; var x253: { (): Base[]; }[] = [function() { return [d1, d2] }]; >x253 : (() => Base[])[] -> : ^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^ >[function() { return [d1, d2] }] : (() => (Derived1 | Derived2)[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3863,7 +3863,7 @@ var x253: { (): Base[]; }[] = [function() { return [d1, d2] }]; var x254: { (): Base[]; }[] = [function named() { return [d1, d2] }]; >x254 : (() => Base[])[] -> : ^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^ >[function named() { return [d1, d2] }] : (() => (Derived1 | Derived2)[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3917,7 +3917,7 @@ var x257: { [n: number]: Base; }[] = [[d1, d2]]; var x258: {n: Base[]; } [] = [{ n: [d1, d2] }]; >x258 : { n: Base[]; }[] -> : ^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^ >n : Base[] > : ^^^^^^ >[{ n: [d1, d2] }] : { n: (Derived1 | Derived2)[]; }[] @@ -3955,7 +3955,7 @@ var x260: Genric[] = [{ func: n => { return [d1, d2]; } }]; var x261: () => Base[] = function() { return [d1, d2] } || undefined; >x261 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } || undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3971,7 +3971,7 @@ var x261: () => Base[] = function() { return [d1, d2] } || undefined; var x262: () => Base[] = function named() { return [d1, d2] } || undefined; >x262 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } || undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -3989,7 +3989,7 @@ var x262: () => Base[] = function named() { return [d1, d2] } || undefined; var x263: { (): Base[]; } = function() { return [d1, d2] } || undefined; >x263 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } || undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -4005,7 +4005,7 @@ var x263: { (): Base[]; } = function() { return [d1, d2] } || undefined; var x264: { (): Base[]; } = function named() { return [d1, d2] } || undefined; >x264 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } || undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -4067,7 +4067,7 @@ var x267: { [n: number]: Base; } = [d1, d2] || undefined; var x268: {n: Base[]; } = { n: [d1, d2] } || undefined; >x268 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } || undefined : { n: (Derived1 | Derived2)[]; } @@ -4087,7 +4087,7 @@ var x268: {n: Base[]; } = { n: [d1, d2] } || undefined; var x269: () => Base[] = undefined || function() { return [d1, d2] }; >x269 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined || function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >undefined : undefined @@ -4103,7 +4103,7 @@ var x269: () => Base[] = undefined || function() { return [d1, d2] }; var x270: () => Base[] = undefined || function named() { return [d1, d2] }; >x270 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined || function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >undefined : undefined @@ -4121,7 +4121,7 @@ var x270: () => Base[] = undefined || function named() { return [d1, d2] }; var x271: { (): Base[]; } = undefined || function() { return [d1, d2] }; >x271 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined || function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >undefined : undefined @@ -4137,7 +4137,7 @@ var x271: { (): Base[]; } = undefined || function() { return [d1, d2] }; var x272: { (): Base[]; } = undefined || function named() { return [d1, d2] }; >x272 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >undefined || function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >undefined : undefined @@ -4199,7 +4199,7 @@ var x275: { [n: number]: Base; } = undefined || [d1, d2]; var x276: {n: Base[]; } = undefined || { n: [d1, d2] }; >x276 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >undefined || { n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -4219,7 +4219,7 @@ var x276: {n: Base[]; } = undefined || { n: [d1, d2] }; var x277: () => Base[] = function() { return [d1, d2] } || function() { return [d1, d2] }; >x277 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } || function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -4241,7 +4241,7 @@ var x277: () => Base[] = function() { return [d1, d2] } || function() { return [ var x278: () => Base[] = function named() { return [d1, d2] } || function named() { return [d1, d2] }; >x278 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } || function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -4267,7 +4267,7 @@ var x278: () => Base[] = function named() { return [d1, d2] } || function named( var x279: { (): Base[]; } = function() { return [d1, d2] } || function() { return [d1, d2] }; >x279 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function() { return [d1, d2] } || function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -4289,7 +4289,7 @@ var x279: { (): Base[]; } = function() { return [d1, d2] } || function() { retur var x280: { (): Base[]; } = function named() { return [d1, d2] } || function named() { return [d1, d2] }; >x280 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >function named() { return [d1, d2] } || function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] @@ -4371,7 +4371,7 @@ var x283: { [n: number]: Base; } = [d1, d2] || [d1, d2]; var x284: {n: Base[]; } = { n: [d1, d2] } || { n: [d1, d2] }; >x284 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >{ n: [d1, d2] } || { n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -4399,7 +4399,7 @@ var x284: {n: Base[]; } = { n: [d1, d2] } || { n: [d1, d2] }; var x285: () => Base[] = true ? () => [d1, d2] : () => [d1, d2]; >x285 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? () => [d1, d2] : () => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4423,7 +4423,7 @@ var x285: () => Base[] = true ? () => [d1, d2] : () => [d1, d2]; var x286: () => Base[] = true ? function() { return [d1, d2] } : function() { return [d1, d2] }; >x286 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function() { return [d1, d2] } : function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4447,7 +4447,7 @@ var x286: () => Base[] = true ? function() { return [d1, d2] } : function() { re var x287: () => Base[] = true ? function named() { return [d1, d2] } : function named() { return [d1, d2] }; >x287 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function named() { return [d1, d2] } : function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4475,7 +4475,7 @@ var x287: () => Base[] = true ? function named() { return [d1, d2] } : function var x288: { (): Base[]; } = true ? () => [d1, d2] : () => [d1, d2]; >x288 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? () => [d1, d2] : () => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4499,7 +4499,7 @@ var x288: { (): Base[]; } = true ? () => [d1, d2] : () => [d1, d2]; var x289: { (): Base[]; } = true ? function() { return [d1, d2] } : function() { return [d1, d2] }; >x289 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function() { return [d1, d2] } : function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4523,7 +4523,7 @@ var x289: { (): Base[]; } = true ? function() { return [d1, d2] } : function() { var x290: { (): Base[]; } = true ? function named() { return [d1, d2] } : function named() { return [d1, d2] }; >x290 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function named() { return [d1, d2] } : function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4613,7 +4613,7 @@ var x293: { [n: number]: Base; } = true ? [d1, d2] : [d1, d2]; var x294: {n: Base[]; } = true ? { n: [d1, d2] } : { n: [d1, d2] }; >x294 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >true ? { n: [d1, d2] } : { n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -4643,21 +4643,21 @@ var x294: {n: Base[]; } = true ? { n: [d1, d2] } : { n: [d1, d2] }; var x295: (s: Base[]) => any = true ? n => { var n: Base[]; return null; } : n => { var n: Base[]; return null; }; >x295 : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >true ? n => { var n: Base[]; return null; } : n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >true : true > : ^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] > : ^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -4701,7 +4701,7 @@ var x296: Genric = true ? { func: n => { return [d1, d2]; } } : { func: n var x297: () => Base[] = true ? undefined : () => [d1, d2]; >x297 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? undefined : () => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4719,7 +4719,7 @@ var x297: () => Base[] = true ? undefined : () => [d1, d2]; var x298: () => Base[] = true ? undefined : function() { return [d1, d2] }; >x298 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? undefined : function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4737,7 +4737,7 @@ var x298: () => Base[] = true ? undefined : function() { return [d1, d2] }; var x299: () => Base[] = true ? undefined : function named() { return [d1, d2] }; >x299 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? undefined : function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4757,7 +4757,7 @@ var x299: () => Base[] = true ? undefined : function named() { return [d1, d2] } var x300: { (): Base[]; } = true ? undefined : () => [d1, d2]; >x300 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? undefined : () => [d1, d2] : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4775,7 +4775,7 @@ var x300: { (): Base[]; } = true ? undefined : () => [d1, d2]; var x301: { (): Base[]; } = true ? undefined : function() { return [d1, d2] }; >x301 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? undefined : function() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4793,7 +4793,7 @@ var x301: { (): Base[]; } = true ? undefined : function() { return [d1, d2] }; var x302: { (): Base[]; } = true ? undefined : function named() { return [d1, d2] }; >x302 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? undefined : function named() { return [d1, d2] } : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4863,7 +4863,7 @@ var x305: { [n: number]: Base; } = true ? undefined : [d1, d2]; var x306: {n: Base[]; } = true ? undefined : { n: [d1, d2] }; >x306 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >true ? undefined : { n: [d1, d2] } : { n: (Derived1 | Derived2)[]; } @@ -4885,17 +4885,17 @@ var x306: {n: Base[]; } = true ? undefined : { n: [d1, d2] }; var x307: (s: Base[]) => any = true ? undefined : n => { var n: Base[]; return null; }; >x307 : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >true ? undefined : n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >true : true > : ^^^^ >undefined : undefined > : ^^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -4927,7 +4927,7 @@ var x308: Genric = true ? undefined : { func: n => { return [d1, d2]; } }; var x309: () => Base[] = true ? () => [d1, d2] : undefined; >x309 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? () => [d1, d2] : undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4945,7 +4945,7 @@ var x309: () => Base[] = true ? () => [d1, d2] : undefined; var x310: () => Base[] = true ? function() { return [d1, d2] } : undefined; >x310 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function() { return [d1, d2] } : undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4963,7 +4963,7 @@ var x310: () => Base[] = true ? function() { return [d1, d2] } : undefined; var x311: () => Base[] = true ? function named() { return [d1, d2] } : undefined; >x311 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function named() { return [d1, d2] } : undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -4983,7 +4983,7 @@ var x311: () => Base[] = true ? function named() { return [d1, d2] } : undefined var x312: { (): Base[]; } = true ? () => [d1, d2] : undefined; >x312 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? () => [d1, d2] : undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -5001,7 +5001,7 @@ var x312: { (): Base[]; } = true ? () => [d1, d2] : undefined; var x313: { (): Base[]; } = true ? function() { return [d1, d2] } : undefined; >x313 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function() { return [d1, d2] } : undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -5019,7 +5019,7 @@ var x313: { (): Base[]; } = true ? function() { return [d1, d2] } : undefined; var x314: { (): Base[]; } = true ? function named() { return [d1, d2] } : undefined; >x314 : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >true ? function named() { return [d1, d2] } : undefined : () => (Derived1 | Derived2)[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >true : true @@ -5089,7 +5089,7 @@ var x317: { [n: number]: Base; } = true ? [d1, d2] : undefined; var x318: {n: Base[]; } = true ? { n: [d1, d2] } : undefined; >x318 : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >true ? { n: [d1, d2] } : undefined : { n: (Derived1 | Derived2)[]; } @@ -5111,15 +5111,15 @@ var x318: {n: Base[]; } = true ? { n: [d1, d2] } : undefined; var x319: (s: Base[]) => any = true ? n => { var n: Base[]; return null; } : undefined; >x319 : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >true ? n => { var n: Base[]; return null; } : undefined : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >true : true > : ^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -5153,9 +5153,9 @@ var x320: Genric = true ? { func: n => { return [d1, d2]; } } : undefined; function x321(n: () => Base[]) { }; x321(() => [d1, d2]); >x321 : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x321(() => [d1, d2]) : void > : ^^^^ >x321 : (n: () => Base[]) => void @@ -5171,9 +5171,9 @@ function x321(n: () => Base[]) { }; x321(() => [d1, d2]); function x322(n: () => Base[]) { }; x322(function() { return [d1, d2] }); >x322 : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x322(function() { return [d1, d2] }) : void > : ^^^^ >x322 : (n: () => Base[]) => void @@ -5189,9 +5189,9 @@ function x322(n: () => Base[]) { }; x322(function() { return [d1, d2] }); function x323(n: () => Base[]) { }; x323(function named() { return [d1, d2] }); >x323 : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x323(function named() { return [d1, d2] }) : void > : ^^^^ >x323 : (n: () => Base[]) => void @@ -5209,9 +5209,9 @@ function x323(n: () => Base[]) { }; x323(function named() { return [d1, d2] }); function x324(n: { (): Base[]; }) { }; x324(() => [d1, d2]); >x324 : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x324(() => [d1, d2]) : void > : ^^^^ >x324 : (n: () => Base[]) => void @@ -5227,9 +5227,9 @@ function x324(n: { (): Base[]; }) { }; x324(() => [d1, d2]); function x325(n: { (): Base[]; }) { }; x325(function() { return [d1, d2] }); >x325 : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x325(function() { return [d1, d2] }) : void > : ^^^^ >x325 : (n: () => Base[]) => void @@ -5245,9 +5245,9 @@ function x325(n: { (): Base[]; }) { }; x325(function() { return [d1, d2] }); function x326(n: { (): Base[]; }) { }; x326(function named() { return [d1, d2] }); >x326 : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x326(function named() { return [d1, d2] }) : void > : ^^^^ >x326 : (n: () => Base[]) => void @@ -5265,7 +5265,7 @@ function x326(n: { (): Base[]; }) { }; x326(function named() { return [d1, d2] } function x327(n: Base[]) { }; x327([d1, d2]); >x327 : (n: Base[]) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Base[] > : ^^^^^^ >x327([d1, d2]) : void @@ -5281,7 +5281,7 @@ function x327(n: Base[]) { }; x327([d1, d2]); function x328(n: Array) { }; x328([d1, d2]); >x328 : (n: Array) => void -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Base[] > : ^^^^^^ >x328([d1, d2]) : void @@ -5297,7 +5297,7 @@ function x328(n: Array) { }; x328([d1, d2]); function x329(n: { [n: number]: Base; }) { }; x329([d1, d2]); >x329 : (n: { [n: number]: Base; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : { [n: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >n : number @@ -5315,9 +5315,9 @@ function x329(n: { [n: number]: Base; }) { }; x329([d1, d2]); function x330(n: {n: Base[]; } ) { }; x330({ n: [d1, d2] }); >x330 : (n: { n: Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >x330({ n: [d1, d2] }) : void @@ -5337,9 +5337,9 @@ function x330(n: {n: Base[]; } ) { }; x330({ n: [d1, d2] }); function x331(n: (s: Base[]) => any) { }; x331(n => { var n: Base[]; return null; }); >x331 : (n: (s: Base[]) => any) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >x331(n => { var n: Base[]; return null; }) : void @@ -5347,7 +5347,7 @@ function x331(n: (s: Base[]) => any) { }; x331(n => { var n: Base[]; return null >x331 : (n: (s: Base[]) => any) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -5355,7 +5355,7 @@ function x331(n: (s: Base[]) => any) { }; x331(n => { var n: Base[]; return null function x332(n: Genric) { }; x332({ func: n => { return [d1, d2]; } }); >x332 : (n: Genric) => void -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Genric > : ^^^^^^^^^^^^ >x332({ func: n => { return [d1, d2]; } }) : void @@ -5379,13 +5379,13 @@ function x332(n: Genric) { }; x332({ func: n => { return [d1, d2]; } }); var x333 = (n: () => Base[]) => n; x333(() => [d1, d2]); >x333 : (n: () => Base[]) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: () => Base[]) => n : (n: () => Base[]) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x333(() => [d1, d2]) : () => Base[] > : ^^^^^^^^^^^^ >x333 : (n: () => Base[]) => () => Base[] @@ -5401,13 +5401,13 @@ var x333 = (n: () => Base[]) => n; x333(() => [d1, d2]); var x334 = (n: () => Base[]) => n; x334(function() { return [d1, d2] }); >x334 : (n: () => Base[]) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: () => Base[]) => n : (n: () => Base[]) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x334(function() { return [d1, d2] }) : () => Base[] > : ^^^^^^^^^^^^ >x334 : (n: () => Base[]) => () => Base[] @@ -5423,13 +5423,13 @@ var x334 = (n: () => Base[]) => n; x334(function() { return [d1, d2] }); var x335 = (n: () => Base[]) => n; x335(function named() { return [d1, d2] }); >x335 : (n: () => Base[]) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: () => Base[]) => n : (n: () => Base[]) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x335(function named() { return [d1, d2] }) : () => Base[] > : ^^^^^^^^^^^^ >x335 : (n: () => Base[]) => () => Base[] @@ -5447,13 +5447,13 @@ var x335 = (n: () => Base[]) => n; x335(function named() { return [d1, d2] }); var x336 = (n: { (): Base[]; }) => n; x336(() => [d1, d2]); >x336 : (n: { (): Base[]; }) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: { (): Base[]; }) => n : (n: { (): Base[]; }) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x336(() => [d1, d2]) : () => Base[] > : ^^^^^^^^^^^^ >x336 : (n: () => Base[]) => () => Base[] @@ -5469,13 +5469,13 @@ var x336 = (n: { (): Base[]; }) => n; x336(() => [d1, d2]); var x337 = (n: { (): Base[]; }) => n; x337(function() { return [d1, d2] }); >x337 : (n: { (): Base[]; }) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: { (): Base[]; }) => n : (n: { (): Base[]; }) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x337(function() { return [d1, d2] }) : () => Base[] > : ^^^^^^^^^^^^ >x337 : (n: () => Base[]) => () => Base[] @@ -5491,13 +5491,13 @@ var x337 = (n: { (): Base[]; }) => n; x337(function() { return [d1, d2] }); var x338 = (n: { (): Base[]; }) => n; x338(function named() { return [d1, d2] }); >x338 : (n: { (): Base[]; }) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: { (): Base[]; }) => n : (n: { (): Base[]; }) => () => Base[] -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x338(function named() { return [d1, d2] }) : () => Base[] > : ^^^^^^^^^^^^ >x338 : (n: () => Base[]) => () => Base[] @@ -5515,9 +5515,9 @@ var x338 = (n: { (): Base[]; }) => n; x338(function named() { return [d1, d2] }) var x339 = (n: Base[]) => n; x339([d1, d2]); >x339 : (n: Base[]) => Base[] -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: Base[]) => n : (n: Base[]) => Base[] -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -5535,9 +5535,9 @@ var x339 = (n: Base[]) => n; x339([d1, d2]); var x340 = (n: Array) => n; x340([d1, d2]); >x340 : (n: Array) => Base[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(n: Array) => n : (n: Array) => Base[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -5555,9 +5555,9 @@ var x340 = (n: Array) => n; x340([d1, d2]); var x341 = (n: { [n: number]: Base; }) => n; x341([d1, d2]); >x341 : (n: { [n: number]: Base; }) => { [n: number]: Base; } -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(n: { [n: number]: Base; }) => n : (n: { [n: number]: Base; }) => { [n: number]: Base; } -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : { [n: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >n : number @@ -5577,15 +5577,15 @@ var x341 = (n: { [n: number]: Base; }) => n; x341([d1, d2]); var x342 = (n: {n: Base[]; } ) => n; x342({ n: [d1, d2] }); >x342 : (n: { n: Base[]; }) => { n: Base[]; } -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^ +> : ^^^^ ^^^^^^^^^^ ^^^ >(n: {n: Base[]; } ) => n : (n: { n: Base[]; }) => { n: Base[]; } -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^ +> : ^^^^ ^^^^^^^^^^ ^^^ >n : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >n : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >x342({ n: [d1, d2] }) : { n: Base[]; } > : ^^^^^^^^^^^^^^ >x342 : (n: { n: Base[]; }) => { n: Base[]; } @@ -5603,21 +5603,21 @@ var x342 = (n: {n: Base[]; } ) => n; x342({ n: [d1, d2] }); var x343 = (n: (s: Base[]) => any) => n; x343(n => { var n: Base[]; return null; }); >x343 : (n: (s: Base[]) => any) => (s: Base[]) => any -> : ^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^ >(n: (s: Base[]) => any) => n : (n: (s: Base[]) => any) => (s: Base[]) => any -> : ^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^ >n : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >n : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x343(n => { var n: Base[]; return null; }) : (s: Base[]) => any > : ^^^^^^^^^^^^^^^^^^ >x343 : (n: (s: Base[]) => any) => (s: Base[]) => any > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -5625,9 +5625,9 @@ var x343 = (n: (s: Base[]) => any) => n; x343(n => { var n: Base[]; return null; var x344 = (n: Genric) => n; x344({ func: n => { return [d1, d2]; } }); >x344 : (n: Genric) => Genric -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^ >(n: Genric) => n : (n: Genric) => Genric -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^ >n : Genric > : ^^^^^^^^^^^^ >n : Genric @@ -5653,11 +5653,11 @@ var x344 = (n: Genric) => n; x344({ func: n => { return [d1, d2]; } }); var x345 = function(n: () => Base[]) { }; x345(() => [d1, d2]); >x345 : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: () => Base[]) { } : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x345(() => [d1, d2]) : void > : ^^^^ >x345 : (n: () => Base[]) => void @@ -5673,11 +5673,11 @@ var x345 = function(n: () => Base[]) { }; x345(() => [d1, d2]); var x346 = function(n: () => Base[]) { }; x346(function() { return [d1, d2] }); >x346 : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: () => Base[]) { } : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x346(function() { return [d1, d2] }) : void > : ^^^^ >x346 : (n: () => Base[]) => void @@ -5693,11 +5693,11 @@ var x346 = function(n: () => Base[]) { }; x346(function() { return [d1, d2] }); var x347 = function(n: () => Base[]) { }; x347(function named() { return [d1, d2] }); >x347 : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: () => Base[]) { } : (n: () => Base[]) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x347(function named() { return [d1, d2] }) : void > : ^^^^ >x347 : (n: () => Base[]) => void @@ -5715,11 +5715,11 @@ var x347 = function(n: () => Base[]) { }; x347(function named() { return [d1, d2 var x348 = function(n: { (): Base[]; }) { }; x348(() => [d1, d2]); >x348 : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: { (): Base[]; }) { } : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x348(() => [d1, d2]) : void > : ^^^^ >x348 : (n: () => Base[]) => void @@ -5735,11 +5735,11 @@ var x348 = function(n: { (): Base[]; }) { }; x348(() => [d1, d2]); var x349 = function(n: { (): Base[]; }) { }; x349(function() { return [d1, d2] }); >x349 : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: { (): Base[]; }) { } : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x349(function() { return [d1, d2] }) : void > : ^^^^ >x349 : (n: () => Base[]) => void @@ -5755,11 +5755,11 @@ var x349 = function(n: { (): Base[]; }) { }; x349(function() { return [d1, d2] } var x350 = function(n: { (): Base[]; }) { }; x350(function named() { return [d1, d2] }); >x350 : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: { (): Base[]; }) { } : (n: { (): Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : () => Base[] -> : ^^^^^^^^^^ +> : ^^^^^^ >x350(function named() { return [d1, d2] }) : void > : ^^^^ >x350 : (n: () => Base[]) => void @@ -5777,9 +5777,9 @@ var x350 = function(n: { (): Base[]; }) { }; x350(function named() { return [d1, var x351 = function(n: Base[]) { }; x351([d1, d2]); >x351 : (n: Base[]) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: Base[]) { } : (n: Base[]) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Base[] > : ^^^^^^ >x351([d1, d2]) : void @@ -5795,9 +5795,9 @@ var x351 = function(n: Base[]) { }; x351([d1, d2]); var x352 = function(n: Array) { }; x352([d1, d2]); >x352 : (n: Array) => void -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: Array) { } : (n: Array) => void -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Base[] > : ^^^^^^ >x352([d1, d2]) : void @@ -5813,9 +5813,9 @@ var x352 = function(n: Array) { }; x352([d1, d2]); var x353 = function(n: { [n: number]: Base; }) { }; x353([d1, d2]); >x353 : (n: { [n: number]: Base; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: { [n: number]: Base; }) { } : (n: { [n: number]: Base; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : { [n: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >n : number @@ -5833,11 +5833,11 @@ var x353 = function(n: { [n: number]: Base; }) { }; x353([d1, d2]); var x354 = function(n: {n: Base[]; } ) { }; x354({ n: [d1, d2] }); >x354 : (n: { n: Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: {n: Base[]; } ) { } : (n: { n: Base[]; }) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : { n: Base[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >n : Base[] > : ^^^^^^ >x354({ n: [d1, d2] }) : void @@ -5857,11 +5857,11 @@ var x354 = function(n: {n: Base[]; } ) { }; x354({ n: [d1, d2] }); var x355 = function(n: (s: Base[]) => any) { }; x355(n => { var n: Base[]; return null; }); >x355 : (n: (s: Base[]) => any) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: (s: Base[]) => any) { } : (n: (s: Base[]) => any) => void -> : ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : (s: Base[]) => any -> : ^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >s : Base[] > : ^^^^^^ >x355(n => { var n: Base[]; return null; }) : void @@ -5869,7 +5869,7 @@ var x355 = function(n: (s: Base[]) => any) { }; x355(n => { var n: Base[]; retur >x355 : (n: (s: Base[]) => any) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n => { var n: Base[]; return null; } : (n: Base[]) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >n : Base[] > : ^^^^^^ >n : Base[] @@ -5877,9 +5877,9 @@ var x355 = function(n: (s: Base[]) => any) { }; x355(n => { var n: Base[]; retur var x356 = function(n: Genric) { }; x356({ func: n => { return [d1, d2]; } }); >x356 : (n: Genric) => void -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >function(n: Genric) { } : (n: Genric) => void -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >n : Genric > : ^^^^^^^^^^^^ >x356({ func: n => { return [d1, d2]; } }) : void diff --git a/tests/baselines/reference/generativeRecursionWithTypeOf.types b/tests/baselines/reference/generativeRecursionWithTypeOf.types index 343688bef801b..6ac1b5ed95950 100644 --- a/tests/baselines/reference/generativeRecursionWithTypeOf.types +++ b/tests/baselines/reference/generativeRecursionWithTypeOf.types @@ -22,7 +22,7 @@ module M { export function f(x: typeof C) { >f : (x: typeof C) => C -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >x : typeof C > : ^^^^^^^^ >C : typeof C diff --git a/tests/baselines/reference/generatorAssignability.types b/tests/baselines/reference/generatorAssignability.types index 3bd51560a88a2..c14ca7631512f 100644 --- a/tests/baselines/reference/generatorAssignability.types +++ b/tests/baselines/reference/generatorAssignability.types @@ -164,7 +164,7 @@ async function asyncfn() { function* f1(): Generator { >f1 : () => Generator -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ // yield* over iterable yield* g1; // error @@ -182,7 +182,7 @@ function* f1(): Generator { async function* f2(): AsyncGenerator { >f2 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ // yield* over iterable yield* g1; // error diff --git a/tests/baselines/reference/generatorExplicitReturnType.types b/tests/baselines/reference/generatorExplicitReturnType.types index 99acbf7257015..148944aa16e35 100644 --- a/tests/baselines/reference/generatorExplicitReturnType.types +++ b/tests/baselines/reference/generatorExplicitReturnType.types @@ -3,7 +3,7 @@ === generatorExplicitReturnType.ts === function* g1(): Generator { >g1 : () => Generator -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ yield; // error >yield : string @@ -30,7 +30,7 @@ function* g1(): Generator { function* g2(): Generator { >g2 : () => Generator -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ const x = yield 1; >x : string @@ -51,7 +51,7 @@ declare const generator: Generator; function* g3(): Generator { >g3 : () => Generator -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ const x: number = yield* generator; // error >x : number @@ -68,7 +68,7 @@ function* g3(): Generator { function* g4(): Generator { >g4 : () => Generator -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ const x = yield* generator; >x : symbol diff --git a/tests/baselines/reference/generatorImplicitAny.types b/tests/baselines/reference/generatorImplicitAny.types index 6d128afa91a1f..036859fa1cdf4 100644 --- a/tests/baselines/reference/generatorImplicitAny.types +++ b/tests/baselines/reference/generatorImplicitAny.types @@ -12,7 +12,7 @@ declare function noop(): void; declare function f(value: T): void; >f : (value: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/generatorOverloads1.types b/tests/baselines/reference/generatorOverloads1.types index d6431eb635761..b0f74ce0b32ee 100644 --- a/tests/baselines/reference/generatorOverloads1.types +++ b/tests/baselines/reference/generatorOverloads1.types @@ -7,13 +7,13 @@ module M { function* f(s: string): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ function* f(s: number): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : number > : ^^^^^^ diff --git a/tests/baselines/reference/generatorOverloads2.types b/tests/baselines/reference/generatorOverloads2.types index 61a3fdc40b1d8..6bd58a0e4006a 100644 --- a/tests/baselines/reference/generatorOverloads2.types +++ b/tests/baselines/reference/generatorOverloads2.types @@ -7,19 +7,19 @@ declare module M { function* f(s: string): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; (s: any): Iterable; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ function* f(s: number): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; (s: any): Iterable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : number > : ^^^^^^ function* f(s: any): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; (s: any): Iterable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : any > : ^^^ } diff --git a/tests/baselines/reference/generatorOverloads3.types b/tests/baselines/reference/generatorOverloads3.types index 65c6f08b69f1b..45eb184299b19 100644 --- a/tests/baselines/reference/generatorOverloads3.types +++ b/tests/baselines/reference/generatorOverloads3.types @@ -7,13 +7,13 @@ class C { *f(s: string): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ *f(s: number): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : number > : ^^^^^^ diff --git a/tests/baselines/reference/generatorOverloads4.types b/tests/baselines/reference/generatorOverloads4.types index 4b81e2c6ce253..e3474dffdb785 100644 --- a/tests/baselines/reference/generatorOverloads4.types +++ b/tests/baselines/reference/generatorOverloads4.types @@ -7,13 +7,13 @@ class C { f(s: string): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ f(s: number): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : number > : ^^^^^^ diff --git a/tests/baselines/reference/generatorOverloads5.types b/tests/baselines/reference/generatorOverloads5.types index aae653228db66..306ff5d769ebb 100644 --- a/tests/baselines/reference/generatorOverloads5.types +++ b/tests/baselines/reference/generatorOverloads5.types @@ -7,13 +7,13 @@ module M { function f(s: string): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ function f(s: number): Iterable; >f : { (s: string): Iterable; (s: number): Iterable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : number > : ^^^^^^ diff --git a/tests/baselines/reference/generatorReturnContextualType.types b/tests/baselines/reference/generatorReturnContextualType.types index 0ffda47281e07..95bf74bafe44d 100644 --- a/tests/baselines/reference/generatorReturnContextualType.types +++ b/tests/baselines/reference/generatorReturnContextualType.types @@ -5,7 +5,7 @@ function* f1(): Generator { >f1 : () => Generator -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -20,7 +20,7 @@ function* f1(): Generator { function* g1(): Iterator { >g1 : () => Iterator -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -35,7 +35,7 @@ function* g1(): Iterator { async function* f2(): AsyncGenerator { >f2 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -50,7 +50,7 @@ async function* f2(): AsyncGenerator { async function* g2(): AsyncIterator { >g2 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -65,7 +65,7 @@ async function* g2(): AsyncIterator { async function* f3(): AsyncGenerator { >f3 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -88,7 +88,7 @@ async function* f3(): AsyncGenerator { async function* g3(): AsyncIterator { >g3 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -111,7 +111,7 @@ async function* g3(): AsyncIterator { async function* f4(): AsyncGenerator { >f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ @@ -140,7 +140,7 @@ async function* f4(): AsyncGenerator { async function* g4(): AsyncIterator { >g4 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : "x" > : ^^^ diff --git a/tests/baselines/reference/generatorReturnExpressionIsChecked.types b/tests/baselines/reference/generatorReturnExpressionIsChecked.types index 43009022880f5..1440bdc31b1a5 100644 --- a/tests/baselines/reference/generatorReturnExpressionIsChecked.types +++ b/tests/baselines/reference/generatorReturnExpressionIsChecked.types @@ -3,7 +3,7 @@ === generatorReturnExpressionIsChecked.ts === function* f(): Iterator { >f : () => Iterator -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ return invalid; >invalid : any diff --git a/tests/baselines/reference/generatorReturnTypeFallback.5.types b/tests/baselines/reference/generatorReturnTypeFallback.5.types index 7d02247dcecf4..7d85ccb1af79c 100644 --- a/tests/baselines/reference/generatorReturnTypeFallback.5.types +++ b/tests/baselines/reference/generatorReturnTypeFallback.5.types @@ -4,7 +4,7 @@ // Allow generators to fallback to IterableIterator if they do not need a type for the sent value while in strictNullChecks mode. function* f(): IterableIterator { >f : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : undefined diff --git a/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.types b/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.types index d5edad76a8041..327014297c895 100644 --- a/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.types +++ b/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.types @@ -5,7 +5,7 @@ interface I1 extends Iterator<0, 1, 2> {} function* f1(): I1 { >f1 : () => I1 -> : ^^^^^^^^ +> : ^^^^^^ const a = yield 0; >a : 2 diff --git a/tests/baselines/reference/generatorReturnTypeInference.types b/tests/baselines/reference/generatorReturnTypeInference.types index a4582c1bcce61..5271873d5d73d 100644 --- a/tests/baselines/reference/generatorReturnTypeInference.types +++ b/tests/baselines/reference/generatorReturnTypeInference.types @@ -208,7 +208,7 @@ function* g203() { // Generator declare function f2(x: T): T; >f2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -360,7 +360,7 @@ function* g307() { // Generator function* g308(x: T) { // Generator >g308 : (x: T) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -379,7 +379,7 @@ function* g308(x: T) { // Generator function* g309(x: T, y: U) { // Generator >g309 : (x: T, y: U) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types index d5d50ef2149e0..a2be704916267 100644 --- a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types +++ b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types @@ -210,7 +210,7 @@ function* g203() { // Generator declare function f2(x: T): T; >f2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -362,7 +362,7 @@ function* g307() { // Generator function* g308(x: T) { // Generator >g308 : (x: T) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -381,7 +381,7 @@ function* g308(x: T) { // Generator function* g309(x: T, y: U) { // Generator >g309 : (x: T, y: U) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/generatorTypeCheck1.types b/tests/baselines/reference/generatorTypeCheck1.types index 6586c71c74684..48f80ec0b5288 100644 --- a/tests/baselines/reference/generatorTypeCheck1.types +++ b/tests/baselines/reference/generatorTypeCheck1.types @@ -3,5 +3,5 @@ === generatorTypeCheck1.ts === function* g1(): Iterator { } >g1 : () => Iterator -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck10.types b/tests/baselines/reference/generatorTypeCheck10.types index c600608135d39..1060b40a00e48 100644 --- a/tests/baselines/reference/generatorTypeCheck10.types +++ b/tests/baselines/reference/generatorTypeCheck10.types @@ -3,7 +3,7 @@ === generatorTypeCheck10.ts === function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return; } diff --git a/tests/baselines/reference/generatorTypeCheck11.types b/tests/baselines/reference/generatorTypeCheck11.types index c673583705e91..dda8baa38dc4a 100644 --- a/tests/baselines/reference/generatorTypeCheck11.types +++ b/tests/baselines/reference/generatorTypeCheck11.types @@ -3,7 +3,7 @@ === generatorTypeCheck11.ts === function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return 0; >0 : 0 diff --git a/tests/baselines/reference/generatorTypeCheck12.types b/tests/baselines/reference/generatorTypeCheck12.types index 19e067a12fee1..407f05e6f391c 100644 --- a/tests/baselines/reference/generatorTypeCheck12.types +++ b/tests/baselines/reference/generatorTypeCheck12.types @@ -3,7 +3,7 @@ === generatorTypeCheck12.ts === function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return ""; >"" : "" diff --git a/tests/baselines/reference/generatorTypeCheck13.types b/tests/baselines/reference/generatorTypeCheck13.types index 4cc5f690cfaf3..85f6e91aefdd9 100644 --- a/tests/baselines/reference/generatorTypeCheck13.types +++ b/tests/baselines/reference/generatorTypeCheck13.types @@ -3,7 +3,7 @@ === generatorTypeCheck13.ts === function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield 0; >yield 0 : undefined diff --git a/tests/baselines/reference/generatorTypeCheck17.types b/tests/baselines/reference/generatorTypeCheck17.types index 4bce8ebfdca94..f163aad700ceb 100644 --- a/tests/baselines/reference/generatorTypeCheck17.types +++ b/tests/baselines/reference/generatorTypeCheck17.types @@ -17,7 +17,7 @@ class Bar extends Foo { y: string } function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ yield; >yield : undefined diff --git a/tests/baselines/reference/generatorTypeCheck18.types b/tests/baselines/reference/generatorTypeCheck18.types index cee3680c92578..d9c9694e47213 100644 --- a/tests/baselines/reference/generatorTypeCheck18.types +++ b/tests/baselines/reference/generatorTypeCheck18.types @@ -15,7 +15,7 @@ class Baz { z: number } function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ yield; >yield : undefined diff --git a/tests/baselines/reference/generatorTypeCheck19.types b/tests/baselines/reference/generatorTypeCheck19.types index e5348b45672e2..9faf23c7ad3ce 100644 --- a/tests/baselines/reference/generatorTypeCheck19.types +++ b/tests/baselines/reference/generatorTypeCheck19.types @@ -17,7 +17,7 @@ class Bar extends Foo { y: string } function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ yield; >yield : undefined diff --git a/tests/baselines/reference/generatorTypeCheck2.types b/tests/baselines/reference/generatorTypeCheck2.types index b550b6777cda6..591d33fc74acc 100644 --- a/tests/baselines/reference/generatorTypeCheck2.types +++ b/tests/baselines/reference/generatorTypeCheck2.types @@ -3,5 +3,5 @@ === generatorTypeCheck2.ts === function* g1(): Iterable { } >g1 : () => Iterable -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck20.types b/tests/baselines/reference/generatorTypeCheck20.types index 6ab211175a09d..243a849924d61 100644 --- a/tests/baselines/reference/generatorTypeCheck20.types +++ b/tests/baselines/reference/generatorTypeCheck20.types @@ -15,7 +15,7 @@ class Baz { z: number } function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ yield; >yield : undefined diff --git a/tests/baselines/reference/generatorTypeCheck21.types b/tests/baselines/reference/generatorTypeCheck21.types index 9c34567d47bca..58cc46f34578e 100644 --- a/tests/baselines/reference/generatorTypeCheck21.types +++ b/tests/baselines/reference/generatorTypeCheck21.types @@ -17,7 +17,7 @@ class Bar extends Foo { y: string } function* g(): IterableIterator { >g : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ yield; >yield : undefined diff --git a/tests/baselines/reference/generatorTypeCheck25.types b/tests/baselines/reference/generatorTypeCheck25.types index 82933539dbb44..21c909b1895c5 100644 --- a/tests/baselines/reference/generatorTypeCheck25.types +++ b/tests/baselines/reference/generatorTypeCheck25.types @@ -23,7 +23,7 @@ class Baz { z: number } var g3: () => Iterable = function* () { >g3 : () => Iterable -> : ^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ >function* () { yield; yield new Bar; yield new Baz; yield *[new Bar]; yield *[new Baz];} : () => Generator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck26.types b/tests/baselines/reference/generatorTypeCheck26.types index 4893db6383c66..b01966e493d0e 100644 --- a/tests/baselines/reference/generatorTypeCheck26.types +++ b/tests/baselines/reference/generatorTypeCheck26.types @@ -3,7 +3,7 @@ === generatorTypeCheck26.ts === function* g(): IterableIterator<(x: string) => number> { >g : () => IterableIterator<(x: string) => number> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck27.types b/tests/baselines/reference/generatorTypeCheck27.types index 39177d550777a..718e3201320f4 100644 --- a/tests/baselines/reference/generatorTypeCheck27.types +++ b/tests/baselines/reference/generatorTypeCheck27.types @@ -3,7 +3,7 @@ === generatorTypeCheck27.ts === function* g(): IterableIterator<(x: string) => number> { >g : () => IterableIterator<(x: string) => number> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck28.types b/tests/baselines/reference/generatorTypeCheck28.types index e64e1ca0dcde5..ceacc58fa4f4d 100644 --- a/tests/baselines/reference/generatorTypeCheck28.types +++ b/tests/baselines/reference/generatorTypeCheck28.types @@ -3,7 +3,7 @@ === generatorTypeCheck28.ts === function* g(): IterableIterator<(x: string) => number> { >g : () => IterableIterator<(x: string) => number> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck29.types b/tests/baselines/reference/generatorTypeCheck29.types index 40d6719e08ea3..403d13845973d 100644 --- a/tests/baselines/reference/generatorTypeCheck29.types +++ b/tests/baselines/reference/generatorTypeCheck29.types @@ -3,7 +3,7 @@ === generatorTypeCheck29.ts === function* g2(): Iterator number>> { >g2 : () => Iterator number>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck3.types b/tests/baselines/reference/generatorTypeCheck3.types index 4fca19e1845e2..1166b92f77a8f 100644 --- a/tests/baselines/reference/generatorTypeCheck3.types +++ b/tests/baselines/reference/generatorTypeCheck3.types @@ -3,5 +3,5 @@ === generatorTypeCheck3.ts === function* g1(): IterableIterator { } >g1 : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck30.types b/tests/baselines/reference/generatorTypeCheck30.types index ffd6f54989e37..5c5128ffb1bbc 100644 --- a/tests/baselines/reference/generatorTypeCheck30.types +++ b/tests/baselines/reference/generatorTypeCheck30.types @@ -3,7 +3,7 @@ === generatorTypeCheck30.ts === function* g2(): Iterator number>> { >g2 : () => Iterator number>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck31.types b/tests/baselines/reference/generatorTypeCheck31.types index 1f8d96628a693..96c2c3020ae7f 100644 --- a/tests/baselines/reference/generatorTypeCheck31.types +++ b/tests/baselines/reference/generatorTypeCheck31.types @@ -3,7 +3,7 @@ === generatorTypeCheck31.ts === function* g2(): Iterator<() => Iterable<(x: string) => number>> { >g2 : () => Iterator<() => Iterable<(x: string) => number>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck45.types b/tests/baselines/reference/generatorTypeCheck45.types index bb6afe7f65218..78a0ce4a5cd5b 100644 --- a/tests/baselines/reference/generatorTypeCheck45.types +++ b/tests/baselines/reference/generatorTypeCheck45.types @@ -3,15 +3,15 @@ === generatorTypeCheck45.ts === declare function foo(x: T, fun: () => Iterator<(x: T) => U>, fun2: (y: U) => T): T; >foo : (x: T, fun: () => Iterator<(x: T) => U>, fun2: (y: U) => T) => T -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >x : T > : ^ >fun : () => Iterator<(x: T) => U> -> : ^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ >x : T > : ^ >fun2 : (y: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >y : U > : ^ diff --git a/tests/baselines/reference/generatorTypeCheck46.types b/tests/baselines/reference/generatorTypeCheck46.types index e7efbacb67469..3d4923f136510 100644 --- a/tests/baselines/reference/generatorTypeCheck46.types +++ b/tests/baselines/reference/generatorTypeCheck46.types @@ -3,15 +3,15 @@ === generatorTypeCheck46.ts === declare function foo(x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T): T; >foo : (x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T) => T -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ >x : T > : ^ >fun : () => Iterable<(x: T) => U> -> : ^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^ >x : T > : ^ >fun2 : (y: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >y : U > : ^ diff --git a/tests/baselines/reference/generatorTypeCheck62.types b/tests/baselines/reference/generatorTypeCheck62.types index 3a1d741c908b9..c5bfa92dd80fa 100644 --- a/tests/baselines/reference/generatorTypeCheck62.types +++ b/tests/baselines/reference/generatorTypeCheck62.types @@ -9,11 +9,11 @@ export interface StrategicState { export function strategy(stratName: string, gen: (a: T) => IterableIterator): (a: T) => IterableIterator { >strategy : (stratName: string, gen: (a: T) => IterableIterator) => (a: T) => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >stratName : string > : ^^^^^^ >gen : (a: T) => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : T > : ^ >a : T @@ -82,7 +82,7 @@ export const Nothing1: Strategy = strategy("Nothing", function*(state: St >"Nothing" : "Nothing" > : ^^^^^^^^^ >function*(state: State) { return state;} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ @@ -102,7 +102,7 @@ export const Nothing2: Strategy = strategy("Nothing", function*(state: St >"Nothing" : "Nothing" > : ^^^^^^^^^ >function*(state: State) { yield state;} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ @@ -124,7 +124,7 @@ export const Nothing3: Strategy = strategy("Nothing", function* (state: S >"Nothing" : "Nothing" > : ^^^^^^^^^ >function* (state: State) { yield ; return state;} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck63.types b/tests/baselines/reference/generatorTypeCheck63.types index ecb941e2cdfe4..b90d830130205 100644 --- a/tests/baselines/reference/generatorTypeCheck63.types +++ b/tests/baselines/reference/generatorTypeCheck63.types @@ -9,11 +9,11 @@ export interface StrategicState { export function strategy(stratName: string, gen: (a: T) => IterableIterator): (a: T) => IterableIterator { >strategy : (stratName: string, gen: (a: T) => IterableIterator) => (a: T) => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >stratName : string > : ^^^^^^ >gen : (a: T) => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : T > : ^ >a : T @@ -82,7 +82,7 @@ export const Nothing: Strategy = strategy("Nothing", function* (state: St >"Nothing" : "Nothing" > : ^^^^^^^^^ >function* (state: State) { yield 1; return state;} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ @@ -108,7 +108,7 @@ export const Nothing1: Strategy = strategy("Nothing", function* (state: S >"Nothing" : "Nothing" > : ^^^^^^^^^ >function* (state: State) {} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ @@ -124,7 +124,7 @@ export const Nothing2: Strategy = strategy("Nothing", function* (state: S >"Nothing" : "Nothing" > : ^^^^^^^^^ >function* (state: State) { return 1;} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ @@ -144,7 +144,7 @@ export const Nothing3: Strategy = strategy("Nothing", function* (state: S >"Nothing" : "Nothing" > : ^^^^^^^^^ >function* (state: State) { yield state; return 1;} : (state: State) => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >state : State > : ^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck7.types b/tests/baselines/reference/generatorTypeCheck7.types index 8704ef9c49da3..49e7019dcea4a 100644 --- a/tests/baselines/reference/generatorTypeCheck7.types +++ b/tests/baselines/reference/generatorTypeCheck7.types @@ -8,5 +8,5 @@ interface WeirdIter extends IterableIterator { } function* g1(): WeirdIter { } >g1 : () => WeirdIter -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/generatorTypeCheck8.types b/tests/baselines/reference/generatorTypeCheck8.types index 050dd3fe6df46..508b2032b46c5 100644 --- a/tests/baselines/reference/generatorTypeCheck8.types +++ b/tests/baselines/reference/generatorTypeCheck8.types @@ -4,5 +4,5 @@ interface BadGenerator extends Iterator, Iterable { } function* g3(): BadGenerator { } >g3 : () => BadGenerator -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/generatorYieldContextualType.types b/tests/baselines/reference/generatorYieldContextualType.types index 90510707cb716..375464fc4d62a 100644 --- a/tests/baselines/reference/generatorYieldContextualType.types +++ b/tests/baselines/reference/generatorYieldContextualType.types @@ -3,9 +3,9 @@ === generatorYieldContextualType.ts === declare function f1(gen: () => Generator): void; >f1 : (gen: () => Generator) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^ ^^ ^^ ^^^^^^^ ^^^^^ >gen : () => Generator -> : ^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^^^^^^ f1<0, 0, 1>(function* () { >f1<0, 0, 1>(function* () { const a = yield 0; return 0;}) : void @@ -31,9 +31,9 @@ f1<0, 0, 1>(function* () { declare function f2(gen: () => Generator | AsyncGenerator): void; >f2 : (gen: () => Generator | AsyncGenerator) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^ ^^ ^^ ^^^^^^^ ^^^^^ >gen : () => Generator | AsyncGenerator -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ ^ +> : ^^^^^^ f2<0, 0, 1>(async function* () { >f2<0, 0, 1>(async function* () { const a = yield 0; return 0;}) : void @@ -85,7 +85,7 @@ namespace Directive { export function is(value: Directive | T): value is Directive { >is : (value: Directive | T) => value is Directive -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >value : T | Directive > : ^^^^^^^^^^^^^ @@ -259,7 +259,7 @@ type StepState> = T & { function canPickStepContinue( >canPickStepContinue : >(_step: T, _state: PartialStepState, _selection: StepItemType | Directive) => _selection is StepItemType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _step: T, >_step : T @@ -281,7 +281,7 @@ function canPickStepContinue( function createPickStep( >createPickStep : (step: QuickPickStep) => QuickPickStep -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ step: QuickPickStep >step : QuickPickStep @@ -295,7 +295,7 @@ function createPickStep( function* showStep< >showStep : & { counter: number; confirm?: boolean | undefined; startingStep?: number | undefined; } & { repo: any; }, Context extends { repos: any[]; title: string; status: any; }>(state: State, _context: Context) => StepResultGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ State extends PartialStepState & { repo: any }, >repo : any diff --git a/tests/baselines/reference/genericAndNonGenericInheritedSignature1.types b/tests/baselines/reference/genericAndNonGenericInheritedSignature1.types index a21eb9753bf36..d574a22caa094 100644 --- a/tests/baselines/reference/genericAndNonGenericInheritedSignature1.types +++ b/tests/baselines/reference/genericAndNonGenericInheritedSignature1.types @@ -11,7 +11,7 @@ interface Foo { interface Bar { f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericAndNonGenericInheritedSignature2.types b/tests/baselines/reference/genericAndNonGenericInheritedSignature2.types index 82f18dabbf7f9..2268b7b1f9fe3 100644 --- a/tests/baselines/reference/genericAndNonGenericInheritedSignature2.types +++ b/tests/baselines/reference/genericAndNonGenericInheritedSignature2.types @@ -11,7 +11,7 @@ interface Foo { interface Bar { f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.types b/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.types index 40824dd2aa28a..e34903ba7716d 100644 --- a/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.types +++ b/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.types @@ -15,7 +15,7 @@ module Underscore { export interface Static { all(list: T[], iterator?: Iterator, context?: any): boolean; >all : (list: T[], iterator?: Iterator, context?: any) => boolean -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >iterator : Iterator @@ -25,7 +25,7 @@ module Underscore { identity(value: T): T; >identity : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/genericArrayExtenstions.types b/tests/baselines/reference/genericArrayExtenstions.types index bebb9224c1c39..1a3b4209161ba 100644 --- a/tests/baselines/reference/genericArrayExtenstions.types +++ b/tests/baselines/reference/genericArrayExtenstions.types @@ -7,13 +7,13 @@ export declare class ObservableArray implements Array { // MS.Entertainmen concat(...items: U[]): T[]; >concat : { (...items: U[]): T[]; (...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >items : U[] > : ^^^ concat(...items: T[]): T[]; >concat : { (...items: U[]): T[]; (...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >items : T[] > : ^^^ } diff --git a/tests/baselines/reference/genericArrayWithoutTypeAnnotation.types b/tests/baselines/reference/genericArrayWithoutTypeAnnotation.types index c9c706af5891f..0720b4d8b4179 100644 --- a/tests/baselines/reference/genericArrayWithoutTypeAnnotation.types +++ b/tests/baselines/reference/genericArrayWithoutTypeAnnotation.types @@ -9,7 +9,7 @@ class Bar { public getBar(foo: IFoo[]) { >getBar : (foo: IFoo[]) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : any[] > : ^^^^^ } diff --git a/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.types b/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.types index 2a39e631aa6ce..d6b145bcb6c56 100644 --- a/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.types +++ b/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.types @@ -3,11 +3,11 @@ === genericAssignmentCompatOfFunctionSignatures1.ts === var x1 = function foo3(x: T, z: U) { } >x1 : (x: T, z: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >function foo3(x: T, z: U) { } : (x: T, z: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >foo3 : (x: T, z: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >b : string @@ -19,11 +19,11 @@ var x1 = function foo3(x: T, z: U) { } var x2 = function foo3(x: T, z: U) { } >x2 : (x: T, z: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >function foo3(x: T, z: U) { } : (x: T, z: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >foo3 : (x: T, z: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >b : number diff --git a/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.types b/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.types index e69be475591d1..e3c8df3f1e8de 100644 --- a/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.types +++ b/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.types @@ -4,7 +4,7 @@ interface Comparable { compareTo(other: T): number; >compareTo : (other: T) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : T > : ^ } @@ -22,7 +22,7 @@ class A implements Comparable { compareTo(other: T) { return 1; } } >A : A > : ^^^^ >compareTo : (other: T) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ >other : T > : ^ >1 : 1 @@ -56,9 +56,9 @@ var a2: I = function (): { x: A } { >a2 : I > : ^^^^^^^^^ >function (): { x: A } { var z = { x: new A() }; return z;} () : { x: A; } -> : ^^^^^^ ^^^ +> : ^^^^^ ^^^ >function (): { x: A } { var z = { x: new A() }; return z;} : () => { x: A; } -> : ^^^^^^ ^ +> : ^^^^^^ >x : A > : ^^^^^^^^^ diff --git a/tests/baselines/reference/genericBaseClassLiteralProperty.types b/tests/baselines/reference/genericBaseClassLiteralProperty.types index ce2717c9ae296..18d27e72e2aab 100644 --- a/tests/baselines/reference/genericBaseClassLiteralProperty.types +++ b/tests/baselines/reference/genericBaseClassLiteralProperty.types @@ -7,11 +7,11 @@ class BaseClass { public _getValue1: { (): T; }; >_getValue1 : () => T -> : ^^^^^^^ +> : ^^^^^^ public _getValue2: () => T; >_getValue2 : () => T -> : ^^^^^^^ +> : ^^^^^^ } class SubClass extends BaseClass { diff --git a/tests/baselines/reference/genericBaseClassLiteralProperty2.types b/tests/baselines/reference/genericBaseClassLiteralProperty2.types index 61396fce13c75..24cfd3181c547 100644 --- a/tests/baselines/reference/genericBaseClassLiteralProperty2.types +++ b/tests/baselines/reference/genericBaseClassLiteralProperty2.types @@ -38,7 +38,7 @@ class DataView2 extends BaseCollection2 { fillItems(item: CollectionItem2) { >fillItems : (item: CollectionItem2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >item : CollectionItem2 > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericCallOnMemberReturningClosedOverObject.types b/tests/baselines/reference/genericCallOnMemberReturningClosedOverObject.types index 701129bb70d26..64b9695a8d869 100644 --- a/tests/baselines/reference/genericCallOnMemberReturningClosedOverObject.types +++ b/tests/baselines/reference/genericCallOnMemberReturningClosedOverObject.types @@ -5,33 +5,33 @@ function example() { >example : () => { foo: (t2: T2) => any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ let x = { >x : { foo: (t2: T2) => any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >{ foo: (t2: T2) => x, bar: (t1: T1) => x, } : { foo: (t2: T2) => any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ foo: (t2: T2) => x, >foo : (t2: T2) => { foo: any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t2: T2) => x : (t2: T2) => { foo: any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t2 : T2 > : ^^ >x : { foo: (t2: T2) => any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bar: (t1: T1) => x, >bar : (t1: T1) => { foo: (t2: T2) => any; bar: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1: T1) => x : (t1: T1) => { foo: (t2: T2) => any; bar: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t1 : T1 > : ^^ >x : { foo: (t2: T2) => any; bar: (t1: T1) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ }; return x; diff --git a/tests/baselines/reference/genericCallSpecializedToTypeArg.types b/tests/baselines/reference/genericCallSpecializedToTypeArg.types index 7b7d799fd4421..f703449d866fe 100644 --- a/tests/baselines/reference/genericCallSpecializedToTypeArg.types +++ b/tests/baselines/reference/genericCallSpecializedToTypeArg.types @@ -3,7 +3,7 @@ === genericCallSpecializedToTypeArg.ts === function dupe(x: T): T { >dupe : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -13,7 +13,7 @@ function dupe(x: T): T { } function dupeAndGetDist(x: U): U { >dupeAndGetDist : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.types b/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.types index 2b20e11cc9a63..5e07897cf7ef5 100644 --- a/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.types +++ b/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.types @@ -8,16 +8,16 @@ module m1 { interface Promise { then(cb: (x: T) => Promise): Promise; >then : (cb: (x: T) => Promise) => Promise -> : ^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } declare function testFunction(n: number): Promise; >testFunction : (n: number) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ @@ -49,22 +49,22 @@ module m2 { interface Promise { then(cb: (x: T) => Promise): Promise; >then : (cb: (x: T) => Promise) => Promise -> : ^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } declare function testFunction(n: number): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : number > : ^^^^^^ declare function testFunction(s: string): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : string > : ^^^^^^ @@ -96,28 +96,28 @@ module m3 { interface Promise { then(cb: (x: T) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; } -> : ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ then(cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ } declare function testFunction(n: number): Promise; >testFunction : (n: number) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ @@ -149,34 +149,34 @@ module m4 { interface Promise { then(cb: (x: T) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; } -> : ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ then(cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ } declare function testFunction(n: number): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : number > : ^^^^^^ declare function testFunction(s: string): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : string > : ^^^^^^ @@ -208,33 +208,33 @@ module m5 { interface Promise { then(cb: (x: T) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => U_2, progress?: (preservation: any) => void): Promise; } -> : ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ then(cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => U_2, progress?: (preservation: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ then(cb: (x: T) => Promise, error?: (error: any) => U, progress?: (preservation: any) => void): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => U, progress?: (preservation: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (preservation: any) => void @@ -245,13 +245,13 @@ module m5 { declare function testFunction(n: number): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : number > : ^^^^^^ declare function testFunction(s: string): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >s : string > : ^^^^^^ @@ -283,40 +283,40 @@ module m6 { interface Promise { then(cb: (x: T) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; } -> : ^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ then(cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; >then : { (cb: (x: T) => Promise): Promise; (cb: (x: T) => Promise, error?: (error: any) => Promise): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^ ^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ } declare function testFunction(n: number): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; (b: boolean): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : number > : ^^^^^^ declare function testFunction(s: string): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; (b: boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ declare function testFunction(b: boolean): Promise; >testFunction : { (n: number): Promise; (s: string): Promise; (b: boolean): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >b : boolean > : ^^^^^^^ diff --git a/tests/baselines/reference/genericCallTypeArgumentInference.types b/tests/baselines/reference/genericCallTypeArgumentInference.types index 2cadad1bd3375..2d28660f62a3a 100644 --- a/tests/baselines/reference/genericCallTypeArgumentInference.types +++ b/tests/baselines/reference/genericCallTypeArgumentInference.types @@ -5,7 +5,7 @@ function foo(t: T) { >foo : (t: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >t : T > : ^ @@ -26,7 +26,7 @@ var r = foo(''); // string function foo2(t: T, u: U) { >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -39,7 +39,7 @@ function foo2(t: T, u: U) { function foo2b(u: U) { >foo2b : (u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >u : U > : ^ @@ -87,7 +87,7 @@ class C { foo(t: T, u: U) { >foo : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -100,7 +100,7 @@ class C { foo2(t: T, u: U) { >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -113,7 +113,7 @@ class C { foo3(t: T, u: U) { >foo3 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -126,7 +126,7 @@ class C { foo4(t: T, u: U) { >foo4 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -139,7 +139,7 @@ class C { foo5(t: T, u: U) { >foo5 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -165,7 +165,7 @@ class C { foo7(u: U) { >foo7 : (u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >u : U > : ^ @@ -331,7 +331,7 @@ interface I { foo(t: T, u: U): T; >foo : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -339,7 +339,7 @@ interface I { foo2(t: T, u: U): U; >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -347,7 +347,7 @@ interface I { foo3(t: T, u: U): T; >foo3 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -355,7 +355,7 @@ interface I { foo4(t: T, u: U): T; >foo4 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -363,7 +363,7 @@ interface I { foo5(t: T, u: U): T; >foo5 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -371,17 +371,17 @@ interface I { foo6(): T; >foo6 : () => T -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ foo7(u: U): T; >foo7 : (u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >u : U > : ^ foo8(): T; >foo8 : () => T -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ } var i: I; diff --git a/tests/baselines/reference/genericCallWithArrayLiteralArgs.types b/tests/baselines/reference/genericCallWithArrayLiteralArgs.types index 7b8a6ad7b0968..17a0338f1bed7 100644 --- a/tests/baselines/reference/genericCallWithArrayLiteralArgs.types +++ b/tests/baselines/reference/genericCallWithArrayLiteralArgs.types @@ -3,7 +3,7 @@ === genericCallWithArrayLiteralArgs.ts === function foo(t: T) { >foo : (t: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.types b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.types index 3b4ffac0d7b62..b40a7560b96a0 100644 --- a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.types +++ b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.types @@ -39,7 +39,7 @@ var d2: Derived2; function foo(t: T) { >foo : (t: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >t : T > : ^ @@ -70,7 +70,7 @@ var r2 = foo(d1); // Derived function foo2(t: T, u: U) { >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -83,7 +83,7 @@ function foo2(t: T, u: U) { function foo2b(u: U) { >foo2b : (u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >u : U > : ^ @@ -140,7 +140,7 @@ class C { foo(t: T, u: U) { >foo : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -153,7 +153,7 @@ class C { foo2(t: T, u: U) { >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -166,7 +166,7 @@ class C { foo3(t: T, u: U) { >foo3 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -179,7 +179,7 @@ class C { foo4(t: T, u: U) { >foo4 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -192,7 +192,7 @@ class C { foo5(t: T, u: U) { >foo5 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >t : T > : ^ >u : U @@ -218,7 +218,7 @@ class C { foo7(u: U) { >foo7 : (u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >u : U > : ^ @@ -400,7 +400,7 @@ interface I { foo(t: T, u: U): T; >foo : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -408,7 +408,7 @@ interface I { foo2(t: T, u: U): U; >foo2 : (t: T, u: U) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -416,7 +416,7 @@ interface I { foo3(t: T, u: U): T; >foo3 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -424,7 +424,7 @@ interface I { foo4(t: T, u: U): T; >foo4 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -432,7 +432,7 @@ interface I { foo5(t: T, u: U): T; >foo5 : (t: T, u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -440,17 +440,17 @@ interface I { foo6(): T; >foo6 : () => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ foo7(u: U): T; >foo7 : (u: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >u : U > : ^ foo8(): T; >foo8 : () => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } var i: I; diff --git a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.types b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.types index 34f45cdaae995..c91c9d58452ff 100644 --- a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.types +++ b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.types @@ -5,7 +5,7 @@ function foo(t: T) { >foo : (t: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/genericCallWithConstructorTypedArguments5.types b/tests/baselines/reference/genericCallWithConstructorTypedArguments5.types index ba3f9be98339e..a467df5f71900 100644 --- a/tests/baselines/reference/genericCallWithConstructorTypedArguments5.types +++ b/tests/baselines/reference/genericCallWithConstructorTypedArguments5.types @@ -5,11 +5,11 @@ function foo(arg: { cb: new(t: T) => U }) { >foo : (arg: { cb: new (t: T) => U; }) => U -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^ >arg : { cb: new (t: T) => U; } -> : ^^^^^^ ^ ^^^^ +> : ^^^^^^ ^^^ >cb : new (t: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >t : T > : ^ @@ -26,9 +26,9 @@ function foo(arg: { cb: new(t: T) => U }) { var arg: { cb: new(x: T) => string }; >arg : { cb: new (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ >cb : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -45,9 +45,9 @@ var r = foo(arg); // {} // more args not allowed var arg2: { cb: new (x: T, y: T) => string }; >arg2 : { cb: new (x: T, y: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ >cb : new (x: T, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -85,11 +85,11 @@ var r3 = foo(arg3); // error function foo2(arg: { cb: new(t: T, t2: T) => U }) { >foo2 : (arg: { cb: new (t: T, t2: T) => U; }) => U -> : ^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^ >arg : { cb: new (t: T, t2: T) => U; } -> : ^^^^^^ ^ ^ ^^^^ +> : ^^^^^^ ^^^ >cb : new (t: T, t2: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ ^^^^^ >t : T > : ^ >t2 : T diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments.types b/tests/baselines/reference/genericCallWithFunctionTypedArguments.types index 895f2e7d99435..7f98ef0bcf510 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments.types +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments.types @@ -6,9 +6,9 @@ function foo(x: (a: T) => T) { >foo : (x: (a: T) => T) => T -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -27,7 +27,7 @@ var r = foo((x: U) => ''); // {} >foo : (x: (a: T) => T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => '' : (x: U) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : U > : ^ >'' : "" @@ -41,7 +41,7 @@ var r2 = foo((x: U) => ''); // string >foo : (x: (a: T) => T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => '' : (x: U) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : U > : ^ >'' : "" @@ -63,11 +63,11 @@ var r3 = foo(x => ''); // {} function foo2(x: T, cb: (a: T) => U) { >foo2 : (x: T, cb: (a: T) => U) => U -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^ >x : T > : ^ >cb : (a: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -90,7 +90,7 @@ var r4 = foo2(1, function (a: Z) { return '' }); // string, contextual signat >1 : 1 > : ^ >function (a: Z) { return '' } : (a: Z) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : Z > : ^ >'' : "" @@ -122,7 +122,7 @@ var r6 = foo2('', (a: Z) => 1); >'' : "" > : ^^ >(a: Z) => 1 : (a: Z) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : Z > : ^ >1 : 1 @@ -130,11 +130,11 @@ var r6 = foo2('', (a: Z) => 1); function foo3(x: T, cb: (a: T) => U, y: U) { >foo3 : (x: T, cb: (a: T) => U, y: U) => U -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >cb : (a: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >y : U @@ -159,7 +159,7 @@ var r7 = foo3(1, (a: Z) => '', ''); // string >1 : 1 > : ^ >(a: Z) => '' : (a: Z) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : Z > : ^ >'' : "" @@ -205,7 +205,7 @@ var r9 = foo3(1, (a) => '', ''); // string function other(t: T, u: U) { >other : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -221,7 +221,7 @@ function other(t: T, u: U) { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -253,7 +253,7 @@ function other(t: T, u: U) { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -271,7 +271,7 @@ function other(t: T, u: U) { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments2.types b/tests/baselines/reference/genericCallWithFunctionTypedArguments2.types index 379a13aad2502..7239c47d4188e 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments2.types +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments2.types @@ -6,9 +6,9 @@ function foo(x: new(a: T) => T) { >foo : (x: new (a: T) => T) => T -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -39,7 +39,7 @@ var i2: I2; var a: { >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ new (x: T): T; >x : T @@ -88,11 +88,11 @@ var r3b = foo(a); // any function foo2(x: T, cb: new(a: T) => U) { >foo2 : (x: T, cb: new (a: T) => U) => U -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^ >x : T > : ^ >cb : new (a: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -155,11 +155,11 @@ var r6 = foo2('', i2); // string function foo3(x: T, cb: new(a: T) => U, y: U) { >foo3 : (x: T, cb: new (a: T) => U, y: U) => U -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >cb : new (a: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ >y : U diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments3.types b/tests/baselines/reference/genericCallWithFunctionTypedArguments3.types index 0deaf9b8916fb..972c2d95da548 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments3.types +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments3.types @@ -18,9 +18,9 @@ var a: { function foo4(cb: (x: T) => U) { >foo4 : (cb: (x: T) => U) => U -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^ >cb : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -43,7 +43,7 @@ var r = foo4(a); // T is {} (candidates boolean and string), U is any (candidate var b: { >b : { (x: boolean): T; (x: T_1): any; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^ ^^^ (x: boolean): T; >x : boolean diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments4.types b/tests/baselines/reference/genericCallWithFunctionTypedArguments4.types index daf6f70870bab..48e6a397a1b2e 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments4.types +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments4.types @@ -17,7 +17,7 @@ class D { bar: string } var a: { >a : { new (x: boolean): C; new (x: string): D; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new(x: boolean): C; >x : boolean @@ -30,9 +30,9 @@ var a: { function foo4(cb: new(x: T) => U) { >foo4 : (cb: new (x: T) => U) => U -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^ >cb : new (x: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ @@ -57,7 +57,7 @@ var r = foo4(a); // T is {} (candidates boolean and string), U is {} (candidates var b: { >b : { new (x: boolean): T; new (x: T_1): any; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^ new(x: boolean): T; >x : boolean diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments5.types b/tests/baselines/reference/genericCallWithFunctionTypedArguments5.types index b91a7cb979063..595d69328622e 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments5.types +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments5.types @@ -5,11 +5,11 @@ function foo(arg: { cb: (t: T) => U }) { >foo : (arg: { cb: (t: T) => U; }) => U -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^ >arg : { cb: (t: T) => U; } -> : ^^^^^^ ^ ^^^^ +> : ^^^^^^ ^^^ >cb : (t: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ @@ -26,13 +26,13 @@ function foo(arg: { cb: (t: T) => U }) { var arg = { cb: (x: T) => '' }; >arg : { cb: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >{ cb: (x: T) => '' } : { cb: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >cb : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -57,11 +57,11 @@ var r2 = foo({ cb: (x: T, y: T) => '' }); // error >foo : (arg: { cb: (t: T) => U; }) => U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ cb: (x: T, y: T) => '' } : { cb: (x: T, y: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >cb : (x: T, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >(x: T, y: T) => '' : (x: T, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : T @@ -91,11 +91,11 @@ var r3 = foo({ cb: (x: string, y: number) => '' }); // error function foo2(arg: { cb: (t: T, t2: T) => U }) { >foo2 : (arg: { cb: (t: T, t2: T) => U; }) => U -> : ^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^ >arg : { cb: (t: T, t2: T) => U; } -> : ^^^^^^ ^ ^ ^^^^ +> : ^^^^^^ ^^^ >cb : (t: T, t2: T) => U -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >t : T > : ^ >t2 : T @@ -131,11 +131,11 @@ var r5 = foo({ cb: (x: T) => '' }); // {} >foo : (arg: { cb: (t: T) => U; }) => U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ cb: (x: T) => '' } : { cb: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >cb : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments.types b/tests/baselines/reference/genericCallWithGenericSignatureArguments.types index d3ac6945930e3..ddab475f73db2 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments.types +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments.types @@ -6,19 +6,19 @@ function foo(a: (x: T) => T, b: (x: T) => T) { >foo : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T -> : ^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -56,7 +56,7 @@ var r2 = foo((x: Object) => null, (x: string) => ''); // Object => Object >foo : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: Object) => null : (x: Object) => any -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : Object > : ^^^^^^ >(x: string) => '' : (x: string) => string @@ -80,7 +80,7 @@ var r3 = foo((x: number) => 1, (x: Object) => null); // number => number >1 : 1 > : ^ >(x: Object) => null : (x: Object) => any -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : Object > : ^^^^^^ @@ -128,7 +128,7 @@ var r4 = foo((x: typeof a) => a, (x: typeof b) => b); // typeof a => typeof a >foo : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: typeof a) => a : (x: typeof a) => { x: number; y?: number; } -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { x: number; y?: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { x: number; y?: number; } @@ -136,7 +136,7 @@ var r4 = foo((x: typeof a) => a, (x: typeof b) => b); // typeof a => typeof a >a : { x: number; y?: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: typeof b) => b : (x: typeof b) => { x: number; z?: number; } -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { x: number; z?: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { x: number; z?: number; } @@ -152,7 +152,7 @@ var r5 = foo((x: typeof b) => b, (x: typeof a) => a); // typeof b => typeof b >foo : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: typeof b) => b : (x: typeof b) => { x: number; z?: number; } -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { x: number; z?: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { x: number; z?: number; } @@ -160,7 +160,7 @@ var r5 = foo((x: typeof b) => b, (x: typeof a) => a); // typeof b => typeof b >b : { x: number; z?: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: typeof a) => a : (x: typeof a) => { x: number; y?: number; } -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { x: number; y?: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { x: number; y?: number; } @@ -170,7 +170,7 @@ var r5 = foo((x: typeof b) => b, (x: typeof a) => a); // typeof b => typeof b function other(x: T) { >other : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -182,13 +182,13 @@ function other(x: T) { >foo : (a: (x: T_1) => T_1, b: (x: T_1) => T_1) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: T) => a : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >a : T > : ^ >a : T > : ^ >(b: T) => b : (b: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >b : T > : ^ >b : T @@ -217,7 +217,7 @@ function other(x: T) { function other2(x: T) { >other2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -229,13 +229,13 @@ function other2(x: T) { >foo : (a: (x: T_1) => T_1, b: (x: T_1) => T_1) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: T) => a : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >a : T > : ^ >a : T > : ^ >(b: T) => b : (b: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >b : T > : ^ >b : T @@ -276,19 +276,19 @@ function other2(x: T) { function foo2(a: (x: T) => T, b: (x: T) => T) { >foo2 : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -299,7 +299,7 @@ function foo2(a: (x: T) => T, b: (x: T) => T) { function other3(x: T) { >other3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -311,13 +311,13 @@ function other3(x: T) { >foo2 : (a: (x: T_1) => T_1, b: (x: T_1) => T_1) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: Date) => a : (a: Date) => Date -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : Date > : ^^^^ >a : Date > : ^^^^ >(b: Date) => b : (b: Date) => Date -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >b : Date > : ^^^^ >b : Date diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types index d01a36b2b0562..71449d6d6d9c8 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types @@ -10,19 +10,19 @@ module onlyT { function foo(a: (x: T) => T, b: (x: T) => T) { >foo : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T -> : ^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -55,7 +55,7 @@ module onlyT { function other2(x: T) { >other2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -67,13 +67,13 @@ module onlyT { >foo : (a: (x: T_1) => T_1, b: (x: T_1) => T_1) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: T) => a : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >a : T > : ^ >a : T > : ^ >(b: T) => b : (b: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >b : T > : ^ >b : T @@ -105,19 +105,19 @@ module onlyT { function foo2(a: (x: T) => T, b: (x: T) => T) { >foo2 : (a: (x: T) => T, b: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -128,7 +128,7 @@ module onlyT { function other3(x: T) { >other3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -140,13 +140,13 @@ module onlyT { >foo2 : (a: (x: T_1) => T_1, b: (x: T_1) => T_1) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: T) => a : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >a : T > : ^ >a : T > : ^ >(b: T) => b : (b: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >b : T > : ^ >b : T @@ -187,21 +187,21 @@ module onlyT { function foo3(x: T, a: (x: T) => T, b: (x: T) => T) { >foo3 : (x: T, a: (x: T) => T, b: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : T > : ^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -251,19 +251,19 @@ module TU { function foo(a: (x: T) => T, b: (x: U) => U) { >foo : (a: (x: T) => T, b: (x: U) => U) => (x: T) => T -> : ^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: U) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -296,7 +296,7 @@ module TU { function other2(x: T) { >other2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -308,13 +308,13 @@ module TU { >foo : (a: (x: T_1) => T_1, b: (x: U) => U) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: T) => a : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >a : T > : ^ >a : T > : ^ >(b: T) => b : (b: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >b : T > : ^ >b : T @@ -345,19 +345,19 @@ module TU { function foo2(a: (x: T) => T, b: (x: U) => U) { >foo2 : (a: (x: T) => T, b: (x: U) => U) => (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: U) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -368,7 +368,7 @@ module TU { function other3(x: T) { >other3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -380,13 +380,13 @@ module TU { >foo2 : (a: (x: T_1) => T_1, b: (x: U) => U) => (x: T_1) => T_1 > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(a: T) => a : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >a : T > : ^ >a : T > : ^ >(b: T) => b : (b: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >b : T > : ^ >b : T @@ -427,11 +427,11 @@ module TU { function foo3(x: T, a: (x: T) => T, b: (x: U) => U) { >foo3 : (x: T, a: (x: T) => T, b: (x: U) => U) => (x: T) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : T > : ^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: U) => U @@ -441,7 +441,7 @@ module TU { var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments3.types b/tests/baselines/reference/genericCallWithGenericSignatureArguments3.types index dc74703bca163..338822619d2bd 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments3.types +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments3.types @@ -6,21 +6,21 @@ function foo(x: T, a: (x: T) => T, b: (x: T) => T) { >foo : (x: T, a: (x: T) => T, b: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : T > : ^ >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => T; >r : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -45,7 +45,7 @@ var r1 = foo('', (x: string) => '', (x: Object) => null); // any => any >'' : "" > : ^^ >(x: Object) => null : (x: Object) => any -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : Object > : ^^^^^^ @@ -85,7 +85,7 @@ var r2 = foo('', (x: string) => '', (x: Object) => ''); // string => string >'' : "" > : ^^ >(x: Object) => '' : (x: Object) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Object > : ^^^^^^ >'' : "" @@ -99,7 +99,7 @@ var r3 = foo(null, (x: Object) => '', (x: string) => ''); // Object => Object >foo : (x: T, a: (x: T) => T, b: (x: T) => T) => (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: Object) => '' : (x: Object) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Object > : ^^^^^^ >'' : "" @@ -191,7 +191,7 @@ var r6 = foo(E.A, (x: number) => E.A, (x: F) => F.A); // number => number >A : E > : ^ >(x: F) => F.A : (x: F) => F -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : F > : ^ >F.A : F @@ -204,21 +204,21 @@ var r6 = foo(E.A, (x: number) => E.A, (x: F) => F.A); // number => number function foo2(x: T, a: (x: T) => U, b: (x: T) => U) { >foo2 : (x: T, a: (x: T) => U, b: (x: T) => U) => (x: T) => U -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : T > : ^ >a : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >b : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ var r: (x: T) => U; >r : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -275,7 +275,7 @@ var r10 = foo2(null, (x: Object) => '', (x: string) => ''); // Object => Object >foo2 : (x: T, a: (x: T) => U, b: (x: T) => U) => (x: T) => U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: Object) => '' : (x: Object) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Object > : ^^^^^^ >'' : "" @@ -295,21 +295,21 @@ var x: (a: string) => boolean; var r11 = foo2(x, (a1: (y: string) => string) => (n: Object) => 1, (a2: (z: string) => string) => 2); // error >r11 : (x: (a: string) => boolean) => (n: Object) => 1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >foo2(x, (a1: (y: string) => string) => (n: Object) => 1, (a2: (z: string) => string) => 2) : (x: (a: string) => boolean) => (n: Object) => 1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >foo2 : (x: T, a: (x: T) => U, b: (x: T) => U) => (x: T) => U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (a: string) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^ >(a1: (y: string) => string) => (n: Object) => 1 : (a1: (y: string) => string) => (n: Object) => 1 -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ ^^^^^^ >a1 : (y: string) => string > : ^^^^ ^^^^^ >y : string > : ^^^^^^ >(n: Object) => 1 : (n: Object) => 1 -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >n : Object > : ^^^^^^ >1 : 1 @@ -325,21 +325,21 @@ var r11 = foo2(x, (a1: (y: string) => string) => (n: Object) => 1, (a2: (z: stri var r12 = foo2(x, (a1: (y: string) => boolean) => (n: Object) => 1, (a2: (z: string) => boolean) => 2); // error >r12 : (x: (z: string) => boolean) => (n: Object) => 1 -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >foo2(x, (a1: (y: string) => boolean) => (n: Object) => 1, (a2: (z: string) => boolean) => 2) : (x: (z: string) => boolean) => (n: Object) => 1 -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >foo2 : (x: T, a: (x: T) => U, b: (x: T) => U) => (x: T) => U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (a: string) => boolean > : ^^^^^^^^^^^^^^^^^^^^^^ >(a1: (y: string) => boolean) => (n: Object) => 1 : (a1: (y: string) => boolean) => (n: Object) => 1 -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ ^^^^^^ >a1 : (y: string) => boolean > : ^^^^ ^^^^^ >y : string > : ^^^^^^ >(n: Object) => 1 : (n: Object) => 1 -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >n : Object > : ^^^^^^ >1 : 1 diff --git a/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.types b/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.types index 0ad8082f4fcb3..a89864a1e0d03 100644 --- a/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.types +++ b/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.types @@ -6,7 +6,7 @@ function foo(x: T, y: T) { >foo : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : T @@ -147,7 +147,7 @@ var r6 = foo(y, x); // { x?: number; }; var s1: (x: Object) => string; >s1 : (x: Object) => string -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Object > : ^^^^^^ diff --git a/tests/baselines/reference/genericCallWithObjectLiteralArgs.types b/tests/baselines/reference/genericCallWithObjectLiteralArgs.types index 9f82796d83ca6..53865aaec57bb 100644 --- a/tests/baselines/reference/genericCallWithObjectLiteralArgs.types +++ b/tests/baselines/reference/genericCallWithObjectLiteralArgs.types @@ -3,9 +3,9 @@ === genericCallWithObjectLiteralArgs.ts === function foo(x: { bar: T; baz: T }) { >foo : (x: { bar: T; baz: T; }) => { bar: T; baz: T; } -> : ^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^ >x : { bar: T; baz: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >bar : T > : ^ >baz : T diff --git a/tests/baselines/reference/genericCallWithObjectLiteralArguments1.types b/tests/baselines/reference/genericCallWithObjectLiteralArguments1.types index 759b63f789329..f9053009207c4 100644 --- a/tests/baselines/reference/genericCallWithObjectLiteralArguments1.types +++ b/tests/baselines/reference/genericCallWithObjectLiteralArguments1.types @@ -3,9 +3,9 @@ === genericCallWithObjectLiteralArguments1.ts === function foo(n: { x: T; y: T }, m: T) { return m; } >foo : (n: { x: T; y: T; }, m: T) => T -> : ^^^^^^^ ^ ^ ^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >n : { x: T; y: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgs.types b/tests/baselines/reference/genericCallWithObjectTypeArgs.types index 890accec8842b..411530855fc85 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgs.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgs.types @@ -30,7 +30,7 @@ class X { function foo(t: X, t2: X) { >foo : (t: X, t2: X) => T -> : ^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^ >t : X > : ^^^^ >t2 : X diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgs2.types b/tests/baselines/reference/genericCallWithObjectTypeArgs2.types index 6a7aeaa43d18e..f1de6d97cf559 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgs2.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgs2.types @@ -33,9 +33,9 @@ class Derived2 extends Base { // returns {}[] function f(a: { x: T; y: U }) { >f : (a: { x: T; y: U; }) => (T | U)[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >a : { x: T; y: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : U @@ -105,9 +105,9 @@ var r2 = f({ x: new Base(), y: new Derived2() }); // {}[] function f2(a: { x: T; y: U }) { >f2 : (a: { x: T; y: U; }) => (x: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ >a : { x: T; y: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : U @@ -115,7 +115,7 @@ function f2(a: { x: T; y: U }) { return (x: T) => a.y; >(x: T) => a.y : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >a.y : U diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.types index 4f2af72ea37f7..775fc65020a8a 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.types @@ -37,7 +37,7 @@ class X { function foo(t: X, t2: X) { >foo : (t: X, t2: X) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ >x : string > : ^^^^^^ >t : X @@ -96,7 +96,7 @@ var r2 = foo(c1, c1); function foo2(t: X, t2: X) { >foo2 : (t: X, t2: X) => T -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ >t : X > : ^^^^ >t2 : X diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.types index 68fe43fc2bf2d..b54fea678d76a 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.types @@ -25,9 +25,9 @@ class Derived extends Base { function f(x: { foo: T; bar: T }) { >f : (x: { foo: T; bar: T; }) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -93,7 +93,7 @@ interface I { } function f2(x: I) { >f2 : (x: I) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : I > : ^^^^ @@ -122,11 +122,11 @@ var r3 = f2(i); function f3(x: T, y: (a: T) => T) { >f3 : (x: T, y: (a: T) => T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.types index 7d337c2fcb53b..f9d5778e7a388 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.types @@ -34,9 +34,9 @@ class Derived2 extends Base { function f(a: { x: T; y: T }) { >f : (a: { x: T; y: T; }) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >a : { x: T; y: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : T @@ -75,7 +75,7 @@ var r1 = f({ x: new Derived(), y: new Derived2() }); // error because neither is function f2(a: U) { >f2 : (a: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^ >x : T > : ^ >y : T @@ -139,9 +139,9 @@ var r3 = f2({ x: new Derived(), y: new Derived2() }); // ok function f3(y: (a: T) => T, x: T) { >f3 : (y: (a: T) => T, x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >y : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >x : T diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.types index b4b6c1370292d..93eb3106eeac4 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.types @@ -27,7 +27,7 @@ class D { function foo(t: T, t2: U) { >foo : (t: T, t2: U) => (x: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ >t : T > : ^ >t2 : U @@ -35,7 +35,7 @@ function foo(t: T, t2: U) { return (x: T) => t2; >(x: T) => t2 : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >t2 : U diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.types index f8e066e5b9302..43a09c57f98a1 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.types @@ -27,7 +27,7 @@ class D { function foo(t: T, t2: U) { >foo : (t: T, t2: U) => (x: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ >t : T > : ^ >t2 : U @@ -35,7 +35,7 @@ function foo(t: T, t2: U) { return (x: T) => t2; >(x: T) => t2 : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >t2 : U diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.types index bf3c20e52dc16..65cc446cc236e 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.types @@ -5,7 +5,7 @@ function foo(x: T) { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -39,7 +39,7 @@ var r = foo(a); function other(arg: T) { >other : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.types index ac224fdcdf198..57d044340e027 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.types @@ -5,7 +5,7 @@ function foo(x: T) { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -16,7 +16,7 @@ function foo(x: T) { function other(arg: T) { >other : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : T > : ^ @@ -46,7 +46,7 @@ function other(arg: T) { function other3(arg: T) { >other3 : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.types index eb24673c63fd2..61e300c4aefc6 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.types @@ -5,7 +5,7 @@ function foo(x: T = null) { return x; } // ok >foo : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -13,7 +13,7 @@ function foo(x: T = null) { return x; } // ok function foo2(x: T = undefined) { return x; } // ok >foo2 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ >x : T > : ^ >undefined : undefined @@ -23,7 +23,7 @@ function foo2(x: T = undefined) { return x; } // ok function foo3(x: T = 1) { } // error >foo3 : (x?: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ >1 : 1 @@ -31,7 +31,7 @@ function foo3(x: T = 1) { } // error function foo4(x: T, y: U = x) { } // error >foo4 : (x: T, y?: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -41,7 +41,7 @@ function foo4(x: T, y: U = x) { } // error function foo5(x: U, y: T = x) { } // ok >foo5 : (x: U, y?: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >x : U > : ^ >y : T @@ -51,7 +51,7 @@ function foo5(x: U, y: T = x) { } // ok function foo6(x: T, y: U, z: V = y) { } // error >foo6 : (x: T, y: U, z?: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -63,7 +63,7 @@ function foo6(x: T, y: U, z: V = y) { } // error function foo7(x: V, y: U = x) { } // should be ok >foo7 : (x: V, y?: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >x : V > : ^ >y : U diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.types index 129cbc780e64d..99c06a26777ee 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.types @@ -5,7 +5,7 @@ function foo(x: T) { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -32,7 +32,7 @@ var r = foo(a); function other(arg: T) { >other : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : T > : ^ @@ -55,7 +55,7 @@ function other(arg: T) { function other2(arg: T) { >other2 : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ @@ -88,7 +88,7 @@ function other2(arg: T) { function other3(arg: T) { >other3 : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.types b/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.types index d398f8a890902..dfeae1021d87c 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.types +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.types @@ -5,7 +5,7 @@ function foo(x: T) { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -32,7 +32,7 @@ var r = foo(a); function other(arg: T) { >other : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : T > : ^ @@ -55,7 +55,7 @@ function other(arg: T) { function other2(arg: T) { >other2 : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ @@ -88,7 +88,7 @@ function other2(arg: T) { function other3(arg: T) { >other3 : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.types b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.types index a3e3d6cd2f3e8..7ed846024704a 100644 --- a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.types +++ b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.types @@ -23,7 +23,7 @@ module NonGenericParameter { function foo4(cb: typeof a) { >foo4 : (cb: typeof a) => boolean -> : ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >cb : { new (x: boolean): boolean; new (x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { new (x: boolean): boolean; new (x: string): string; } @@ -48,7 +48,7 @@ module NonGenericParameter { var b: { new (x: T): T }; >b : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -69,9 +69,9 @@ module GenericParameter { function foo5(cb: { new(x: T): string; new(x: number): T }) { >foo5 : (cb: { new (x: T): string; new (x: number): T; }) => { new (x: T): string; new (x: number): T; } -> : ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ >cb : { new (x: T): string; new (x: number): T; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ >x : T > : ^ >x : number @@ -106,7 +106,7 @@ module GenericParameter { var b: { new(x: T): string; new(x: number): T; } >b : { new (x: T): string; new (x: number): T_1; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : number @@ -124,9 +124,9 @@ module GenericParameter { function foo6(cb: { new(x: T): string; new(x: T, y?: T): string }) { >foo6 : (cb: { new (x: T): string; new (x: T, y?: T): string; }) => { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >cb : { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -161,11 +161,11 @@ module GenericParameter { function foo7(x:T, cb: { new(x: T): string; new(x: T, y?: T): string }) { >foo7 : (x: T, cb: { new (x: T): string; new (x: T, y?: T): string; }) => { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >cb : { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -192,7 +192,7 @@ module GenericParameter { var c: { new (x: T): string; (x: number): T; } >c : { (x: number): T; new (x: T_1): string; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^ >x : T > : ^ >x : number @@ -200,7 +200,7 @@ module GenericParameter { var c2: { new (x: T): string; new(x: number): T; } >c2 : { new (x: T): string; new (x: number): T_1; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : number diff --git a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.types b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.types index 2ac5d48cee6d4..a8cad1b35676a 100644 --- a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.types +++ b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.types @@ -23,7 +23,7 @@ module NonGenericParameter { function foo4(cb: typeof a) { >foo4 : (cb: typeof a) => { new (x: boolean): boolean; new (x: string): string; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : { new (x: boolean): boolean; new (x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { new (x: boolean): boolean; new (x: string): string; } @@ -36,7 +36,7 @@ module NonGenericParameter { var b: { new (x: T): U } >b : new (x: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -57,9 +57,9 @@ module GenericParameter { function foo5(cb: { new(x: T): string; new(x: number): T }) { >foo5 : (cb: { new (x: T): string; new (x: number): T; }) => { new (x: T): string; new (x: number): T; } -> : ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ >cb : { new (x: T): string; new (x: number): T; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ >x : T > : ^ >x : number @@ -72,7 +72,7 @@ module GenericParameter { var a: { new (x: T): T }; >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -88,9 +88,9 @@ module GenericParameter { function foo6(cb: { new(x: T): string; new(x: T, y?: T): string }) { >foo6 : (cb: { new (x: T): string; new (x: T, y?: T): string; }) => { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >cb : { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -105,7 +105,7 @@ module GenericParameter { var b: { new (x: T, y: T): string }; >b : new (x: T, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -123,11 +123,11 @@ module GenericParameter { function foo7(x:T, cb: { new(x: T): string; new(x: T, y?: T): string }) { >foo7 : (x: T, cb: { new (x: T): string; new (x: T, y?: T): string; }) => { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >cb : { new (x: T): string; new (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -154,7 +154,7 @@ module GenericParameter { var c: { new(x: T): number; new(x: number): T; } >c : { new (x: T): number; new (x: number): T_1; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : number diff --git a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.types b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.types index 6e021a1a520e9..305bb9dd5dfc7 100644 --- a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.types +++ b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.types @@ -23,7 +23,7 @@ module NonGenericParameter { function foo4(cb: typeof a) { >foo4 : (cb: typeof a) => { (x: boolean): boolean; (x: string): string; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : { (x: boolean): boolean; (x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { (x: boolean): boolean; (x: string): string; } @@ -52,7 +52,7 @@ module NonGenericParameter { >foo4 : (cb: { (x: boolean): boolean; (x: string): string; }) => { (x: boolean): boolean; (x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -77,9 +77,9 @@ module GenericParameter { function foo5(cb: { (x: T): string; (x: number): T }) { >foo5 : (cb: { (x: T): string; (x: number): T; }) => { (x: T): string; (x: number): T; } -> : ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >cb : { (x: T): string; (x: number): T; } -> : ^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : number @@ -104,7 +104,7 @@ module GenericParameter { var a: { (x: T): string; (x: number): T; } >a : { (x: T): string; (x: number): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : number @@ -122,9 +122,9 @@ module GenericParameter { function foo6(cb: { (x: T): string; (x: T, y?: T): string }) { >foo6 : (cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >cb : { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -157,7 +157,7 @@ module GenericParameter { >foo6 : (cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -171,7 +171,7 @@ module GenericParameter { >foo6 : (cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T, y?: T) => '' : (x: T, y?: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : T @@ -181,11 +181,11 @@ module GenericParameter { function foo7(x:T, cb: { (x: T): string; (x: T, y?: T): string }) { >foo7 : (x: T, cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >cb : { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -222,7 +222,7 @@ module GenericParameter { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" diff --git a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.types b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.types index d3951164c1f9b..ab0fcee6358a4 100644 --- a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.types +++ b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.types @@ -23,7 +23,7 @@ module NonGenericParameter { function foo4(cb: typeof a) { >foo4 : (cb: typeof a) => { (x: boolean): boolean; (x: string): string; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cb : { (x: boolean): boolean; (x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { (x: boolean): boolean; (x: string): string; } @@ -42,7 +42,7 @@ module NonGenericParameter { >foo4 : (cb: { (x: boolean): boolean; (x: string): string; }) => { (x: boolean): boolean; (x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => { var r: U; return r } : (x: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^ >x : T > : ^ >r : U @@ -57,9 +57,9 @@ module GenericParameter { function foo5(cb: { (x: T): string; (x: number): T }) { >foo5 : (cb: { (x: T): string; (x: number): T; }) => { (x: T): string; (x: number): T; } -> : ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >cb : { (x: T): string; (x: number): T; } -> : ^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : number @@ -78,7 +78,7 @@ module GenericParameter { >foo5 : (cb: { (x: T): string; (x: number): T; }) => { (x: T): string; (x: number): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -86,9 +86,9 @@ module GenericParameter { function foo6(cb: { (x: T): string; (x: T, y?: T): string }) { >foo6 : (cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >cb : { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -109,7 +109,7 @@ module GenericParameter { >foo6 : (cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T, y: T) => '' : (x: T, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : T @@ -119,11 +119,11 @@ module GenericParameter { function foo7(x:T, cb: { (x: T): string; (x: T, y?: T): string }) { >foo7 : (x: T, cb: { (x: T): string; (x: T, y?: T): string; }) => { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >cb : { (x: T): string; (x: T, y?: T): string; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >x : T > : ^ >x : T @@ -146,7 +146,7 @@ module GenericParameter { >1 : 1 > : ^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -154,7 +154,7 @@ module GenericParameter { var a: { (x: T): number; (x: number): T; } >a : { (x: T): number; (x: number): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : number diff --git a/tests/baselines/reference/genericCallWithinOwnBodyCastTypeParameterIdentity.types b/tests/baselines/reference/genericCallWithinOwnBodyCastTypeParameterIdentity.types index e5b471e2c04c5..9715d564cf8d6 100644 --- a/tests/baselines/reference/genericCallWithinOwnBodyCastTypeParameterIdentity.types +++ b/tests/baselines/reference/genericCallWithinOwnBodyCastTypeParameterIdentity.types @@ -4,11 +4,11 @@ interface Thenable { then( >then : (onFulfilled: (value: Value) => V | Thenable) => Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ onFulfilled: (value: Value) => V | Thenable, >onFulfilled : (value: Value) => V | Thenable -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : Value > : ^^^^^ @@ -17,17 +17,17 @@ interface Thenable { const toThenable = (fn: (input: Input) => Result | Thenable) => >toThenable : (fn: (input: Input) => Result | Thenable) => (input: Input) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >(fn: (input: Input) => Result | Thenable) => (input: Input): Thenable => { const result = fn(input) return { then(onFulfilled: (value: Result) => V | Thenable) { return toThenable(onFulfilled)(result as Result) } }; } : (fn: (input: Input) => Result | Thenable) => (input: Input) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >fn : (input: Input) => Result | Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : Input > : ^^^^^ (input: Input): Thenable => { >(input: Input): Thenable => { const result = fn(input) return { then(onFulfilled: (value: Result) => V | Thenable) { return toThenable(onFulfilled)(result as Result) } }; } : (input: Input) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : Input > : ^^^^^ @@ -43,13 +43,13 @@ const toThenable = (fn: (input: Input) => Result | Thenable{ then(onFulfilled: (value: Result) => V | Thenable) { return toThenable(onFulfilled)(result as Result) } } : { then(onFulfilled: (value: Result) => V | Thenable): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ then(onFulfilled: (value: Result) => V | Thenable) { >then : (onFulfilled: (value: Result) => V | Thenable) => Thenable -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >onFulfilled : (value: Result) => V | Thenable -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : Result > : ^^^^^^ @@ -72,17 +72,17 @@ const toThenable = (fn: (input: Input) => Result | Thenable(fn: (input: Input) => Result | Thenable) => >toThenableInferred : (fn: (input: Input) => Result | Thenable) => (input: Input) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >(fn: (input: Input) => Result | Thenable) => (input: Input): Thenable => { const result = fn(input) return { then(onFulfilled) { return toThenableInferred(onFulfilled)(result as Result) } }; } : (fn: (input: Input) => Result | Thenable) => (input: Input) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >fn : (input: Input) => Result | Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : Input > : ^^^^^ (input: Input): Thenable => { >(input: Input): Thenable => { const result = fn(input) return { then(onFulfilled) { return toThenableInferred(onFulfilled)(result as Result) } }; } : (input: Input) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : Input > : ^^^^^ diff --git a/tests/baselines/reference/genericCallWithoutArgs.types b/tests/baselines/reference/genericCallWithoutArgs.types index 469953a411f26..0dea699c0b0ed 100644 --- a/tests/baselines/reference/genericCallWithoutArgs.types +++ b/tests/baselines/reference/genericCallWithoutArgs.types @@ -3,7 +3,7 @@ === genericCallWithoutArgs.ts === function f(x: X, y: Y) { >f : (x: X, y: Y) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : X > : ^ >y : Y diff --git a/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.types b/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.types index 65e5d6fea4270..cd046dc623ad3 100644 --- a/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.types +++ b/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.types @@ -3,13 +3,13 @@ === genericCallbackInvokedInsideItsContainingFunction1.ts === function foo(x:T, y:U, f: (v: T) => U) { >foo : (x: T, y: U, f: (v: T) => U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U > : ^ >f : (v: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : T > : ^ diff --git a/tests/baselines/reference/genericCallbacksAndClassHierarchy.types b/tests/baselines/reference/genericCallbacksAndClassHierarchy.types index 62d32d6902fc2..48315d3c74d55 100644 --- a/tests/baselines/reference/genericCallbacksAndClassHierarchy.types +++ b/tests/baselines/reference/genericCallbacksAndClassHierarchy.types @@ -8,9 +8,9 @@ module M { export interface I { subscribe(callback: (newValue: T) => void ): any; >subscribe : (callback: (newValue: T) => void) => any -> : ^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >callback : (newValue: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >newValue : T > : ^ } @@ -41,15 +41,15 @@ module M { _subscribe(viewModel: B): void { >_subscribe : (viewModel: B) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >viewModel : B > : ^^^^ var f = (newValue: A) => { }; >f : (newValue: A) => void -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >(newValue: A) => { } : (newValue: A) => void -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >newValue : A > : ^^^^ @@ -84,7 +84,7 @@ module M { >subscribe : (callback: (newValue: A) => void) => any > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(newValue: A) => { } : (newValue: A) => void -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >newValue : A > : ^^^^ } diff --git a/tests/baselines/reference/genericCapturingFunctionNarrowing.types b/tests/baselines/reference/genericCapturingFunctionNarrowing.types index b56450fa9dbc4..18ceb2a948528 100644 --- a/tests/baselines/reference/genericCapturingFunctionNarrowing.types +++ b/tests/baselines/reference/genericCapturingFunctionNarrowing.types @@ -3,7 +3,7 @@ === genericCapturingFunctionNarrowing.ts === function needsToNarrowTheType(thing: First | SubFirst | SubFirstMore | Second) { >needsToNarrowTheType : (thing: First | SubFirst | SubFirstMore | Second) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >foo : string > : ^^^^^^ >bar : string @@ -58,7 +58,7 @@ function needsToNarrowTheTypehasAFoo : (value: First | Second) => value is First -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >value : First | Second > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericChainedCalls.types b/tests/baselines/reference/genericChainedCalls.types index 093d27ccdb53a..50d69014519e7 100644 --- a/tests/baselines/reference/genericChainedCalls.types +++ b/tests/baselines/reference/genericChainedCalls.types @@ -4,9 +4,9 @@ interface I1 { func(callback: (value: T) => U): I1; >func : (callback: (value: T) => U) => I1 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.types b/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.types index 4377b4b22cdf5..34fe7c3151782 100644 --- a/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.types +++ b/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.types @@ -4,7 +4,7 @@ interface KnockoutObservableBase { peek(): T; >peek : () => T -> : ^^^^^^^ +> : ^^^^^^ (): T; (value: T): void; @@ -15,7 +15,7 @@ interface KnockoutObservableBase { interface KnockoutObservable extends KnockoutObservableBase { equalityComparer(a: T, b: T): boolean; >equalityComparer : (a: T, b: T) => boolean -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -33,7 +33,7 @@ interface KnockoutObservable extends KnockoutObservableBase { interface KnockoutObservableArray extends KnockoutObservable { indexOf(searchElement: T, fromIndex?: number): number; >indexOf : (searchElement: T, fromIndex?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >searchElement : T > : ^ >fromIndex : number @@ -41,7 +41,7 @@ interface KnockoutObservableArray extends KnockoutObservable { slice(start: number, end?: number): T[]; >slice : (start: number, end?: number) => T[] -> : ^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >end : number @@ -49,7 +49,7 @@ interface KnockoutObservableArray extends KnockoutObservable { splice(start: number, deleteCount?: number, ...items: T[]): T[]; >splice : (start: number, deleteCount?: number, ...items: T[]) => T[] -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >deleteCount : number @@ -59,33 +59,33 @@ interface KnockoutObservableArray extends KnockoutObservable { pop(): T; >pop : () => T -> : ^^^^^^^ +> : ^^^^^^ push(...items: T[]): void; >push : (...items: T[]) => void -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ shift(): T; >shift : () => T -> : ^^^^^^^ +> : ^^^^^^ unshift(...items: T[]): number; >unshift : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ reverse(): T[]; >reverse : () => T[] -> : ^^^^^^^ +> : ^^^^^^ sort(compareFunction?: (a: T, b: T) => number): void; >sort : (compareFunction?: (a: T, b: T) => number) => void -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ >compareFunction : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -93,7 +93,7 @@ interface KnockoutObservableArray extends KnockoutObservable { replace(oldItem: T, newItem: T): void; >replace : (oldItem: T, newItem: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >oldItem : T > : ^ >newItem : T @@ -101,25 +101,25 @@ interface KnockoutObservableArray extends KnockoutObservable { remove(item: T): T[]; >remove : (item: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ removeAll(items?: T[]): T[]; >removeAll : (items?: T[]) => T[] -> : ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ destroy(item: T): void; >destroy : (item: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ destroyAll(items?: T[]): void; >destroyAll : (items?: T[]) => void -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ } @@ -180,7 +180,7 @@ module Portal.Controls.Validators { public _validate(value: TValue): number {return 0 } >_validate : (value: TValue) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : TValue > : ^^^^^^ >0 : 0 diff --git a/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.types b/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.types index fa2682bd67fe6..d2cbb88ba8586 100644 --- a/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.types +++ b/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.types @@ -14,9 +14,9 @@ module ImmediatelyFix { foo(x: (a: T) => T) { >foo : (x: (a: T) => T) => T -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -48,7 +48,7 @@ module ImmediatelyFix { >foo : (x: (a: T) => T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => '' : (x: U) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : U > : ^ >'' : "" @@ -66,7 +66,7 @@ module ImmediatelyFix { >foo : (x: (a: T) => T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => '' : (x: U) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : U > : ^ >'' : "" @@ -96,9 +96,9 @@ module ImmediatelyFix { foo(x: (a: T) => T) { >foo : (x: (a: T) => T) => T -> : ^^^^ ^ ^^^^^^^ +> : ^^^^ ^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -130,7 +130,7 @@ module ImmediatelyFix { >foo : (x: (a: number) => number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: U) => 1 : (x: U) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : U > : ^ >1 : 1 @@ -165,11 +165,11 @@ module WithCandidates { foo2(x: T, cb: (a: T) => U) { >foo2 : (x: T, cb: (a: T) => U) => U -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^ >x : T > : ^ >cb : (a: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -201,7 +201,7 @@ module WithCandidates { >1 : 1 > : ^ >function (a: Z) { return '' } : (a: Z) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : Z > : ^ >'' : "" @@ -241,7 +241,7 @@ module WithCandidates { >'' : "" > : ^^ >(a: Z) => 1 : (a: Z) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : Z > : ^ >1 : 1 @@ -253,11 +253,11 @@ module WithCandidates { foo3(x: T, cb: (a: T) => U, y: U) { >foo3 : (x: T, cb: (a: T) => U, y: U) => U -> : ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >cb : (a: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >y : U @@ -291,7 +291,7 @@ module WithCandidates { >1 : 1 > : ^ >(a: Z) => '' : (a: Z) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : Z > : ^ >'' : "" @@ -327,11 +327,11 @@ module WithCandidates { foo3(x: T, cb: (a: T) => U, y: U) { >foo3 : (x: T, cb: (a: T) => U, y: U) => U -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >cb : (a: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >y : U @@ -352,7 +352,7 @@ module WithCandidates { function other(t: T, u: U) { >other : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -372,7 +372,7 @@ module WithCandidates { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -412,7 +412,7 @@ module WithCandidates { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -434,7 +434,7 @@ module WithCandidates { >1 : 1 > : ^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" diff --git a/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.types b/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.types index bba19a6d4604a..b7597d17826ac 100644 --- a/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.types +++ b/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.types @@ -47,7 +47,7 @@ module Class { foo(t: X, t2: X) { >foo : (t: X, t2: X) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ >x : string > : ^^^^^^ >t : X @@ -127,7 +127,7 @@ module Class { foo2(t: X, t2: X) { >foo2 : (t: X, t2: X) => T -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ >t : X > : ^^^^ >t2 : X @@ -189,7 +189,7 @@ module Interface { foo(t: X, t2: X): T; >foo : (t: X, t2: X) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^ >x : string > : ^^^^^^ >t : X @@ -257,7 +257,7 @@ module Interface { interface G2 { foo2(t: X, t2: X): T; >foo2 : (t: X, t2: X) => T -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >t : X > : ^^^^ >t2 : X diff --git a/tests/baselines/reference/genericClassWithStaticFactory.types b/tests/baselines/reference/genericClassWithStaticFactory.types index 9f4f7f38fae16..0bdd9a191310c 100644 --- a/tests/baselines/reference/genericClassWithStaticFactory.types +++ b/tests/baselines/reference/genericClassWithStaticFactory.types @@ -45,7 +45,7 @@ module Editor { public add(data: T): List { >add : (data: T) => List -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >data : T > : ^ @@ -215,7 +215,7 @@ module Editor { public first(): T { >first : () => T -> : ^^^^^^^ +> : ^^^^^^ if (this.isEmpty()) >this.isEmpty() : boolean @@ -246,7 +246,7 @@ module Editor { public pushEntry(entry: List): void { >pushEntry : (entry: List) => void -> : ^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >entry : List > : ^^^^^^^ @@ -321,7 +321,7 @@ module Editor { public push(data: T): void { >push : (data: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >data : T > : ^ @@ -426,7 +426,7 @@ module Editor { public popEntry(head: List): List { >popEntry : (head: List) => List -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >head : List > : ^^^^^^^ @@ -469,7 +469,7 @@ module Editor { public insertEntry(entry: List): List { >insertEntry : (entry: List) => List -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >entry : List > : ^^^^^^^ @@ -548,7 +548,7 @@ module Editor { public insertAfter(data: T): List { >insertAfter : (data: T) => List -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >data : T > : ^ @@ -633,7 +633,7 @@ module Editor { public insertEntryBefore(entry: List): List { >insertEntryBefore : (entry: List) => List -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >entry : List > : ^^^^^^^ @@ -700,7 +700,7 @@ module Editor { public insertBefore(data: T): List { >insertBefore : (data: T) => List -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >data : T > : ^ @@ -742,7 +742,7 @@ module Editor { public MakeHead(): List { >MakeHead : () => List -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ var entry: List = new List(true, null); >entry : List @@ -785,7 +785,7 @@ module Editor { public MakeEntry(data: T): List { >MakeEntry : (data: T) => List -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >data : T > : ^ @@ -832,7 +832,7 @@ module Editor { public RemoveEntry(entry: List): List { >RemoveEntry : (entry: List) => List -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >entry : List > : ^^^^^^^ diff --git a/tests/baselines/reference/genericClasses4.types b/tests/baselines/reference/genericClasses4.types index 72fa5df10b981..62a1545cd2075 100644 --- a/tests/baselines/reference/genericClasses4.types +++ b/tests/baselines/reference/genericClasses4.types @@ -14,9 +14,9 @@ class Vec2_T fmap(f: (a: A) => B): Vec2_T { >fmap : (f: (a: A) => B) => Vec2_T -> : ^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -66,9 +66,9 @@ class Vec2_T } apply(f: Vec2_T<(a: A) => B>): Vec2_T { >apply : (f: Vec2_T<(a: A) => B>) => Vec2_T -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >f : Vec2_T<(a: A) => B> -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ ^ >a : A > : ^ diff --git a/tests/baselines/reference/genericClassesInModule2.types b/tests/baselines/reference/genericClassesInModule2.types index 66657f0c8d964..706b8fdb73fb8 100644 --- a/tests/baselines/reference/genericClassesInModule2.types +++ b/tests/baselines/reference/genericClassesInModule2.types @@ -7,7 +7,7 @@ export class A{ constructor( public callback: (self: A) => void) { >callback : (self: A) => void -> : ^^^^^^^^ ^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >self : A > : ^^^^^ @@ -23,9 +23,9 @@ export class A{ } AAA( callback: (self: A) => void) { >AAA : (callback: (self: A) => void) => void -> : ^^^^^^^^^^^ ^ ^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >callback : (self: A) => void -> : ^^^^^^^^ ^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >self : A > : ^^^^^ @@ -52,7 +52,7 @@ export interface C{ new(callback: (self: C) => void) >callback : (self: C) => void -> : ^^^^^^^^ ^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >self : C > : ^^^^^ } diff --git a/tests/baselines/reference/genericClassesRedeclaration.types b/tests/baselines/reference/genericClassesRedeclaration.types index c6f87916a8cee..d895618617a19 100644 --- a/tests/baselines/reference/genericClassesRedeclaration.types +++ b/tests/baselines/reference/genericClassesRedeclaration.types @@ -12,7 +12,7 @@ declare module TypeScript { } function createIntrinsicsObject(): IIndexable; >createIntrinsicsObject : { (): IIndexable; (): IIndexable; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ interface IHashTable { getAllKeys(): string[]; @@ -21,7 +21,7 @@ declare module TypeScript { add(key: string, data: T): boolean; >add : { (key: string, data: T): boolean; (key: string, data: T): boolean; } -> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : string > : ^^^^^^ >data : T @@ -29,7 +29,7 @@ declare module TypeScript { addOrUpdate(key: string, data: T): boolean; >addOrUpdate : { (key: string, data: T): boolean; (key: string, data: T): boolean; } -> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : string > : ^^^^^^ >data : T @@ -37,9 +37,9 @@ declare module TypeScript { map(fn: (k: string, value: T, context: any) => void, context: any): void; >map : { (fn: (k: string, value: T, context: any) => void, context: any): void; (fn: (k: string, value: T, context: any) => void, context: any): void; } -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -51,9 +51,9 @@ declare module TypeScript { every(fn: (k: string, value: T, context: any) => void, context: any): boolean; >every : { (fn: (k: string, value: T, context: any) => void, context: any): boolean; (fn: (k: string, value: T, context: any) => void, context: any): boolean; } -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -65,9 +65,9 @@ declare module TypeScript { some(fn: (k: string, value: T, context: any) => void, context: any): boolean; >some : { (fn: (k: string, value: T, context: any) => void, context: any): boolean; (fn: (k: string, value: T, context: any) => void, context: any): boolean; } -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -83,7 +83,7 @@ declare module TypeScript { lookup(key: string): T; >lookup : { (key: string): T; (key: string): T; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ >key : string > : ^^^^^^ } @@ -105,7 +105,7 @@ declare module TypeScript { public add(key: string, data: T): boolean; >add : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -113,7 +113,7 @@ declare module TypeScript { public addOrUpdate(key: string, data: T): boolean; >addOrUpdate : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -121,9 +121,9 @@ declare module TypeScript { public map(fn: (k: string, value: T, context: any) => void, context: any): void; >map : (fn: (k: string, value: T, context: any) => void, context: any) => void -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -135,9 +135,9 @@ declare module TypeScript { public every(fn: (k: string, value: T, context: any) => void, context: any): boolean; >every : (fn: (k: string, value: T, context: any) => void, context: any) => boolean -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -149,9 +149,9 @@ declare module TypeScript { public some(fn: (k: string, value: T, context: any) => void, context: any): boolean; >some : (fn: (k: string, value: T, context: any) => void, context: any) => boolean -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -167,7 +167,7 @@ declare module TypeScript { public lookup(key: string): T; >lookup : (key: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >key : string > : ^^^^^^ @@ -189,7 +189,7 @@ declare module TypeScript { public add(key: string, data: T): boolean; >add : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -197,7 +197,7 @@ declare module TypeScript { public addOrUpdate(key: string, data: T): boolean; >addOrUpdate : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -205,9 +205,9 @@ declare module TypeScript { public map(fn: (k: string, value: T, context: any) => void, context: any): void; >map : (fn: (k: string, value: T, context: any) => void, context: any) => void -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -219,9 +219,9 @@ declare module TypeScript { public every(fn: (k: string, value: T, context: any) => void, context: any): boolean; >every : (fn: (k: string, value: T, context: any) => void, context: any) => boolean -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -247,7 +247,7 @@ declare module TypeScript { public lookup(key: string): T; >lookup : (key: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >key : string > : ^^^^^^ } @@ -264,7 +264,7 @@ declare module TypeScript { } function createIntrinsicsObject(): IIndexable; >createIntrinsicsObject : { (): IIndexable; (): IIndexable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ interface IHashTable { getAllKeys(): string[]; @@ -273,7 +273,7 @@ declare module TypeScript { add(key: string, data: T): boolean; >add : { (key: string, data: T): boolean; (key: string, data: T): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >key : string > : ^^^^^^ >data : T @@ -281,7 +281,7 @@ declare module TypeScript { addOrUpdate(key: string, data: T): boolean; >addOrUpdate : { (key: string, data: T): boolean; (key: string, data: T): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >key : string > : ^^^^^^ >data : T @@ -289,9 +289,9 @@ declare module TypeScript { map(fn: (k: string, value: T, context: any) => void, context: any): void; >map : { (fn: (k: string, value: T, context: any) => void, context: any): void; (fn: (k: string, value: T, context: any) => void, context: any): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -303,9 +303,9 @@ declare module TypeScript { every(fn: (k: string, value: T, context: any) => void, context: any): boolean; >every : { (fn: (k: string, value: T, context: any) => void, context: any): boolean; (fn: (k: string, value: T, context: any) => void, context: any): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -317,9 +317,9 @@ declare module TypeScript { some(fn: (k: string, value: T, context: any) => void, context: any): boolean; >some : { (fn: (k: string, value: T, context: any) => void, context: any): boolean; (fn: (k: string, value: T, context: any) => void, context: any): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -335,7 +335,7 @@ declare module TypeScript { lookup(key: string): T; >lookup : { (key: string): T; (key: string): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >key : string > : ^^^^^^ } @@ -357,7 +357,7 @@ declare module TypeScript { public add(key: string, data: T): boolean; >add : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -365,7 +365,7 @@ declare module TypeScript { public addOrUpdate(key: string, data: T): boolean; >addOrUpdate : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -373,9 +373,9 @@ declare module TypeScript { public map(fn: (k: string, value: T, context: any) => void, context: any): void; >map : (fn: (k: string, value: T, context: any) => void, context: any) => void -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -387,9 +387,9 @@ declare module TypeScript { public every(fn: (k: string, value: T, context: any) => void, context: any): boolean; >every : (fn: (k: string, value: T, context: any) => void, context: any) => boolean -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -401,9 +401,9 @@ declare module TypeScript { public some(fn: (k: string, value: T, context: any) => void, context: any): boolean; >some : (fn: (k: string, value: T, context: any) => void, context: any) => boolean -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -419,7 +419,7 @@ declare module TypeScript { public lookup(key: string): T; >lookup : (key: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >key : string > : ^^^^^^ @@ -441,7 +441,7 @@ declare module TypeScript { public add(key: string, data: T): boolean; >add : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -449,7 +449,7 @@ declare module TypeScript { public addOrUpdate(key: string, data: T): boolean; >addOrUpdate : (key: string, data: T) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >key : string > : ^^^^^^ >data : T @@ -457,9 +457,9 @@ declare module TypeScript { public map(fn: (k: string, value: T, context: any) => void, context: any): void; >map : (fn: (k: string, value: T, context: any) => void, context: any) => void -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -471,9 +471,9 @@ declare module TypeScript { public every(fn: (k: string, value: T, context: any) => void, context: any): boolean; >every : (fn: (k: string, value: T, context: any) => void, context: any) => boolean -> : ^^^^^ ^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >fn : (k: string, value: T, context: any) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >k : string > : ^^^^^^ >value : T @@ -499,7 +499,7 @@ declare module TypeScript { public lookup(key: string): T; >lookup : (key: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >key : string > : ^^^^^^ } diff --git a/tests/baselines/reference/genericCombinators2.types b/tests/baselines/reference/genericCombinators2.types index 38dbd7cb7cb53..6922ba8e15c93 100644 --- a/tests/baselines/reference/genericCombinators2.types +++ b/tests/baselines/reference/genericCombinators2.types @@ -8,7 +8,7 @@ interface Collection { add(x: T, y: U): void; >add : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -16,7 +16,7 @@ interface Collection { remove(x: T, y: U): boolean; >remove : (x: T, y: U) => boolean -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -26,11 +26,11 @@ interface Collection { interface Combinators { map(c: Collection, f: (x: T, y: U) => any): Collection; >map : { (c: Collection, f: (x: T, y: U) => any): Collection; (c: Collection, f: (x: T_1, y: U_1) => V): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : Collection > : ^^^^^^^^^^^^^^^^ >f : (x: T, y: U) => any -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -38,11 +38,11 @@ interface Combinators { map(c: Collection, f: (x: T, y: U) => V): Collection; >map : { (c: Collection, f: (x: T_1, y: U_1) => any): Collection; (c: Collection, f: (x: T, y: U) => V): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^ >c : Collection > : ^^^^^^^^^^^^^^^^ >f : (x: T, y: U) => V -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.types b/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.types index e9a4c535fcaac..c943cc47eab6e 100644 --- a/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.types +++ b/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.types @@ -20,7 +20,7 @@ type FunctionsObj = { function g< >g : , M extends keyof T>(a2: ReturnType, x: A) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ T extends FunctionsObj, M extends keyof T @@ -43,7 +43,7 @@ function g< function g2< >g2 : , M extends keyof T>(a2: ReturnType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ T extends FunctionsObj, M extends keyof T diff --git a/tests/baselines/reference/genericConstraint1.types b/tests/baselines/reference/genericConstraint1.types index 42b4cd22baf36..3a7bab52521fd 100644 --- a/tests/baselines/reference/genericConstraint1.types +++ b/tests/baselines/reference/genericConstraint1.types @@ -7,7 +7,7 @@ class C { public bar2(x: T, y: U): T { >bar2 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/genericConstraint2.types b/tests/baselines/reference/genericConstraint2.types index 7e70309771c39..ba61cd60c1fa3 100644 --- a/tests/baselines/reference/genericConstraint2.types +++ b/tests/baselines/reference/genericConstraint2.types @@ -4,14 +4,14 @@ interface Comparable { comparer(other: T): number; >comparer : (other: T) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : T > : ^ } function compare>(x: T, y: T): number { >compare : >(x: T, y: T) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/genericConstraintDeclaration.types b/tests/baselines/reference/genericConstraintDeclaration.types index 3df701ece426d..86a52f48536e6 100644 --- a/tests/baselines/reference/genericConstraintDeclaration.types +++ b/tests/baselines/reference/genericConstraintDeclaration.types @@ -7,7 +7,7 @@ class List{ static empty(): List{return null;} >empty : () => List -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/genericConstraintSatisfaction1.types b/tests/baselines/reference/genericConstraintSatisfaction1.types index c91b08dd1ba5c..1fefaa169c0a7 100644 --- a/tests/baselines/reference/genericConstraintSatisfaction1.types +++ b/tests/baselines/reference/genericConstraintSatisfaction1.types @@ -4,7 +4,7 @@ interface I { f: (x: T) => void >f : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericConstructorFunction1.types b/tests/baselines/reference/genericConstructorFunction1.types index 0defaed527a8a..739f152e6be28 100644 --- a/tests/baselines/reference/genericConstructorFunction1.types +++ b/tests/baselines/reference/genericConstructorFunction1.types @@ -3,13 +3,13 @@ === genericConstructorFunction1.ts === function f1(args: T) { >f1 : (args: T) => Date -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >args : T > : ^ var v1: { [index: string]: new (arg: T) => Date }; >v1 : { [index: string]: new (arg: T) => Date; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >index : string > : ^^^^^^ >arg : T @@ -49,7 +49,7 @@ interface I1 { new (arg: T): Date }; function f2(args: T) { >f2 : (args: T) => Date -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/genericContextualTypes1.types b/tests/baselines/reference/genericContextualTypes1.types index 42f096dd474ce..d33c42a9c7de7 100644 --- a/tests/baselines/reference/genericContextualTypes1.types +++ b/tests/baselines/reference/genericContextualTypes1.types @@ -9,9 +9,9 @@ type Box = { value: T }; declare function wrap(f: (a: A) => B): (a: A) => B; >wrap : (f: (a: A) => B) => (a: A) => B -> : ^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >a : A @@ -19,13 +19,13 @@ declare function wrap(f: (a: A) => B): (a: A) => B; declare function compose(f: (a: A) => B, g: (b: B) => C): (a: A) => C; >compose : (f: (a: A) => B, g: (b: B) => C) => (a: A) => C -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >g : (b: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >a : A @@ -33,47 +33,47 @@ declare function compose(f: (a: A) => B, g: (b: B) => C): (a: A) => C; declare function list(a: T): T[]; >list : (a: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function unlist(a: T[]): T; >unlist : (a: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T[] > : ^^^ declare function box(x: V): Box; >box : (x: V) => Box -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : V > : ^ declare function unbox(x: Box): W; >unbox : (x: Box) => W -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Box > : ^^^^^^ declare function map(a: T[], f: (x: T) => U): U[]; >map : (a: T[], f: (x: T) => U) => U[] -> : ^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : T[] > : ^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ declare function identity(x: T): T; >identity : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function zip(a: A, b: B): [A, B]; >zip : (a: A, b: B) => [A, B] -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B @@ -81,9 +81,9 @@ declare function zip(a: A, b: B): [A, B]; declare function flip(f: (x: X, y: Y) => Z): (y: Y, x: X) => Z; >flip : (f: (x: X, y: Y) => Z) => (y: Y, x: X) => Z -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ >f : (x: X, y: Y) => Z -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : X > : ^ >y : Y @@ -95,7 +95,7 @@ declare function flip(f: (x: X, y: Y) => Z): (y: Y, x: X) => Z; const f00: (x: A) => A[] = list; >f00 : (x: A) => A[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : A > : ^ >list : (a: T) => T[] @@ -103,7 +103,7 @@ const f00: (x: A) => A[] = list; const f01: (x: A) => A[] = x => [x]; >f01 : (x: A) => A[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : A > : ^ >x => [x] : (x: A) => A[] @@ -117,7 +117,7 @@ const f01: (x: A) => A[] = x => [x]; const f02: (x: A) => A[] = wrap(list); >f02 : (x: A) => A[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : A > : ^ >wrap(list) : (a: A) => A[] @@ -129,7 +129,7 @@ const f02: (x: A) => A[] = wrap(list); const f03: (x: A) => A[] = wrap(x => [x]); >f03 : (x: A) => A[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : A > : ^ >wrap(x => [x]) : (a: A) => A[] @@ -147,7 +147,7 @@ const f03: (x: A) => A[] = wrap(x => [x]); const f10: (x: T) => Box = compose(a => list(a), b => box(b)); >f10 : (x: T) => Box -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >compose(a => list(a), b => box(b)) : (a: T) => Box @@ -177,7 +177,7 @@ const f10: (x: T) => Box = compose(a => list(a), b => box(b)); const f11: (x: T) => Box = compose(list, box); >f11 : (x: T) => Box -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >compose(list, box) : (a: T) => Box @@ -191,7 +191,7 @@ const f11: (x: T) => Box = compose(list, box); const f12: (x: Box) => T = compose(a => unbox(a), b => unlist(b)); >f12 : (x: Box) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Box > : ^^^^^^^^ >compose(a => unbox(a), b => unlist(b)) : (a: Box) => T @@ -221,7 +221,7 @@ const f12: (x: Box) => T = compose(a => unbox(a), b => unlist(b)); const f13: (x: Box) => T = compose(unbox, unlist); >f13 : (x: Box) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Box > : ^^^^^^^^ >compose(unbox, unlist) : (a: Box) => T @@ -235,15 +235,15 @@ const f13: (x: Box) => T = compose(unbox, unlist); const arrayMap = (f: (x: T) => U) => (a: T[]) => a.map(f); >arrayMap : (f: (x: T) => U) => (a: T[]) => U[] -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ >(f: (x: T) => U) => (a: T[]) => a.map(f) : (f: (x: T) => U) => (a: T[]) => U[] -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >(a: T[]) => a.map(f) : (a: T[]) => U[] -> : ^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >a : T[] > : ^^^ >a.map(f) : U[] @@ -259,15 +259,15 @@ const arrayMap = (f: (x: T) => U) => (a: T[]) => a.map(f); const arrayFilter = (f: (x: T) => boolean) => (a: T[]) => a.filter(f); >arrayFilter : (f: (x: T) => boolean) => (a: T[]) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ >(f: (x: T) => boolean) => (a: T[]) => a.filter(f) : (f: (x: T) => boolean) => (a: T[]) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ >f : (x: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >(a: T[]) => a.filter(f) : (a: T[]) => T[] -> : ^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >a : T[] > : ^^^ >a.filter(f) : T[] @@ -303,7 +303,7 @@ const f20: (a: string[]) => number[] = arrayMap(x => x.length); const f21: (a: A[]) => A[][] = arrayMap(x => [x]); >f21 : (a: A[]) => A[][] -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : A[] > : ^^^ >arrayMap(x => [x]) : (a: A[]) => A[][] @@ -321,7 +321,7 @@ const f21: (a: A[]) => A[][] = arrayMap(x => [x]); const f22: (a: A[]) => A[] = arrayMap(identity); >f22 : (a: A[]) => A[] -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : A[] > : ^^^ >arrayMap(identity) : (a: A[]) => A[] @@ -333,7 +333,7 @@ const f22: (a: A[]) => A[] = arrayMap(identity); const f23: (a: A[]) => Box[] = arrayMap(value => ({ value })); >f23 : (a: A[]) => Box[] -> : ^^^^^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : A[] > : ^^^ >arrayMap(value => ({ value })) : (a: A[]) => { value: A; }[] @@ -377,7 +377,7 @@ const f30: (a: string[]) => string[] = arrayFilter(x => x.length > 10); const f31: >(a: T[]) => T[] = arrayFilter(x => x.value > 10); >f31 : >(a: T[]) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >a : T[] > : ^^^ >arrayFilter(x => x.value > 10) : (a: T[]) => T[] @@ -401,7 +401,7 @@ const f31: >(a: T[]) => T[] = arrayFilter(x => x.value > 1 const f40: (b: B, a: A) => [A, B] = flip(zip); >f40 : (b: B, a: A) => [A, B] -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >b : B > : ^ >a : A diff --git a/tests/baselines/reference/genericContextualTypes2.types b/tests/baselines/reference/genericContextualTypes2.types index da5897689ee2e..780894fb75e06 100644 --- a/tests/baselines/reference/genericContextualTypes2.types +++ b/tests/baselines/reference/genericContextualTypes2.types @@ -28,7 +28,7 @@ type Meta = { action: (ctx: TContext) => void >action : (ctx: TContext) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >ctx : TContext > : ^^^^^^^^ } @@ -40,7 +40,7 @@ interface AssignAction { exec: (arg: TContext, meta: Meta) => void; >exec : (arg: TContext, meta: Meta) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >arg : TContext > : ^^^^^^^^ >meta : Meta @@ -49,7 +49,7 @@ interface AssignAction { declare function assign( >assign : (assignment: PropertyAssigner>) => AssignAction -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ assignment: PropertyAssigner> >assignment : PropertyAssigner> @@ -73,7 +73,7 @@ type Config = { declare function createMachine(config: Config): void; >createMachine : (config: Config) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >config : Config > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericContextualTypes3.types b/tests/baselines/reference/genericContextualTypes3.types index c01cd7c6b0288..5472a3cd9c6a5 100644 --- a/tests/baselines/reference/genericContextualTypes3.types +++ b/tests/baselines/reference/genericContextualTypes3.types @@ -28,7 +28,7 @@ type Meta = { action: (ctx: TContext) => void >action : (ctx: TContext) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >ctx : TContext > : ^^^^^^^^ } @@ -47,7 +47,7 @@ interface AssignAction { declare function assign( >assign : (assignment: PropertyAssigner>) => AssignAction -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ assignment: PropertyAssigner> >assignment : PropertyAssigner> @@ -71,7 +71,7 @@ type Config = { declare function createMachine(config: Config): void; >createMachine : (config: Config) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >config : Config > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericDefaults.types b/tests/baselines/reference/genericDefaults.types index ce46365c2ae39..ba227405bad3b 100644 --- a/tests/baselines/reference/genericDefaults.types +++ b/tests/baselines/reference/genericDefaults.types @@ -60,7 +60,7 @@ declare const x: any; // function without type parameters declare function f00(a?: A): A; >f00 : (a?: A) => A -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >a : A > : ^ @@ -82,7 +82,7 @@ f00(a); // function with a type parameter without a default declare function f01(a?: T): T; >f01 : (a?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >a : T > : ^ @@ -119,7 +119,7 @@ f01(a); // function with a type paramter with a default declare function f02(a?: T): T; >f02 : (a?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >a : T > : ^ @@ -178,7 +178,7 @@ f02(b); // function with a type parameter with a default that refers to itself declare function f03(a?: T): T; >f03 : (a?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >a : T > : ^ @@ -237,7 +237,7 @@ f03(b); // function with a type paramter without a default and a type parameter with a default declare function f04(a?: T, b?: U): [T, U]; >f04 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -355,7 +355,7 @@ f04(a, c); // function with a type parameter without a default and a type parameter with a default that refers to an earlier type parameter declare function f05(a?: T, b?: U): [T, U]; >f05 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -449,7 +449,7 @@ f05(a, b); // function with a type parameter with a default that refers to an earlier type parameter with a default declare function f06(a?: T, b?: U): [T, U]; >f06 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -611,7 +611,7 @@ f06(b, c); // function with a type parameter without a default and a type parameter with a default that refers to an earlier type parameter with a default declare function f07(a?: T, b?: U, c?: V): [T, U, V]; >f07 : (a?: T, b?: U, c?: V) => [T, U, V] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -879,7 +879,7 @@ f07(a, c, d); // function with a type parameter with a default that refers to an earlier type parameter with a constraint declare function f08(a?: T, b?: U): [T, U]; >f08 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -973,7 +973,7 @@ f08(a, b); // function with a type parameter with a constraint and a default that refers to an earlier type parameter declare function f09(a?: T, b?: U): [T, U]; >f09 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1077,7 +1077,7 @@ f09(a, ab); // function with a type parameter with a constraint and a default that refers to an earlier type parameter with a constraint declare function f10(a?: T, b?: U): [T, U]; >f10 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1215,7 +1215,7 @@ f10(a, ab); // function with a type parameter with a default that refers to an earier type parameter in a union declare function f11(a?: T, b?: U): [T, U]; >f11 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1329,7 +1329,7 @@ f11(a, c); // function with a type parameter with a default that refers to an earlier type parameter in an intersection declare function f12(a?: T, b?: U): [T, U]; >f12 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1433,7 +1433,7 @@ f12(a, c); // function with a type parameter with a default that refers to a later type parameter with a default declare function f13(a?: T, b?: U): [T, U]; >f13 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1537,7 +1537,7 @@ f13(a, c); // function with a type parameter without a default and a type parameter with a default that refers to a later type parameter with a default declare function f14(a?: T, b?: U, c?: V): [T, U, V]; >f14 : (a?: T, b?: U, c?: V) => [T, U, V] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1707,7 +1707,7 @@ f14(a, b, d); // function with two type parameters with defaults that mutually refer to each other declare function f15(a?: T, b?: U): [T, U]; >f15 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1791,7 +1791,7 @@ f15(a, b); // function with a type parameter without a default and two type parameters with defaults that mutually refer to each other declare function f16(a?: T, b?: U, c?: V): [T, U, V]; >f16 : (a?: T, b?: U, c?: V) => [T, U, V] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -1949,7 +1949,7 @@ f16(a, b, d); // function with a type parameter with a default that refers to a later type parameter with a default that refers to an earlier type parameter in a union declare function f17(a?: T, b?: U): [T, U]; >f17 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -2063,7 +2063,7 @@ f17(a, c); // function with a type parameter without a default and a type parameter with a default that refers to a later type parameter with a default that refers to an earlier type parameter in a union declare function f18(a?: T, b?: U, c?: V): [T, U, V]; >f18 : (a?: T, b?: U, c?: V) => [T, U, V] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -2257,7 +2257,7 @@ f18(a, b, d); // function with a type parameter with a default that refers to a later type parameter with a default that refers to an earlier type parameter in an intersection declare function f19(a?: T, b?: U): [T, U]; >f19 : (a?: T, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -2371,7 +2371,7 @@ f19(a, c); // function with a type parameter without a default and a type parameter with a default that refers to a later type parameter with a default that refers to an earlier type parameter in an intersection declare function f20(a?: T, b?: U, c?: V): [T, U, V]; >f20 : (a?: T, b?: U, c?: V) => [T, U, V] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/genericDefaultsErrors.types b/tests/baselines/reference/genericDefaultsErrors.types index 135d080fc5076..c09277f1dbe8c 100644 --- a/tests/baselines/reference/genericDefaultsErrors.types +++ b/tests/baselines/reference/genericDefaultsErrors.types @@ -57,7 +57,7 @@ f11<1, 2, 3, 4>(); // error declare function f12(a?: U): void; >f12 : (a?: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^ ^^^^^ >a : U > : ^ diff --git a/tests/baselines/reference/genericDefaultsJs.types b/tests/baselines/reference/genericDefaultsJs.types index 898acccaf0a8f..8da26272bf269 100644 --- a/tests/baselines/reference/genericDefaultsJs.types +++ b/tests/baselines/reference/genericDefaultsJs.types @@ -3,13 +3,13 @@ === decls.d.ts === declare function f0(x?: T): T; >f0 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ declare function f1(x?: T): [T, U]; >f1 : (x?: T) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.types b/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.types index f72b1590d8ac8..7bac6f0705ebe 100644 --- a/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.types +++ b/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.types @@ -5,13 +5,13 @@ interface Array {} var f : { (x:T): T; } >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var g : { () : S[]; }; >g : () => S[] -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ f = g; >f = g : () => S[] diff --git a/tests/baselines/reference/genericFunctionHasFreshTypeArgs.types b/tests/baselines/reference/genericFunctionHasFreshTypeArgs.types index 192c4c462e07e..a123407813e34 100644 --- a/tests/baselines/reference/genericFunctionHasFreshTypeArgs.types +++ b/tests/baselines/reference/genericFunctionHasFreshTypeArgs.types @@ -3,9 +3,9 @@ === genericFunctionHasFreshTypeArgs.ts === function f(p: (x: T) => void) { }; >f : (p: (x: T) => void) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >p : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericFunctionInference1.types b/tests/baselines/reference/genericFunctionInference1.types index e3f96ac5ab446..803927122062d 100644 --- a/tests/baselines/reference/genericFunctionInference1.types +++ b/tests/baselines/reference/genericFunctionInference1.types @@ -10,9 +10,9 @@ Symbol count: 32,500 / 33,000 (nearest 500) === genericFunctionInference1.ts === declare function pipe(ab: (...args: A) => B): (...args: A) => B; >pipe : { (ab: (...args: A) => B): (...args: A) => B; (ab: (...args: A_1) => B_1, bc: (b: B_1) => C): (...args: A_1) => C; (ab: (...args: A_2) => B_2, bc: (b: B_2) => C_1, cd: (c: C_1) => D): (...args: A_2) => D; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >ab : (...args: A) => B -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : A > : ^ >args : A @@ -20,13 +20,13 @@ declare function pipe(ab: (...args: A) => B): (...args: A) = declare function pipe(ab: (...args: A) => B, bc: (b: B) => C): (...args: A) => C; >pipe : { (ab: (...args: A_1) => B_1): (...args: A_1) => B_1; (ab: (...args: A) => B, bc: (b: B) => C): (...args: A) => C; (ab: (...args: A_2) => B_2, bc: (b: B_2) => C_1, cd: (c: C_1) => D): (...args: A_2) => D; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^ ^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >ab : (...args: A) => B -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : A > : ^ >bc : (b: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >args : A @@ -34,17 +34,17 @@ declare function pipe(ab: (...args: A) => B, bc: (b: B) = declare function pipe(ab: (...args: A) => B, bc: (b: B) => C, cd: (c: C) => D): (...args: A) => D; >pipe : { (ab: (...args: A_1) => B_1): (...args: A_1) => B_1; (ab: (...args: A_2) => B_2, bc: (b: B_2) => C_1): (...args: A_2) => C_1; (ab: (...args: A) => B, bc: (b: B) => C, cd: (c: C) => D): (...args: A) => D; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^ ^ ^^^^ ^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^ ^^^ >ab : (...args: A) => B -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : A > : ^ >bc : (b: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >cd : (c: C) => D -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ >args : A @@ -52,13 +52,13 @@ declare function pipe(ab: (...args: A) => B, bc: (b: B declare function list(a: T): T[]; >list : (a: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function box(x: V): { value: V }; >box : (x: V) => { value: V; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : V > : ^ >value : V @@ -66,7 +66,7 @@ declare function box(x: V): { value: V }; declare function foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >x : T @@ -290,7 +290,7 @@ const f11 = pipe(foo, foo); const g00: (x: T) => T[] = pipe(list); >g00 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >pipe(list) : (a: T) => T[] @@ -302,7 +302,7 @@ const g00: (x: T) => T[] = pipe(list); const g01: (x: T) => { value: T[] } = pipe(list, box); >g01 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -318,7 +318,7 @@ const g01: (x: T) => { value: T[] } = pipe(list, box); const g02: (x: T) => { value: T }[] = pipe(box, list); >g02 : (x: T) => { value: T; }[] -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T @@ -334,7 +334,7 @@ const g02: (x: T) => { value: T }[] = pipe(box, list); const g03: (x: T) => { value: T[] } = pipe(x => list(x), box); >g03 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -358,7 +358,7 @@ const g03: (x: T) => { value: T[] } = pipe(x => list(x), box); const g04: (x: T) => { value: T[] } = pipe(list, x => box(x)); >g04 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -382,7 +382,7 @@ const g04: (x: T) => { value: T[] } = pipe(list, x => box(x)); const g05: (x: T) => { value: T[] } = pipe(x => list(x), x => box(x)) >g05 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -414,7 +414,7 @@ const g05: (x: T) => { value: T[] } = pipe(x => list(x), x => box(x)) const g06: (x: T) => { value: T[] } = pipe(list, pipe(box)); >g06 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -434,7 +434,7 @@ const g06: (x: T) => { value: T[] } = pipe(list, pipe(box)); const g07: (x: T) => { value: T[] } = pipe(x => list(x), pipe(box)); >g07 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -462,7 +462,7 @@ const g07: (x: T) => { value: T[] } = pipe(x => list(x), pipe(box)); const g08: (x: T) => { value: T[] } = pipe(x => list(x), pipe(x => box(x))); >g08 : (x: T) => { value: T[]; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >value : T[] @@ -498,7 +498,7 @@ const g08: (x: T) => { value: T[] } = pipe(x => list(x), pipe(x => box(x))); const g09: (x: T) => number = pipe(list, x => x.length); >g09 : (x: T) => number -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >pipe(list, x => x.length) : (a: T) => number @@ -520,7 +520,7 @@ const g09: (x: T) => number = pipe(list, x => x.length); const g10: (x: T) => T = pipe(foo); >g10 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >x : T @@ -534,7 +534,7 @@ const g10: (x: T) => T = pipe(foo); const g12: (x: T) => T = pipe(foo, foo); >g12 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >x : T @@ -550,13 +550,13 @@ const g12: (x: T) => T = pipe(foo, foo); declare function pipe2(ab: (a: A) => B, cd: (c: C) => D): (a: [A, C]) => [B, D]; >pipe2 : (ab: (a: A) => B, cd: (c: C) => D) => (a: [A, C]) => [B, D] -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ ^ ^ ^ ^ +> : ^ ^^ ^^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >ab : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >cd : (c: C) => D -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ >a : [A, C] @@ -648,13 +648,13 @@ const f26 = pipe2(f25, f25); declare function pipe3(ab: (a: A) => B, ac: (a: A) => C): (a: A) => [B, C]; >pipe3 : (ab: (a: A) => B, ac: (a: A) => C) => (a: A) => [B, C] -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >ab : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >ac : (a: A) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >a : A @@ -698,9 +698,9 @@ const f32 = pipe3(list, list); declare function pipe4(funcs: [(a: A) => B, (b: B) => C]): (a: A) => C; >pipe4 : (funcs: [(a: A) => B, (b: B) => C]) => (a: A) => C -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^^ ^^^^^ >funcs : [(a: A) => B, (b: B) => C] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^ >a : A > : ^ >b : B @@ -738,13 +738,13 @@ const f41 = pipe4([box, list]); declare function pipe5(f: (a: A) => B): { f: (a: A) => B }; >pipe5 : (f: (a: A) => B) => { f: (a: A) => B; } -> : ^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -760,9 +760,9 @@ const f50 = pipe5(list); // No higher order inference declare function wrap3(f: (a: A, b1: B, b2: B) => C): (a: A, b1: B, b2: B) => C; >wrap3 : (f: (a: A, b1: B, b2: B) => C) => (a: A, b1: B, b2: B) => C -> : ^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ ^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ >f : (a: A, b1: B, b2: B) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^^ ^^^^^ >a : A > : ^ >b1 : B @@ -778,7 +778,7 @@ declare function wrap3(f: (a: A, b1: B, b2: B) => C): (a: A, b1: B, b2: declare function baz(t1: T, t2: T, u: U): [T, U]; >baz : (t1: T, t2: T, u: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^ >t1 : T > : ^ >t2 : T @@ -798,7 +798,7 @@ let f60 = wrap3(baz); declare const list2: { >list2 : { (a: T): T[]; foo: string; bar(): number; } -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^ ^^^ (a: T): T[]; >a : T @@ -866,7 +866,7 @@ declare class Bag { contains(value: T): boolean; >contains : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -877,15 +877,15 @@ declare class Bag { function asFunction(cf: new (...args: A) => B) { >asFunction : (cf: new (...args: A) => B) => (...args: A) => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ >cf : new (...args: A) => B -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >args : A > : ^ return (...args: A) => new cf(...args); >(...args: A) => new cf(...args) : (...args: A) => B -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^ >args : A > : ^ >new cf(...args) : B @@ -991,7 +991,7 @@ type CompClass

= new (props: P) => Comp

; declare function myHoc

(C: CompClass

): CompClass

; >myHoc :

(C: CompClass

) => CompClass

-> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >C : CompClass

> : ^^^^^^^^^^^^ @@ -1023,9 +1023,9 @@ const GenericComp2 = myHoc(GenericComp); function mirror(f: (a: A) => B): (a: A) => B { return f; } >mirror : (f: (a: A) => B) => (a: A) => B -> : ^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >a : A @@ -1073,9 +1073,9 @@ var z = identityM(x); export function keyOf(value: { key: a; }): a { >keyOf : (value: { key: a; }) => a -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : { key: a; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >key : a > : ^ @@ -1105,11 +1105,11 @@ var data: Data[] = []; declare function toKeys(values: a[], toKey: (value: a) => string): string[]; >toKeys : (values: a[], toKey: (value: a) => string) => string[] -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >values : a[] > : ^^^ >toKey : (value: a) => string -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : a > : ^ @@ -1127,9 +1127,9 @@ toKeys(data, keyOf); // Error function flip(f: (a: a, b: b) => c): (b: b, a: a) => c { >flip : (f: (a: a, b: b) => c) => (b: b, a: a) => c -> : ^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^ ^ ^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ >f : (a: a, b: b) => c -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : a > : ^ >b : b @@ -1141,7 +1141,7 @@ function flip(f: (a: a, b: b) => c): (b: b, a: a) => c { return (b: b, a: a) => f(a, b); >(b: b, a: a) => f(a, b) : (b: b, a: a) => c -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ >b : b > : ^ >a : a @@ -1157,7 +1157,7 @@ function flip(f: (a: a, b: b) => c): (b: b, a: a) => c { } function zip(x: T, y: U): [T, U] { >zip : (x: T, y: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -1174,7 +1174,7 @@ function zip(x: T, y: U): [T, U] { var expected: (y: U, x: T) => [T, U] = flip(zip); >expected : (y: U, x: T) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >y : U > : ^ >x : T @@ -1200,17 +1200,17 @@ var actual = flip(zip); const map = (transform: (t: T) => U) => >map : (transform: (t: T) => U) => (arr: T[]) => U[] -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ >(transform: (t: T) => U) => (arr: T[]) => arr.map(transform) : (transform: (t: T) => U) => (arr: T[]) => U[] -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ >transform : (t: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ (arr: T[]) => arr.map(transform) >(arr: T[]) => arr.map(transform) : (arr: T[]) => U[] -> : ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >arr : T[] > : ^^^ >arr.map(transform) : U[] @@ -1270,7 +1270,7 @@ const arr1: string[] = map(identity)(['a']); function of2(one: a, two: b): [a, b] { >of2 : (one: a, two: b) => [a, b] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^ ^^^^^^^ ^^^^^ >one : a > : ^ >two : b @@ -1305,13 +1305,13 @@ type Component

= (props: P) => {}; declare const myHoc1:

(C: Component

) => Component

; >myHoc1 :

(C: Component

) => Component

-> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >C : Component

> : ^^^^^^^^^^^^ declare const myHoc2:

(C: Component

) => Component

; >myHoc2 :

(C: Component

) => Component

-> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >C : Component

> : ^^^^^^^^^^^^ @@ -1478,7 +1478,7 @@ declare const orUndefined: (name: string) => string | undefined; declare const identity: (value: T) => T; >identity : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -1520,7 +1520,7 @@ declare const getArray: () => string[]; declare const first: (ts: T[]) => T; >first : (ts: T[]) => T -> : ^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >ts : T[] > : ^^^ @@ -1610,7 +1610,7 @@ const fn62 = pipe( declare function foo2(fn: T, a?: U, b?: U): [T, U]; >foo2 : (fn: T, a?: U, b?: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >fn : T > : ^ >a : U | undefined @@ -1648,9 +1648,9 @@ foo2(identity, 1); declare function times(fn: (i: number) => T): (n: number) => T[]; >times : (fn: (i: number) => T) => (n: number) => T[] -> : ^^^^^^^^ ^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^ >fn : (i: number) => T -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >i : number > : ^^^^^^ >n : number diff --git a/tests/baselines/reference/genericFunctionInference2.types b/tests/baselines/reference/genericFunctionInference2.types index 1e8a03d004e67..e38693d0be613 100644 --- a/tests/baselines/reference/genericFunctionInference2.types +++ b/tests/baselines/reference/genericFunctionInference2.types @@ -11,7 +11,7 @@ type Reducer = (state: S) => S; declare function combineReducers(reducers: { [K in keyof S]: Reducer }): Reducer; >combineReducers : (reducers: { [K in keyof S]: Reducer; }) => Reducer -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >reducers : { [K in keyof S]: Reducer; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -79,7 +79,7 @@ const myReducer2 = combineReducers({ declare function withH(handlerCreators: HandleCreatorsFactory): U; >withH : (handlerCreators: HandleCreatorsFactory) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >handlerCreators : HandleCreatorsFactory > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -105,7 +105,7 @@ const enhancer4 = withH((props: Props) => ({ >withH : (handlerCreators: HandleCreatorsFactory) => U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(props: Props) => ({ onChange: (props) => (e: any) => {}, onSubmit: (props) => (e: any) => {},}) : (props: Props) => { onChange: (props: Props) => (e: any) => void; onSubmit: (props: Props) => (e: any) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >props : Props > : ^^^^^ >({ onChange: (props) => (e: any) => {}, onSubmit: (props) => (e: any) => {},}) : { onChange: (props: Props) => (e: any) => void; onSubmit: (props: Props) => (e: any) => void; } diff --git a/tests/baselines/reference/genericFunctionParameters.types b/tests/baselines/reference/genericFunctionParameters.types index 5b0d49c21dd75..1630e5c128b05 100644 --- a/tests/baselines/reference/genericFunctionParameters.types +++ b/tests/baselines/reference/genericFunctionParameters.types @@ -3,25 +3,25 @@ === genericFunctionParameters.ts === declare function f1(cb: (x: S) => T): T; >f1 : (cb: (x: S) => T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (x: S) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : S > : ^ declare function f2(cb: (x: S) => T): T; >f2 : (cb: (x: S) => T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >cb : (x: S) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : S > : ^ declare function f3(cb: >(x: S) => T): T; >f3 : (cb: (x: S) => T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >cb : (x: S) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ >x : S > : ^ @@ -71,13 +71,13 @@ let x3 = f3(x => x); // Array declare const s: (go: (ops: { init(): S; }) => R) => R; >s : (go: (ops: { init(): S; }) => R) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >go : (ops: { init(): S; }) => R -> : ^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >ops : { init(): S; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ >init : () => S -> : ^^^^^^^ +> : ^^^^^^ const x = s(a => a.init()); // x is any, should have been {} >x : unknown diff --git a/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.types b/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.types index 4658fd245360f..271790c183fe6 100644 --- a/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.types +++ b/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.types @@ -3,9 +3,9 @@ === genericFunctionTypedArgumentsAreFixed.ts === declare function map(f: (x: T) => U, xs: T[]): U[]; >map : (f: (x: T) => U, xs: T[]) => U[] -> : ^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >xs : T[] diff --git a/tests/baselines/reference/genericFunctions0.types b/tests/baselines/reference/genericFunctions0.types index fa247bf0d70b9..df033830f9add 100644 --- a/tests/baselines/reference/genericFunctions0.types +++ b/tests/baselines/reference/genericFunctions0.types @@ -3,7 +3,7 @@ === genericFunctions0.ts === function foo (x: T) { return x; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/genericFunctions1.types b/tests/baselines/reference/genericFunctions1.types index f6857da05bd20..f7eea60634ca1 100644 --- a/tests/baselines/reference/genericFunctions1.types +++ b/tests/baselines/reference/genericFunctions1.types @@ -3,7 +3,7 @@ === genericFunctions1.ts === function foo (x: T) { return x; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/genericFunctions2.types b/tests/baselines/reference/genericFunctions2.types index bccf026f74d1b..052c25d0b11f2 100644 --- a/tests/baselines/reference/genericFunctions2.types +++ b/tests/baselines/reference/genericFunctions2.types @@ -3,11 +3,11 @@ === genericFunctions2.ts === declare function map (items: T[], f: (x: T) => U): U[]; >map : (items: T[], f: (x: T) => U) => U[] -> : ^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^ ^^^^^ >items : T[] > : ^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericFunctions3.types b/tests/baselines/reference/genericFunctions3.types index 7b7dfdf99232f..b0e2f038c395c 100644 --- a/tests/baselines/reference/genericFunctions3.types +++ b/tests/baselines/reference/genericFunctions3.types @@ -4,14 +4,14 @@ interface Query { foo(x: string): Query; >foo : (x: string) => Query -> : ^^^^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : string > : ^^^^^^ } function from(arg: boolean): Query; // was Error: Overload signature is not compatible with function definition. >from : (arg: boolean) => Query -> : ^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >arg : boolean > : ^^^^^^^ diff --git a/tests/baselines/reference/genericFunctionsAndConditionalInference.types b/tests/baselines/reference/genericFunctionsAndConditionalInference.types index 530991e26f95c..2062dc7d1705d 100644 --- a/tests/baselines/reference/genericFunctionsAndConditionalInference.types +++ b/tests/baselines/reference/genericFunctionsAndConditionalInference.types @@ -9,21 +9,21 @@ type Boxified = { [P in keyof T]: { value: T[P]} }; declare function unboxify(obj: Boxified): T; >unboxify : (obj: Boxified) => T -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : Boxified > : ^^^^^^^^^^^ function foo(obj: { u: { value: U }, v: { value: V } }) { >foo : (obj: { u: { value: U; }; v: { value: V; }; }) => { u: U; v: V; } -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >obj : { u: { value: U; }; v: { value: V; }; } -> : ^^^^^ ^ ^^^^^ ^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >u : { value: U; } -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >value : U > : ^ >v : { value: V; } -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >value : V > : ^ @@ -99,7 +99,7 @@ interface Ops { lr(a: Result, o: Result): Result> >lr : (a: Result, o: Result) => Result> -> : ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ ^^ ^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : Result > : ^^^^^^^^^^^^ >o : Result @@ -107,7 +107,7 @@ interface Ops { dict:

(p: {[k in keyof P]: Result}) => Result >dict :

(p: { [k in keyof P]: Result; }) => Result -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : { [k in keyof P]: Result; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } @@ -127,9 +127,9 @@ const right: Ops<"right"> = {} as any const ok = (at: Ops) => ({lr: at.lr(at.str, at.num)}) >ok : >(at: Ops) => { lr: Result>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(at: Ops) => ({lr: at.lr(at.str, at.num)}) : >(at: Ops) => { lr: Result>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >at : Ops > : ^^^^^^ >({lr: at.lr(at.str, at.num)}) : { lr: Result>; } @@ -161,9 +161,9 @@ const ok = (at: Ops) => ({lr: at.lr(at.str, at.num)}) const orphaned = (at: Ops) => at.dict(ok(at)) >orphaned : >(at: Ops) => Result; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(at: Ops) => at.dict(ok(at)) : >(at: Ops) => Result; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >at : Ops > : ^^^^^^ >at.dict(ok(at)) : Result; }> diff --git a/tests/baselines/reference/genericFunctionsNotContextSensitive.types b/tests/baselines/reference/genericFunctionsNotContextSensitive.types index 51187ed772206..82b31be692a92 100644 --- a/tests/baselines/reference/genericFunctionsNotContextSensitive.types +++ b/tests/baselines/reference/genericFunctionsNotContextSensitive.types @@ -5,9 +5,9 @@ const f = (x: G) => void>(_: F): F => _; >f : (x: G) => void>(_: F) => F -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ > (x: G) => void>(_: F): F => _ : (x: G) => void>(_: F) => F -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >args : any[] > : ^^^^^ >x : G @@ -19,13 +19,13 @@ const f = (x: G) => void>(_: F): F => _; const a = f((_: K) => _ => ({})); // (_: K) => (_: G) => {} >a : (_: K) => (_: G) => {} -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >f((_: K) => _ => ({})) : (_: K) => (_: G) => {} -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >f : (x: G) => void>(_: F) => F > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(_: K) => _ => ({}) : (_: K) => (_: G) => {} -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >_ : K > : ^ >_ => ({}) : (_: G) => {} diff --git a/tests/baselines/reference/genericFunctionsWithOptionalParameters1.types b/tests/baselines/reference/genericFunctionsWithOptionalParameters1.types index cb41528166504..a5012ea46ff34 100644 --- a/tests/baselines/reference/genericFunctionsWithOptionalParameters1.types +++ b/tests/baselines/reference/genericFunctionsWithOptionalParameters1.types @@ -4,11 +4,11 @@ interface Utils { fold(c?: Array, folder?: (s: S, t: T) => T, init?: S): T; >fold : (c?: Array, folder?: (s: S, t: T) => T, init?: S) => T -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >c : T[] > : ^^^ >folder : (s: S, t: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >s : S > : ^ >t : T diff --git a/tests/baselines/reference/genericFunctionsWithOptionalParameters2.types b/tests/baselines/reference/genericFunctionsWithOptionalParameters2.types index 3a9709013b10d..d909b296474cb 100644 --- a/tests/baselines/reference/genericFunctionsWithOptionalParameters2.types +++ b/tests/baselines/reference/genericFunctionsWithOptionalParameters2.types @@ -4,11 +4,11 @@ interface Utils { fold(c: Array, folder?: (s: S, t: T) => T, init?: S): T; >fold : (c: Array, folder?: (s: S, t: T) => T, init?: S) => T -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >c : T[] > : ^^^ >folder : (s: S, t: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >s : S > : ^ >t : T diff --git a/tests/baselines/reference/genericFunctionsWithOptionalParameters3.types b/tests/baselines/reference/genericFunctionsWithOptionalParameters3.types index da13586624ed9..4d301c220082e 100644 --- a/tests/baselines/reference/genericFunctionsWithOptionalParameters3.types +++ b/tests/baselines/reference/genericFunctionsWithOptionalParameters3.types @@ -7,18 +7,18 @@ class Collection { public add(x: T) { } >add : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ } interface Utils { fold(c?: Collection, folder?: (s: S, t: T) => T, init?: S): T; >fold : (c?: Collection, folder?: (s: S, t: T) => T, init?: S) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >c : Collection > : ^^^^^^^^^^^^^ >folder : (s: S, t: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >s : S > : ^ >t : T @@ -28,15 +28,15 @@ interface Utils { mapReduce(c: Collection, mapper: (x: T) => U, reducer: (y: U) => V): Collection; >mapReduce : (c: Collection, mapper: (x: T) => U, reducer: (y: U) => V) => Collection -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >c : Collection > : ^^^^^^^^^^^^^ >mapper : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >reducer : (y: U) => V -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >y : U > : ^ } diff --git a/tests/baselines/reference/genericImplements.types b/tests/baselines/reference/genericImplements.types index d9626585e31db..553beb483b8c1 100644 --- a/tests/baselines/reference/genericImplements.types +++ b/tests/baselines/reference/genericImplements.types @@ -16,7 +16,7 @@ class B { b; }; interface I { f(): T; >f : () => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ } // { f: () => { a; } } @@ -27,7 +27,7 @@ class X implements I { f(): T { return undefined; } >f : () => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ >undefined : undefined > : ^^^^^^^^^ @@ -40,7 +40,7 @@ class Y implements I { f(): T { return undefined; } >f : () => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ >undefined : undefined > : ^^^^^^^^^ @@ -53,7 +53,7 @@ class Z implements I { f(): T { return undefined; } >f : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ >undefined : undefined > : ^^^^^^^^^ diff --git a/tests/baselines/reference/genericIndexedAccessMethodIntersectionCanBeAccessed.types b/tests/baselines/reference/genericIndexedAccessMethodIntersectionCanBeAccessed.types index 94a95418db1cf..faf298019e5f2 100644 --- a/tests/baselines/reference/genericIndexedAccessMethodIntersectionCanBeAccessed.types +++ b/tests/baselines/reference/genericIndexedAccessMethodIntersectionCanBeAccessed.types @@ -29,9 +29,9 @@ type Service = { export const createService = ( >createService : (ServiceCtr: ExtendedService & Service) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ >( ServiceCtr: ExtendedService & Service) => { Object.keys(ServiceCtr).forEach(key => { const method = (ServiceCtr)[key as keyof T]; const {__$daemonMode, __$action, id} = method; })} : (ServiceCtr: ExtendedService & Service) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ServiceCtr: ExtendedService & Service >ServiceCtr : ExtendedService & Service diff --git a/tests/baselines/reference/genericInference2.types b/tests/baselines/reference/genericInference2.types index cb33e95909cd1..cdaff070ed6e7 100644 --- a/tests/baselines/reference/genericInference2.types +++ b/tests/baselines/reference/genericInference2.types @@ -25,7 +25,7 @@ } export function observable(value: T): Observable; >observable : (value: T) => Observable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/genericInferenceDefaultTypeParameter.types b/tests/baselines/reference/genericInferenceDefaultTypeParameter.types index de42537ae7794..32efbfeb5a5af 100644 --- a/tests/baselines/reference/genericInferenceDefaultTypeParameter.types +++ b/tests/baselines/reference/genericInferenceDefaultTypeParameter.types @@ -22,7 +22,7 @@ type Type = { declare function f1(props: Type[T]): void; >f1 : (props: Type[T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >props : Type[T] > : ^^^^^^^ diff --git a/tests/baselines/reference/genericInferenceDefaultTypeParameterJsxReact.types b/tests/baselines/reference/genericInferenceDefaultTypeParameterJsxReact.types index 0be47f55efee9..91eebeefba75a 100644 --- a/tests/baselines/reference/genericInferenceDefaultTypeParameterJsxReact.types +++ b/tests/baselines/reference/genericInferenceDefaultTypeParameterJsxReact.types @@ -29,7 +29,7 @@ type ButtonBaseProps = ComponentPropsWithRef & { child function Component(props: ButtonBaseProps) { >Component : (props: ButtonBaseProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : ButtonBaseProps > : ^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.types b/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.types index 0f518f71e1d9b..10870fcb00866 100644 --- a/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.types +++ b/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.types @@ -37,15 +37,15 @@ y = x; declare function f(x: Pair); >f : (x: Pair) => any -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^ >x : Pair > : ^^^^^^^^^^ declare function f2(x: { first: T; second: U; }); >f2 : (x: { first: T; second: U; }) => any -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^ >x : { first: T; second: U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^ >first : T > : ^ >second : U diff --git a/tests/baselines/reference/genericInterfaceFunctionTypeParameter.types b/tests/baselines/reference/genericInterfaceFunctionTypeParameter.types index 44e26f746c609..75f7e8e5ed972 100644 --- a/tests/baselines/reference/genericInterfaceFunctionTypeParameter.types +++ b/tests/baselines/reference/genericInterfaceFunctionTypeParameter.types @@ -4,9 +4,9 @@ export interface IFoo { } export function foo(fn: (ifoo: IFoo) => void) { >foo : (fn: (ifoo: IFoo) => void) => void -> : ^^^^^^^^ ^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ >fn : (ifoo: IFoo) => void -> : ^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >ifoo : IFoo > : ^^^^^^^ diff --git a/tests/baselines/reference/genericInterfaceImplementation.types b/tests/baselines/reference/genericInterfaceImplementation.types index cd700089306a9..31670f13eceb3 100644 --- a/tests/baselines/reference/genericInterfaceImplementation.types +++ b/tests/baselines/reference/genericInterfaceImplementation.types @@ -4,11 +4,11 @@ interface IOption { get(): A; >get : () => A -> : ^^^^^^^ +> : ^^^^^^ flatten(): IOption; >flatten : () => IOption -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ } class None implements IOption{ @@ -17,14 +17,14 @@ class None implements IOption{ get(): T { >get : () => T -> : ^^^^^^^ +> : ^^^^^^ throw null; } flatten() : IOption { >flatten : () => IOption -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ return new None(); >new None() : None diff --git a/tests/baselines/reference/genericInterfaceTypeCall.types b/tests/baselines/reference/genericInterfaceTypeCall.types index eb262e099bf0d..a8ff5077e0b28 100644 --- a/tests/baselines/reference/genericInterfaceTypeCall.types +++ b/tests/baselines/reference/genericInterfaceTypeCall.types @@ -4,7 +4,7 @@ interface Foo { reject(arg: T): void; >reject : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } @@ -15,17 +15,17 @@ var foo: Foo interface bar { fail(func: (arg: T) => void ): void; >fail : (func: (arg: T) => void) => void -> : ^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >func : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ fail2(func2: { (arg: T): void; }): void; >fail2 : (func2: { (arg: T): void; }) => void -> : ^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >func2 : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } diff --git a/tests/baselines/reference/genericIsNeverEmptyObject.types b/tests/baselines/reference/genericIsNeverEmptyObject.types index 51a2de31351c0..fdada192faef3 100644 --- a/tests/baselines/reference/genericIsNeverEmptyObject.types +++ b/tests/baselines/reference/genericIsNeverEmptyObject.types @@ -5,7 +5,7 @@ function test(obj: T) { >test : (obj: T) => Omit & { b: string; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : string > : ^^^^^^ >obj : T diff --git a/tests/baselines/reference/genericMemberFunction.types b/tests/baselines/reference/genericMemberFunction.types index e4e845c0f1582..f7ed37a579e11 100644 --- a/tests/baselines/reference/genericMemberFunction.types +++ b/tests/baselines/reference/genericMemberFunction.types @@ -7,7 +7,7 @@ export class BuildError{ public parent(): FileWithErrors { >parent : () => FileWithErrors -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^ return undefined; >undefined : undefined @@ -20,7 +20,7 @@ export class FileWithErrors{ public errors(): BuildError[] { >errors : () => BuildError[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^ return undefined; >undefined : undefined @@ -28,7 +28,7 @@ export class FileWithErrors{ } public parent(): BuildResult { >parent : () => BuildResult -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^ return undefined; >undefined : undefined @@ -41,7 +41,7 @@ export class BuildResult{ public merge(other: BuildResult): void { >merge : (other: BuildResult) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >other : BuildResult > : ^^^^^^^^^^^^^^^^^^^^ @@ -87,7 +87,7 @@ export class BuildResult{ >forEach : any > : ^^^ >(each: FileWithErrors) => { this.removeFile(each); } : (each: FileWithErrors) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >each : FileWithErrors > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericMethodOverspecialization.types b/tests/baselines/reference/genericMethodOverspecialization.types index db2305ebeb42d..e8af5d7445715 100644 --- a/tests/baselines/reference/genericMethodOverspecialization.types +++ b/tests/baselines/reference/genericMethodOverspecialization.types @@ -34,7 +34,7 @@ declare var document: Document; interface Document { getElementById(elementId: string): HTMLElement; >getElementById : { (elementId: string): HTMLElement; (elementId: string): HTMLElement; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >elementId : string > : ^^^^^^ } diff --git a/tests/baselines/reference/genericNewInterface.types b/tests/baselines/reference/genericNewInterface.types index 47a531cc5af61..b845b8780877c 100644 --- a/tests/baselines/reference/genericNewInterface.types +++ b/tests/baselines/reference/genericNewInterface.types @@ -3,9 +3,9 @@ === genericNewInterface.ts === function createInstance(ctor: new (s: string) => T): T { >createInstance : (ctor: new (s: string) => T) => T -> : ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >ctor : new (s: string) => T -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >s : string > : ^^^^^^ @@ -26,7 +26,7 @@ interface INewable { function createInstance2(ctor: INewable): T { >createInstance2 : (ctor: INewable) => T -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >ctor : INewable > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericObjectLitReturnType.types b/tests/baselines/reference/genericObjectLitReturnType.types index 2864506701dec..2f7092e564904 100644 --- a/tests/baselines/reference/genericObjectLitReturnType.types +++ b/tests/baselines/reference/genericObjectLitReturnType.types @@ -7,7 +7,7 @@ class X { f(t: T) { return { a: t }; } >f : (t: T) => { a: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^ >t : T > : ^ >{ a: t } : { a: T; } diff --git a/tests/baselines/reference/genericObjectRest.types b/tests/baselines/reference/genericObjectRest.types index 2c9472bd51b4c..e450e1831c490 100644 --- a/tests/baselines/reference/genericObjectRest.types +++ b/tests/baselines/reference/genericObjectRest.types @@ -9,7 +9,7 @@ const a = 'a'; function f1(obj: T) { >f1 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : number @@ -94,7 +94,7 @@ const sb = Symbol(); function f2(obj: T) { >f2 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >[sa] : string > : ^^^^^^ >sa : unique symbol @@ -123,7 +123,7 @@ function f2(obj: T) { function f3(obj: T, k1: K1, k2: K2) { >f3 : (obj: T, k1: K1, k2: K2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : T > : ^ >k1 : K1 @@ -158,7 +158,7 @@ type Item = { a: string, b: number, c: boolean }; function f4(obj: Item, k1: K1, k2: K2) { >f4 : (obj: Item, k1: K1, k2: K2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : Item > : ^^^^ >k1 : K1 diff --git a/tests/baselines/reference/genericObjectSpreadResultInSwitch.types b/tests/baselines/reference/genericObjectSpreadResultInSwitch.types index 23830497d5a0c..773b3967c17b7 100644 --- a/tests/baselines/reference/genericObjectSpreadResultInSwitch.types +++ b/tests/baselines/reference/genericObjectSpreadResultInSwitch.types @@ -21,9 +21,9 @@ type Params = { const getType =

(params: P) => { >getType :

(params: P) => Omit -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >

(params: P) => { const { // Omit foo, ...rest } = params; return rest;} :

(params: P) => Omit -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >params : P > : ^ diff --git a/tests/baselines/reference/genericOfACloduleType1.types b/tests/baselines/reference/genericOfACloduleType1.types index 7b40f4fc25c7e..d346f6cf5709b 100644 --- a/tests/baselines/reference/genericOfACloduleType1.types +++ b/tests/baselines/reference/genericOfACloduleType1.types @@ -5,7 +5,7 @@ class G{ bar(x: T) { return x; } } >G : G > : ^^^^ >bar : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/genericOfACloduleType2.types b/tests/baselines/reference/genericOfACloduleType2.types index 42cc903a33385..28c270010945e 100644 --- a/tests/baselines/reference/genericOfACloduleType2.types +++ b/tests/baselines/reference/genericOfACloduleType2.types @@ -5,7 +5,7 @@ class G{ bar(x: T) { return x; } } >G : G > : ^^^^ >bar : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/genericOverloadSignatures.types b/tests/baselines/reference/genericOverloadSignatures.types index ef7a6e10c0931..c22b59c335f37 100644 --- a/tests/baselines/reference/genericOverloadSignatures.types +++ b/tests/baselines/reference/genericOverloadSignatures.types @@ -13,13 +13,13 @@ interface A { function f(a: T); >f : { (a: T): any; (a: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ function f(a: T); >f : { (a: T_1): any; (a: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ @@ -31,13 +31,13 @@ function f(a) { } interface I2 { f(x: T): number; >f : { (x: T): number; (x: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ f(x: T): string; >f : { (x: T_1): number; (x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ } @@ -45,13 +45,13 @@ interface I2 { interface I3 { f(x: T): number; >f : { (x: T): number; (x: T): string; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ >x : T > : ^ f(x: T): string; >f : { (x: T): number; (x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : T > : ^ } @@ -62,7 +62,7 @@ class C2 { } var b: { >b : { new (x: T, y: string): C2; new (x: T_1, y: string): C2; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ new (x: T, y: string): C2; >x : T diff --git a/tests/baselines/reference/genericParameterAssignability1.types b/tests/baselines/reference/genericParameterAssignability1.types index a31d55bf6906a..fe955cce17024 100644 --- a/tests/baselines/reference/genericParameterAssignability1.types +++ b/tests/baselines/reference/genericParameterAssignability1.types @@ -3,15 +3,15 @@ === genericParameterAssignability1.ts === function f(x: T): T { return null; } >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var r = (x: T) => x; >r : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/genericPrototypeProperty.types b/tests/baselines/reference/genericPrototypeProperty.types index 81f00034083a5..f474e5b0e95f2 100644 --- a/tests/baselines/reference/genericPrototypeProperty.types +++ b/tests/baselines/reference/genericPrototypeProperty.types @@ -11,7 +11,7 @@ class C { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors1.types b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors1.types index 3837a2d10b423..a357a92f28670 100644 --- a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors1.types +++ b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors1.types @@ -17,7 +17,7 @@ export declare module TypeScript { public addSpecialization(signature: PullSignatureSymbol, typeArguments: PullTypeSymbol[]): void; >addSpecialization : (signature: PullSignatureSymbol, typeArguments: PullTypeSymbol[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >signature : PullSignatureSymbol > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >typeArguments : PullTypeSymbol[] @@ -31,7 +31,7 @@ export declare module TypeScript { public findTypeParameter(name: string): PullTypeParameterSymbol; >findTypeParameter : (name: string) => PullTypeParameterSymbol -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^ ^^^^^ >name : string > : ^^^^^^ } diff --git a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.types b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.types index 9982d1849157c..a5065c23120d0 100644 --- a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.types +++ b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.types @@ -35,7 +35,7 @@ module TypeScript2 { // link methods public addOutgoingLink(linkTo: PullSymbol, kind: SymbolLinkKind) { >addOutgoingLink : (linkTo: PullSymbol, kind: SymbolLinkKind) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >linkTo : PullSymbol > : ^^^^^^^^^^ >kind : SymbolLinkKind @@ -45,7 +45,7 @@ module TypeScript2 { public getType(): PullTypeSymbol { >getType : () => PullTypeSymbol -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^ return undefined; >undefined : undefined diff --git a/tests/baselines/reference/genericRestArgs.types b/tests/baselines/reference/genericRestArgs.types index 8d1c7ec901b78..779085d38e9c0 100644 --- a/tests/baselines/reference/genericRestArgs.types +++ b/tests/baselines/reference/genericRestArgs.types @@ -3,7 +3,7 @@ === genericRestArgs.ts === function makeArrayG(...items: T[]): T[] { return items; } >makeArrayG : (...items: T[]) => T[] -> : ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ >items : T[] @@ -59,7 +59,7 @@ var a1Gd = makeArrayG(1, ""); // error function makeArrayGOpt(item1?: T, item2?: T, item3?: T) { >makeArrayGOpt : (item1?: T, item2?: T, item3?: T) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ >item1 : T > : ^ >item2 : T diff --git a/tests/baselines/reference/genericRestArity.types b/tests/baselines/reference/genericRestArity.types index dfe9aad4cadca..31fd381011ed6 100644 --- a/tests/baselines/reference/genericRestArity.types +++ b/tests/baselines/reference/genericRestArity.types @@ -5,11 +5,11 @@ declare function call( >call : (handler: (...args: TS) => void, ...args: TS) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ handler: (...args: TS) => void, >handler : (...args: TS) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : TS > : ^^ diff --git a/tests/baselines/reference/genericRestArityStrict.types b/tests/baselines/reference/genericRestArityStrict.types index d9f8e9509dc81..be839c2114df7 100644 --- a/tests/baselines/reference/genericRestArityStrict.types +++ b/tests/baselines/reference/genericRestArityStrict.types @@ -5,11 +5,11 @@ declare function call( >call : (handler: (...args: TS) => void, ...args: TS) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ handler: (...args: TS) => void, >handler : (...args: TS) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : TS > : ^^ diff --git a/tests/baselines/reference/genericRestParameters1.types b/tests/baselines/reference/genericRestParameters1.types index c360074ea84dd..9e904e6cc7ea0 100644 --- a/tests/baselines/reference/genericRestParameters1.types +++ b/tests/baselines/reference/genericRestParameters1.types @@ -299,7 +299,7 @@ f2(...ns, true); // FIXME: Error, since ...ns is considered as string|number he declare function f10(...args: T): T; >f10 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -423,7 +423,7 @@ const x18 = f10(...ns, true); // (string | number | boolean)[] function g10(u: U, v: V) { >g10 : (u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >u : U > : ^ >v : V @@ -486,7 +486,7 @@ function g10(u: U, v: V) { declare function f11(...args: T): T; >f11 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -610,7 +610,7 @@ const z18 = f11(...ns, true); // (string | number | true)[] function g11(u: U, v: V) { >g11 : (u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >u : U > : ^ >v : V @@ -673,9 +673,9 @@ function g11(u: U, v: V) { function call(f: (...args: T) => U, ...args: T) { >call : (f: (...args: T) => U, ...args: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ >f : (...args: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ >args : T @@ -694,11 +694,11 @@ function call(f: (...args: T) => U, ...args: T) { function callr(args: T, f: (...args: T) => U) { >callr : (args: T, f: (...args: T) => U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ >args : T > : ^ >f : (...args: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -723,7 +723,7 @@ declare function f15(a: string, b: number): string | number; declare function f16(a: A, b: B): A | B; >f16 : (a: A, b: B) => A | B -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B @@ -867,9 +867,9 @@ let x32 = callr(sn, f16); // string | number function bind(f: (x: T, ...rest: U) => V, x: T) { >bind : (f: (x: T, ...rest: U) => V, x: T) => (...rest: U) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ >f : (x: T, ...rest: U) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >x : T > : ^ >rest : U @@ -879,7 +879,7 @@ function bind(f: (x: T, ...rest: U) => V, x: T) { return (...rest: U) => f(x, ...rest); >(...rest: U) => f(x, ...rest) : (...rest: U) => V -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^ >rest : U > : ^ >f(x, ...rest) : V @@ -1098,7 +1098,7 @@ g23(); declare function f30 any)[]>(x: T, ...args: U): U; >f30 : any)[]>(x: T, ...args: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -1223,7 +1223,7 @@ type EventType = { emit(e: K, ...payload: T[K] extends any[] ? T[K] : [T[K]]): void; >emit : (e: K, ...payload: T[K] extends any[] ? T[K] : [T[K]]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >e : K > : ^ >payload : T[K] extends any[] ? T[K] : [T[K]] diff --git a/tests/baselines/reference/genericRestParameters2.types b/tests/baselines/reference/genericRestParameters2.types index b48733c806b22..79cabae76fe48 100644 --- a/tests/baselines/reference/genericRestParameters2.types +++ b/tests/baselines/reference/genericRestParameters2.types @@ -667,7 +667,7 @@ f13(42, "hello", true, ...t4, false, ...t3); declare const f20: (...args: T) => T; >f20 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/genericRestParameters3.types b/tests/baselines/reference/genericRestParameters3.types index 267e2ae6719dc..873893807499e 100644 --- a/tests/baselines/reference/genericRestParameters3.types +++ b/tests/baselines/reference/genericRestParameters3.types @@ -195,9 +195,9 @@ interface CoolArray extends Array { declare function foo(cb: (...args: T) => void): void; >foo : (cb: (...args: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >cb : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -225,7 +225,7 @@ foo>(foo); // Error function bar(...args: T): T { >bar : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -260,7 +260,7 @@ let b = bar>(10, 20); // Error declare function baz(...args: CoolArray): void; >baz : (...args: CoolArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >args : CoolArray > : ^^^^^^^^^^^^ @@ -306,7 +306,7 @@ baz(...ca); // Error declare function hmm(...args: A): void; >hmm : (...args: A) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : A > : ^ @@ -410,13 +410,13 @@ ff2 = ff1; function ff3(s1: (...args: [x: string, ...rest: A | [number]]) => void, s2: (x: string, ...rest: A | [number]) => void) { >ff3 : (s1: (...args: [x: string, ...rest: A | [number]]) => void, s2: (x: string, ...rest: A | [number]) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >s1 : (...args: [x: string, ...rest: A | [number]]) => void -> : ^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [x: string, number] | [x: string, ...rest: A] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s2 : (x: string, ...rest: A | [number]) => void -> : ^^^^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >x : string > : ^^^^^^ >rest : [number] | A diff --git a/tests/baselines/reference/genericRestTypes.types b/tests/baselines/reference/genericRestTypes.types index e22a2827a1d31..c19b829117fa7 100644 --- a/tests/baselines/reference/genericRestTypes.types +++ b/tests/baselines/reference/genericRestTypes.types @@ -49,7 +49,7 @@ function assignmentWithComplexRest() { const fn1: (x: string, ...rest: T) => void = (x, ..._) => x; >fn1 : (x: string, ...rest: T) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >x : string > : ^^^^^^ >rest : T @@ -78,15 +78,15 @@ function assignmentWithComplexRest2() { const fn1: (cb: (x: string, ...rest: T) => void) => void = (cb) => {}; >fn1 : (cb: (x: string, ...rest: T) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (x: string, ...rest: T) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >x : string > : ^^^^^^ >rest : T > : ^ >(cb) => {} : (cb: (x: string, ...rest: T) => void) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >cb : (x: string, ...rest: T) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -107,7 +107,7 @@ function assignmentWithComplexRest3() { const fn1: (x: string, ...rest: T) => void = (x, ..._) => x; >fn1 : (x: string, ...rest: T) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >x : string > : ^^^^^^ >rest : T diff --git a/tests/baselines/reference/genericReversingTypeParameters.types b/tests/baselines/reference/genericReversingTypeParameters.types index 22361406238f4..df026ab27cd8e 100644 --- a/tests/baselines/reference/genericReversingTypeParameters.types +++ b/tests/baselines/reference/genericReversingTypeParameters.types @@ -11,13 +11,13 @@ class BiMap { public get(key: K): V { return null; } >get : (key: K) => V -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ public inverse(): BiMap { return null; } >inverse : () => BiMap -> : ^^^^^^^^^^^ ^ ^ +> : ^^^^^^ } var b = new BiMap(); diff --git a/tests/baselines/reference/genericReversingTypeParameters2.types b/tests/baselines/reference/genericReversingTypeParameters2.types index 168845d22b45f..a1d090b18bb26 100644 --- a/tests/baselines/reference/genericReversingTypeParameters2.types +++ b/tests/baselines/reference/genericReversingTypeParameters2.types @@ -11,13 +11,13 @@ class BiMap { public get(key: K): V { return null; } >get : (key: K) => V -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ public inverse(): BiMap { return null; } >inverse : () => BiMap -> : ^^^^^^^^^^^ ^ ^ +> : ^^^^^^ } var b = new BiMap(); diff --git a/tests/baselines/reference/genericSignatureIdentity.types b/tests/baselines/reference/genericSignatureIdentity.types index 4aeb12416486a..dbed8cdcaf0d4 100644 --- a/tests/baselines/reference/genericSignatureIdentity.types +++ b/tests/baselines/reference/genericSignatureIdentity.types @@ -8,7 +8,7 @@ var x: { >x : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ (x: T): T; >x : T diff --git a/tests/baselines/reference/genericSpecializationToTypeLiteral1.types b/tests/baselines/reference/genericSpecializationToTypeLiteral1.types index 0f3e1d3a3a569..34a36edb2f1be 100644 --- a/tests/baselines/reference/genericSpecializationToTypeLiteral1.types +++ b/tests/baselines/reference/genericSpecializationToTypeLiteral1.types @@ -5,11 +5,11 @@ interface IEnumerable { zip(second: IEnumerable, resultSelector: (first: T, second: T, index: number) => TResult): IEnumerable; >zip : { (second: IEnumerable, resultSelector: (first: T, second: T, index: number) => TResult): IEnumerable; (second: T[], resultSelector: (first: T, second: T, index: number) => TResult_1): IEnumerable; (...params: any[]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >second : IEnumerable > : ^^^^^^^^^^^^^^ >resultSelector : (first: T, second: T, index: number) => TResult -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >first : T > : ^ >second : T @@ -19,11 +19,11 @@ interface IEnumerable { zip(second: T[], resultSelector: (first: T, second: T, index: number) => TResult): IEnumerable; >zip : { (second: IEnumerable, resultSelector: (first: T, second: T, index: number) => TResult_1): IEnumerable; (second: T[], resultSelector: (first: T, second: T, index: number) => TResult): IEnumerable; (...params: any[]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >second : T[] > : ^^^ >resultSelector : (first: T, second: T, index: number) => TResult -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >first : T > : ^ >second : T @@ -33,38 +33,38 @@ interface IEnumerable { zip(...params: any[]): IEnumerable; // last one is selector >zip : { (second: IEnumerable, resultSelector: (first: T, second: T, index: number) => TResult_1): IEnumerable; (second: T[], resultSelector: (first: T, second: T, index: number) => TResult_2): IEnumerable; (...params: any[]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >params : any[] > : ^^^^^ merge(...params: IEnumerable[]): IEnumerable; >merge : { (...params: IEnumerable[]): IEnumerable; (...params: T[][]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >params : IEnumerable[] > : ^^^^^^^^^^^^^^^^ merge(...params: T[][]): IEnumerable; >merge : { (...params: IEnumerable[]): IEnumerable; (...params: T[][]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >params : T[][] > : ^^^^^ concat(...sequences: IEnumerable[]): IEnumerable; >concat : { (...sequences: IEnumerable[]): IEnumerable; (...sequences: T[]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >sequences : IEnumerable[] > : ^^^^^^^^^^^^^^^^ concat(...sequences: T[]): IEnumerable; >concat : { (...sequences: IEnumerable[]): IEnumerable; (...sequences: T[]): IEnumerable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >sequences : T[] > : ^^^ insert(index: number, second: IEnumerable): IEnumerable; >insert : (index: number, second: IEnumerable) => IEnumerable -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ >second : IEnumerable @@ -72,69 +72,69 @@ interface IEnumerable { sequenceEqual(second: IEnumerable): boolean; >sequenceEqual : { (second: IEnumerable): boolean; (second: IEnumerable, compareSelector: (element: T) => TCompare): boolean; (second: T[]): boolean; (second: T[], compareSelector: (element: T) => TCompare_1): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >second : IEnumerable > : ^^^^^^^^^^^^^^ sequenceEqual(second: IEnumerable, compareSelector: (element: T) => TCompare): boolean; >sequenceEqual : { (second: IEnumerable): boolean; (second: IEnumerable, compareSelector: (element: T) => TCompare): boolean; (second: T[]): boolean; (second: T[], compareSelector: (element: T) => TCompare_1): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >second : IEnumerable > : ^^^^^^^^^^^^^^ >compareSelector : (element: T) => TCompare -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ sequenceEqual(second: T[]): boolean; >sequenceEqual : { (second: IEnumerable): boolean; (second: IEnumerable, compareSelector: (element: T) => TCompare): boolean; (second: T[]): boolean; (second: T[], compareSelector: (element: T) => TCompare_1): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >second : T[] > : ^^^ sequenceEqual(second: T[], compareSelector: (element: T) => TCompare): boolean; >sequenceEqual : { (second: IEnumerable): boolean; (second: IEnumerable, compareSelector: (element: T) => TCompare_1): boolean; (second: T[]): boolean; (second: T[], compareSelector: (element: T) => TCompare): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >second : T[] > : ^^^ >compareSelector : (element: T) => TCompare -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ toDictionary(keySelector: (element: T) => TKey): IDictionary; >toDictionary : { (keySelector: (element: T) => TKey): IDictionary; (keySelector: (element: T) => TKey_1, elementSelector: (element: T) => TValue): IDictionary; (keySelector: (element: T) => TKey_2, elementSelector: (element: T) => TValue_1, compareSelector: (key: TKey_2) => TCompare): IDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >keySelector : (element: T) => TKey -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ toDictionary(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue): IDictionary; >toDictionary : { (keySelector: (element: T) => TKey_1): IDictionary; (keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue): IDictionary; (keySelector: (element: T) => TKey_2, elementSelector: (element: T) => TValue_1, compareSelector: (key: TKey_2) => TCompare): IDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >keySelector : (element: T) => TKey -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ >elementSelector : (element: T) => TValue -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ toDictionary(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue, compareSelector: (key: TKey) => TCompare): IDictionary; >toDictionary : { (keySelector: (element: T) => TKey_1): IDictionary; (keySelector: (element: T) => TKey_2, elementSelector: (element: T) => TValue_1): IDictionary; (keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue, compareSelector: (key: TKey) => TCompare): IDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >keySelector : (element: T) => TKey -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ >elementSelector : (element: T) => TValue -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ >compareSelector : (key: TKey) => TCompare -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : TKey > : ^^^^ } @@ -142,7 +142,7 @@ interface IEnumerable { interface IDictionary { toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>; >toEnumerable : () => IEnumerable<{ key: TKey; value: TValue; }> -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^^ >key : TKey > : ^^^^ >value : TValue diff --git a/tests/baselines/reference/genericSpecializations1.types b/tests/baselines/reference/genericSpecializations1.types index 894ef8939bf1a..c5291c2a635e1 100644 --- a/tests/baselines/reference/genericSpecializations1.types +++ b/tests/baselines/reference/genericSpecializations1.types @@ -4,7 +4,7 @@ interface IFoo { foo(x: T): T; // no error on implementors because IFoo's T is different from foo's T >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -37,7 +37,7 @@ class StringFoo3 implements IFoo { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericSpecializations2.types b/tests/baselines/reference/genericSpecializations2.types index fb96f781bc540..800ffc12741e2 100644 --- a/tests/baselines/reference/genericSpecializations2.types +++ b/tests/baselines/reference/genericSpecializations2.types @@ -7,7 +7,7 @@ class IFoo { foo(x: T): T { // no error on implementors because IFoo's T is different from foo's T >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -43,7 +43,7 @@ class StringFoo3 implements IFoo { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericSpecializations3.types b/tests/baselines/reference/genericSpecializations3.types index d99a3ab31f5d4..b5692306d9039 100644 --- a/tests/baselines/reference/genericSpecializations3.types +++ b/tests/baselines/reference/genericSpecializations3.types @@ -4,7 +4,7 @@ interface IFoo { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -106,7 +106,7 @@ class StringFoo3 implements IFoo { // error foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/genericStaticAnyTypeFunction.types b/tests/baselines/reference/genericStaticAnyTypeFunction.types index 61f77f8332869..6539bda145585 100644 --- a/tests/baselines/reference/genericStaticAnyTypeFunction.types +++ b/tests/baselines/reference/genericStaticAnyTypeFunction.types @@ -7,7 +7,7 @@ class A { static one(source: T, value: number): T { >one : (source: T, value: number) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >source : T > : ^ >value : number @@ -26,7 +26,7 @@ class A { static two(source: T): T { >two : (source: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >source : T > : ^ diff --git a/tests/baselines/reference/genericTemplateOverloadResolution.types b/tests/baselines/reference/genericTemplateOverloadResolution.types index 9fd498ef8a1c2..51dc304de7954 100644 --- a/tests/baselines/reference/genericTemplateOverloadResolution.types +++ b/tests/baselines/reference/genericTemplateOverloadResolution.types @@ -17,7 +17,7 @@ declare const fooFn: IFooFn; declare function expect(x: Promise): void; >expect : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : Promise > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/genericTypeArgumentInference1.types b/tests/baselines/reference/genericTypeArgumentInference1.types index e1f6faf74e546..a54a50410189a 100644 --- a/tests/baselines/reference/genericTypeArgumentInference1.types +++ b/tests/baselines/reference/genericTypeArgumentInference1.types @@ -14,7 +14,7 @@ module Underscore { export interface Static { all(list: T[], iterator?: Iterator, context?: any): T; >all : (list: T[], iterator?: Iterator, context?: any) => T -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >iterator : Iterator @@ -24,7 +24,7 @@ module Underscore { identity(value: T): T; >identity : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/genericTypeAssertions1.types b/tests/baselines/reference/genericTypeAssertions1.types index 65c37d46a7af7..0638b58dcdb04 100644 --- a/tests/baselines/reference/genericTypeAssertions1.types +++ b/tests/baselines/reference/genericTypeAssertions1.types @@ -5,7 +5,7 @@ class A { foo(x: T) { }} >A : A > : ^^^^ >foo : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericTypeAssertions2.types b/tests/baselines/reference/genericTypeAssertions2.types index d22e61014469d..8509228b0d485 100644 --- a/tests/baselines/reference/genericTypeAssertions2.types +++ b/tests/baselines/reference/genericTypeAssertions2.types @@ -5,7 +5,7 @@ class A { foo(x: T) { } } >A : A > : ^^^^ >foo : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ @@ -17,7 +17,7 @@ class B extends A { bar(): T { >bar : () => T -> : ^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/genericTypeAssertions3.types b/tests/baselines/reference/genericTypeAssertions3.types index 531c75b9f1b43..6c3721bfb6553 100644 --- a/tests/baselines/reference/genericTypeAssertions3.types +++ b/tests/baselines/reference/genericTypeAssertions3.types @@ -3,9 +3,9 @@ === genericTypeAssertions3.ts === var r = < (x: T) => T > ((x) => { return null; }); // bug was 'could not find dotted symbol T' on x's annotation in the type assertion instead of no error >r : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >< (x: T) => T > ((x) => { return null; }) : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >((x) => { return null; }) : (x: T) => any @@ -17,9 +17,9 @@ var r = < (x: T) => T > ((x) => { return null; }); // bug was 'could not find var s = < (x: T) => T > ((x: any) => { return null; }); // no error >s : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >< (x: T) => T > ((x: any) => { return null; }) : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >((x: any) => { return null; }) : (x: any) => any diff --git a/tests/baselines/reference/genericTypeAssertions4.types b/tests/baselines/reference/genericTypeAssertions4.types index 64d54959f4617..502dd8726d8d1 100644 --- a/tests/baselines/reference/genericTypeAssertions4.types +++ b/tests/baselines/reference/genericTypeAssertions4.types @@ -52,7 +52,7 @@ var c: C; function foo2(x: T) { >foo2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericTypeAssertions5.types b/tests/baselines/reference/genericTypeAssertions5.types index f069498f50035..e59a2597650d3 100644 --- a/tests/baselines/reference/genericTypeAssertions5.types +++ b/tests/baselines/reference/genericTypeAssertions5.types @@ -33,7 +33,7 @@ var c: C; function foo2(x: T) { >foo2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericTypeAssertions6.types b/tests/baselines/reference/genericTypeAssertions6.types index 9659be3f3dd1f..a66393c5815f2 100644 --- a/tests/baselines/reference/genericTypeAssertions6.types +++ b/tests/baselines/reference/genericTypeAssertions6.types @@ -28,7 +28,7 @@ class A { f(x: T, y: U) { >f : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -64,7 +64,7 @@ class B extends A { g(x: T) { >g : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericTypeParameterEquivalence2.types b/tests/baselines/reference/genericTypeParameterEquivalence2.types index 77de799704aa5..b88ff75a78403 100644 --- a/tests/baselines/reference/genericTypeParameterEquivalence2.types +++ b/tests/baselines/reference/genericTypeParameterEquivalence2.types @@ -4,13 +4,13 @@ // compose :: (b->c) -> (a->b) -> (a->c) function compose(f: (b: B) => C, g: (a:A) => B): (a:A) => C { >compose : (f: (b: B) => C, g: (a: A) => B) => (a: A) => C -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ >f : (b: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >g : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >a : A @@ -18,7 +18,7 @@ function compose(f: (b: B) => C, g: (a:A) => B): (a:A) => C { return function (a:A) : C { >function (a:A) : C { return f(g.apply(null, a)); } : (a: A) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -43,11 +43,11 @@ function compose(f: (b: B) => C, g: (a:A) => B): (a:A) => C { // forEach :: [a] -> (a -> ()) -> () function forEach(list: A[], f: (a: A, n?: number) => void ): void { >forEach : (list: A[], f: (a: A, n?: number) => void) => void -> : ^^^^^^^^^^^ ^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ >list : A[] > : ^^^ >f : (a: A, n?: number) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >a : A > : ^ >n : number @@ -92,9 +92,9 @@ function forEach(list: A[], f: (a: A, n?: number) => void ): void { // filter :: (a->bool) -> [a] -> [a] function filter(f: (a: A) => boolean, ar: A[]): A[] { >filter : (f: (a: A) => boolean, ar: A[]) => A[] -> : ^^^^^^^ ^ ^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >f : (a: A) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >ar : A[] @@ -148,7 +148,7 @@ function filter(f: (a: A) => boolean, ar: A[]): A[] { // length :: [a] -> Num function length2(ar: A[]): number { >length2 : (ar: A[]) => number -> : ^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^ ^^^^^ >ar : A[] > : ^^^ @@ -164,9 +164,9 @@ function length2(ar: A[]): number { // curry1 :: ((a,b)->c) -> (a->(b->c)) function curry1(f: (a: A, b: B) => C): (ax: A) => (bx: B) => C { >curry1 : (f: (a: A, b: B) => C) => (ax: A) => (bx: B) => C -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ >f : (a: A, b: B) => C -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B @@ -178,13 +178,13 @@ function curry1(f: (a: A, b: B) => C): (ax: A) => (bx: B) => C { return function (ay: A) { >function (ay: A) { return function (by: B) { return f(ay, by); }; } : (ay: A) => (by: B) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^ ^^^^^^ >ay : A > : ^ return function (by: B) { >function (by: B) { return f(ay, by); } : (by: B) => C -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ >by : B > : ^ @@ -222,9 +222,9 @@ var cfilter = curry1(filter); function countWhere_1(pred: (a: A) => boolean): (a: A[]) => number { >countWhere_1 : (pred: (a: A) => boolean) => (a: A[]) => number -> : ^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >pred : (a: A) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >a : A[] @@ -247,9 +247,9 @@ function countWhere_1(pred: (a: A) => boolean): (a: A[]) => number { function countWhere_2(pred: (a: A) => boolean): (a: A[]) => number { >countWhere_2 : (pred: (a: A) => boolean) => (a: A[]) => number -> : ^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >pred : (a: A) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >a : A[] diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.d.types b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.d.types index bbc66382294d8..ef32f49afefc0 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.d.types +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.d.types @@ -76,13 +76,13 @@ declare class D3 { } declare function h(x: T); >h : (x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : T > : ^ declare function i(x: T); >i : (x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ >M : any > : ^^^ >x : T diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.types b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.types index acdf5c8bfd961..aeb1ba6242ddf 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.types +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.types @@ -113,13 +113,13 @@ interface I2 extends M.E { } function h(x: T) { } >h : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ function i(x: T) { } >i : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >M : any > : ^^^ >x : T diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types index ba77cff42774e..9aedb638d1666 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types @@ -103,13 +103,13 @@ interface I2 extends M.C { } function h(x: T) { } >h : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ function i(x: T) { } >i : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >M : any > : ^^^ >x : T diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.types b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.types index d5f3c53757d27..c06645523384d 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.types +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.types @@ -76,13 +76,13 @@ declare class D3 { } declare function h(x: T); >h : (x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : T > : ^ declare function i(x: T); >i : (x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ >M : any > : ^^^ >x : T diff --git a/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.types b/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.types index d347b28b39bed..db25f8f735806 100644 --- a/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.types +++ b/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.types @@ -7,12 +7,12 @@ class C { foo(): T { return null } >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I { bar(): T; >bar : () => T -> : ^^^^^^^ +> : ^^^^^^ } var c1: C; // error >c1 : any diff --git a/tests/baselines/reference/genericTypeWithCallableMembers2.types b/tests/baselines/reference/genericTypeWithCallableMembers2.types index e826dda55695a..6a44b2a4f182c 100644 --- a/tests/baselines/reference/genericTypeWithCallableMembers2.types +++ b/tests/baselines/reference/genericTypeWithCallableMembers2.types @@ -3,7 +3,7 @@ === genericTypeWithCallableMembers2.ts === function foo1(f: T) { >foo1 : string>(f: T) => string -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >f : T > : ^ @@ -16,7 +16,7 @@ function foo1(f: T) { function foo2(f: T) { >foo2 : string>(f: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >f : T > : ^ diff --git a/tests/baselines/reference/genericTypeWithMultipleBases3.types b/tests/baselines/reference/genericTypeWithMultipleBases3.types index 521e3c990d827..aaf724a8e2703 100644 --- a/tests/baselines/reference/genericTypeWithMultipleBases3.types +++ b/tests/baselines/reference/genericTypeWithMultipleBases3.types @@ -5,7 +5,7 @@ interface IA { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -15,7 +15,7 @@ interface IB { bar(x: T): T; >bar : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.types b/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.types index b33b7590f4e32..5899341ff4f8d 100644 --- a/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.types +++ b/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.types @@ -18,7 +18,7 @@ class X implements I { f(a: T): void { } >f : (a: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ } diff --git a/tests/baselines/reference/genericUnboundedTypeParamAssignability.types b/tests/baselines/reference/genericUnboundedTypeParamAssignability.types index b16c977c69e31..9b230ca52465e 100644 --- a/tests/baselines/reference/genericUnboundedTypeParamAssignability.types +++ b/tests/baselines/reference/genericUnboundedTypeParamAssignability.types @@ -3,7 +3,7 @@ === genericUnboundedTypeParamAssignability.ts === function f1(o: T) { >f1 : (o: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >o : T > : ^ @@ -20,7 +20,7 @@ function f1(o: T) { function f2(o: T) { >f2 : (o: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >o : T > : ^ @@ -37,7 +37,7 @@ function f2(o: T) { function f3>(o: T) { >f3 : >(o: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >o : T > : ^ @@ -54,7 +54,7 @@ function f3>(o: T) { function user(t: T) { >user : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.types b/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.types index 12a46e2219d02..03727dee6cb54 100644 --- a/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.types +++ b/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.types @@ -4,7 +4,7 @@ interface B { f(): B; >f : () => B -> : ^^^^^^^ +> : ^^^^^^ (value: T): void; >value : T diff --git a/tests/baselines/reference/genericWithOpenTypeParameters1.types b/tests/baselines/reference/genericWithOpenTypeParameters1.types index 34da29fd888cb..373901f5f3ce9 100644 --- a/tests/baselines/reference/genericWithOpenTypeParameters1.types +++ b/tests/baselines/reference/genericWithOpenTypeParameters1.types @@ -7,7 +7,7 @@ class B { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -30,9 +30,9 @@ x.foo(1); // no error var f = (x: B) => { return x.foo(1); } // error >f : (x: B) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: B) => { return x.foo(1); } : (x: B) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : B > : ^^^^ >x.foo(1) : T @@ -48,9 +48,9 @@ var f = (x: B) => { return x.foo(1); } // error var f2 = (x: B) => { return x.foo(1); } // error >f2 : (x: B) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: B) => { return x.foo(1); } : (x: B) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : B > : ^^^^ >x.foo(1) : T @@ -66,9 +66,9 @@ var f2 = (x: B) => { return x.foo(1); } // error var f3 = (x: B) => { return x.foo(1); } // error >f3 : (x: B) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: B) => { return x.foo(1); } : (x: B) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : B > : ^^^^ >x.foo(1) : T @@ -84,9 +84,9 @@ var f3 = (x: B) => { return x.foo(1); } // error var f4 = (x: B) => { return x.foo(1); } // no error >f4 : (x: B) => number -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(x: B) => { return x.foo(1); } : (x: B) => number -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : B > : ^^^^^^^^^ >x.foo(1) : number diff --git a/tests/baselines/reference/genericsAndHigherOrderFunctions.types b/tests/baselines/reference/genericsAndHigherOrderFunctions.types index f4a515dfe4514..0c46666380da6 100644 --- a/tests/baselines/reference/genericsAndHigherOrderFunctions.types +++ b/tests/baselines/reference/genericsAndHigherOrderFunctions.types @@ -5,15 +5,15 @@ var combine: (f: (_: T) => S) => >combine : (f: (_: T) => S) => (g: (_: U) => T) => (x: U) => S -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >f : (_: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : T > : ^ (g: (_: U) => T) => >g : (_: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : U > : ^ @@ -23,23 +23,23 @@ var combine: (f: (_: T) => S) => = (f: (_: T) => S) => >(f: (_: T) => S) => (g: (_: U) => T) => (x: U) => f(g(x)) : (f: (_: T) => S) => (g: (_: U) => T) => (x: U) => S -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >f : (_: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : T > : ^ (g: (_: U) => T) => >(g: (_: U) => T) => (x: U) => f(g(x)) : (g: (_: U) => T) => (x: U) => S -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ ^^^^^^ >g : (_: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : U > : ^ (x: U) => f(g(x)) >(x: U) => f(g(x)) : (x: U) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : U > : ^ >f(g(x)) : S @@ -55,17 +55,17 @@ var combine: (f: (_: T) => S) => var foo: (g: (x: K) => N) => >foo : (g: (x: K) => N) => (h: (_: (_: K) => (_: M) => M) => (_: M) => M) => (f: (_: N) => (_: R) => R) => (_: R) => R -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >g : (x: K) => N -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : K > : ^ (h: (_: (_: K) => (_: M) => M) => (_: M) => M) => >h : (_: (_: K) => (_: M) => M) => (_: M) => M -> : ^^^^^^^ ^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >_ : (_: K) => (_: M) => M -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >_ : K > : ^ >_ : M @@ -75,7 +75,7 @@ var foo: (g: (x: K) => N) => (f: (_: N) => (_: R) => R) => (_: R) => R >f : (_: N) => (_: R) => R -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >_ : N > : ^ >_ : R @@ -85,19 +85,19 @@ var foo: (g: (x: K) => N) => = (g: (x: K) => N) => >(g: (x: K) => N) => (h: (_: (_: K) => (_: M) => M) => (_: M) => M) => (f: (_: N) => (_: R) => R) => h(combine(f)(g)) : (g: (x: K) => N) => (h: (_: (_: K) => (_: M) => M) => (_: M) => M) => (f: (_: N) => (_: R) => R) => (_: R) => R -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ >g : (x: K) => N -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : K > : ^ (h: (_: (_: K) => (_: M) => M) => (_: M) => M) => >(h: (_: (_: K) => (_: M) => M) => (_: M) => M) => (f: (_: N) => (_: R) => R) => h(combine(f)(g)) : (h: (_: (_: K) => (_: M) => M) => (_: M) => M) => (f: (_: N) => (_: R) => R) => (_: R) => R -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ >h : (_: (_: K) => (_: M) => M) => (_: M) => M -> : ^^^^^^^ ^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >_ : (_: K) => (_: M) => M -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >_ : K > : ^ >_ : M @@ -107,9 +107,9 @@ var foo: (g: (x: K) => N) => (f: (_: N) => (_: R) => R) => h(combine(f)(g)) >(f: (_: N) => (_: R) => R) => h(combine(f)(g)) : (f: (_: N) => (_: R) => R) => (_: R) => R -> : ^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^ >f : (_: N) => (_: R) => R -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >_ : N > : ^ >_ : R diff --git a/tests/baselines/reference/genericsManyTypeParameters.types b/tests/baselines/reference/genericsManyTypeParameters.types index 3d1ffe8799ce7..afbc172e562ef 100644 --- a/tests/baselines/reference/genericsManyTypeParameters.types +++ b/tests/baselines/reference/genericsManyTypeParameters.types @@ -8,7 +8,7 @@ Symbol count: 25,500 / 25,500 (nearest 500) === genericsManyTypeParameters.ts === function Foo< >Foo : (x1: a1, y1: a21, z1: a31, a1: a41, b1: a51, c1: a61, x2: a119, y2: a22, z2: a32, a2: a42, b2: a52, c2: a62, x3: a219, y3: a23, z3: a33, a3: a43, b3: a53, c3: a63, x4: a319, y4: a24, z4: a34, a4: a44, b4: a54, c4: a64, x5: a419, y5: a25, z5: a35, a5: a45, b5: a55, c5: a65, x6: a519, y6: a26, z6: a36, a6: a46, b6: a56, c6: a66, x7: a619, y7: a27, z7: a37, a7: a47, b7: a57, c7: a67, x8: a71, y8: a28, z8: a38, a8: a48, b8: a58, c8: a68, x9: a81, y9: a29, z9: a39, a9: a49, b9: a59, c9: a69, x10: a91, y12: a210, z10: a310, a10: a410, b10: a510, c10: a610, x11: a111, y13: a211, z11: a311, a11: a411, b11: a511, c11: a611, x12: a112, y14: a212, z12: a312, a12: a412, b12: a512, c12: a612, x13: a113, y15: a213, z13: a313, a13: a413, b13: a513, c13: a613, x14: a114, y16: a214, z14: a314, a14: a414, b14: a514, c14: a614, x15: a115, y17: a215, z15: a315, a15: a415, b15: a515, c15: a615, x16: a116, y18: a216, z16: a316, a16: a416, b16: a516, c16: a616, x17: a117, y19: a217, z17: a317, a17: a417, b17: a517, c17: a617, x18: a118, y10: a218, z18: a318, a18: a418, b18: a518, c18: a618) => (a1 | a21 | a31 | a41 | a51 | a61 | a119 | a22 | a32 | a42 | a52 | a62 | a219 | a23 | a33 | a43 | a53 | a63 | a319 | a24 | a34 | a44 | a54 | a64 | a419 | a25 | a35 | a45 | a55 | a65 | a519 | a26 | a36 | a46 | a56 | a66 | a619 | a27 | a37 | a47 | a57 | a67 | a71 | a28 | a38 | a48 | a58 | a68 | a81 | a29 | a39 | a49 | a59 | a69 | a91 | a210 | a310 | a410 | a510 | a610 | a111 | a211 | a311 | a411 | a511 | a611 | a112 | a212 | a312 | a412 | a512 | a612 | a113 | a213 | a313 | a413 | a513 | a613 | a114 | a214 | a314 | a414 | a514 | a614 | a115 | a215 | a315 | a415 | a515 | a615 | a116 | a216 | a316 | a416 | a516 | a616 | a117 | a217 | a317 | a417 | a517 | a617 | a118 | a218 | a318 | a418 | a518 | a618)[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ a1, a21, a31, a41, a51, a61, a119, a22, a32, a42, a52, a62, diff --git a/tests/baselines/reference/genericsWithDuplicateTypeParameters1.types b/tests/baselines/reference/genericsWithDuplicateTypeParameters1.types index 5d0f78a5303ea..142083765f5a7 100644 --- a/tests/baselines/reference/genericsWithDuplicateTypeParameters1.types +++ b/tests/baselines/reference/genericsWithDuplicateTypeParameters1.types @@ -7,7 +7,7 @@ function f() { } function f2(a: X, b: X): X { return null; } >f2 : (a: X, b: X) => X -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : X @@ -23,7 +23,7 @@ class C { public f2(a: X, b: X): X { return null; } >f2 : (a: X, b: X) => X -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : X @@ -37,7 +37,7 @@ interface I { f2(a: X, b: X): X; >f2 : (a: X, b: X) => X -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : X @@ -46,9 +46,9 @@ interface I { var m = { >m : { a: () => void; b: (a: X_1, b: X_1) => X_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ a: function f() {}, b: function f2(a: X, b: X): X { return null; }} : { a: () => void; b: (a: X_1, b: X_1) => X_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ a: function f() {}, >a : () => void @@ -60,11 +60,11 @@ var m = { b: function f2(a: X, b: X): X { return null; } >b : (a: X, b: X) => X -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >function f2(a: X, b: X): X { return null; } : (a: X, b: X) => X -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >f2 : (a: X, b: X) => X -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : X diff --git a/tests/baselines/reference/genericsWithoutTypeParameters1.types b/tests/baselines/reference/genericsWithoutTypeParameters1.types index 600791fa13c68..2602ee9367b68 100644 --- a/tests/baselines/reference/genericsWithoutTypeParameters1.types +++ b/tests/baselines/reference/genericsWithoutTypeParameters1.types @@ -7,13 +7,13 @@ class C { foo(): T { return null } >foo : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I { bar(): T; >bar : () => T -> : ^^^^^^^ +> : ^^^^^^ } var c1: C; @@ -42,7 +42,7 @@ function foo(x: C, y: I) { } function foo2(x: C, y: I) { } >foo2 : (x: C, y: I) => void -> : ^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^ >y : I @@ -107,7 +107,7 @@ class A { } function f(x: T): A { >f : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.types b/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.types index 18dd1445d9e48..3c4dcb94bfcab 100644 --- a/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.types +++ b/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.types @@ -43,7 +43,7 @@ declare class _ { each(iterator: _.ListIterator, context?: any): void; >each : (iterator: _.ListIterator, context?: any) => void -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : _.ListIterator > : ^^^^^^^^^^^^^^^^^^^^^^^ >_ : any diff --git a/tests/baselines/reference/getParameterNameAtPosition.types b/tests/baselines/reference/getParameterNameAtPosition.types index c09079aef9ee1..bd20395dcb492 100644 --- a/tests/baselines/reference/getParameterNameAtPosition.types +++ b/tests/baselines/reference/getParameterNameAtPosition.types @@ -19,15 +19,15 @@ type Tester = (opts: any, done: (...args: any[]) => any) => any; declare function cases(tester: Tester): void; >cases : (tester: Tester) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >tester : Tester > : ^^^^^^ declare function fn(implementation?: (...args: Y) => any): Mock; >fn : (implementation?: (...args: Y) => any) => Mock -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >implementation : ((...args: Y) => any) | undefined -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >args : Y > : ^ diff --git a/tests/baselines/reference/globalFunctionAugmentationOverload.types b/tests/baselines/reference/globalFunctionAugmentationOverload.types index b4de8d8fd1c93..6d66c6199f071 100644 --- a/tests/baselines/reference/globalFunctionAugmentationOverload.types +++ b/tests/baselines/reference/globalFunctionAugmentationOverload.types @@ -3,7 +3,7 @@ === mod.d.ts === declare function expect(spy: Function): void; >expect : { (spy: Function): void; (element: string): void; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >spy : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/heterogeneousArrayLiterals.types b/tests/baselines/reference/heterogeneousArrayLiterals.types index 21044a0a93716..8031735d88db5 100644 --- a/tests/baselines/reference/heterogeneousArrayLiterals.types +++ b/tests/baselines/reference/heterogeneousArrayLiterals.types @@ -421,7 +421,7 @@ module WithContextualType { var d: { (): Base }[] = [() => derived, () => derived2]; >d : (() => Base)[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >[() => derived, () => derived2] : ((() => Derived) | (() => Derived2))[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => derived : () => Derived @@ -436,7 +436,7 @@ module WithContextualType { function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -513,7 +513,7 @@ function foo(t: T, u: U) { function foo2(t: T, u: U) { >foo2 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -630,7 +630,7 @@ function foo2(t: T, u: U) { function foo3(t: T, u: U) { >foo3 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -747,7 +747,7 @@ function foo3(t: T, u: U) { function foo4(t: T, u: U) { >foo4 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/higherOrderMappedIndexLookupInference.types b/tests/baselines/reference/higherOrderMappedIndexLookupInference.types index e9cde985aecd3..64765c5cccd90 100644 --- a/tests/baselines/reference/higherOrderMappedIndexLookupInference.types +++ b/tests/baselines/reference/higherOrderMappedIndexLookupInference.types @@ -5,11 +5,11 @@ function f1(a: () => keyof T, b: () => keyof U) { >f1 : (a: () => keyof T, b: () => keyof U) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ >a : () => keyof T -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >b : () => keyof U -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ a = b; >a = b : () => keyof U @@ -30,11 +30,11 @@ function f1(a: () => keyof T, b: () => keyof U) { function f2(a: () => T[K], b: () => U[L]) { >f2 : (a: () => T[K], b: () => U[L]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : () => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ >b : () => U[L] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ a = b; >a = b : () => U[L] @@ -55,11 +55,11 @@ function f2(a: () => T[K], b: () => function f3(a: () => { [K in keyof T]: T[K] }, b: () => { [K in keyof U]: U[K] }) { >f3 : (a: () => { [K in keyof T]: T[K]; }, b: () => { [K_1 in keyof U]: U[K_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : () => { [K in keyof T]: T[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >b : () => { [K in keyof U]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ a = b; >a = b : () => { [K in keyof U]: U[K]; } @@ -86,11 +86,11 @@ type IdMapped = { [K in keyof T]: T[K] } declare const f: () => IdMapped; >f : () => IdMapped -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ declare const g: () => { [K in keyof U]: U[K] }; >g : () => { [K in keyof U]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ const h: typeof g = f; >h : () => { [K in keyof U]: U[K]; } diff --git a/tests/baselines/reference/homomorphicMappedTypeIntersectionAssignability.types b/tests/baselines/reference/homomorphicMappedTypeIntersectionAssignability.types index 81021447b675b..d255bf2705187 100644 --- a/tests/baselines/reference/homomorphicMappedTypeIntersectionAssignability.types +++ b/tests/baselines/reference/homomorphicMappedTypeIntersectionAssignability.types @@ -3,7 +3,7 @@ === homomorphicMappedTypeIntersectionAssignability.ts === function f( >f : (a: { weak?: string; } & Readonly & { name: "ok"; }, b: Readonly, c: Readonly & { name: string; }) => void -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ a: { weak?: string } & Readonly & { name: "ok" }, >a : { weak?: string | undefined; } & Readonly & { name: "ok"; } diff --git a/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types b/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types index 38b49e3e80f43..39571d8e75124 100644 --- a/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types +++ b/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types @@ -15,12 +15,12 @@ type HandleOptions = { declare function func1< >func1 : >(fields: { [K in keyof T]: { label: string; options: [...HandleOptions]; }; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ T extends Record, >(fields: { >fields : { [K in keyof T]: { label: string; options: [...HandleOptions]; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [K in keyof T]: { label: string; diff --git a/tests/baselines/reference/icomparable.types b/tests/baselines/reference/icomparable.types index e47d0093d17c4..b0cf2326075d3 100644 --- a/tests/baselines/reference/icomparable.types +++ b/tests/baselines/reference/icomparable.types @@ -4,14 +4,14 @@ interface IComparable { compareTo(other: T); >compareTo : (other: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >other : T > : ^ } declare function sort>(items: U[]): U[]; >sort : >(items: U[]) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >items : U[] > : ^^^ diff --git a/tests/baselines/reference/identicalCallSignatures.types b/tests/baselines/reference/identicalCallSignatures.types index 7aba80427de89..91e7ac708995a 100644 --- a/tests/baselines/reference/identicalCallSignatures.types +++ b/tests/baselines/reference/identicalCallSignatures.types @@ -31,7 +31,7 @@ interface I2 { var a: { >a : { (x: any): number; (x: any): number; (x: T): T; (x: T_1): T_1; } -> : ^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^ (x): number; >x : any diff --git a/tests/baselines/reference/identicalGenericConditionalsWithInferRelated.types b/tests/baselines/reference/identicalGenericConditionalsWithInferRelated.types index 5571fd7a31f56..2e70a5d9c5a51 100644 --- a/tests/baselines/reference/identicalGenericConditionalsWithInferRelated.types +++ b/tests/baselines/reference/identicalGenericConditionalsWithInferRelated.types @@ -3,7 +3,7 @@ === identicalGenericConditionalsWithInferRelated.ts === function f(arg: X) { >f : (arg: X) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : X > : ^ @@ -62,7 +62,7 @@ export type MappedResult = interface X { decode>(ctor: C): MappedResult ? T : never> >decode : >(ctor: C) => MappedResult ? T : never> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >ctor : C > : ^ } @@ -73,7 +73,7 @@ class Y implements X { decode>(ctor: C): MappedResult ? T : never> { >decode : >(ctor: C) => MappedResult ? T : never> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >ctor : C > : ^ diff --git a/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.types b/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.types index 443e53a930062..38abec4f51f5d 100644 --- a/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.types +++ b/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.types @@ -73,7 +73,7 @@ interface FunctionComponent2

{ function needsComponentOfSomeProps3(...x: SomePropsClone[]): void {} >needsComponentOfSomeProps3 : (...x: SomePropsClone[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >x : SomePropsClone[] > : ^^^^^^^^^^^^^^^^ @@ -96,7 +96,7 @@ needsComponentOfSomeProps3({ renderAs: comp3 }); function needsComponentOfSomeProps2(...x: SomeProps[]): void {} >needsComponentOfSomeProps2 : (...x: SomeProps[]) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >x : SomeProps[] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/identityAndDivergentNormalizedTypes.types b/tests/baselines/reference/identityAndDivergentNormalizedTypes.types index 372c2f444c123..ef700788dcc6d 100644 --- a/tests/baselines/reference/identityAndDivergentNormalizedTypes.types +++ b/tests/baselines/reference/identityAndDivergentNormalizedTypes.types @@ -40,9 +40,9 @@ type PostBody = Extract["body"]; const post = ( >post : (path: PATH, { body, ...options }: Omit & { body: PostBody; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >( path: PATH, {body, ...options}: Omit & {body: PostBody}) => {} : (path: PATH, { body, ...options }: Omit & { body: PostBody; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ path: PATH, >path : PATH @@ -61,9 +61,9 @@ const post = ( const tmp = ( >tmp : (path: PATH, body: PostBody) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >( path: PATH, body: PostBody) => { post(path, { body })} : (path: PATH, body: PostBody) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ path: PATH, >path : PATH @@ -89,13 +89,13 @@ const tmp = ( function fx1

(x: { body: PostBody

}, y: { body: PostBody

}) { >fx1 :

(x: { body: PostBody

; }, y: { body: PostBody

; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^ ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : { body: PostBody

; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^ >body : PostBody

> : ^^^^^^^^^^^ >y : { body: PostBody

; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^ >body : PostBody

> : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.types b/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.types index c609781e03f1a..04a4d13df9cfc 100644 --- a/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.types +++ b/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.types @@ -3,7 +3,7 @@ === identityForSignaturesWithTypeParametersAndAny.ts === var f: (x: T, y: U) => T; >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -19,7 +19,7 @@ var f: (x: any, y: any) => any; var g: (x: T, y: U) => T; >g : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -35,7 +35,7 @@ var g: (x: any, y: any) => any; var h: (x: T, y: U) => T; >h : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -51,7 +51,7 @@ var h: (x: any, y: any) => any; var i: (x: T, y: U) => T; >i : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -67,7 +67,7 @@ var i: (x: any, y: string) => any; var j: (x: T, y: U) => T; >j : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.types b/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.types index 40108934ba0f2..07db02877ef0c 100644 --- a/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.types +++ b/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.types @@ -3,7 +3,7 @@ === identityForSignaturesWithTypeParametersSwitched.ts === var f: (x: T, y: U) => T; >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/identityRelationNeverTypes.types b/tests/baselines/reference/identityRelationNeverTypes.types index 33a6e9335eb39..8519db7860eb7 100644 --- a/tests/baselines/reference/identityRelationNeverTypes.types +++ b/tests/baselines/reference/identityRelationNeverTypes.types @@ -25,7 +25,7 @@ declare class State { matches(stateValue: TSV): this is State & { value: TSV }; >matches : (stateValue: TSV) => this is State & { value: TSV; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >stateValue : TSV > : ^^^ >value : TSV @@ -34,7 +34,7 @@ declare class State { function f1(state: State<{ foo: number }>) { >f1 : (state: State<{ foo: number; }>) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >state : State<{ foo: number; }> > : ^^^^^^^^^^^^^ ^^^^ >foo : number diff --git a/tests/baselines/reference/ifDoWhileStatements.types b/tests/baselines/reference/ifDoWhileStatements.types index e02e91640d649..8fc9b65939a36 100644 --- a/tests/baselines/reference/ifDoWhileStatements.types +++ b/tests/baselines/reference/ifDoWhileStatements.types @@ -542,7 +542,7 @@ do { }while(k) function fn(x?: string): I { return null; } >fn : (x?: string) => I -> : ^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/ignoredJsxAttributes.types b/tests/baselines/reference/ignoredJsxAttributes.types index a8700473c230b..c1c13e5e66086 100644 --- a/tests/baselines/reference/ignoredJsxAttributes.types +++ b/tests/baselines/reference/ignoredJsxAttributes.types @@ -27,7 +27,7 @@ interface Props { declare function Yadda(props: Props): JSX.Element; >Yadda : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : Props > : ^^^^^ >JSX : any diff --git a/tests/baselines/reference/illegalGenericWrapping1.types b/tests/baselines/reference/illegalGenericWrapping1.types index 28dfd9eaf4ed5..173800ef50221 100644 --- a/tests/baselines/reference/illegalGenericWrapping1.types +++ b/tests/baselines/reference/illegalGenericWrapping1.types @@ -4,33 +4,33 @@ interface Sequence { each(iterator: (value: T) => void ): void; >each : (iterator: (value: T) => void) => void -> : ^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >iterator : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ map(iterator: (value: T) => U): Sequence; >map : (iterator: (value: T) => U) => Sequence -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >iterator : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ filter(iterator: (value: T) => boolean): Sequence; >filter : (iterator: (value: T) => boolean) => Sequence -> : ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ >iterator : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ groupBy(keySelector: (value: T) => K): Sequence<{ key: K; items: Sequence; }>; >groupBy : (keySelector: (value: T) => K) => Sequence<{ key: K; items: Sequence; }> -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : (value: T) => K -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >key : K diff --git a/tests/baselines/reference/implementArrayInterface.types b/tests/baselines/reference/implementArrayInterface.types index 89d99b9b441da..86846c8abb284 100644 --- a/tests/baselines/reference/implementArrayInterface.types +++ b/tests/baselines/reference/implementArrayInterface.types @@ -15,13 +15,13 @@ declare class MyArray implements Array { concat(...items: U[]): T[]; >concat : { (...items: U[]): T[]; (...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >items : U[] > : ^^^ concat(...items: T[]): T[]; >concat : { (...items: U[]): T[]; (...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >items : T[] > : ^^^ @@ -33,25 +33,25 @@ declare class MyArray implements Array { pop(): T; >pop : () => T -> : ^^^^^^^ +> : ^^^^^^ push(...items: T[]): number; >push : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ reverse(): T[]; >reverse : () => T[] -> : ^^^^^^^ +> : ^^^^^^ shift(): T; >shift : () => T -> : ^^^^^^^ +> : ^^^^^^ slice(start?: number, end?: number): T[]; >slice : (start?: number, end?: number) => T[] -> : ^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >end : number @@ -59,9 +59,9 @@ declare class MyArray implements Array { sort(compareFn?: (a: T, b: T) => number): this; >sort : (compareFn?: (a: T, b: T) => number) => this -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >compareFn : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -69,13 +69,13 @@ declare class MyArray implements Array { splice(start: number): T[]; >splice : { (start: number): T[]; (start: number, deleteCount: number, ...items: T[]): T[]; } -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >start : number > : ^^^^^^ splice(start: number, deleteCount: number, ...items: T[]): T[]; >splice : { (start: number): T[]; (start: number, deleteCount: number, ...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >start : number > : ^^^^^^ >deleteCount : number @@ -85,13 +85,13 @@ declare class MyArray implements Array { unshift(...items: T[]): number; >unshift : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ indexOf(searchElement: T, fromIndex?: number): number; >indexOf : (searchElement: T, fromIndex?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >searchElement : T > : ^ >fromIndex : number @@ -99,7 +99,7 @@ declare class MyArray implements Array { lastIndexOf(searchElement: T, fromIndex?: number): number; >lastIndexOf : (searchElement: T, fromIndex?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >searchElement : T > : ^ >fromIndex : number @@ -107,9 +107,9 @@ declare class MyArray implements Array { every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; >every : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -120,9 +120,9 @@ declare class MyArray implements Array { some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; >some : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -133,9 +133,9 @@ declare class MyArray implements Array { forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; >forEach : (callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -146,9 +146,9 @@ declare class MyArray implements Array { map(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; >map : (callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[] -> : ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -159,9 +159,9 @@ declare class MyArray implements Array { filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[]; >filter : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => T[] -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callbackfn : (value: T, index: number, array: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >value : T > : ^ >index : number @@ -172,9 +172,9 @@ declare class MyArray implements Array { reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; >reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : T > : ^ >currentValue : T @@ -188,9 +188,9 @@ declare class MyArray implements Array { reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; >reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : U > : ^ >currentValue : T @@ -204,9 +204,9 @@ declare class MyArray implements Array { reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; >reduceRight : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : T > : ^ >currentValue : T @@ -220,9 +220,9 @@ declare class MyArray implements Array { reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; >reduceRight : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; (callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >previousValue : U > : ^ >currentValue : T diff --git a/tests/baselines/reference/implementGenericWithMismatchedTypes.types b/tests/baselines/reference/implementGenericWithMismatchedTypes.types index ffc84f03b41d3..df861afabef4e 100644 --- a/tests/baselines/reference/implementGenericWithMismatchedTypes.types +++ b/tests/baselines/reference/implementGenericWithMismatchedTypes.types @@ -7,7 +7,7 @@ interface IFoo { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -28,7 +28,7 @@ class C implements IFoo { // error interface IFoo2 { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -38,7 +38,7 @@ class C2 implements IFoo2 { // error foo(x: Tstring): number { >foo : (x: Tstring) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Tstring > : ^^^^^^^ diff --git a/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.types b/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.types index 2ad53f942670a..e6ed6db74b394 100644 --- a/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.types +++ b/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.types @@ -19,7 +19,7 @@ var x: { y; z; } // error at "y,z" var x1: { y1: C; z1; }; // error at "z1" >x1 : { y1: C; z1: any; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ >y1 : C > : ^ >z1 : any @@ -54,7 +54,7 @@ var bar: { a: number; b: number }; var foo: { littleC: C; c: string }; >foo : { littleC: C; c: string; } -> : ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^ >littleC : C > : ^ >c : string diff --git a/tests/baselines/reference/implicitAnyFromCircularInference.types b/tests/baselines/reference/implicitAnyFromCircularInference.types index 2542bf14c7a40..8e9f29c348fac 100644 --- a/tests/baselines/reference/implicitAnyFromCircularInference.types +++ b/tests/baselines/reference/implicitAnyFromCircularInference.types @@ -104,7 +104,7 @@ interface A { function foo(x: A): string { return "abc"; } >foo : (x: A) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : A > : ^ >"abc" : "abc" diff --git a/tests/baselines/reference/implicitAnyGenericTypeInference.types b/tests/baselines/reference/implicitAnyGenericTypeInference.types index 5b9da18883229..6d449a74dff50 100644 --- a/tests/baselines/reference/implicitAnyGenericTypeInference.types +++ b/tests/baselines/reference/implicitAnyGenericTypeInference.types @@ -4,7 +4,7 @@ interface Comparer { compareTo(x: T, y: U): U; >compareTo : (x: T, y: U) => U -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/implicitAnyGenerics.types b/tests/baselines/reference/implicitAnyGenerics.types index b16a4aef11978..b33477a8d1715 100644 --- a/tests/baselines/reference/implicitAnyGenerics.types +++ b/tests/baselines/reference/implicitAnyGenerics.types @@ -100,7 +100,7 @@ var d5: D = new D(null); function foo(): T { return null; }; >foo : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ foo() >foo() : unknown diff --git a/tests/baselines/reference/implicitIndexSignatures.types b/tests/baselines/reference/implicitIndexSignatures.types index 08ec8973560e4..4b2943c68ca2d 100644 --- a/tests/baselines/reference/implicitIndexSignatures.types +++ b/tests/baselines/reference/implicitIndexSignatures.types @@ -93,7 +93,7 @@ map = names2; declare function getStringIndexValue(map: { [x: string]: T }): T; >getStringIndexValue : (map: { [x: string]: T; }) => T -> : ^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >map : { [x: string]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : string @@ -101,7 +101,7 @@ declare function getStringIndexValue(map: { [x: string]: T }): T; declare function getNumberIndexValue(map: { [x: number]: T }): T; >getNumberIndexValue : (map: { [x: number]: T; }) => T -> : ^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >map : { [x: number]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/importCallExpression2ES2020.types b/tests/baselines/reference/importCallExpression2ES2020.types index 912de1c9ecda4..9ca3ad3ff8a99 100644 --- a/tests/baselines/reference/importCallExpression2ES2020.types +++ b/tests/baselines/reference/importCallExpression2ES2020.types @@ -15,7 +15,7 @@ export class B { === 2.ts === function foo(x: Promise) { >foo : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importCallExpressionInAMD2.types b/tests/baselines/reference/importCallExpressionInAMD2.types index d934a7e363099..17a572a2fa709 100644 --- a/tests/baselines/reference/importCallExpressionInAMD2.types +++ b/tests/baselines/reference/importCallExpressionInAMD2.types @@ -16,7 +16,7 @@ export class B { // We use Promise for now as there is no way to specify shape of module object function foo(x: Promise) { >foo : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importCallExpressionInCJS2.types b/tests/baselines/reference/importCallExpressionInCJS2.types index e2e599d91366b..ce6a014d8038b 100644 --- a/tests/baselines/reference/importCallExpressionInCJS2.types +++ b/tests/baselines/reference/importCallExpressionInCJS2.types @@ -17,7 +17,7 @@ export function backup() { return "backup"; } === 2.ts === async function compute(promise: Promise) { >compute : (promise: Promise) => Promise -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >promise : Promise > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importCallExpressionInCJS3.types b/tests/baselines/reference/importCallExpressionInCJS3.types index 512319d5f59f0..1621d9f0e6c98 100644 --- a/tests/baselines/reference/importCallExpressionInCJS3.types +++ b/tests/baselines/reference/importCallExpressionInCJS3.types @@ -16,7 +16,7 @@ export class B { // We use Promise for now as there is no way to specify shape of module object function foo(x: Promise) { >foo : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importCallExpressionInSystem2.types b/tests/baselines/reference/importCallExpressionInSystem2.types index 78adec0c6bb39..b4584afe42f28 100644 --- a/tests/baselines/reference/importCallExpressionInSystem2.types +++ b/tests/baselines/reference/importCallExpressionInSystem2.types @@ -16,7 +16,7 @@ export class B { // We use Promise for now as there is no way to specify shape of module object function foo(x: Promise) { >foo : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importCallExpressionInUMD2.types b/tests/baselines/reference/importCallExpressionInUMD2.types index 5c3ea14e2af5b..80825c72cdab6 100644 --- a/tests/baselines/reference/importCallExpressionInUMD2.types +++ b/tests/baselines/reference/importCallExpressionInUMD2.types @@ -16,7 +16,7 @@ export class B { // We use Promise for now as there is no way to specify shape of module object function foo(x: Promise) { >foo : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importDecl.types b/tests/baselines/reference/importDecl.types index 7ade6b1e3bbfb..34c0f7121bc26 100644 --- a/tests/baselines/reference/importDecl.types +++ b/tests/baselines/reference/importDecl.types @@ -266,7 +266,7 @@ export var x: d; export function foo(): d { return null; } >foo : () => d -> : ^^^^^^^ +> : ^^^^^^ === importDecl_require1.ts === export class d { @@ -283,7 +283,7 @@ var x: d; export function foo(): d { return null; } >foo : () => d -> : ^^^^^^^ +> : ^^^^^^ === importDecl_require2.ts === export class d { @@ -300,7 +300,7 @@ export var x: d; export function foo(): d { return null; } >foo : () => d -> : ^^^^^^^ +> : ^^^^^^ === importDecl_require3.ts === export class d { @@ -317,7 +317,7 @@ export var x: d; export function foo(): d { return null; } >foo : () => d -> : ^^^^^^^ +> : ^^^^^^ === importDecl_require4.ts === import m4 = require("./importDecl_require"); @@ -326,7 +326,7 @@ import m4 = require("./importDecl_require"); export function foo2(): m4.d { return null; } >foo2 : () => m4.d -> : ^^^^^^^^ +> : ^^^^^^ >m4 : any > : ^^^ diff --git a/tests/baselines/reference/importElisionExportNonExportAndDefault.types b/tests/baselines/reference/importElisionExportNonExportAndDefault.types index 19333a866da15..8d73f67003998 100644 --- a/tests/baselines/reference/importElisionExportNonExportAndDefault.types +++ b/tests/baselines/reference/importElisionExportNonExportAndDefault.types @@ -23,9 +23,9 @@ interface MyFunction { msg: string; } export const MyFunction = ({ msg }: MyFunction) => console.log(`Got message "${msg}"`); >MyFunction : ({ msg }: MyFunction) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >({ msg }: MyFunction) => console.log(`Got message "${msg}"`) : ({ msg }: MyFunction) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >msg : string > : ^^^^^^ >console.log(`Got message "${msg}"`) : void diff --git a/tests/baselines/reference/importHelpers.types b/tests/baselines/reference/importHelpers.types index 23e69a73706d8..c69730072128d 100644 --- a/tests/baselines/reference/importHelpers.types +++ b/tests/baselines/reference/importHelpers.types @@ -32,7 +32,7 @@ class C { function id(x: T) { >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -83,7 +83,7 @@ class C { function id(x: T) { >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ @@ -105,7 +105,7 @@ const result = id`hello world`; === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -120,7 +120,7 @@ export declare function __assign(t: any, ...sources: any[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -130,7 +130,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -138,13 +138,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function @@ -154,7 +154,7 @@ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, ge export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; >__makeTemplateObject : (cooked: string[], raw: string[]) => TemplateStringsArray -> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^ >cooked : string[] > : ^^^^^^^^ >raw : string[] diff --git a/tests/baselines/reference/importHelpersAmd.types b/tests/baselines/reference/importHelpersAmd.types index 6655564dfcf58..90c644c154afb 100644 --- a/tests/baselines/reference/importHelpersAmd.types +++ b/tests/baselines/reference/importHelpersAmd.types @@ -20,7 +20,7 @@ export class B extends A { } === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -42,7 +42,7 @@ export declare function __rest(t: any, propertyNames: string[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -52,7 +52,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -60,13 +60,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function @@ -76,7 +76,7 @@ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, ge export declare function __generator(thisArg: any, body: Function): any; >__generator : (thisArg: any, body: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >thisArg : any >body : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/importHelpersES6.types b/tests/baselines/reference/importHelpersES6.types index e4ca655f6c8de..7620c2b4450ad 100644 --- a/tests/baselines/reference/importHelpersES6.types +++ b/tests/baselines/reference/importHelpersES6.types @@ -62,7 +62,7 @@ const y = { ...o }; === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -70,7 +70,7 @@ export declare function __extends(d: Function, b: Function): void; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -80,7 +80,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -88,13 +88,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function diff --git a/tests/baselines/reference/importHelpersInAmbientContext.types b/tests/baselines/reference/importHelpersInAmbientContext.types index ca8ba62793102..875313edeef21 100644 --- a/tests/baselines/reference/importHelpersInAmbientContext.types +++ b/tests/baselines/reference/importHelpersInAmbientContext.types @@ -101,7 +101,7 @@ declare namespace N { === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -123,7 +123,7 @@ export declare function __rest(t: any, propertyNames: string[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -133,7 +133,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -141,13 +141,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function @@ -157,7 +157,7 @@ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, ge export declare function __generator(thisArg: any, body: Function): any; >__generator : (thisArg: any, body: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >thisArg : any >body : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/importHelpersInIsolatedModules.types b/tests/baselines/reference/importHelpersInIsolatedModules.types index 094047675eba7..4126bb2c370dd 100644 --- a/tests/baselines/reference/importHelpersInIsolatedModules.types +++ b/tests/baselines/reference/importHelpersInIsolatedModules.types @@ -63,7 +63,7 @@ class C { === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -78,7 +78,7 @@ export declare function __assign(t: any, ...sources: any[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -88,7 +88,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -96,13 +96,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function diff --git a/tests/baselines/reference/importHelpersInTsx.types b/tests/baselines/reference/importHelpersInTsx.types index c646affeaa1f2..d9c12ccd9dc05 100644 --- a/tests/baselines/reference/importHelpersInTsx.types +++ b/tests/baselines/reference/importHelpersInTsx.types @@ -31,7 +31,7 @@ const x = === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -46,7 +46,7 @@ export declare function __assign(t: any, ...sources: any[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -56,7 +56,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -64,13 +64,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function diff --git a/tests/baselines/reference/importHelpersOutFile.types b/tests/baselines/reference/importHelpersOutFile.types index 06e50b542fc89..da5228cca9b32 100644 --- a/tests/baselines/reference/importHelpersOutFile.types +++ b/tests/baselines/reference/importHelpersOutFile.types @@ -30,7 +30,7 @@ export class C extends A { } === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -45,7 +45,7 @@ export declare function __assign(t: any, ...sources: any[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -55,7 +55,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -63,13 +63,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function diff --git a/tests/baselines/reference/importHelpersSystem.types b/tests/baselines/reference/importHelpersSystem.types index 363fdd80d5ca2..c39fd17522755 100644 --- a/tests/baselines/reference/importHelpersSystem.types +++ b/tests/baselines/reference/importHelpersSystem.types @@ -20,7 +20,7 @@ export class B extends A { } === tslib.d.ts === export declare function __extends(d: Function, b: Function): void; >__extends : (d: Function, b: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >d : Function > : ^^^^^^^^ >b : Function @@ -35,7 +35,7 @@ export declare function __assign(t: any, ...sources: any[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; >__decorate : (decorators: Function[], target: any, key?: string | symbol, desc?: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >decorators : Function[] > : ^^^^^^^^^^ >target : any @@ -45,7 +45,7 @@ export declare function __decorate(decorators: Function[], target: any, key?: st export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >paramIndex : number > : ^^^^^^ >decorator : Function @@ -53,13 +53,13 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; >__metadata : (metadataKey: any, metadataValue: any) => Function -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >metadataKey : any >metadataValue : any export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >thisArg : any >_arguments : any >P : Function diff --git a/tests/baselines/reference/importShouldNotBeElidedInDeclarationEmit.types b/tests/baselines/reference/importShouldNotBeElidedInDeclarationEmit.types index b792f0b720a3b..babfefafb0358 100644 --- a/tests/baselines/reference/importShouldNotBeElidedInDeclarationEmit.types +++ b/tests/baselines/reference/importShouldNotBeElidedInDeclarationEmit.types @@ -16,7 +16,7 @@ export type Thing = { export declare function makeThing(): Thing; >makeThing : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ === index.ts === import { makeThing } from "umd"; diff --git a/tests/baselines/reference/importStatements.types b/tests/baselines/reference/importStatements.types index 8b47eee131ec6..ef0eaef462e50 100644 --- a/tests/baselines/reference/importStatements.types +++ b/tests/baselines/reference/importStatements.types @@ -116,7 +116,7 @@ module E { export function xDist(x: a.Point) { >xDist : (x: a.Point) => number -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : a.Point > : ^^^^^^^ >a : any diff --git a/tests/baselines/reference/importStatementsInterfaces.types b/tests/baselines/reference/importStatementsInterfaces.types index 508747c31b21e..eb46d9391b7ab 100644 --- a/tests/baselines/reference/importStatementsInterfaces.types +++ b/tests/baselines/reference/importStatementsInterfaces.types @@ -113,7 +113,7 @@ module E { export function xDist(x: a.Point3D) { >xDist : (x: a.Point3D) => number -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : a.Point3D > : ^^^^^^^^^ >a : any diff --git a/tests/baselines/reference/importTypeGeneric.types b/tests/baselines/reference/importTypeGeneric.types index afc5f5ee0e2ea..2513661cc1e83 100644 --- a/tests/baselines/reference/importTypeGeneric.types +++ b/tests/baselines/reference/importTypeGeneric.types @@ -15,7 +15,7 @@ export interface Foo { === usage.ts === export function getFooFrom(v: T): import(T).Foo { >getFooFrom : (v: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >v : T > : ^ @@ -28,7 +28,7 @@ export function getFooFrom(v: T): import(T).Foo { export function getFooValueFrom(v: T): import(T).Foo["a"] { >getFooValueFrom : (v: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >v : T > : ^ diff --git a/tests/baselines/reference/importTypeGenericArrowTypeParenthesized.types b/tests/baselines/reference/importTypeGenericArrowTypeParenthesized.types index 03c0cde6e2cda..df4619a0c6f88 100644 --- a/tests/baselines/reference/importTypeGenericArrowTypeParenthesized.types +++ b/tests/baselines/reference/importTypeGenericArrowTypeParenthesized.types @@ -9,7 +9,7 @@ declare module "module" { export function fn(x: T): Modifier; >fn : (x: T) => Modifier -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -20,13 +20,13 @@ import { fn } from "module"; export const fail1 = fn((x: T): T => x); >fail1 : import("module").Modifier<((x: T) => T)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ >fn((x: T): T => x) : import("module").Modifier<((x: T) => T)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ >fn : (x: T) => import("module").Modifier > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T): T => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -34,13 +34,13 @@ export const fail1 = fn((x: T): T => x); export const fail2 = fn(function(x: T): T { >fail2 : import("module").Modifier<((x: T) => T)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ >fn(function(x: T): T { return x;}) : import("module").Modifier<((x: T) => T)> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ >fn : (x: T) => import("module").Modifier > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(x: T): T { return x;} : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/importTypeGenericTypes.types b/tests/baselines/reference/importTypeGenericTypes.types index 8b0e011aa0383..db2338e7d72d3 100644 --- a/tests/baselines/reference/importTypeGenericTypes.types +++ b/tests/baselines/reference/importTypeGenericTypes.types @@ -128,7 +128,7 @@ export class Bar2 { item: {a: string, b: number, c: object, data: T}; >item : { a: string; b: number; c: object; data: T; } -> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^ >a : string > : ^^^^^^ >b : number diff --git a/tests/baselines/reference/importedAliasedConditionalTypeInstantiation.types b/tests/baselines/reference/importedAliasedConditionalTypeInstantiation.types index 2a9de017c3f37..0a189c85549c1 100644 --- a/tests/baselines/reference/importedAliasedConditionalTypeInstantiation.types +++ b/tests/baselines/reference/importedAliasedConditionalTypeInstantiation.types @@ -83,7 +83,7 @@ declare namespace lambdaTester { event(event: HandlerEvent): this; >event : (event: HandlerEvent) => this -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >event : HandlerEvent > : ^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/importingExportingTypes.types b/tests/baselines/reference/importingExportingTypes.types index 5fcb8772740a2..8296707726035 100644 --- a/tests/baselines/reference/importingExportingTypes.types +++ b/tests/baselines/reference/importingExportingTypes.types @@ -8,7 +8,7 @@ declare module "fs" { export interface WriteFileOptions {} export function writeFile(path: string, data: any, options: WriteFileOptions, callback: (err: Error) => void): void; >writeFile : (path: string, data: any, options: WriteFileOptions, callback: (err: Error) => void) => void -> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >path : string > : ^^^^^^ >data : any @@ -16,7 +16,7 @@ declare module "fs" { >options : WriteFileOptions > : ^^^^^^^^^^^^^^^^ >callback : (err: Error) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >err : Error > : ^^^^^ } diff --git a/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.types b/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.types index 4c5b325beb790..86aac03b3adf4 100644 --- a/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.types +++ b/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.types @@ -3,9 +3,9 @@ === inDoesNotOperateOnPrimitiveTypes.ts === const validHasKey = ( >validHasKey : (thing: T, key: string) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >( thing: T, key: string,): boolean => { return key in thing; // Ok} : (thing: T, key: string) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ thing: T, >thing : T @@ -28,9 +28,9 @@ const validHasKey = ( const alsoValidHasKey = ( >alsoValidHasKey : (thing: T, key: string) => boolean -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^ ^^^^^ >( thing: T, key: string,): boolean => { return key in thing; // Ok (as T may be instantiated with a valid type)} : (thing: T, key: string) => boolean -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^ ^^^^^ thing: T, >thing : T @@ -53,7 +53,7 @@ const alsoValidHasKey = ( function invalidHasKey( >invalidHasKey : (thing: T, key: string) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ thing: T, >thing : T @@ -75,7 +75,7 @@ function invalidHasKey( function union1(thing: T | U) { >union1 : (thing: T | U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : T | U > : ^^^^^ @@ -90,7 +90,7 @@ function union1(thing: T | U) { function union2(thing: T | U) { >union2 : (thing: T | U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : T | U > : ^^^^^ @@ -124,7 +124,7 @@ function union2(thing: T | U) { function union3(thing: T | string | number) { >union3 : (thing: T | string | number) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >thing : string | number | T > : ^^^^^^^^^^^^^^^^^^^ @@ -168,7 +168,7 @@ function union3(thing: T | string | number) { function union4(thing: T) { >union4 : (thing: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : T > : ^ @@ -183,7 +183,7 @@ function union4(thing: T) { function union5(p: T | U) { >union5 : (p: T | U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >p : T | U > : ^^^^^ @@ -225,7 +225,7 @@ function union5(p: T | U) function intersection1(thing: T & U) { >intersection1 : (thing: T & U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : T & U > : ^^^^^ @@ -240,7 +240,7 @@ function intersection1(thing: T & U) { function intersection2(thing: T & (0 | 1 | 2)) { >intersection2 : (thing: T & (0 | 1 | 2)) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >thing : T & (0 | 1 | 2) > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inKeywordAndIntersection.types b/tests/baselines/reference/inKeywordAndIntersection.types index 6bca3bfddb006..c361a8ab731e3 100644 --- a/tests/baselines/reference/inKeywordAndIntersection.types +++ b/tests/baselines/reference/inKeywordAndIntersection.types @@ -19,7 +19,7 @@ class B { b = 0 } function f10(obj: A & { x: string } | B) { >f10 : (obj: (A & { x: string; }) | B) => void -> : ^^^^^^^^ ^ ^^^^^^^^^^ +> : ^^^^^^^ ^ ^^^^^^^^^ >obj : B | (A & { x: string; }) > : ^^^^^^^^^^^^^^ ^^^^ >x : string @@ -68,9 +68,9 @@ const instance = {} as InstanceOne | InstanceTwo const ClassOne = {} as { new(): InstanceOne } & { foo: true }; >ClassOne : (new () => InstanceOne) & { foo: true; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ >{} as { new(): InstanceOne } & { foo: true } : (new () => InstanceOne) & { foo: true; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ >{} : {} > : ^^ >foo : true diff --git a/tests/baselines/reference/inKeywordAndUnknown.types b/tests/baselines/reference/inKeywordAndUnknown.types index 218723bef9bda..cfab062a2d813 100644 --- a/tests/baselines/reference/inKeywordAndUnknown.types +++ b/tests/baselines/reference/inKeywordAndUnknown.types @@ -122,7 +122,7 @@ function f1(x: unknown) { function f2(x: T) { >f2 : (x: T) => x is T & Object & Record<"a", unknown> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -172,7 +172,7 @@ function f3(x: {}) { function f4(x: T) { >f4 : (x: T) => x is T & Object & Record<"a", unknown> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -195,7 +195,7 @@ function f4(x: T) { function f5(x: T & {}) { >f5 : (x: T & {}) => x is T & Object & Record<"a", unknown> -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T & {} > : ^^^^^^ @@ -218,7 +218,7 @@ function f5(x: T & {}) { function f6(x: T & {}) { >f6 : (x: T & {}) => x is T & Object & Record<"a", unknown> -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -241,7 +241,7 @@ function f6(x: T & {}) { function f7(x: T & {}) { >f7 : (x: T & {}) => x is T & Record<"a", unknown> -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/inKeywordNarrowingWithNoUncheckedIndexedAccess.types b/tests/baselines/reference/inKeywordNarrowingWithNoUncheckedIndexedAccess.types index 614a6531dfdeb..4c641b8cd2de9 100644 --- a/tests/baselines/reference/inKeywordNarrowingWithNoUncheckedIndexedAccess.types +++ b/tests/baselines/reference/inKeywordNarrowingWithNoUncheckedIndexedAccess.types @@ -9,7 +9,7 @@ declare function invariant(condition: boolean): asserts condition; function f1(obj: Record) { >f1 : (obj: Record) => string -> : ^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -36,7 +36,7 @@ function f1(obj: Record) { function f2(obj: Record) { >f2 : (obj: Record) => string -> : ^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -63,7 +63,7 @@ function f2(obj: Record) { function f3(obj: Record) { >f3 : (obj: Record) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -104,7 +104,7 @@ function f3(obj: Record) { function f4(obj: Record) { >f4 : (obj: Record) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inKeywordTypeguard(strict=false).types b/tests/baselines/reference/inKeywordTypeguard(strict=false).types index 0827e30632262..66e9029f13236 100644 --- a/tests/baselines/reference/inKeywordTypeguard(strict=false).types +++ b/tests/baselines/reference/inKeywordTypeguard(strict=false).types @@ -15,7 +15,7 @@ class B { b: string; } function negativeClassesTest(x: A | B) { >negativeClassesTest : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -56,7 +56,7 @@ function negativeClassesTest(x: A | B) { function positiveClassesTest(x: A | B) { >positiveClassesTest : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -109,7 +109,7 @@ class BWithOptionalProp { b?: string; } function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithOptionalProp) { >positiveTestClassesWithOptionalProperties : (x: AWithOptionalProp | BWithOptionalProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithOptionalProp | BWithOptionalProp > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -172,7 +172,7 @@ class BWithMethod { function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) { >negativeTestClassesWithMembers : (x: AWithMethod | BWithMethod) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithMethod | BWithMethod > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -210,7 +210,7 @@ function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) { function negativeTestClassesWithMemberMissingInBothClasses(x: AWithMethod | BWithMethod) { >negativeTestClassesWithMemberMissingInBothClasses : (x: AWithMethod | BWithMethod) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithMethod | BWithMethod > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -279,7 +279,7 @@ class D { a: string; } function negativeMultipleClassesTest(x: A | B | C | D) { >negativeMultipleClassesTest : (x: A | B | C | D) => void -> : ^^^^^ ^ ^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B | C | D > : ^^^^^^^^^^^^^ @@ -326,7 +326,7 @@ class ClassWithUnionProp { prop: A | B } function negativePropTest(x: ClassWithUnionProp) { >negativePropTest : (x: ClassWithUnionProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : ClassWithUnionProp > : ^^^^^^^^^^^^^^^^^^ @@ -907,7 +907,7 @@ function f2(x: object) { function f3(x: T) { >f3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -1567,7 +1567,7 @@ function f15(x: { a?: string | undefined }) { function f16(x: typeof globalThis, y: Window & typeof globalThis) { >f16 : (x: typeof globalThis, y: Window & typeof globalThis) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >globalThis : typeof globalThis @@ -1590,7 +1590,7 @@ function f16(x: typeof globalThis, y: Window & typeof globalThis) { function foo(value: A) { >foo : (value: A) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >value : A > : ^ @@ -1656,7 +1656,7 @@ const checkIsTouchDevice = () => function isHTMLTable(table: T): boolean { >isHTMLTable : (table: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >table : T > : ^ @@ -1681,9 +1681,9 @@ function isHTMLTable(table: T): boolean { const f =

(a: P & {}) => { >f :

(a: P & {}) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >

(a: P & {}) => { "foo" in a;} :

(a: P & {}) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : P > : ^ @@ -1701,7 +1701,7 @@ const f =

(a: P & {}) => { function test1>(obj: T) { >test1 : >(obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ @@ -1738,7 +1738,7 @@ function test1>(obj: T) { function test2>(obj: T) { >test2 : >(obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ @@ -1767,7 +1767,7 @@ function test2>(obj: T) { function test3>(obj: T) { >test3 : >(obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/inKeywordTypeguard(strict=true).types b/tests/baselines/reference/inKeywordTypeguard(strict=true).types index eb329eead22c7..e1c8d2a7df95c 100644 --- a/tests/baselines/reference/inKeywordTypeguard(strict=true).types +++ b/tests/baselines/reference/inKeywordTypeguard(strict=true).types @@ -20,7 +20,7 @@ class B { b: string; } function negativeClassesTest(x: A | B) { >negativeClassesTest : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -61,7 +61,7 @@ function negativeClassesTest(x: A | B) { function positiveClassesTest(x: A | B) { >positiveClassesTest : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -114,7 +114,7 @@ class BWithOptionalProp { b?: string; } function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithOptionalProp) { >positiveTestClassesWithOptionalProperties : (x: AWithOptionalProp | BWithOptionalProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithOptionalProp | BWithOptionalProp > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -177,7 +177,7 @@ class BWithMethod { function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) { >negativeTestClassesWithMembers : (x: AWithMethod | BWithMethod) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithMethod | BWithMethod > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -215,7 +215,7 @@ function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) { function negativeTestClassesWithMemberMissingInBothClasses(x: AWithMethod | BWithMethod) { >negativeTestClassesWithMemberMissingInBothClasses : (x: AWithMethod | BWithMethod) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithMethod | BWithMethod > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -284,7 +284,7 @@ class D { a: string; } function negativeMultipleClassesTest(x: A | B | C | D) { >negativeMultipleClassesTest : (x: A | B | C | D) => void -> : ^^^^^ ^ ^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B | C | D > : ^^^^^^^^^^^^^ @@ -331,7 +331,7 @@ class ClassWithUnionProp { prop: A | B } function negativePropTest(x: ClassWithUnionProp) { >negativePropTest : (x: ClassWithUnionProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : ClassWithUnionProp > : ^^^^^^^^^^^^^^^^^^ @@ -912,7 +912,7 @@ function f2(x: object) { function f3(x: T) { >f3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -1572,7 +1572,7 @@ function f15(x: { a?: string | undefined }) { function f16(x: typeof globalThis, y: Window & typeof globalThis) { >f16 : (x: typeof globalThis, y: Window & typeof globalThis) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >globalThis : typeof globalThis @@ -1595,7 +1595,7 @@ function f16(x: typeof globalThis, y: Window & typeof globalThis) { function foo(value: A) { >foo : (value: A) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >value : A > : ^ @@ -1661,7 +1661,7 @@ const checkIsTouchDevice = () => function isHTMLTable(table: T): boolean { >isHTMLTable : (table: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >table : T > : ^ @@ -1686,9 +1686,9 @@ function isHTMLTable(table: T): boolean { const f =

(a: P & {}) => { >f :

(a: P & {}) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >

(a: P & {}) => { "foo" in a;} :

(a: P & {}) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : P > : ^ @@ -1706,7 +1706,7 @@ const f =

(a: P & {}) => { function test1>(obj: T) { >test1 : >(obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ @@ -1743,7 +1743,7 @@ function test1>(obj: T) { function test2>(obj: T) { >test2 : >(obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ @@ -1772,7 +1772,7 @@ function test2>(obj: T) { function test3>(obj: T) { >test3 : >(obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/inOperatorWithGeneric.types b/tests/baselines/reference/inOperatorWithGeneric.types index 24c3e8c041485..e965cb5d8ed18 100644 --- a/tests/baselines/reference/inOperatorWithGeneric.types +++ b/tests/baselines/reference/inOperatorWithGeneric.types @@ -7,7 +7,7 @@ class C { foo(x:T) { >foo : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/inOperatorWithValidOperands.types b/tests/baselines/reference/inOperatorWithValidOperands.types index 44a6e5db954fb..57072a859f000 100644 --- a/tests/baselines/reference/inOperatorWithValidOperands.types +++ b/tests/baselines/reference/inOperatorWithValidOperands.types @@ -121,7 +121,7 @@ var rb2 = x in {}; function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ @@ -138,7 +138,7 @@ function foo(t: T) { function unionCase(t: T | U) { >unionCase : (t: T | U) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^ >t : T | U > : ^^^^^ @@ -155,7 +155,7 @@ function unionCase(t: T | U) { function unionCase2(t: T | object) { >unionCase2 : (t: T | object) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : object | T > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/incompatibleGenericTypes.types b/tests/baselines/reference/incompatibleGenericTypes.types index 273249bf1d9ac..1ed04ecff4a74 100644 --- a/tests/baselines/reference/incompatibleGenericTypes.types +++ b/tests/baselines/reference/incompatibleGenericTypes.types @@ -5,9 +5,9 @@ interface I1 { m1(callback: (p: T) => U): I1; >m1 : (callback: (p: T) => U) => I1 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (p: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/incompatibleTypes.types b/tests/baselines/reference/incompatibleTypes.types index 17d4b9ac63fe0..51f87d711ce72 100644 --- a/tests/baselines/reference/incompatibleTypes.types +++ b/tests/baselines/reference/incompatibleTypes.types @@ -89,13 +89,13 @@ class C4 implements IFoo4 { // incompatible on the property type function if1(i: IFoo1): void; >if1 : { (i: IFoo1): void; (i: IFoo2): void; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ >i : IFoo1 > : ^^^^^ function if1(i: IFoo2): void; >if1 : { (i: IFoo1): void; (i: IFoo2): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >i : IFoo2 > : ^^^^^ diff --git a/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.types b/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.types index 5b702bab729ec..5b00334622436 100644 --- a/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.types +++ b/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.types @@ -19,9 +19,9 @@ interface Opts {a:A, b:B} const fn = < >fn : (opts: Opts) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >< A extends ObjA, B extends ObjB = ObjB>(opts:Opts):string => 'Z' : (opts: Opts) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ A extends ObjA, B extends ObjB = ObjB diff --git a/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.types b/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.types index 3d9525ffdcfb7..4901372d09f41 100644 --- a/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.types +++ b/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.types @@ -4,7 +4,7 @@ // #17847 function sum(n: number, v: T, k: K) { >sum : (n: number, v: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : number > : ^^^^^^ >v : T diff --git a/tests/baselines/reference/indexSignatureAndMappedType.types b/tests/baselines/reference/indexSignatureAndMappedType.types index 0776436e29711..6bad70b076bc0 100644 --- a/tests/baselines/reference/indexSignatureAndMappedType.types +++ b/tests/baselines/reference/indexSignatureAndMappedType.types @@ -6,7 +6,7 @@ function f1(x: { [key: string]: T }, y: Record) { >f1 : (x: { [key: string]: T; }, y: Record) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : { [key: string]: T; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -33,7 +33,7 @@ function f1(x: { [key: string]: T }, y: Record) { function f2(x: { [key: string]: T }, y: Record) { >f2 : (x: { [key: string]: T; }, y: Record) => void -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : { [key: string]: T; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -60,7 +60,7 @@ function f2(x: { [key: string]: T }, y: Record) { function f3(x: { [key: string]: T }, y: Record) { >f3 : (x: { [key: string]: T; }, y: Record) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : { [key: string]: T; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string diff --git a/tests/baselines/reference/indexSignatureInOtherFile.types b/tests/baselines/reference/indexSignatureInOtherFile.types index b4b4e12984ec0..41ae1a481577c 100644 --- a/tests/baselines/reference/indexSignatureInOtherFile.types +++ b/tests/baselines/reference/indexSignatureInOtherFile.types @@ -37,7 +37,7 @@ declare var Array1: ArrayConstructor1; interface Array1 { [Symbol.iterator](): IterableIterator; >[Symbol.iterator] : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor diff --git a/tests/baselines/reference/indexSignatureInOtherFile1.types b/tests/baselines/reference/indexSignatureInOtherFile1.types index b3e25a4acca5f..25eb87432203f 100644 --- a/tests/baselines/reference/indexSignatureInOtherFile1.types +++ b/tests/baselines/reference/indexSignatureInOtherFile1.types @@ -25,7 +25,7 @@ declare var Array1: ArrayConstructor1; interface Array1 { [Symbol.iterator](): IterableIterator; >[Symbol.iterator] : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor diff --git a/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.types b/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.types index c125839107a66..a0a0a9d8a6e06 100644 --- a/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.types +++ b/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.types @@ -3,7 +3,7 @@ === indexSignatureOfTypeUnknownStillRequiresIndexSignature.ts === declare function f(x: { [x: string]: T }): T; >f : (x: { [x: string]: T; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { [x: string]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : string diff --git a/tests/baselines/reference/indexSignatureTypeInference.types b/tests/baselines/reference/indexSignatureTypeInference.types index d7a088feccc06..1f0918bb3b80a 100644 --- a/tests/baselines/reference/indexSignatureTypeInference.types +++ b/tests/baselines/reference/indexSignatureTypeInference.types @@ -15,13 +15,13 @@ interface StringMap { declare function numberMapToArray(object: NumberMap): T[]; >numberMapToArray : (object: NumberMap) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >object : NumberMap > : ^^^^^^^^^^^^ declare function stringMapToArray(object: StringMap): T[]; >stringMapToArray : (object: StringMap) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >object : StringMap > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/indexSignatures1.types b/tests/baselines/reference/indexSignatures1.types index 20ea6888d002f..f8428d0f65998 100644 --- a/tests/baselines/reference/indexSignatures1.types +++ b/tests/baselines/reference/indexSignatures1.types @@ -13,7 +13,7 @@ const sym = Symbol(); function gg3(x: { [key: string]: string }, y: { [key: symbol]: string }, z: { [sym]: number }) { >gg3 : (x: { [key: string]: string; }, y: { [key: symbol]: string; }, z: { [sym]: number; }) => void -> : ^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : { [key: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : string @@ -91,7 +91,7 @@ interface IY { [key: `a${string}a`]: string } function gg2(x: IX, y: IY) { >gg2 : (x: IX, y: IY) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : IX > : ^^ >y : IY @@ -1219,9 +1219,9 @@ interface Plugs { const plugins = { >plugins : { user: Plugs; [system]: Plugs; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ >{ "user": {} as Plugs, [system]: {} as Plugs} : { user: Plugs; [system]: Plugs; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ "user": {} as Plugs, >"user" : Plugs @@ -1251,7 +1251,7 @@ plugins[system][SomeSytePlugin] = () => console.log('awsome'); >plugins[system] : Plugs > : ^^^^^ >plugins : { user: Plugs; [system]: Plugs; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ >system : unique symbol > : ^^^^^^^^^^^^^ >SomeSytePlugin : unique symbol @@ -1277,7 +1277,7 @@ plugins[system][SomeSytePlugin](); >plugins[system] : Plugs > : ^^^^^ >plugins : { user: Plugs; [system]: Plugs; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ >system : unique symbol > : ^^^^^^^^^^^^^ >SomeSytePlugin : unique symbol @@ -1327,9 +1327,9 @@ const directive = Symbol('directive'); declare function foo(options: { [x in string]: (arg: TArg) => TRet } & { [directive]?: TDir }): void; >foo : (options: { [x in string]: (arg: TArg) => TRet; } & { [directive]?: TDir; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^ ^^^^^^^^^ ^^^^ ^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^ ^^^^^ >options : { [x: string]: (arg: TArg) => TRet; } & { [directive]?: TDir | undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : TArg > : ^^^^ >[directive] : TDir | undefined diff --git a/tests/baselines/reference/indexSignaturesInferentialTyping.types b/tests/baselines/reference/indexSignaturesInferentialTyping.types index 9b547251d57bd..c064dfba6cff3 100644 --- a/tests/baselines/reference/indexSignaturesInferentialTyping.types +++ b/tests/baselines/reference/indexSignaturesInferentialTyping.types @@ -3,7 +3,7 @@ === indexSignaturesInferentialTyping.ts === function foo(items: { [index: number]: T }): T { return undefined; } >foo : (items: { [index: number]: T; }) => T -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >items : { [index: number]: T; } > : ^^^^^^^^^^^^^^^^^^^^^^^ >index : number @@ -13,7 +13,7 @@ function foo(items: { [index: number]: T }): T { return undefined; } function bar(items: { [index: string]: T }): T { return undefined; } >bar : (items: { [index: string]: T; }) => T -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >items : { [index: string]: T; } > : ^^^^^^^^^^^^^^^^^^^^^^^ >index : string diff --git a/tests/baselines/reference/indexedAccessAndNullableNarrowing.types b/tests/baselines/reference/indexedAccessAndNullableNarrowing.types index adf511f020609..64907a14b89f8 100644 --- a/tests/baselines/reference/indexedAccessAndNullableNarrowing.types +++ b/tests/baselines/reference/indexedAccessAndNullableNarrowing.types @@ -3,7 +3,7 @@ === indexedAccessAndNullableNarrowing.ts === function f1, K extends keyof T>(x: T[K] | undefined) { >f1 : , K extends keyof T>(x: T[K] | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T[K] | undefined > : ^^^^^^^^^^^^^^^^ @@ -34,7 +34,7 @@ function f1, K extends keyof T>(x: T[K] | undefine function f2, K extends keyof T>(x: T[K] | null) { >f2 : , K extends keyof T>(x: T[K] | null) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T[K] | null > : ^^^^^^^^^^^ @@ -61,7 +61,7 @@ function f2, K extends keyof T>(x: T[K] | null) { function f3(t: T[K], p1: Partial[K] & {}, p2: Partial[K] & ({} | null)) { >f3 : (t: T[K], p1: Partial[K] & {}, p2: Partial[K] & ({} | null)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >t : T[K] > : ^^^^ >p1 : Partial[K] & {} @@ -98,7 +98,7 @@ type State = AnyObject; declare function hasOwnProperty( >hasOwnProperty : (object: T, prop: PropertyKey) => prop is keyof T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ object: T, >object : T @@ -113,7 +113,7 @@ declare function hasOwnProperty( interface Store { setState(key: K, value: S[K]): void; >setState : (key: K, value: S[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : S[K] @@ -122,7 +122,7 @@ interface Store { export function syncStoreProp< >syncStoreProp : , K extends keyof S>(store: Store, props: P, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ S extends State, P extends Partial, diff --git a/tests/baselines/reference/indexedAccessCanBeHighOrder.types b/tests/baselines/reference/indexedAccessCanBeHighOrder.types index 7adcb162bea88..faf17290bd6a5 100644 --- a/tests/baselines/reference/indexedAccessCanBeHighOrder.types +++ b/tests/baselines/reference/indexedAccessCanBeHighOrder.types @@ -3,7 +3,7 @@ === indexedAccessCanBeHighOrder.ts === declare function get(x: U, y: Y): U[Y]; >get : (x: U, y: Y) => U[Y] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : U > : ^ >y : Y @@ -11,13 +11,13 @@ declare function get(x: U, y: Y): U[Y]; declare function find(o: T[K]): [T, K]; >find : (o: T[K]) => [T, K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >o : T[K] > : ^^^^ function impl(a: A, b: B) { >impl : (a: A, b: B) => [A, B] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/indexedAccessConstraints.types b/tests/baselines/reference/indexedAccessConstraints.types index 70aae6118d4ee..22c2e9652f505 100644 --- a/tests/baselines/reference/indexedAccessConstraints.types +++ b/tests/baselines/reference/indexedAccessConstraints.types @@ -3,7 +3,7 @@ === indexedAccessConstraints.ts === function foo(a: T[keyof T]) { >foo : (a: T[keyof T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T[keyof T] > : ^^^^^^^^^^ @@ -18,7 +18,7 @@ function foo(a: T[keyof T]) { export function methodFnLength(obj: T, methodKey: K): number { >methodFnLength : (obj: T, methodKey: K) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >obj : T > : ^ >methodKey : K @@ -61,7 +61,7 @@ export function methodFnLength(obj: T, methodKe function getField(x: T | null, k: keyof T) { >getField : (x: T | null, k: keyof T) => T[keyof T] | null -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T | null > : ^^^^^^^^ >k : keyof T diff --git a/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.types b/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.types index ed6eddc49f373..6c7f57cb73daa 100644 --- a/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.types +++ b/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.types @@ -14,7 +14,7 @@ type Params = Parameters>; interface Wrapper { call(event: K, ...args: Params): void; >call : (event: K, ...args: Params) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >event : K > : ^ >args : Parameters> diff --git a/tests/baselines/reference/indexedAccessNormalization.types b/tests/baselines/reference/indexedAccessNormalization.types index a5d49c3c0c43a..934e3cfca5e69 100644 --- a/tests/baselines/reference/indexedAccessNormalization.types +++ b/tests/baselines/reference/indexedAccessNormalization.types @@ -16,13 +16,13 @@ type MyMap = { declare function g(value?: T): void; >g : (value?: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >value : T | undefined > : ^^^^^^^^^^^^^ function f1(mymap: MyMap, k: keyof M) { >f1 : (mymap: MyMap, k: keyof M) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >mymap : MyMap > : ^^^^^^^^ >k : keyof M @@ -49,7 +49,7 @@ function f1(mymap: MyMap, k: keyof M) { function f2(mymap: MyMap, k: keyof M, z: { x: number }) { >f2 : (mymap: MyMap, k: keyof M, z: { x: number; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >mymap : MyMap > : ^^^^^^^^ >k : keyof M diff --git a/tests/baselines/reference/indexedAccessRelation.types b/tests/baselines/reference/indexedAccessRelation.types index 063d05dfb3ea3..571d1520c0291 100644 --- a/tests/baselines/reference/indexedAccessRelation.types +++ b/tests/baselines/reference/indexedAccessRelation.types @@ -9,7 +9,7 @@ class Component { setState(state: Pick) {} >setState : (state: Pick) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >state : Pick > : ^^^^^^^^^^ } @@ -32,7 +32,7 @@ class Comp extends Component> { foo(a: T) { >foo : (a: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/indexedAccessTypeConstraints.types b/tests/baselines/reference/indexedAccessTypeConstraints.types index eb98a5709732e..256bd804361cd 100644 --- a/tests/baselines/reference/indexedAccessTypeConstraints.types +++ b/tests/baselines/reference/indexedAccessTypeConstraints.types @@ -15,7 +15,7 @@ type Data = { get: (prop: K) => T[K]; >get : (prop: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >prop : K > : ^ @@ -31,7 +31,7 @@ class Parent { getData(): Data { >getData : () => Data -> : ^^^^^^^^^^ ^ +> : ^^^^^^ return this.data; >this.data : Data @@ -51,7 +51,7 @@ export class Foo extends Parent> { getContent(): C { >getContent : () => C -> : ^^^^^^^ +> : ^^^^^^ return this.getData().get('content'); >this.getData().get('content') : C @@ -81,7 +81,7 @@ export class Bar> extends Parent { getContent(): C { >getContent : () => C -> : ^^^^^^^ +> : ^^^^^^ return this.getData().get('content'); >this.getData().get('content') : T["content"] @@ -107,7 +107,7 @@ export class Bar> extends Parent { function foo(x: C, y: T['content']) { >foo : (x: C, y: T['content']) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >content : C > : ^ >x : C diff --git a/tests/baselines/reference/indexerReturningTypeParameter1.types b/tests/baselines/reference/indexerReturningTypeParameter1.types index 510c25f1ec1a9..280ff6c378076 100644 --- a/tests/baselines/reference/indexerReturningTypeParameter1.types +++ b/tests/baselines/reference/indexerReturningTypeParameter1.types @@ -4,7 +4,7 @@ interface f { groupBy(): { [key: string]: T[]; }; >groupBy : () => { [key: string]: T[]; } -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >key : string > : ^^^^^^ } @@ -30,7 +30,7 @@ class c { groupBy(): { [key: string]: T[]; } { >groupBy : () => { [key: string]: T[]; } -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >key : string > : ^^^^^^ diff --git a/tests/baselines/reference/indexingTypesWithNever.types b/tests/baselines/reference/indexingTypesWithNever.types index 97ec375ec2b28..8bcfa855d7679 100644 --- a/tests/baselines/reference/indexingTypesWithNever.types +++ b/tests/baselines/reference/indexingTypesWithNever.types @@ -31,7 +31,7 @@ type Result2 = EmptyObj[keyof EmptyObj]; declare function genericFn1(obj: T): T[never]; >genericFn1 : (obj: T) => T[never] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ @@ -56,7 +56,7 @@ const result3 = genericFn1({ c: "ctest", d: "dtest" }); declare function genericFn2( >genericFn2 : (obj: T) => T[never] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >ind : string > : ^^^^^^ @@ -87,7 +87,7 @@ const result4 = genericFn2({ e: "etest", f: "ftest" }); declare function genericFn3< >genericFn3 : (obj: T, u: U, v: V) => T[U & V] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ T extends { [K in keyof T]: T[K] }, U extends keyof T, diff --git a/tests/baselines/reference/indirectDiscriminantAndExcessProperty.types b/tests/baselines/reference/indirectDiscriminantAndExcessProperty.types index 32de471f6e884..55fcd736ade56 100644 --- a/tests/baselines/reference/indirectDiscriminantAndExcessProperty.types +++ b/tests/baselines/reference/indirectDiscriminantAndExcessProperty.types @@ -21,7 +21,7 @@ export type Blah = declare function thing(blah: Blah): void; >thing : (blah: Blah) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >blah : Blah > : ^^^^ diff --git a/tests/baselines/reference/indirectTypeParameterReferences.types b/tests/baselines/reference/indirectTypeParameterReferences.types index ec61832123487..017c82e7631db 100644 --- a/tests/baselines/reference/indirectTypeParameterReferences.types +++ b/tests/baselines/reference/indirectTypeParameterReferences.types @@ -11,9 +11,9 @@ type B = {b: string} const flowtypes = (b: B) => { >flowtypes : (b: B) => { combined: (fn: (combined: A & B) => void) => any; literal: (fn: (aPlusB: A & B) => void) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >(b: B) => { type Combined = A & B const combined = (fn: (combined: Combined) => void) => null const literal = (fn: (aPlusB: A & B) => void) => null return {combined, literal}} : (b: B) => { combined: (fn: (combined: A & B) => void) => any; literal: (fn: (aPlusB: A & B) => void) => any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >b : B > : ^ @@ -33,11 +33,11 @@ const flowtypes = (b: B) => { const literal = (fn: (aPlusB: A & B) => void) => null >literal : (fn: (aPlusB: A & B) => void) => any -> : ^^^^^ ^ ^ ^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >(fn: (aPlusB: A & B) => void) => null : (fn: (aPlusB: A & B) => void) => any -> : ^^^^^ ^ ^ ^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >fn : (aPlusB: A & B) => void -> : ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >aPlusB : A & B > : ^^^^^ @@ -126,7 +126,7 @@ combined(comb => { declare function f(a: T): { a: typeof a }; >f : (a: T) => { a: typeof a; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ >a : T diff --git a/tests/baselines/reference/inferFromBindingPattern.types b/tests/baselines/reference/inferFromBindingPattern.types index 5853939aeb010..6d673725958f1 100644 --- a/tests/baselines/reference/inferFromBindingPattern.types +++ b/tests/baselines/reference/inferFromBindingPattern.types @@ -3,15 +3,15 @@ === inferFromBindingPattern.ts === declare function f1(): T; >f1 : () => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ declare function f2(): [T]; >f2 : () => [T] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ declare function f3(): { x: T }; >f3 : () => { x: T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -45,7 +45,7 @@ let { x: x3 } = f3(); // string function foo(): [T] { >foo : () => [T] -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^ return [42 as any] >[42 as any] : [any] @@ -67,7 +67,7 @@ const [x] = foo(); // [number] interface SelectProps { selector?: (obj: T) => K; >selector : ((obj: T) => K) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >obj : T > : ^ } @@ -88,7 +88,7 @@ interface Person { declare function selectJohn(props?: SelectProps): SelectResult; >selectJohn : (props?: SelectProps) => SelectResult -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >props : SelectProps | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -130,13 +130,13 @@ const [personAgain, nufinspecial] = john; declare function makeTuple(arg: T1): [T1]; >makeTuple : (arg: T1) => [T1] -> : ^^^^^^^^^^^^^^^^^ ^^ +> : ^ ^^^^^^^ ^^^^^ >arg : T1 > : ^^ declare function stringy(arg?: T): T; >stringy : (arg?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ >arg : T | undefined > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.types b/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.types index 72976ec3c73a3..e7948e3a3482a 100644 --- a/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.types +++ b/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.types @@ -14,7 +14,7 @@ class SetOf { add(a: A) { >add : (a: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : A > : ^ @@ -37,9 +37,9 @@ class SetOf { transform(transformer: (a: SetOf) => SetOf): SetOf { >transform : (transformer: (a: SetOf) => SetOf) => SetOf -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >transformer : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : SetOf > : ^^^^^^^^ @@ -54,9 +54,9 @@ class SetOf { forEach(fn: (a: A, index: number) => void) { >forEach : (fn: (a: A, index: number) => void) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >fn : (a: A, index: number) => void -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^ >a : A > : ^ >index : number @@ -94,29 +94,29 @@ class SetOf { function compose( >compose : (fnA: (a: SetOf) => SetOf, fnB: (b: SetOf) => SetOf, fnC: (c: SetOf) => SetOf, fnD: (c: SetOf) => SetOf) => (x: SetOf) => SetOf -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^ ^^^^^ ^ ^^^^^ ^ +> : ^ ^^ ^^ ^^ ^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ fnA: (a: SetOf) => SetOf, >fnA : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : SetOf > : ^^^^^^^^ fnB: (b: SetOf) => SetOf, >fnB : (b: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >b : SetOf > : ^^^^^^^^ fnC: (c: SetOf) => SetOf, >fnC : (c: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >c : SetOf > : ^^^^^^^^ fnD: (c: SetOf) => SetOf, >fnD : (c: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >c : SetOf > : ^^^^^^^^ @@ -129,7 +129,7 @@ function compose(...fns: ((x: T) => T)[]): (x: T) => T { >compose : (fnA: (a: SetOf) => SetOf, fnB: (b: SetOf) => SetOf, fnC: (c: SetOf) => SetOf, fnD: (c: SetOf) => SetOf) => (x: SetOf) => SetOf > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fns : ((x: T) => T)[] -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >x : T @@ -137,7 +137,7 @@ function compose(...fns: ((x: T) => T)[]): (x: T) => T { return (x: T) => fns.reduce((prev, fn) => fn(prev), x); >(x: T) => fns.reduce((prev, fn) => fn(prev), x) : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >fns.reduce((prev, fn) => fn(prev), x) : T @@ -166,9 +166,9 @@ function compose(...fns: ((x: T) => T)[]): (x: T) => T { function map(fn: (a: A) => B): (s: SetOf) => SetOf { >map : (fn: (a: A) => B) => (s: SetOf) => SetOf -> : ^^^^^^^^^^^ ^ ^^^^^^ ^^^^^ ^ ^^^^^ ^ +> : ^ ^^ ^^^^^^ ^^^^^ >fn : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >s : SetOf @@ -176,7 +176,7 @@ function map(fn: (a: A) => B): (s: SetOf) => SetOf { return (a: SetOf) => { >(a: SetOf) => { const b: SetOf = new SetOf(); a.forEach(x => b.add(fn(x))); return b; } : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >a : SetOf > : ^^^^^^^^ @@ -224,9 +224,9 @@ function map(fn: (a: A) => B): (s: SetOf) => SetOf { function filter(predicate: (a: A) => boolean): (s: SetOf) => SetOf { >filter : (predicate: (a: A) => boolean) => (s: SetOf) => SetOf -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >predicate : (a: A) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >s : SetOf @@ -234,7 +234,7 @@ function filter(predicate: (a: A) => boolean): (s: SetOf) => SetOf { return (a: SetOf) => { >(a: SetOf) => { const result = new SetOf(); a.forEach(x => { if (predicate(x)) result.add(x); }); return result; } : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >a : SetOf > : ^^^^^^^^ diff --git a/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.types b/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.types index 7a14c05eec641..814689cca9a53 100644 --- a/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.types +++ b/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.types @@ -9,25 +9,25 @@ type Mapper = (x: T) => U; declare function wrap(cb: Mapper): Mapper; >wrap : (cb: Mapper) => Mapper -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^ >cb : Mapper > : ^^^^^^^^^^^^ declare function arrayize(cb: Mapper): Mapper; >arrayize : (cb: Mapper) => Mapper -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^ >cb : Mapper > : ^^^^^^^^^^^^ declare function combine(f: (x: A) => B, g: (x: B) => C): (x: A) => C; >combine : (f: (x: A) => B, g: (x: B) => C) => (x: A) => C -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ >f : (x: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : A > : ^ >g : (x: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : B > : ^ >x : A @@ -35,7 +35,7 @@ declare function combine(f: (x: A) => B, g: (x: B) => C): (x: A) => C; declare function foo(f: Mapper): void; >foo : (f: Mapper) => void -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >f : Mapper > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -370,7 +370,7 @@ class SetOf { add(a: A) { >add : (a: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : A > : ^ @@ -393,9 +393,9 @@ class SetOf { transform(transformer: (a: SetOf) => SetOf): SetOf { >transform : (transformer: (a: SetOf) => SetOf) => SetOf -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >transformer : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : SetOf > : ^^^^^^^^ @@ -410,9 +410,9 @@ class SetOf { forEach(fn: (a: A, index: number) => void) { >forEach : (fn: (a: A, index: number) => void) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >fn : (a: A, index: number) => void -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^ >a : A > : ^ >index : number @@ -450,29 +450,29 @@ class SetOf { function compose( >compose : (fnA: (a: SetOf) => SetOf, fnB: (b: SetOf) => SetOf, fnC: (c: SetOf) => SetOf, fnD: (c: SetOf) => SetOf) => (x: SetOf) => SetOf -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^ ^^^^^ ^ ^^^^^ ^ +> : ^ ^^ ^^ ^^ ^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ fnA: (a: SetOf) => SetOf, >fnA : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : SetOf > : ^^^^^^^^ fnB: (b: SetOf) => SetOf, >fnB : (b: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >b : SetOf > : ^^^^^^^^ fnC: (c: SetOf) => SetOf, >fnC : (c: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >c : SetOf > : ^^^^^^^^ fnD: (c: SetOf) => SetOf, >fnD : (c: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >c : SetOf > : ^^^^^^^^ @@ -485,7 +485,7 @@ function compose(...fns: ((x: T) => T)[]): (x: T) => T { >compose : (fnA: (a: SetOf) => SetOf, fnB: (b: SetOf) => SetOf, fnC: (c: SetOf) => SetOf, fnD: (c: SetOf) => SetOf) => (x: SetOf) => SetOf > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fns : ((x: T) => T)[] -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >x : T @@ -493,7 +493,7 @@ function compose(...fns: ((x: T) => T)[]): (x: T) => T { return (x: T) => fns.reduce((prev, fn) => fn(prev), x); >(x: T) => fns.reduce((prev, fn) => fn(prev), x) : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >x : T > : ^ >fns.reduce((prev, fn) => fn(prev), x) : T @@ -522,9 +522,9 @@ function compose(...fns: ((x: T) => T)[]): (x: T) => T { function map(fn: (a: A) => B): (s: SetOf) => SetOf { >map : (fn: (a: A) => B) => (s: SetOf) => SetOf -> : ^^^^^^^^^^^ ^ ^^^^^^ ^^^^^ ^ ^^^^^ ^ +> : ^ ^^ ^^^^^^ ^^^^^ >fn : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >s : SetOf @@ -532,7 +532,7 @@ function map(fn: (a: A) => B): (s: SetOf) => SetOf { return (a: SetOf) => { >(a: SetOf) => { const b: SetOf = new SetOf(); a.forEach(x => b.add(fn(x))); return b; } : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >a : SetOf > : ^^^^^^^^ @@ -580,9 +580,9 @@ function map(fn: (a: A) => B): (s: SetOf) => SetOf { function filter(predicate: (a: A) => boolean): (s: SetOf) => SetOf { >filter : (predicate: (a: A) => boolean) => (s: SetOf) => SetOf -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >predicate : (a: A) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >s : SetOf @@ -590,7 +590,7 @@ function filter(predicate: (a: A) => boolean): (s: SetOf) => SetOf { return (a: SetOf) => { >(a: SetOf) => { const result = new SetOf(); a.forEach(x => { if (predicate(x)) result.add(x); }); return result; } : (a: SetOf) => SetOf -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >a : SetOf > : ^^^^^^^^ @@ -778,7 +778,7 @@ const t1 = testSet.transform( declare function identity(x: T): T; >identity : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types b/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types index d80a7a0452d73..7ad8e9005b98b 100644 --- a/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types +++ b/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types @@ -5,7 +5,7 @@ function truePromise(): Promise { >truePromise : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >true : true > : ^^^^ @@ -30,7 +30,7 @@ interface Wrap { function wrap(value: T): Wrap { >wrap : (value: T) => Wrap -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -43,7 +43,7 @@ function wrap(value: T): Wrap { function wrappedFoo(): Wrap<'foo'> { >wrappedFoo : () => Wrap<'foo'> -> : ^^^^^^^^^^ +> : ^^^^^^ return wrap('foo'); >wrap('foo') : Wrap<"foo"> @@ -56,7 +56,7 @@ function wrappedFoo(): Wrap<'foo'> { function wrapBar(value: 'bar'): Wrap<'bar'> { >wrapBar : (value: 'bar') => Wrap<'bar'> -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : "bar" > : ^^^^^ @@ -69,7 +69,7 @@ function wrapBar(value: 'bar'): Wrap<'bar'> { function wrappedBar(): Wrap<'bar'> { >wrappedBar : () => Wrap<'bar'> -> : ^^^^^^^^^^ +> : ^^^^^^ const value = 'bar'; >value : "bar" @@ -124,7 +124,7 @@ function wrappedBar(): Wrap<'bar'> { function wrappedBaz(): Wrap<'baz'> { >wrappedBaz : () => Wrap<'baz'> -> : ^^^^^^^^^^ +> : ^^^^^^ const value: 'baz' = 'baz'; >value : "baz" @@ -288,7 +288,7 @@ export interface Diagnostic { function bug(): Diagnostic[] { >bug : () => Diagnostic[] -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ let values: any[] = []; >values : any[] @@ -395,7 +395,7 @@ interface Person { function createPerson(): Person { >createPerson : () => Person -> : ^^^^^^^^^^^^ +> : ^^^^^^ return { >{ phoneNumbers: [1].map(() => ({ __typename: 'PhoneNumber' })) } : { phoneNumbers: { __typename: "PhoneNumber"; }[]; } @@ -441,7 +441,7 @@ type Box = { value: T }; declare function box(value: T): Box; >box : (value: T) => Box -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -500,7 +500,7 @@ interface OK { } export function ok(value: T): OK { >ok : (value: T) => OK -> : ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -677,11 +677,11 @@ const f1: F = () => { declare function foldLeft(z: U, f: (acc: U, t: boolean) => U): U; >foldLeft : (z: U, f: (acc: U, t: boolean) => U) => U -> : ^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >z : U > : ^ >f : (acc: U, t: boolean) => U -> : ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ >acc : U > : ^ >t : boolean @@ -725,9 +725,9 @@ type Foo = { state: State } declare function bar(f: () => T[]): T[]; >bar : (f: () => T[]) => T[] -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : () => T[] -> : ^^^^^^^ +> : ^^^^^^ let x: Foo[] = bar(() => !!true ? [{ state: State.A }] : [{ state: State.B }]); // Error >x : Foo[] @@ -791,22 +791,22 @@ class ClassWithConvert { convert(converter: { to: (v: T) => T; }) { } >convert : (converter: { to: (v: T) => T; }) => void -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >converter : { to: (v: T) => T; } -> : ^^^^^^ ^ ^^^^ +> : ^^^^^^ ^^^ >to : (v: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : T > : ^ } function fn(arg: ClassWithConvert, f: () => ClassWithConvert) { } >fn : (arg: ClassWithConvert, f: () => ClassWithConvert) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^^^^^ >arg : ClassWithConvert > : ^^^^^^^^^^^^^^^^^^^ >f : () => ClassWithConvert -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ fn(new ClassWithConvert(Enum.A), () => new ClassWithConvert(Enum.A)); >fn(new ClassWithConvert(Enum.A), () => new ClassWithConvert(Enum.A)) : void @@ -844,13 +844,13 @@ type Func = (x: T) => T; declare function makeFoo(x: T): Func; >makeFoo : (x: T) => Func -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function baz(x: Func, y: Func): void; >baz : (x: Func, y: Func) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : Func > : ^^^^^^^ >y : Func diff --git a/tests/baselines/reference/inferFromNestedSameShapeTuple.types b/tests/baselines/reference/inferFromNestedSameShapeTuple.types index 72488a2cc0e29..32f6d74030c98 100644 --- a/tests/baselines/reference/inferFromNestedSameShapeTuple.types +++ b/tests/baselines/reference/inferFromNestedSameShapeTuple.types @@ -28,7 +28,7 @@ type Recursive = { declare function getIds(items: readonly Recursive[]): Id[]; >getIds : (items: readonly Recursive[]) => Id[] -> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >items : readonly Recursive[] > : ^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.types b/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.types index c7b885afe020e..26d834ecc93c5 100644 --- a/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.types +++ b/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.types @@ -3,13 +3,13 @@ === inferObjectTypeFromStringLiteralToKeyof.ts === declare function inference1(name: keyof T): T; >inference1 : (name: keyof T) => T -> : ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >name : keyof T > : ^^^^^^^ declare function inference2(target: T, name: keyof T): T; >inference2 : (target: T, name: keyof T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >target : T > : ^ >name : keyof T diff --git a/tests/baselines/reference/inferParameterWithMethodCallInitializer.types b/tests/baselines/reference/inferParameterWithMethodCallInitializer.types index 572fa68d1aa9a..e66798abfa5bd 100644 --- a/tests/baselines/reference/inferParameterWithMethodCallInitializer.types +++ b/tests/baselines/reference/inferParameterWithMethodCallInitializer.types @@ -23,7 +23,7 @@ class Example { } doSomething(a = this.getNumber()): typeof a { >doSomething : (a?: number) => typeof a -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^ >a : number > : ^^^^^^ >this.getNumber() : number @@ -44,7 +44,7 @@ class Example { } function weird(this: Example, a = this.getNumber()) { >weird : (this: Example, a?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >this : Example > : ^^^^^^^ >a : number @@ -68,7 +68,7 @@ class Weird { doSomething(this: Example, a = this.getNumber()) { >doSomething : (this: Example, a?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >this : Example > : ^^^^^^^ >a : number diff --git a/tests/baselines/reference/inferPropertyWithContextSensitiveReturnStatement.types b/tests/baselines/reference/inferPropertyWithContextSensitiveReturnStatement.types index f625f7744f8d6..66f75b1b16e1c 100644 --- a/tests/baselines/reference/inferPropertyWithContextSensitiveReturnStatement.types +++ b/tests/baselines/reference/inferPropertyWithContextSensitiveReturnStatement.types @@ -5,9 +5,9 @@ declare function repro(config: { >repro : (config: { params: T; callback: () => (params: T) => number; }) => void -> : ^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >config : { params: T; callback: () => (params: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ params: T; >params : T @@ -15,7 +15,7 @@ declare function repro(config: { callback: () => (params: T) => number; >callback : () => (params: T) => number -> : ^^^^^^ ^ +> : ^^^^^^ >params : T > : ^ diff --git a/tests/baselines/reference/inferRestArgumentsMappedTuple.types b/tests/baselines/reference/inferRestArgumentsMappedTuple.types index 3eb22625195d5..aa0c55a25bdbe 100644 --- a/tests/baselines/reference/inferRestArgumentsMappedTuple.types +++ b/tests/baselines/reference/inferRestArgumentsMappedTuple.types @@ -24,7 +24,7 @@ type MyMappedTupleOld = TupleMapperOld<[string, number]>; // [MyMappedType(...mappedTypes: TupleMapperOld): Tuple; >extractPrimitivesOld : (...mappedTypes: TupleMapperOld) => Tuple -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >mappedTypes : TupleMapperOld > : ^^^^^^^^^^^^^^^^^^^^^ @@ -61,7 +61,7 @@ type MyMappedTupleNew = TupleMapperNew<[string, number]>; declare function extractPrimitivesNew(...mappedTypes: TupleMapperNew): Tuple; >extractPrimitivesNew : (...mappedTypes: TupleMapperNew) => Tuple -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >mappedTypes : TupleMapperNew > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inferSecondaryParameter.types b/tests/baselines/reference/inferSecondaryParameter.types index f5ebe7e36f1bf..f72d55151095b 100644 --- a/tests/baselines/reference/inferSecondaryParameter.types +++ b/tests/baselines/reference/inferSecondaryParameter.types @@ -5,7 +5,7 @@ interface Ib { m(test: string, fn: Function); } >m : (test: string, fn: Function) => any -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ ^^^^^^^^ >test : string > : ^^^^^^ >fn : Function @@ -15,11 +15,11 @@ var b: Ib = { m: function (test: string, fn: Function) { } }; >b : Ib > : ^^ >{ m: function (test: string, fn: Function) { } } : { m: (test: string, fn: Function) => void; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ >m : (test: string, fn: Function) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ ^^^^^^^^^ >function (test: string, fn: Function) { } : (test: string, fn: Function) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ ^^^^^^^^^ >test : string > : ^^^^^^ >fn : Function diff --git a/tests/baselines/reference/inferStringLiteralUnionForBindingElement.types b/tests/baselines/reference/inferStringLiteralUnionForBindingElement.types index 02fa96df6edef..8fb29bdac3c50 100644 --- a/tests/baselines/reference/inferStringLiteralUnionForBindingElement.types +++ b/tests/baselines/reference/inferStringLiteralUnionForBindingElement.types @@ -3,9 +3,9 @@ === inferStringLiteralUnionForBindingElement.ts === declare function func(arg: { keys: T[] }): { readonly keys: T[]; readonly firstKey: T; }; >func : (arg: { keys: T[]; }) => { readonly keys: T[]; readonly firstKey: T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arg : { keys: T[]; } -> : ^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^ >keys : T[] > : ^^^ >keys : T[] diff --git a/tests/baselines/reference/inferThis.types b/tests/baselines/reference/inferThis.types index 7b494565c1bda..8ef3cc0f21e34 100644 --- a/tests/baselines/reference/inferThis.types +++ b/tests/baselines/reference/inferThis.types @@ -12,7 +12,7 @@ export class C { */ static a() { >a : (this: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ return this; >this : T @@ -26,7 +26,7 @@ export class C { */ b() { >b : (this: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ return this; >this : T diff --git a/tests/baselines/reference/inferThisType.types b/tests/baselines/reference/inferThisType.types index d5e83fe227fee..74ddc99a7e879 100644 --- a/tests/baselines/reference/inferThisType.types +++ b/tests/baselines/reference/inferThisType.types @@ -3,9 +3,9 @@ === inferThisType.ts === declare function f(g: (this: T) => void): T >f : (g: (this: T) => void) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >g : (this: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : T > : ^ diff --git a/tests/baselines/reference/inferTupleFromBindingPattern.types b/tests/baselines/reference/inferTupleFromBindingPattern.types index c25955b17f788..00bfd80cf00a5 100644 --- a/tests/baselines/reference/inferTupleFromBindingPattern.types +++ b/tests/baselines/reference/inferTupleFromBindingPattern.types @@ -3,9 +3,9 @@ === inferTupleFromBindingPattern.ts === declare function f(cb: () => T): T; >f : (cb: () => T) => T -> : ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >cb : () => T -> : ^^^^^^^ +> : ^^^^^^ const [e1, e2, e3] = f(() => [1, "hi", true]); >e1 : number diff --git a/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.types b/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.types index 8c70d073e543e..2baabb7b74200 100644 --- a/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.types +++ b/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.types @@ -3,7 +3,7 @@ === inferTypeArgumentsInSignatureWithRestParameters.ts === function f(array: T[], ...args) { } >f : (array: T[], ...args: any[]) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >array : T[] > : ^^^ >args : any[] @@ -19,7 +19,7 @@ function g(array: number[], ...args) { } function h(nonarray: T, ...args) { } >h : (nonarray: T, ...args: any[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >nonarray : T > : ^ >args : any[] @@ -27,7 +27,7 @@ function h(nonarray: T, ...args) { } function i(array: T[], opt?: any[]) { } >i : (array: T[], opt?: any[]) => void -> : ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >array : T[] > : ^^^ >opt : any[] diff --git a/tests/baselines/reference/inferTypeParameterConstraints.types b/tests/baselines/reference/inferTypeParameterConstraints.types index aaac75aa5c941..d3a97252cd98d 100644 --- a/tests/baselines/reference/inferTypeParameterConstraints.types +++ b/tests/baselines/reference/inferTypeParameterConstraints.types @@ -41,7 +41,7 @@ class BaseClass { protected fake(): V { >fake : () => V -> : ^^^^^^^ +> : ^^^^^^ throw new Error(""); >new Error("") : Error diff --git a/tests/baselines/reference/inferTypePredicates.types b/tests/baselines/reference/inferTypePredicates.types index 9941d28803472..bbc77cdec6e50 100644 --- a/tests/baselines/reference/inferTypePredicates.types +++ b/tests/baselines/reference/inferTypePredicates.types @@ -290,7 +290,7 @@ function isNonNullVar(x: number | null) { function isNonNullGeneric(x: T) { >isNonNullGeneric : (x: T) => x is T & ({} | undefined) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -648,7 +648,7 @@ const resultBars: Bar[] = list.filter((value) => 'bar' in value); // should ok function isBarNonNull(x: Foo | Bar | null) { >isBarNonNull : (x: Foo | Bar | null) => x is Bar -> : ^^^^^^^ ^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >x : Foo | Bar | null > : ^^^^^^^^^^^^^^^^ @@ -1458,7 +1458,7 @@ if (isNumOrStr(unk)) { // A function can be a type predicate even if it throws. function assertAndPredicate(x: string | number | Date) { >assertAndPredicate : (x: string | number | Date) => x is string -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >x : string | number | Date > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -1508,7 +1508,7 @@ if (assertAndPredicate(snd)) { function isNumberWithThis(this: Date, x: number | string) { >isNumberWithThis : (this: Date, x: number | string) => x is number -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ >this : Date > : ^^^^ >x : string | number diff --git a/tests/baselines/reference/inferTypes1.types b/tests/baselines/reference/inferTypes1.types index a9cda6e8e1b54..251ad1e20b323 100644 --- a/tests/baselines/reference/inferTypes1.types +++ b/tests/baselines/reference/inferTypes1.types @@ -322,11 +322,11 @@ type X3 = T extends { a: (x: infer U) => void, b: (x: infer U) => void } ? U >X3 : X3 > : ^^^^^ >a : (x: infer U) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ >b : (x: infer U) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -482,7 +482,7 @@ type Jsonified = : T extends undefined | Function ? never // undefined and functions are removed : T extends { toJSON(): infer R } ? R // toJSON is called if it exists (e.g. Date) >toJSON : () => infer R -> : ^^^^^^ ^ +> : ^^^^^^ : T extends object ? JsonifiedObject : "what is this"; @@ -509,7 +509,7 @@ type Example = { obj: { >obj : { prop: "property"; clz: MyClass; nested: { attr: Date; }; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^ prop: "property", >prop : "property" @@ -521,7 +521,7 @@ type Example = { nested: { attr: Date } >nested : { attr: Date; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >attr : Date > : ^^^^ @@ -657,7 +657,7 @@ type Test2 = EnsureIsString<42>; // never function invoker (key: K, ...args: A) { >invoker : (key: K, ...args: A) => any>>(obj: T) => ReturnType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >key : K > : ^ >args : A @@ -665,7 +665,7 @@ function invoker (key: K, return any>> (obj: T): ReturnType => obj[key](...args) > any>> (obj: T): ReturnType => obj[key](...args) : any>>(obj: T) => ReturnType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >args : A > : ^ >obj : T diff --git a/tests/baselines/reference/inferTypes2.types b/tests/baselines/reference/inferTypes2.types index 85256402ec8d6..85acb796326ed 100644 --- a/tests/baselines/reference/inferTypes2.types +++ b/tests/baselines/reference/inferTypes2.types @@ -5,13 +5,13 @@ export declare function foo(obj: T): T extends () => infer P ? P : never; >foo : (obj: T) => T extends () => infer P ? P : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >obj : T > : ^ export function bar(obj: T) { >bar : (obj: T) => T extends () => infer P ? P : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ @@ -32,13 +32,13 @@ export type BadNested = { x: T extends number ? T : string }; export declare function foo2(obj: T): T extends { [K in keyof BadNested]: BadNested[K] } ? P : never; >foo2 : (obj: T) => T extends { x: infer P extends number ? infer P : string; } ? P : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ export function bar2(obj: T) { >bar2 : (obj: T) => T extends { x: infer P extends number ? infer P : string; } ? P : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/inferTypesWithExtends1.types b/tests/baselines/reference/inferTypesWithExtends1.types index 8ac768537ddb4..566aee3c0df0d 100644 --- a/tests/baselines/reference/inferTypesWithExtends1.types +++ b/tests/baselines/reference/inferTypesWithExtends1.types @@ -432,7 +432,7 @@ type IfEquals = (() => T extends X ? 1 : 2) extends () => T ex declare const x1: () => (T extends infer U extends number ? 1 : 0); >x1 : () => (T extends infer U extends number ? 1 : 0) -> : ^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ function f1() { >f1 : () => () => T extends infer U extends number ? 1 : 0 @@ -449,7 +449,7 @@ type ExpectNumber = T; declare const x2: () => (T extends ExpectNumber ? 1 : 0); >x2 : () => (T extends ExpectNumber ? 1 : 0) -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ function f2() { >f2 : () => () => T extends infer U extends number ? 1 : 0 diff --git a/tests/baselines/reference/inferenceAndHKTs.types b/tests/baselines/reference/inferenceAndHKTs.types index bfed173626108..afe6afaf65f24 100644 --- a/tests/baselines/reference/inferenceAndHKTs.types +++ b/tests/baselines/reference/inferenceAndHKTs.types @@ -45,13 +45,13 @@ export interface TTypeLambda extends TypeLambda { export declare const map: (F: TypeClass) => (a: Apply, f: (a: A) => B) => Apply; >map : (F: TypeClass) => (a: Apply, f: (a: A) => B) => Apply -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >F : TypeClass > : ^^^^^^^^^^^^ >a : Apply > : ^^^^^^^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ diff --git a/tests/baselines/reference/inferenceAndSelfReferentialConstraint.types b/tests/baselines/reference/inferenceAndSelfReferentialConstraint.types index 9bfa9f834085d..8a26bc90d5016 100644 --- a/tests/baselines/reference/inferenceAndSelfReferentialConstraint.types +++ b/tests/baselines/reference/inferenceAndSelfReferentialConstraint.types @@ -16,7 +16,7 @@ type Test = { function test>(arg: T) { >test : >(arg: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/inferenceDoesNotAddUndefinedOrNull.types b/tests/baselines/reference/inferenceDoesNotAddUndefinedOrNull.types index 98633876907d9..d2781ba008434 100644 --- a/tests/baselines/reference/inferenceDoesNotAddUndefinedOrNull.types +++ b/tests/baselines/reference/inferenceDoesNotAddUndefinedOrNull.types @@ -6,36 +6,36 @@ interface NodeArray extends ReadonlyArray {} interface Node { forEachChild(cbNode: (node: Node) => T | undefined, cbNodeArray?: (nodes: NodeArray) => T | undefined): T | undefined; >forEachChild : (cbNode: (node: Node) => T | undefined, cbNodeArray?: (nodes: NodeArray) => T | undefined) => T | undefined -> : ^^^^^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >cbNode : (node: Node) => T | undefined -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >node : Node > : ^^^^ >cbNodeArray : ((nodes: NodeArray) => T | undefined) | undefined -> : ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >nodes : NodeArray > : ^^^^^^^^^^^^^^^ } declare function toArray(value: T | T[]): T[]; >toArray : { (value: T | T[]): T[]; (value: T_1 | readonly T_1[]): readonly T_1[]; } -> : ^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T | T[] > : ^^^^^^^ declare function toArray(value: T | readonly T[]): readonly T[]; >toArray : { (value: T_1 | T_1[]): T_1[]; (value: T | readonly T[]): readonly T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >value : T | readonly T[] > : ^^^^^^^^^^^^^^^^ function flatMapChildren(node: Node, cb: (child: Node) => readonly T[] | T | undefined): readonly T[] { >flatMapChildren : (node: Node, cb: (child: Node) => readonly T[] | T | undefined) => readonly T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^^ ^^^^^ >node : Node > : ^^^^ >cb : (child: Node) => readonly T[] | T | undefined -> : ^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^ ^^^^^ >child : Node > : ^^^^ @@ -103,11 +103,11 @@ function flatMapChildren(node: Node, cb: (child: Node) => readonly T[] | T | function flatMapChildren2(node: Node, cb: (child: Node) => readonly T[] | T | null): readonly T[] { >flatMapChildren2 : (node: Node, cb: (child: Node) => readonly T[] | T | null) => readonly T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^^ ^^^^^ >node : Node > : ^^^^ >cb : (child: Node) => readonly T[] | T | null -> : ^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^^^^ ^^^^^ >child : Node > : ^^^^ diff --git a/tests/baselines/reference/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.types b/tests/baselines/reference/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.types index bf057f9ee4d5c..6d3bd19ce9a98 100644 --- a/tests/baselines/reference/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.types +++ b/tests/baselines/reference/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.types @@ -16,7 +16,7 @@ class ClassA { export interface ValueInterface { func?: (row: TValueClass) => any; >func : (row: TValueClass) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >row : TValueClass > : ^^^^^^^^^^^ @@ -27,7 +27,7 @@ export interface ValueInterface { export interface SettingsInterface { values?: (row: TClass) => ValueInterface[], >values : (row: TClass) => ValueInterface[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >row : TClass > : ^^^^^^ } diff --git a/tests/baselines/reference/inferenceErasedSignatures.types b/tests/baselines/reference/inferenceErasedSignatures.types index 206f452033646..b1b540aedd5de 100644 --- a/tests/baselines/reference/inferenceErasedSignatures.types +++ b/tests/baselines/reference/inferenceErasedSignatures.types @@ -9,7 +9,7 @@ declare class SomeBaseClass { set(key: K, value: this[K]): this[K]; >set : (key: K, value: this[K]) => this[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : this[K] @@ -24,7 +24,7 @@ abstract class SomeAbstractClass extends SomeBaseClass { foo!: (r?: R) => void; >foo : (r?: R) => void -> : ^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >r : R | undefined > : ^^^^^^^^^^^^^ @@ -35,7 +35,7 @@ abstract class SomeAbstractClass extends SomeBaseClass { abstract baz(c: C): Promise; >baz : (c: C) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >c : C > : ^ } @@ -48,7 +48,7 @@ class SomeClass extends SomeAbstractClass { async baz(context: number): Promise { >baz : (context: number) => Promise -> : ^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >context : number > : ^^^^^^ @@ -89,7 +89,7 @@ type SomeClassR = RType; // boolean interface BaseType { set(key: K, value: this[K]): this[K]; >set : (key: K, value: this[K]) => this[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : this[K] @@ -97,13 +97,13 @@ interface BaseType { useT1(c: T1): void; >useT1 : (c: T1) => void -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : T1 > : ^^ useT2(r?: T2): void; >useT2 : (r?: T2) => void -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >r : T2 | undefined > : ^^^^^^^^^^^^^^ @@ -126,7 +126,7 @@ interface InheritedType extends BaseType { interface StructuralVersion { set(key: K, value: this[K]): this[K]; >set : (key: K, value: this[K]) => this[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : this[K] diff --git a/tests/baselines/reference/inferenceExactOptionalProperties2.types b/tests/baselines/reference/inferenceExactOptionalProperties2.types index 0ce0136e1328e..6125189eae13f 100644 --- a/tests/baselines/reference/inferenceExactOptionalProperties2.types +++ b/tests/baselines/reference/inferenceExactOptionalProperties2.types @@ -18,7 +18,7 @@ type EventObject = { interface ActorLogic { transition: (ev: TEvent) => unknown; >transition : (ev: TEvent) => unknown -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >ev : TEvent > : ^^^^^^ } @@ -59,13 +59,13 @@ interface MachineConfig { declare function assign( >assign : (_: (spawn: (actor: TActor["src"]) => void) => {}) => AssignAction -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ _: (spawn: (actor: TActor["src"]) => void) => {}, >_ : (spawn: (actor: TActor["src"]) => void) => {} -> : ^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >spawn : (actor: TActor["src"]) => void -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >actor : TActor["src"] > : ^^^^^^^^^^^^^ @@ -90,12 +90,12 @@ type ToProvidedActor> = declare function setup< >setup : = {}>(implementations?: { actors?: { [K in keyof TActors]: TActors[K]; }; } | undefined) => { createMachine: >>(config: TConfig) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ TActors extends Record = {}, >(implementations?: { >implementations : { actors?: { [K in keyof TActors]: TActors[K]; }; } | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ actors?: { [K in keyof TActors]: TActors[K] }; >actors : { [K in keyof TActors]: TActors[K]; } | undefined @@ -104,7 +104,7 @@ declare function setup< }): { createMachine: < >createMachine : >>(config: TConfig) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ const TConfig extends MachineConfig>, >( diff --git a/tests/baselines/reference/inferenceFromIncompleteSource.types b/tests/baselines/reference/inferenceFromIncompleteSource.types index b38fe199997bb..5982086860a2c 100644 --- a/tests/baselines/reference/inferenceFromIncompleteSource.types +++ b/tests/baselines/reference/inferenceFromIncompleteSource.types @@ -19,7 +19,7 @@ interface ListProps { declare const Component: (x: ListProps) => void; >Component : (x: ListProps) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : ListProps > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inferenceFromParameterlessLambda.types b/tests/baselines/reference/inferenceFromParameterlessLambda.types index c09a7eb9e5481..781d6b3ca9ef5 100644 --- a/tests/baselines/reference/inferenceFromParameterlessLambda.types +++ b/tests/baselines/reference/inferenceFromParameterlessLambda.types @@ -3,7 +3,7 @@ === inferenceFromParameterlessLambda.ts === function foo(o: Take, i: Make) { } >foo : (o: Take, i: Make) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >o : Take > : ^^^^^^^ >i : Make diff --git a/tests/baselines/reference/inferenceLimit.types b/tests/baselines/reference/inferenceLimit.types index 534be96735d2c..d608514f1f2ad 100644 --- a/tests/baselines/reference/inferenceLimit.types +++ b/tests/baselines/reference/inferenceLimit.types @@ -141,7 +141,7 @@ export class BrokenClass { >then : (onfulfilled?: (value: unknown[]) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike) => Promise > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(orders: Array) => { resolve(orders); } : (orders: Array) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >orders : MyModule.MyModel[] > : ^^^^^^^^^^^^^^^^^^ >MyModule : any diff --git a/tests/baselines/reference/inferenceOfNullableObjectTypesWithCommonBase.types b/tests/baselines/reference/inferenceOfNullableObjectTypesWithCommonBase.types index d598a1e114667..cea4bb887ecb2 100644 --- a/tests/baselines/reference/inferenceOfNullableObjectTypesWithCommonBase.types +++ b/tests/baselines/reference/inferenceOfNullableObjectTypesWithCommonBase.types @@ -3,7 +3,7 @@ === inferenceOfNullableObjectTypesWithCommonBase.ts === function equal(a: T, b: T) { } >equal : (a: T, b: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/inferenceOptionalProperties.types b/tests/baselines/reference/inferenceOptionalProperties.types index 114dab56f041f..6aeb56cc3cdc0 100644 --- a/tests/baselines/reference/inferenceOptionalProperties.types +++ b/tests/baselines/reference/inferenceOptionalProperties.types @@ -3,7 +3,7 @@ === inferenceOptionalProperties.ts === declare function test(x: { [key: string]: T }): T; >test : (x: { [key: string]: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { [key: string]: T; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string diff --git a/tests/baselines/reference/inferenceOptionalPropertiesStrict.types b/tests/baselines/reference/inferenceOptionalPropertiesStrict.types index 19b2ef80578e1..ac5739f3ec74d 100644 --- a/tests/baselines/reference/inferenceOptionalPropertiesStrict.types +++ b/tests/baselines/reference/inferenceOptionalPropertiesStrict.types @@ -3,7 +3,7 @@ === inferenceOptionalPropertiesStrict.ts === declare function test(x: { [key: string]: T }): T; >test : (x: { [key: string]: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { [key: string]: T; } > : ^^^^^^^^^^^^^^^^^^^^^ >key : string diff --git a/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.types b/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.types index 2c67a07997120..f385c6f6fbb36 100644 --- a/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.types +++ b/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.types @@ -3,7 +3,7 @@ === inferenceOptionalPropertiesToIndexSignatures.ts === declare function foo(obj: { [x: string]: T }): T; >foo : (obj: { [x: string]: T; }) => T -> : ^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : { [x: string]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : string diff --git a/tests/baselines/reference/inferenceShouldFailOnEvolvingArrays.types b/tests/baselines/reference/inferenceShouldFailOnEvolvingArrays.types index 3d99335debe61..8a364cbe74517 100644 --- a/tests/baselines/reference/inferenceShouldFailOnEvolvingArrays.types +++ b/tests/baselines/reference/inferenceShouldFailOnEvolvingArrays.types @@ -5,7 +5,7 @@ // The type of `arg` blocks inference but simplifies to T. function logLength(arg: { [K in U]: T }[U]): T { >logLength : (arg: { [K in U]: T; }[U]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arg : { [K in U]: T; }[U] > : ^^^^^^^^^^^^^^^^^^^ @@ -55,7 +55,7 @@ z = logLength(42); // no error; T is inferred as `any` function logFirstLength(arg: { [K in U]: T }[U]): T { >logFirstLength : (arg: { [K in U]: T; }[U]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arg : { [K in U]: T; }[U] > : ^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inferenceUnionOfObjectsMappedContextualType.types b/tests/baselines/reference/inferenceUnionOfObjectsMappedContextualType.types index d54dd76104947..d02bb1e510094 100644 --- a/tests/baselines/reference/inferenceUnionOfObjectsMappedContextualType.types +++ b/tests/baselines/reference/inferenceUnionOfObjectsMappedContextualType.types @@ -25,7 +25,7 @@ type RowRendererMeta = { >caption : string > : ^^^^^^ >formatter : ((value: TInput[key]) => string) | undefined -> : ^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TInput[key] > : ^^^^^^^^^^^ } diff --git a/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.types b/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.types index 76f4f22d96719..6e139b69c8976 100644 --- a/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.types +++ b/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.types @@ -4,13 +4,13 @@ interface Int { method(x: T): U; >method : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } declare function foo(x: T, y: Int, z: Int): T; >foo : (x: T, y: Int, z: Int) => T -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : Int diff --git a/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.types b/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.types index da3817f65f56d..1be6987cc68a3 100644 --- a/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.types +++ b/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.types @@ -10,7 +10,7 @@ interface Int { } declare function foo(x: T, y: Int, z: Int): T; >foo : (x: T, y: Int, z: Int) => T -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : Int diff --git a/tests/baselines/reference/inferentialTypingUsingApparentType1.types b/tests/baselines/reference/inferentialTypingUsingApparentType1.types index f92cb65a402d9..051777f8699f4 100644 --- a/tests/baselines/reference/inferentialTypingUsingApparentType1.types +++ b/tests/baselines/reference/inferentialTypingUsingApparentType1.types @@ -3,7 +3,7 @@ === inferentialTypingUsingApparentType1.ts === function foo number>(x: T): T { >foo : number>(x: T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >p : string > : ^^^^^^ >x : T diff --git a/tests/baselines/reference/inferentialTypingUsingApparentType2.types b/tests/baselines/reference/inferentialTypingUsingApparentType2.types index 626a43f532408..041fadcbdbe12 100644 --- a/tests/baselines/reference/inferentialTypingUsingApparentType2.types +++ b/tests/baselines/reference/inferentialTypingUsingApparentType2.types @@ -3,7 +3,7 @@ === inferentialTypingUsingApparentType2.ts === function foo(x: T): T { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^ >m : (p: string) => number > : ^^^^ ^^^^^ >p : string diff --git a/tests/baselines/reference/inferentialTypingUsingApparentType3.types b/tests/baselines/reference/inferentialTypingUsingApparentType3.types index b2114fd246785..debde93051c55 100644 --- a/tests/baselines/reference/inferentialTypingUsingApparentType3.types +++ b/tests/baselines/reference/inferentialTypingUsingApparentType3.types @@ -4,7 +4,7 @@ interface Field { clean(input: T): T >clean : (input: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : T > : ^ } diff --git a/tests/baselines/reference/inferentialTypingWithFunctionType.types b/tests/baselines/reference/inferentialTypingWithFunctionType.types index dd0b3748a48e5..dc61dbffab349 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionType.types +++ b/tests/baselines/reference/inferentialTypingWithFunctionType.types @@ -3,17 +3,17 @@ === inferentialTypingWithFunctionType.ts === declare function map(x: T, f: (s: T) => U): U; >map : (x: T, f: (s: T) => U) => U -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >f : (s: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : T > : ^ declare function identity(y: V): V; >identity : (y: V) => V -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >y : V > : ^ diff --git a/tests/baselines/reference/inferentialTypingWithFunctionType2.types b/tests/baselines/reference/inferentialTypingWithFunctionType2.types index 37e32de39d6ca..f27d7efce52b4 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionType2.types +++ b/tests/baselines/reference/inferentialTypingWithFunctionType2.types @@ -3,7 +3,7 @@ === inferentialTypingWithFunctionType2.ts === function identity(a: A): A { >identity : (a: A) => A -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : A > : ^ diff --git a/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.types b/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.types index 4f53b90a77019..c869c8691ba98 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.types +++ b/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.types @@ -3,19 +3,19 @@ === inferentialTypingWithFunctionTypeNested.ts === declare function map(x: T, f: () => { x: (s: T) => U }): U; >map : (x: T, f: () => { x: (s: T) => U; }) => U -> : ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >f : () => { x: (s: T) => U; } -> : ^^^^^^ ^ ^ +> : ^^^^^^ >x : (s: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : T > : ^ declare function identity(y: V): V; >identity : (y: V) => V -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >y : V > : ^ diff --git a/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.types b/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.types index f7e62a8bef3ee..340ee710168f8 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.types +++ b/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.types @@ -3,17 +3,17 @@ === inferentialTypingWithFunctionTypeSyntacticScenarios.ts === declare function map(array: T, func: (x: T) => U): U; >map : (array: T, func: (x: T) => U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >array : T > : ^ >func : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ declare function identity(y: V): V; >identity : (y: V) => V -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >y : V > : ^ diff --git a/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.types b/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.types index 5862c3590fccb..507c3bc239754 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.types +++ b/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.types @@ -3,7 +3,7 @@ === inferentialTypingWithFunctionTypeZip.ts === var pair: (x: T) => (y: S) => { x: T; y: S; } >pair : (x: T) => (y: S) => { x: T; y: S; } -> : ^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >x : T > : ^ >y : S @@ -15,13 +15,13 @@ var pair: (x: T) => (y: S) => { x: T; y: S; } var zipWith: (a: T[], b: S[], f: (x: T) => (y: S) => U) => U[]; >zipWith : (a: T[], b: S[], f: (x: T) => (y: S) => U) => U[] -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >a : T[] > : ^^^ >b : S[] > : ^^^ >f : (x: T) => (y: S) => U -> : ^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >y : S diff --git a/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.types b/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.types index 57f32c34b6784..3f24246ea086a 100644 --- a/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.types +++ b/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.types @@ -3,7 +3,7 @@ === inferentialTypingWithObjectLiteralProperties.ts === function f(x: T, y: T): T { >f : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/inferentiallyTypingAnEmptyArray.types b/tests/baselines/reference/inferentiallyTypingAnEmptyArray.types index c0b2d8eafaa8a..7dd6b4959e22a 100644 --- a/tests/baselines/reference/inferentiallyTypingAnEmptyArray.types +++ b/tests/baselines/reference/inferentiallyTypingAnEmptyArray.types @@ -18,7 +18,7 @@ // the undefined[] type. declare function foo(arr: T[]): T; >foo : (arr: T[]) => T -> : ^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >arr : T[] > : ^^^ diff --git a/tests/baselines/reference/inferingFromAny.types b/tests/baselines/reference/inferingFromAny.types index 845a860d15860..20f32a29b72a2 100644 --- a/tests/baselines/reference/inferingFromAny.types +++ b/tests/baselines/reference/inferingFromAny.types @@ -10,27 +10,27 @@ var t: [any, any]; declare function f1(t: T): T >f1 : (t: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >t : T > : ^ declare function f2(t: T[]): T; >f2 : (t: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >t : T[] > : ^^^ declare function f3(t: [T, U]): [T, U]; >f3 : (t: [T, U]) => [T, U] -> : ^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >t : [T, U] > : ^^^^^^ declare function f4(x: { bar: T; baz: T }): T; >f4 : (x: { bar: T; baz: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { bar: T; baz: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >bar : T > : ^ >baz : T @@ -38,42 +38,42 @@ declare function f4(x: { bar: T; baz: T }): T; declare function f5(x: (a: T) => void): T; >f5 : (x: (a: T) => void) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function f6(x: new (a: T) => {}): T; >f6 : (x: new (a: T) => {}) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : new (a: T) => {} -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ declare function f7(x: (a: any) => a is T): T; >f7 : (x: (a: any) => a is T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : (a: any) => a is T > : ^^^^ ^^^^^^^^^^^ >a : any declare function f8(x: () => T): T; >f8 : (x: () => T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : () => T -> : ^^^^^^^ +> : ^^^^^^ declare function f9(x: new () => T): T; >f9 : (x: new () => T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ declare function f10(x: { [x: string]: T }): T; >f10 : (x: { [x: string]: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { [x: string]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : string @@ -81,7 +81,7 @@ declare function f10(x: { [x: string]: T }): T; declare function f11(x: { [x: number]: T }): T; >f11 : (x: { [x: number]: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { [x: number]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : number @@ -89,21 +89,21 @@ declare function f11(x: { [x: number]: T }): T; declare function f12(x: T | U): [T, U]; >f12 : (x: T | U) => [T, U] -> : ^^^^^^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >x : T | U > : ^^^^^ declare function f13(x: T & U): [T, U]; >f13 : (x: T & U) => [T, U] -> : ^^^^^^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >x : T & U > : ^^^^^ declare function f14(x: { a: T | U, b: U & T }): [T, U]; >f14 : (x: { a: T | U; b: U & T; }) => [T, U] -> : ^^^^^^^^^^ ^ ^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >x : { a: T | U; b: U & T; } -> : ^^^^^^ ^^^^^^^ ^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T | U > : ^^^^^ >b : U & T @@ -112,31 +112,31 @@ declare function f14(x: { a: T | U, b: U & T }): [T, U]; interface I { } declare function f15(x: I): T; >f15 : (x: I) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : I > : ^^^^ declare function f16(x: Partial): T; >f16 : (x: Partial) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Partial > : ^^^^^^^^^^ declare function f17(x: {[P in keyof T]: K}): T; >f17 : (x: { [P in keyof T]: K; }) => T -> : ^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : { [P in keyof T]: K; } > : ^^^^^^^^^^^^^^^^^^^^^^ declare function f18(x: {[P in K]: T[P]}): T; >f18 : (x: { [P in K]: T[P]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >x : { [P in K]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^ declare function f19(k: K, x: T[K]): T; >f19 : (k: K, x: T[K]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >k : K > : ^ >x : T[K] diff --git a/tests/baselines/reference/inferredRestTypeFixedOnce.types b/tests/baselines/reference/inferredRestTypeFixedOnce.types index cecff88f308b3..2631b5743a047 100644 --- a/tests/baselines/reference/inferredRestTypeFixedOnce.types +++ b/tests/baselines/reference/inferredRestTypeFixedOnce.types @@ -3,9 +3,9 @@ === inferredRestTypeFixedOnce.ts === function wrap(_: (...args: Args) => void) {} >wrap : (_: (...args: Args) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >_ : (...args: Args) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : Args > : ^^^^ diff --git a/tests/baselines/reference/inferrenceInfiniteLoopWithSubtyping.types b/tests/baselines/reference/inferrenceInfiniteLoopWithSubtyping.types index b06256566d565..081b0210f663a 100644 --- a/tests/baselines/reference/inferrenceInfiniteLoopWithSubtyping.types +++ b/tests/baselines/reference/inferrenceInfiniteLoopWithSubtyping.types @@ -36,15 +36,15 @@ export class ObjectTypeComposer { public setFields(fields: ObjMapReadOnly): this; >setFields : (fields: ObjMapReadOnly) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >fields : Readonly<{ [key: string]: Readonly; }> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ public addResolver(opts: { type?: Thunk }): this; >addResolver : (opts: { type?: Thunk; }) => this -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >opts : { type?: Thunk; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ >type : Thunk > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } @@ -55,11 +55,11 @@ export class Resolver { public wrapArgs( >wrapArgs : (cb: () => { [argName: string]: Thunk>; }) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ cb: () => { >cb : () => { [argName: string]: Thunk>; } -> : ^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^ [argName: string]: Thunk>; >argName : string @@ -69,9 +69,9 @@ export class Resolver { public wrapType(cb: () => ComposeOutputTypeDefinition): void; >wrapType : (cb: () => ComposeOutputTypeDefinition) => void -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >cb : () => ComposeOutputTypeDefinition -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/inferringAnyFunctionType1.types b/tests/baselines/reference/inferringAnyFunctionType1.types index 8ecc64616eb9b..2b523009bfd9e 100644 --- a/tests/baselines/reference/inferringAnyFunctionType1.types +++ b/tests/baselines/reference/inferringAnyFunctionType1.types @@ -3,7 +3,7 @@ === inferringAnyFunctionType1.ts === function f number }>(p: T): T { >f : number; }>(p: T) => T -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >"0" : (p1: number) => number > : ^^^^^ ^^^^^ >p1 : number diff --git a/tests/baselines/reference/inferringAnyFunctionType2.types b/tests/baselines/reference/inferringAnyFunctionType2.types index c4c11909b091b..8d0a863875ede 100644 --- a/tests/baselines/reference/inferringAnyFunctionType2.types +++ b/tests/baselines/reference/inferringAnyFunctionType2.types @@ -3,7 +3,7 @@ === inferringAnyFunctionType2.ts === function f number]>(p: T): T { >f : number]>(p: T) => T -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^ >p1 : number > : ^^^^^^ >p : T diff --git a/tests/baselines/reference/inferringAnyFunctionType3.types b/tests/baselines/reference/inferringAnyFunctionType3.types index 6048495282899..d23425cce191b 100644 --- a/tests/baselines/reference/inferringAnyFunctionType3.types +++ b/tests/baselines/reference/inferringAnyFunctionType3.types @@ -3,7 +3,7 @@ === inferringAnyFunctionType3.ts === function f number)[]>(p: T): T { >f : number)[]>(p: T) => T -> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ >p1 : number > : ^^^^^^ >p : T diff --git a/tests/baselines/reference/inferringAnyFunctionType4.types b/tests/baselines/reference/inferringAnyFunctionType4.types index 5227aea85d143..3b3391b9d685d 100644 --- a/tests/baselines/reference/inferringAnyFunctionType4.types +++ b/tests/baselines/reference/inferringAnyFunctionType4.types @@ -3,7 +3,7 @@ === inferringAnyFunctionType4.ts === function f number>(p: T): T { >f : number>(p: T) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >p1 : number > : ^^^^^^ >p : T diff --git a/tests/baselines/reference/inferringAnyFunctionType5.types b/tests/baselines/reference/inferringAnyFunctionType5.types index 8f4bfa93470df..f9705e49b49fa 100644 --- a/tests/baselines/reference/inferringAnyFunctionType5.types +++ b/tests/baselines/reference/inferringAnyFunctionType5.types @@ -3,7 +3,7 @@ === inferringAnyFunctionType5.ts === function f number }>(p: T): T { >f : number; }>(p: T) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >q : (p1: number) => number > : ^^^^^ ^^^^^ >p1 : number diff --git a/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.types b/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.types index a660005b56c24..a3fc715408f89 100644 --- a/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.types +++ b/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.types @@ -7,7 +7,7 @@ class GenericObject { give(value: T) { >give : (value: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ >value : T > : ^ @@ -22,7 +22,7 @@ class GenericNumber { give(value: T) { >give : (value: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ >value : T > : ^ @@ -37,7 +37,7 @@ class GenericNumberOrString { give(value: T) { >give : (value: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ >value : T > : ^ @@ -49,9 +49,9 @@ class GenericNumberOrString { function g(type: new () => T): T { >g : (type: new () => T) => T -> : ^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >type : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ return new type(); >new type() : T diff --git a/tests/baselines/reference/infiniteConstraints.types b/tests/baselines/reference/infiniteConstraints.types index 6fd13d6441054..e5d0d49934694 100644 --- a/tests/baselines/reference/infiniteConstraints.types +++ b/tests/baselines/reference/infiniteConstraints.types @@ -29,7 +29,7 @@ type AProp = T declare function myBug< >myBug : (arg: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ T extends { [K in keyof T]: T[K] extends AProp ? U : never } >(arg: T): T @@ -60,13 +60,13 @@ type Value = Record<"val", V>; declare function value(val: V): Value; >value : (val: V) => Value -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >val : V > : ^ declare function ensureNoDuplicates< >ensureNoDuplicates : >["val"] extends Extract], Value>["val"] ? never : any; }>(vals: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ T extends { [K in keyof T]: Extract["val"] extends Extract], Value>["val"] @@ -155,7 +155,7 @@ type Cond = T extends number ? number : never; declare function function1}>(): T[keyof T]["foo"]; >function1 : ; }>() => T[keyof T]["foo"] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // Repro from #31823 diff --git a/tests/baselines/reference/infiniteExpansionThroughInstantiation.types b/tests/baselines/reference/infiniteExpansionThroughInstantiation.types index 2f57130f01ae7..aaae84a79a611 100644 --- a/tests/baselines/reference/infiniteExpansionThroughInstantiation.types +++ b/tests/baselines/reference/infiniteExpansionThroughInstantiation.types @@ -42,7 +42,7 @@ list = ownerList; function other(x: T) { >other : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/infiniteExpansionThroughTypeInference.types b/tests/baselines/reference/infiniteExpansionThroughTypeInference.types index 15b69abbdaa84..f3a679ae7d56e 100644 --- a/tests/baselines/reference/infiniteExpansionThroughTypeInference.types +++ b/tests/baselines/reference/infiniteExpansionThroughTypeInference.types @@ -13,7 +13,7 @@ interface G { function ff(g: G): void { >ff : (g: G) => void -> : ^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >g : G > : ^^^^ diff --git a/tests/baselines/reference/infinitelyExpandingBaseTypes2.types b/tests/baselines/reference/infinitelyExpandingBaseTypes2.types index 7f40005d190be..215f9526a73ca 100644 --- a/tests/baselines/reference/infinitelyExpandingBaseTypes2.types +++ b/tests/baselines/reference/infinitelyExpandingBaseTypes2.types @@ -5,14 +5,14 @@ interface A { x : A<()=>T> >x : A<() => T> -> : ^^^^^^^^^^ +> : ^^^^^^^^ ^ } interface B { x : B<()=>T> >x : B<() => T> -> : ^^^^^^^^^^ +> : ^^^^^^^^ ^ } var a: A diff --git a/tests/baselines/reference/infinitelyExpandingOverloads.types b/tests/baselines/reference/infinitelyExpandingOverloads.types index b3ec8396551ff..9321412ab8394 100644 --- a/tests/baselines/reference/infinitelyExpandingOverloads.types +++ b/tests/baselines/reference/infinitelyExpandingOverloads.types @@ -9,9 +9,9 @@ interface KnockoutSubscription2 { interface KnockoutObservableBase2 { subscribe(callback: (newValue: T) => void, target?: any, topic?: string): KnockoutSubscription2; >subscribe : (callback: (newValue: T) => void, target?: any, topic?: string) => KnockoutSubscription2 -> : ^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >callback : (newValue: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >newValue : T > : ^ >target : any @@ -21,7 +21,7 @@ interface KnockoutObservableBase2 { interface ValidationPlacement2 { initialize(validatable: Validatable2): void; >initialize : (validatable: Validatable2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >validatable : Validatable2 > : ^^^^^^^^^^^^^^^^^^^^ } @@ -56,11 +56,11 @@ class Widget { constructor(viewModelType: new () => ViewModel); // Shouldnt error on this overload >viewModelType : new () => ViewModel -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^ constructor(viewModelType: new () => ViewModel) { >viewModelType : new () => ViewModel -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^ } public get options(): ViewModel { >options : ViewModel diff --git a/tests/baselines/reference/infinitelyExpandingTypes2.types b/tests/baselines/reference/infinitelyExpandingTypes2.types index a5e1a42e6beb4..ef09546391917 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes2.types +++ b/tests/baselines/reference/infinitelyExpandingTypes2.types @@ -15,7 +15,7 @@ interface Bar extends Foo { function f(p: Foo) { >f : (p: Foo) => void -> : ^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : Foo > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/infinitelyExpandingTypes4.types b/tests/baselines/reference/infinitelyExpandingTypes4.types index 707ca2ed9031e..94d769ddde5ca 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes4.types +++ b/tests/baselines/reference/infinitelyExpandingTypes4.types @@ -5,9 +5,9 @@ interface Query { // ... groupBy(keySelector: (item: T) => K): Query>; >groupBy : (keySelector: (item: T) => K) => Query> -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : (item: T) => K -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ @@ -18,9 +18,9 @@ interface QueryEnumerator { // ... groupBy(keySelector: (item: T) => K): QueryEnumerator>; >groupBy : (keySelector: (item: T) => K) => QueryEnumerator> -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : (item: T) => K -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ @@ -30,7 +30,7 @@ interface QueryEnumerator { interface Grouping extends Query { key(): K; >key : () => K -> : ^^^^^^^ +> : ^^^^^^ } var q1: Query; diff --git a/tests/baselines/reference/infinitelyExpandingTypes5.types b/tests/baselines/reference/infinitelyExpandingTypes5.types index 1ba4ff1f674ff..87a8ed76f6e6e 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes5.types +++ b/tests/baselines/reference/infinitelyExpandingTypes5.types @@ -4,7 +4,7 @@ interface Query { foo(x: T): Query; >foo : (x: T) => Query -> : ^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -12,7 +12,7 @@ interface Query { interface Enumerator { (action: (item: T, index: number) => boolean): boolean; >action : (item: T, index: number) => boolean -> : ^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^ >item : T > : ^ >index : number @@ -21,13 +21,13 @@ interface Enumerator { function from(array: T[]): Query; >from : { (array: T[]): Query; (enumerator: Enumerator): Query; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : T[] > : ^^^ function from(enumerator: Enumerator): Query; >from : { (array: T_1[]): Query; (enumerator: Enumerator): Query; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ >enumerator : Enumerator > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.types b/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.types index 5e3a178704d67..a2d4ce843d51e 100644 --- a/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.types +++ b/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.types @@ -38,9 +38,9 @@ interface Options extends OptionsBase { function o(type: new () => Base) { >o : (type: new () => Base) => void -> : ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >type : new () => Base -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ } o(A); diff --git a/tests/baselines/reference/infinitelyGenerativeInheritance1.types b/tests/baselines/reference/infinitelyGenerativeInheritance1.types index 657570290a034..b3fdf6d5b9f47 100644 --- a/tests/baselines/reference/infinitelyGenerativeInheritance1.types +++ b/tests/baselines/reference/infinitelyGenerativeInheritance1.types @@ -4,11 +4,11 @@ interface Stack { pop(): T >pop : () => T -> : ^^^^^^^ +> : ^^^^^^ zip(a: Stack): Stack<{ x: T; y: S }> >zip : (a: Stack) => Stack<{ x: T; y: S; }> -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >a : Stack > : ^^^^^^^^ >x : T @@ -20,7 +20,7 @@ interface Stack { interface MyStack extends Stack { zip(a: Stack): Stack<{ x: T; y: S }> >zip : (a: Stack) => Stack<{ x: T; y: S; }> -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >a : Stack > : ^^^^^^^^ >x : T diff --git a/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.types b/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.types index f27a5d16bba57..40cb4a23a4a10 100644 --- a/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.types +++ b/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.types @@ -5,7 +5,7 @@ interface IResultCallback extends Function { } function fn(cb: IResultCallback) { } >fn : (cb: IResultCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >cb : IResultCallback > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/inlineConditionalHasSimilarAssignability.types b/tests/baselines/reference/inlineConditionalHasSimilarAssignability.types index 359030567baab..9f69e598a1c68 100644 --- a/tests/baselines/reference/inlineConditionalHasSimilarAssignability.types +++ b/tests/baselines/reference/inlineConditionalHasSimilarAssignability.types @@ -7,7 +7,7 @@ type MyExtract = T extends U ? T : never function foo(a: T) { >foo : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/inlineJsxFactoryDeclarationsLocalTypes.types b/tests/baselines/reference/inlineJsxFactoryDeclarationsLocalTypes.types index 73bbdf1dcc57a..e343e85216700 100644 --- a/tests/baselines/reference/inlineJsxFactoryDeclarationsLocalTypes.types +++ b/tests/baselines/reference/inlineJsxFactoryDeclarationsLocalTypes.types @@ -15,7 +15,7 @@ export namespace dom { props: { >props : { children?: Element[]; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ children?: Element[]; >children : Element[] @@ -26,7 +26,7 @@ export namespace dom { interface ElementClass extends Element { render(): Element; >render : () => Element -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } interface ElementAttributesProperty { props: any; } >props : any @@ -39,7 +39,7 @@ export namespace dom { } export function dom(): dom.JSX.Element; >dom : () => dom.JSX.Element -> : ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >dom : any > : ^^^ >JSX : any @@ -60,7 +60,7 @@ export namespace predom { props: { >props : { children?: Element[]; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ children?: Element[]; >children : Element[] @@ -71,7 +71,7 @@ export namespace predom { interface ElementClass extends Element { render(): Element; >render : () => Element -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } interface ElementAttributesProperty { props: any; } >props : any @@ -84,7 +84,7 @@ export namespace predom { } export function predom(): predom.JSX.Element; >predom : () => predom.JSX.Element -> : ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >predom : any > : ^^^ >JSX : any @@ -98,11 +98,11 @@ import { predom } from "./renderer2" export const MySFC = (props: {x: number, y: number, children?: predom.JSX.Element[]}) =>

{props.x} + {props.y} = {props.x + props.y}{...this.props.children}

; >MySFC : (props: { x: number; y: number; children?: predom.JSX.Element[]; }) => predom.JSX.Element -> : ^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >(props: {x: number, y: number, children?: predom.JSX.Element[]}) =>

{props.x} + {props.y} = {props.x + props.y}{...this.props.children}

: (props: { x: number; y: number; children?: predom.JSX.Element[]; }) => predom.JSX.Element -> : ^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >props : { x: number; y: number; children?: predom.JSX.Element[]; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^ >x : number > : ^^^^^^ >y : number @@ -172,7 +172,7 @@ export class MyClass implements predom.JSX.Element { constructor(public props: {x: number, y: number, children?: predom.JSX.Element[]}) {} >props : { x: number; y: number; children?: predom.JSX.Element[]; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^ >x : number > : ^^^^^^ >y : number @@ -341,11 +341,11 @@ elem = ; // Expect assignability error here const DOMSFC = (props: {x: number, y: number, children?: dom.JSX.Element[]}) =>

{props.x} + {props.y} = {props.x + props.y}{props.children}

; >DOMSFC : (props: { x: number; y: number; children?: dom.JSX.Element[]; }) => dom.JSX.Element -> : ^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >(props: {x: number, y: number, children?: dom.JSX.Element[]}) =>

{props.x} + {props.y} = {props.x + props.y}{props.children}

: (props: { x: number; y: number; children?: dom.JSX.Element[]; }) => dom.JSX.Element -> : ^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >props : { x: number; y: number; children?: dom.JSX.Element[]; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^ >x : number > : ^^^^^^ >y : number @@ -411,7 +411,7 @@ class DOMClass implements dom.JSX.Element { constructor(public props: {x: number, y: number, children?: dom.JSX.Element[]}) {} >props : { x: number; y: number; children?: dom.JSX.Element[]; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^ >x : number > : ^^^^^^ >y : number diff --git a/tests/baselines/reference/inlineJsxFactoryLocalTypeGlobalFallback.types b/tests/baselines/reference/inlineJsxFactoryLocalTypeGlobalFallback.types index 81659f57834ff..a4f6fc7d52634 100644 --- a/tests/baselines/reference/inlineJsxFactoryLocalTypeGlobalFallback.types +++ b/tests/baselines/reference/inlineJsxFactoryLocalTypeGlobalFallback.types @@ -35,7 +35,7 @@ declare global { } export function dom(): JSX.Element; >dom : () => JSX.Element -> : ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >JSX : any > : ^^^ @@ -71,7 +71,7 @@ export namespace predom { } export function predom(): predom.JSX.Element; >predom : () => predom.JSX.Element -> : ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >predom : any > : ^^^ >JSX : any diff --git a/tests/baselines/reference/inlineMappedTypeModifierDeclarationEmit.types b/tests/baselines/reference/inlineMappedTypeModifierDeclarationEmit.types index 57a95b7edbdd6..a11e099c264d6 100644 --- a/tests/baselines/reference/inlineMappedTypeModifierDeclarationEmit.types +++ b/tests/baselines/reference/inlineMappedTypeModifierDeclarationEmit.types @@ -9,7 +9,7 @@ import { test1, test2 } from "./other"; export function wrappedTest1(obj: T, k: K) { >wrappedTest1 : (obj: T, k: K) => Exclude extends infer T_1 extends keyof T ? { [P in T_1]: T[P]; } : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >k : K @@ -28,7 +28,7 @@ export function wrappedTest1(obj: T, k: K) { export function wrappedTest2(obj: T, k: K) { >wrappedTest2 : (obj: T, k: K) => { [P in Exclude]: T[P]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >k : K @@ -103,7 +103,7 @@ type OmitUnveiled = { export function test1(obj: T, k: K): OmitReal { >test1 : (obj: T, k: K) => OmitReal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >obj : T > : ^ >k : K @@ -117,7 +117,7 @@ export function test1(obj: T, k: K): OmitReal { export function test2(obj: T, k: K): OmitUnveiled { >test2 : (obj: T, k: K) => OmitUnveiled -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >obj : T > : ^ >k : K diff --git a/tests/baselines/reference/innerAliases2.types b/tests/baselines/reference/innerAliases2.types index aacb7a61a31e7..210296ac6192a 100644 --- a/tests/baselines/reference/innerAliases2.types +++ b/tests/baselines/reference/innerAliases2.types @@ -34,7 +34,7 @@ module consumer { function use():provider.UsefulClass { >use : () => provider.UsefulClass -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provider : any > : ^^^ diff --git a/tests/baselines/reference/innerBoundLambdaEmit.types b/tests/baselines/reference/innerBoundLambdaEmit.types index e4150bdab0bd1..02a261ca0345e 100644 --- a/tests/baselines/reference/innerBoundLambdaEmit.types +++ b/tests/baselines/reference/innerBoundLambdaEmit.types @@ -18,7 +18,7 @@ module M { interface Array { toFoo(): M.Foo >toFoo : () => M.Foo -> : ^^^^^^^ +> : ^^^^^^ >M : any > : ^^^ } diff --git a/tests/baselines/reference/innerTypeArgumentInference.types b/tests/baselines/reference/innerTypeArgumentInference.types index a7053090379cc..99d90e555d69d 100644 --- a/tests/baselines/reference/innerTypeArgumentInference.types +++ b/tests/baselines/reference/innerTypeArgumentInference.types @@ -4,7 +4,7 @@ interface Generator { (): T; } function Generate(func: Generator): U { >Generate : (func: Generator) => U -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >func : Generator > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/instanceAndStaticDeclarations1.types b/tests/baselines/reference/instanceAndStaticDeclarations1.types index 5aa4d13688d9b..cd74471f0989f 100644 --- a/tests/baselines/reference/instanceAndStaticDeclarations1.types +++ b/tests/baselines/reference/instanceAndStaticDeclarations1.types @@ -15,7 +15,7 @@ class Point { public distance(p: Point) { >distance : (p: Point) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : Point > : ^^^^^ @@ -93,7 +93,7 @@ class Point { static distance(p1: Point, p2: Point) { return p1.distance(p2); } >distance : (p1: Point, p2: Point) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^^^ >p1 : Point > : ^^^^^ >p2 : Point diff --git a/tests/baselines/reference/instanceOfAssignability.types b/tests/baselines/reference/instanceOfAssignability.types index 99c4145f04992..614531371365e 100644 --- a/tests/baselines/reference/instanceOfAssignability.types +++ b/tests/baselines/reference/instanceOfAssignability.types @@ -57,7 +57,7 @@ class Giraffe extends Mammal { neck; } function fn1(x: Array|Array|boolean) { >fn1 : (x: Array | Array | boolean) => void -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : boolean | number[] | string[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -81,7 +81,7 @@ function fn1(x: Array|Array|boolean) { function fn2(x: Base) { >fn2 : (x: Base) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Base > : ^^^^ @@ -105,7 +105,7 @@ function fn2(x: Base) { function fn3(x: Base|Derived1) { >fn3 : (x: Base | Derived1) => void -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Base | Derived1 > : ^^^^^^^^^^^^^^^ @@ -129,7 +129,7 @@ function fn3(x: Base|Derived1) { function fn4(x: Base|Derived2) { >fn4 : (x: Base | Derived2) => void -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Base | Derived2 > : ^^^^^^^^^^^^^^^ @@ -153,7 +153,7 @@ function fn4(x: Base|Derived2) { function fn5(x: Derived1) { >fn5 : (x: Derived1) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived1 > : ^^^^^^^^ @@ -177,7 +177,7 @@ function fn5(x: Derived1) { function fn6(x: Animal|Mammal) { >fn6 : (x: Animal | Mammal) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Animal | Mammal > : ^^^^^^^^^^^^^^^ @@ -201,7 +201,7 @@ function fn6(x: Animal|Mammal) { function fn7(x: Array|Array) { >fn7 : (x: Array | Array) => void -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : number[] | string[] > : ^^^^^^^^^^^^^^^^^^^ @@ -241,7 +241,7 @@ class ABC { a; b; c; } function fn8(x: Alpha|Beta|Gamma) { >fn8 : (x: Alpha | Beta | Gamma) => void -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Alpha | Beta | Gamma > : ^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.types b/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.types index 05ef13bb73b09..afde68a633904 100644 --- a/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.types +++ b/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.types @@ -12,7 +12,7 @@ declare class StaticToString { function foo(staticToString: StaticToString) { >foo : (staticToString: StaticToString) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >staticToString : StaticToString > : ^^^^^^^^^^^^^^ @@ -35,7 +35,7 @@ declare class StaticToNumber { } function bar(staticToNumber: StaticToNumber) { >bar : (staticToNumber: StaticToNumber) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >staticToNumber : StaticToNumber > : ^^^^^^^^^^^^^^ @@ -58,7 +58,7 @@ declare class NormalToString { } function baz(normal: NormalToString) { >baz : (normal: NormalToString) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ >normal : NormalToString > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.types b/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.types index 67576e279bc9e..bff0daa0bc406 100644 --- a/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.types +++ b/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.types @@ -3,7 +3,7 @@ === instanceofOperatorWithLHSIsTypeParameter.ts === function foo(t: T) { >foo : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.types b/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.types index 42d7408ac2e9f..0dc858ac6bcba 100644 --- a/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.types +++ b/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.types @@ -67,9 +67,9 @@ declare var rhs2: { [Symbol.hasInstance](value: any): value is Point; }; declare var rhs3: { [Symbol.hasInstance](value: Point | Line): value is Point; }; >rhs3 : { [Symbol.hasInstance](value: Point | Line): value is Point; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >[Symbol.hasInstance] : (value: Point | Line) => value is Point -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -81,9 +81,9 @@ declare var rhs3: { [Symbol.hasInstance](value: Point | Line): value is Point; } declare var rhs4: { [Symbol.hasInstance](value: Point | Line): value is Line; }; >rhs4 : { [Symbol.hasInstance](value: Point | Line): value is Line; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >[Symbol.hasInstance] : (value: Point | Line) => value is Line -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -95,9 +95,9 @@ declare var rhs4: { [Symbol.hasInstance](value: Point | Line): value is Line; }; declare var rhs5: { [Symbol.hasInstance](value: Point | Point3D | Line): value is Point3D; }; >rhs5 : { [Symbol.hasInstance](value: Point | Point3D | Line): value is Point3D; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >[Symbol.hasInstance] : (value: Point | Point3D | Line) => value is Point3D -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -109,9 +109,9 @@ declare var rhs5: { [Symbol.hasInstance](value: Point | Point3D | Line): value i declare var rhs6: { [Symbol.hasInstance](value: Point3D | Line): value is Point3D; }; >rhs6 : { [Symbol.hasInstance](value: Point3D | Line): value is Point3D; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >[Symbol.hasInstance] : (value: Point3D | Line) => value is Point3D -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -165,7 +165,7 @@ declare class Rhs10 { static [Symbol.hasInstance](value: Point | Line): value is >Rhs10 : Rhs10 > : ^^^^^ >[Symbol.hasInstance] : (value: Point | Line) => value is Point -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -179,7 +179,7 @@ declare class Rhs11 { static [Symbol.hasInstance](value: Point | Line): value is >Rhs11 : Rhs11 > : ^^^^^ >[Symbol.hasInstance] : (value: Point | Line) => value is Line -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -193,7 +193,7 @@ declare class Rhs12 { static [Symbol.hasInstance](value: Point | Point3D | Line) >Rhs12 : Rhs12 > : ^^^^^ >[Symbol.hasInstance] : (value: Point | Point3D | Line) => value is Point3D -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -207,7 +207,7 @@ declare class Rhs13 { static [Symbol.hasInstance](value: Point3D | Line): value >Rhs13 : Rhs13 > : ^^^^^ >[Symbol.hasInstance] : (value: Point3D | Line) => value is Point3D -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -926,7 +926,7 @@ declare class A { // all construct signatures, but we have no way of extracting individual construct signatures from a type. static [Symbol.hasInstance](this: T, value: unknown): value is ( >[Symbol.hasInstance] : (this: T, value: unknown) => value is T extends Function ? T extends { readonly prototype: infer U; } ? boolean extends (U extends never ? true : false) ? T extends abstract new (...args: any) => infer V ? V : {} : U : never : never -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Symbol.hasInstance : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor diff --git a/tests/baselines/reference/instanceofTypeAliasToGenericClass.types b/tests/baselines/reference/instanceofTypeAliasToGenericClass.types index 5da668c0f94f4..4762df7bd4c78 100644 --- a/tests/baselines/reference/instanceofTypeAliasToGenericClass.types +++ b/tests/baselines/reference/instanceofTypeAliasToGenericClass.types @@ -16,7 +16,7 @@ export type Table = TableClass; function fn(o: T) { >fn : (o: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >o : T > : ^ @@ -31,7 +31,7 @@ function fn(o: T) { function fn2(o: T) { >fn2 : >(o: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >o : T > : ^ diff --git a/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.types b/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.types index 64e21e195a892..fd229a7941d1b 100644 --- a/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.types +++ b/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.types @@ -23,7 +23,7 @@ class C3 { item: string } function foo1(x: C1 | C2 | C3): string { >foo1 : (x: C1 | C2 | C3) => string -> : ^^^^^^ ^^ ^^^^^^^ +> : ^^^^ ^^^^^ >x : C1 | C2 | C3 > : ^^^^^^^^^^^^ @@ -86,7 +86,7 @@ function foo1(x: C1 | C2 | C3): string { function isC1(c: C1 | C2 | C3): c is C1 { return c instanceof C1 } >isC1 : (c: C1 | C2 | C3) => c is C1 -> : ^^^^^^ ^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >c : C1 | C2 | C3 > : ^^^^^^^^^^^^ >c instanceof C1 : boolean @@ -98,7 +98,7 @@ function isC1(c: C1 | C2 | C3): c is C1 { return c instanceof C1 } function isC2(c: C1 | C2 | C3): c is C2 { return c instanceof C2 } >isC2 : (c: C1 | C2 | C3) => c is C2 -> : ^^^^^^ ^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >c : C1 | C2 | C3 > : ^^^^^^^^^^^^ >c instanceof C2 : boolean @@ -110,7 +110,7 @@ function isC2(c: C1 | C2 | C3): c is C2 { return c instanceof C2 } function isC3(c: C1 | C2 | C3): c is C3 { return c instanceof C3 } >isC3 : (c: C1 | C2 | C3) => c is C3 -> : ^^^^^^ ^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >c : C1 | C2 | C3 > : ^^^^^^^^^^^^ >c instanceof C3 : boolean @@ -122,7 +122,7 @@ function isC3(c: C1 | C2 | C3): c is C3 { return c instanceof C3 } function foo2(x: C1 | C2 | C3): string { >foo2 : (x: C1 | C2 | C3) => string -> : ^^^^^^ ^^ ^^^^^^^ +> : ^^^^ ^^^^^ >x : C1 | C2 | C3 > : ^^^^^^^^^^^^ @@ -213,7 +213,7 @@ class B extends A { b: string } function goo(x: A) { >goo : (x: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A > : ^ diff --git a/tests/baselines/reference/instantiateContextualTypes.types b/tests/baselines/reference/instantiateContextualTypes.types index 326efd9f3407b..25ab61d5f5330 100644 --- a/tests/baselines/reference/instantiateContextualTypes.types +++ b/tests/baselines/reference/instantiateContextualTypes.types @@ -11,7 +11,7 @@ export interface A
{ function fn(values: A, value: a) : void { >fn : (values: A, value: a) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >values : A > : ^^^^ >value : a @@ -51,7 +51,7 @@ interface BaseProps { nextValues: (cur: T) => T; >nextValues : (cur: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >cur : T > : ^ } @@ -100,7 +100,7 @@ new GenericComponent({ initialValues: 12, nextValues: val => 12 }); declare function useStringOrNumber(t: T, useIt: T extends string ? ((s: string) => void) : ((n: number) => void)): void; >useStringOrNumber : (t: T, useIt: T extends string ? ((s: string) => void) : ((n: number) => void)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >t : T > : ^ >useIt : T extends string ? (s: string) => void : (n: number) => void @@ -156,7 +156,7 @@ interface ActionHandler { declare function handler(actionType: ActionType

, handler: Handler): ActionHandler >handler : (actionType: ActionType

, handler: Handler) => ActionHandler -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >actionType : ActionType

> : ^^^^^^^^^^^^^ >handler : Handler @@ -164,7 +164,7 @@ declare function handler(actionType: ActionType

, handler: Handler declare function createReducer( >createReducer : (defaultState: S, ...actionHandlers: ActionHandler[]) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ defaultState: S, >defaultState : S @@ -274,7 +274,7 @@ type O = { on

(x: P, callback: R[P]): void; >on :

(x: P, callback: R[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >x : P > : ^ >callback : R[P] @@ -338,7 +338,7 @@ type CreateElementChildren

= declare function createElement

( >createElement :

(type: ComponentClass

, ...children: P extends { children?: infer C | undefined; } ? C extends any[] ? C : C[] : unknown) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: ComponentClass

, >type : ComponentClass

@@ -352,7 +352,7 @@ declare function createElement

( declare function createElement2

( >createElement2 :

(type: ComponentClass

, child: P extends { children?: infer C | undefined; } ? C extends any[] ? C : C[] : unknown) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: ComponentClass

, >type : ComponentClass

@@ -446,7 +446,7 @@ type BoxConsumerFromOuterBox = declare function passContentsToFunc(outerBox: T, consumer: BoxConsumerFromOuterBox): void; >passContentsToFunc : (outerBox: T, consumer: BoxConsumerFromOuterBox) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >outerBox : T > : ^ >consumer : BoxConsumerFromOuterBox @@ -486,9 +486,9 @@ class Interesting { public compiles = () : Promise => { >compiles : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >() : Promise => { return Promise.resolve().then(() => { if (1 < 2) { return 'SOMETHING'; } return 'ELSE'; }); } : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ return Promise.resolve().then(() => { >Promise.resolve().then(() => { if (1 < 2) { return 'SOMETHING'; } return 'ELSE'; }) : Promise<"SOMETHING" | "ELSE"> @@ -528,9 +528,9 @@ class Interesting { }; public doesnt = () : Promise => { >doesnt : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >() : Promise => { return Promise.resolve().then(() => { return 'ELSE'; }); } : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ return Promise.resolve().then(() => { >Promise.resolve().then(() => { return 'ELSE'; }) : Promise<"SOMETHING" | "ELSE"> @@ -558,9 +558,9 @@ class Interesting { }; public slightlyDifferentErrorMessage = () : Promise => { >slightlyDifferentErrorMessage : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >() : Promise => { return Promise.resolve().then(() => { if (1 < 2) { return 'SOMETHING'; } return 'SOMETHING'; }); } : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ return Promise.resolve().then(() => { >Promise.resolve().then(() => { if (1 < 2) { return 'SOMETHING'; } return 'SOMETHING'; }) : Promise<"SOMETHING" | "ELSE"> @@ -604,9 +604,9 @@ class Interesting { declare function invoke(f: () => T): T; >invoke : (f: () => T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : () => T -> : ^^^^^^^ +> : ^^^^^^ let xx: 0 | 1 | 2 = invoke(() => 1); >xx : 0 | 1 | 2 @@ -624,7 +624,7 @@ let xx: 0 | 1 | 2 = invoke(() => 1); declare function assignPartial(target: T, partial: Partial): T; >assignPartial : (target: T, partial: Partial) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >target : T > : ^ >partial : Partial diff --git a/tests/baselines/reference/instantiateContextuallyTypedGenericThis.types b/tests/baselines/reference/instantiateContextuallyTypedGenericThis.types index 35046289f54ca..db0d4ba93920a 100644 --- a/tests/baselines/reference/instantiateContextuallyTypedGenericThis.types +++ b/tests/baselines/reference/instantiateContextuallyTypedGenericThis.types @@ -4,13 +4,13 @@ interface JQuery { each( >each : (collection: T[], callback: (this: T, dit: T) => T) => T[] -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ collection: T[], callback: (this: T, dit: T) => T >collection : T[] > : ^^^ >callback : (this: T, dit: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ >this : T > : ^ >dit : T diff --git a/tests/baselines/reference/instantiateCrossFileMerge.types b/tests/baselines/reference/instantiateCrossFileMerge.types index d4d24aae5b316..3f404827393a9 100644 --- a/tests/baselines/reference/instantiateCrossFileMerge.types +++ b/tests/baselines/reference/instantiateCrossFileMerge.types @@ -7,9 +7,9 @@ declare class P { constructor(callback: (resolve: (value: R) => void) => void); >callback : (resolve: (value: R) => void) => void -> : ^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >resolve : (value: R) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : R > : ^ } diff --git a/tests/baselines/reference/instantiateTemplateTagTypeParameterOnVariableStatement.types b/tests/baselines/reference/instantiateTemplateTagTypeParameterOnVariableStatement.types index 42103764895cf..6edd43e862768 100644 --- a/tests/baselines/reference/instantiateTemplateTagTypeParameterOnVariableStatement.types +++ b/tests/baselines/reference/instantiateTemplateTagTypeParameterOnVariableStatement.types @@ -8,9 +8,9 @@ */ const seq = a => b => b; >seq : (a: T) => (b: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ >a => b => b : (a: T) => (b: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ >b => b : (b: T) => T diff --git a/tests/baselines/reference/instantiatedBaseTypeConstraints.types b/tests/baselines/reference/instantiatedBaseTypeConstraints.types index ffccb9e6462b6..da0197235f0b2 100644 --- a/tests/baselines/reference/instantiatedBaseTypeConstraints.types +++ b/tests/baselines/reference/instantiatedBaseTypeConstraints.types @@ -4,7 +4,7 @@ interface Foo, C> { foo(bar: C): void; >foo : (bar: C) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >bar : C > : ^ } diff --git a/tests/baselines/reference/instantiatedModule.types b/tests/baselines/reference/instantiatedModule.types index 2e806aba69aaf..b8567423b7b7e 100644 --- a/tests/baselines/reference/instantiatedModule.types +++ b/tests/baselines/reference/instantiatedModule.types @@ -91,7 +91,7 @@ module M2 { static Origin(): Point { >Origin : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ return { x: 0, y: 0 }; >{ x: 0, y: 0 } : { x: number; y: number; } diff --git a/tests/baselines/reference/instantiatedReturnTypeContravariance.types b/tests/baselines/reference/instantiatedReturnTypeContravariance.types index acc602f1e49a5..25026014a7121 100644 --- a/tests/baselines/reference/instantiatedReturnTypeContravariance.types +++ b/tests/baselines/reference/instantiatedReturnTypeContravariance.types @@ -9,7 +9,7 @@ name: string; x(): T; >x : () => T -> : ^^^^^^^ +> : ^^^^^^ } @@ -19,7 +19,7 @@ class c { foo(): B { >foo : () => B -> : ^^^^^^^ +> : ^^^^^^ return null; @@ -35,7 +35,7 @@ class d extends c { foo(): B { >foo : () => B -> : ^^^^^^^ +> : ^^^^^^ return null; diff --git a/tests/baselines/reference/instantiatedTypeAliasDisplay.types b/tests/baselines/reference/instantiatedTypeAliasDisplay.types index 8d85437f81762..dbca78476ec57 100644 --- a/tests/baselines/reference/instantiatedTypeAliasDisplay.types +++ b/tests/baselines/reference/instantiatedTypeAliasDisplay.types @@ -19,11 +19,11 @@ type Z = X | Y; declare function f1(): Z; >f1 : () => Z -> : ^^^^^^^^^^ ^ +> : ^ ^^^^^^^ declare function f2(a: A, b: B, c: C, d: D): Z; >f2 : (a: A, b: B, c: C, d: D) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/instantiationExpressionErrors.types b/tests/baselines/reference/instantiationExpressionErrors.types index 14ddf4ccf9080..c1683bf55aa55 100644 --- a/tests/baselines/reference/instantiationExpressionErrors.types +++ b/tests/baselines/reference/instantiationExpressionErrors.types @@ -3,9 +3,9 @@ === instantiationExpressionErrors.ts === declare let f: { (): T, g(): U }; >f : { (): T; g(): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^ ^^^^^ ^^^ >g : () => U -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ // Type arguments in member expressions @@ -171,7 +171,7 @@ const b4 = f?.(); // Error, expected no type arguments declare let g: ((x: T) => T) | undefined; >g : ((x: T) => T) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/instantiationExpressions.types b/tests/baselines/reference/instantiationExpressions.types index 78aeca885a9bc..7267991a22911 100644 --- a/tests/baselines/reference/instantiationExpressions.types +++ b/tests/baselines/reference/instantiationExpressions.types @@ -3,13 +3,13 @@ === instantiationExpressions.ts === declare function fx(x: T): T; >fx : { (x: T): T; (x: T_1, n: number): T_1; (t: [T_2, U]): [T_2, U]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function fx(x: T, n: number): T; >fx : { (x: T_1): T_1; (x: T, n: number): T; (t: [T_2, U]): [T_2, U]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >n : number @@ -17,7 +17,7 @@ declare function fx(x: T, n: number): T; declare function fx(t: [T, U]): [T, U]; >fx : { (x: T_1): T_1; (x: T_2, n: number): T_2; (t: [T, U]): [T, U]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^ ^^^ >t : [T, U] > : ^^^^^^ @@ -66,19 +66,19 @@ type T10 = typeof fx<>; // Error type T11 = typeof fx; // { (x: string): string; (x: string, n: number): string; } >T11 : typeof fx -> : ^^ +> : >fx : { (x: T): T; (x: T_1, n: number): T_1; (t: [T_2, U]): [T_2, U]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type T12 = typeof fx; // (t: [string, number]) => [string, number] >T12 : typeof fx -> : ^^ +> : >fx : { (x: T): T; (x: T_1, n: number): T_1; (t: [T_2, U]): [T_2, U]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type T13 = typeof fx; // Error >T13 : typeof fx -> : ^^ +> : >fx : { (x: T): T; (x: T_1, n: number): T_1; (t: [T_2, U]): [T_2, U]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -119,13 +119,13 @@ type T20 = typeof Array<>; // Error type T21 = typeof Array; // new (...) => string[] >T21 : typeof Array -> : ^^^^^ +> : >Array : ArrayConstructor > : ^^^^^^^^^^^^^^^^ type T22 = typeof Array; // Error >T22 : typeof Array -> : ^^^^^ +> : >Array : ArrayConstructor > : ^^^^^^^^^^^^^^^^ @@ -139,7 +139,7 @@ declare class C { static f(x: U): U[]; >f : (x: U) => U[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : U > : ^ } @@ -171,9 +171,9 @@ function f3() { function f10(f: { (a: T): T, (a: U, b: number): U[] }) { >f10 : (f: { (a: T): T; (a: U, b: number): U[]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >f : { (a: T): T; (a: U, b: number): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ >a : U @@ -192,9 +192,9 @@ function f10(f: { (a: T): T, (a: U, b: number): U[] }) { function f11(f: { (a: T): T, (a: string, b: number): string[] }) { >f11 : (f: { (a: T): T; (a: string, b: number): string[]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >f : { (a: T): T; (a: string, b: number): string[]; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ >a : string @@ -213,9 +213,9 @@ function f11(f: { (a: T): T, (a: string, b: number): string[] }) { function f12(f: { (a: T): T, x: string }) { >f12 : (f: { (a: T): T; x: string; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ >f : { (a: T): T; x: string; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^ ^^^ >a : T > : ^ >x : string @@ -251,9 +251,9 @@ function f13(f: { x: string, y: string }) { function f14(f: { new (a: T): T, new (a: U, b: number): U[] }) { >f14 : (f: { new (a: T): T; new (a: U, b: number): U[]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >f : { new (a: T): T; new (a: U, b: number): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ >a : U @@ -272,9 +272,9 @@ function f14(f: { new (a: T): T, new (a: U, b: number): U[] }) { function f15(f: { new (a: T): T, (a: U, b: number): U[] }) { >f15 : (f: { (a: U, b: number): U[]; new (a: T): T; }) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >f : { (a: U, b: number): U[]; new (a: T): T; } -> : ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ >a : U @@ -293,9 +293,9 @@ function f15(f: { new (a: T): T, (a: U, b: number): U[] }) { function f16(f: { new (a: T): T, (a: string, b: number): string[] }) { >f16 : (f: { (a: string, b: number): string[]; new (a: T): T; }) => void -> : ^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >f : { (a: string, b: number): string[]; new (a: T): T; } -> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ >a : string @@ -314,9 +314,9 @@ function f16(f: { new (a: T): T, (a: string, b: number): string[] }) { function f17(f: { (a: T): T, new (a: string, b: number): string[] }) { >f17 : (f: { (a: T): T; new (a: string, b: number): string[]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^ >f : { (a: T): T; new (a: string, b: number): string[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ >a : string @@ -335,9 +335,9 @@ function f17(f: { (a: T): T, new (a: string, b: number): string[] }) { function f20(f: ((a: T) => T) & ((a: U, b: number) => U[])) { >f20 : (f: ((a: T) => T) & ((a: U, b: number) => U[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : ((a: T) => T) & ((a: U, b: number) => U[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : U @@ -356,9 +356,9 @@ function f20(f: ((a: T) => T) & ((a: U, b: number) => U[])) { function f21(f: ((a: T) => T) & ((a: string, b: number) => string[])) { >f21 : (f: ((a: T) => T) & ((a: string, b: number) => string[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : ((a: T) => T) & ((a: string, b: number) => string[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : string @@ -377,9 +377,9 @@ function f21(f: ((a: T) => T) & ((a: string, b: number) => string[])) { function f22(f: ((a: T) => T) & { x: string }) { >f22 : (f: ((a: T) => T) & { x: string; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >f : ((a: T) => T) & { x: string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^ >a : T > : ^ >x : string @@ -415,9 +415,9 @@ function f23(f: { x: string } & { y: string }) { function f24(f: (new (a: T) => T) & (new (a: U, b: number) => U[])) { >f24 : (f: (new (a: T) => T) & (new (a: U, b: number) => U[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : (new (a: T) => T) & (new (a: U, b: number) => U[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : U @@ -436,9 +436,9 @@ function f24(f: (new (a: T) => T) & (new (a: U, b: number) => U[])) { function f25(f: (new (a: T) => T) & ((a: U, b: number) => U[])) { >f25 : (f: (new (a: T) => T) & ((a: U, b: number) => U[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : (new (a: T) => T) & ((a: U, b: number) => U[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : U @@ -457,9 +457,9 @@ function f25(f: (new (a: T) => T) & ((a: U, b: number) => U[])) { function f26(f: (new (a: T) => T) & ((a: string, b: number) => string[])) { >f26 : (f: (new (a: T) => T) & ((a: string, b: number) => string[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : (new (a: T) => T) & ((a: string, b: number) => string[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : string @@ -478,9 +478,9 @@ function f26(f: (new (a: T) => T) & ((a: string, b: number) => string[])) { function f27(f: ((a: T) => T) & (new (a: string, b: number) => string[])) { >f27 : (f: ((a: T) => T) & (new (a: string, b: number) => string[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : ((a: T) => T) & (new (a: string, b: number) => string[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : string @@ -499,9 +499,9 @@ function f27(f: ((a: T) => T) & (new (a: string, b: number) => string[])) { function f30(f: ((a: T) => T) | ((a: U, b: number) => U[])) { >f30 : (f: ((a: T) => T) | ((a: U, b: number) => U[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : ((a: T) => T) | ((a: U, b: number) => U[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : U @@ -520,9 +520,9 @@ function f30(f: ((a: T) => T) | ((a: U, b: number) => U[])) { function f31(f: ((a: T) => T) | ((a: string, b: number) => string[])) { >f31 : (f: ((a: T) => T) | ((a: string, b: number) => string[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : ((a: T) => T) | ((a: string, b: number) => string[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : string @@ -541,9 +541,9 @@ function f31(f: ((a: T) => T) | ((a: string, b: number) => string[])) { function f32(f: ((a: T) => T) | { x: string }) { >f32 : (f: { x: string; } | ((a: T) => T)) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : { x: string; } | ((a: T) => T) -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >x : string @@ -579,9 +579,9 @@ function f33(f: { x: string } | { y: string }) { function f34(f: (new (a: T) => T) | (new (a: U, b: number) => U[])) { >f34 : (f: (new (a: T) => T) | (new (a: U, b: number) => U[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : (new (a: T) => T) | (new (a: U, b: number) => U[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : U @@ -600,9 +600,9 @@ function f34(f: (new (a: T) => T) | (new (a: U, b: number) => U[])) { function f35(f: (new (a: T) => T) | ((a: U, b: number) => U[])) { >f35 : (f: (new (a: T) => T) | ((a: U, b: number) => U[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : (new (a: T) => T) | ((a: U, b: number) => U[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : U @@ -621,9 +621,9 @@ function f35(f: (new (a: T) => T) | ((a: U, b: number) => U[])) { function f36(f: (new (a: T) => T) | ((a: string, b: number) => string[])) { >f36 : (f: (new (a: T) => T) | ((a: string, b: number) => string[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : (new (a: T) => T) | ((a: string, b: number) => string[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : string @@ -642,9 +642,9 @@ function f36(f: (new (a: T) => T) | ((a: string, b: number) => string[])) { function f37(f: ((a: T) => T) | (new (a: string, b: number) => string[])) { >f37 : (f: ((a: T) => T) | (new (a: string, b: number) => string[])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >f : ((a: T) => T) | (new (a: string, b: number) => string[]) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ +> : ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^ >a : T > : ^ >a : string @@ -663,13 +663,13 @@ function f37(f: ((a: T) => T) | (new (a: string, b: number) => string[])) { function f38(x: A) => A) | ((x: B) => B[]), U>(f: T | U | ((x: C) => C[][])) { >f38 : (x: A) => A) | ((x: B) => B[]), U>(f: T | U | ((x: C) => C[][])) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >x : A > : ^ >x : B > : ^ >f : T | U | ((x: C) => C[][]) -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^ ^ >x : C > : ^ @@ -684,7 +684,7 @@ function f38(x: A) => A) | ((x: B) => B[]), U>(f: T | U | ( function makeBox(value: T) { >makeBox : (value: T) => { value: T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >value : T > : ^ @@ -697,7 +697,7 @@ function makeBox(value: T) { type BoxFunc = typeof makeBox; // (value: T) => { value: T } >BoxFunc : typeof makeBox -> : ^^^^^^^ ^ +> : >makeBox : (value: T_1) => { value: T_1; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -723,7 +723,7 @@ type A = InstanceType>; // U[] declare const g1: { >g1 : { (a: T): { a: T; }; new (b: U): { b: U; }; } -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^ ^^^ ^^^ (a: T): { a: T }; >a : T @@ -740,7 +740,7 @@ declare const g1: { type T30 = typeof g1; // { (a: V) => { a: V }; new (b: V) => { b: V }; } >T30 : typeof g1 -> : ^^ ^ +> : >g1 : { (a: T): { a: T; }; new (b: U): { b: U; }; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -754,7 +754,7 @@ type T32 = InstanceType>; // { b: B } declare const g2: { >g2 : { (a: T): T; new (b: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -767,19 +767,19 @@ declare const g2: { type T40 = typeof g2; // Error >T40 : typeof g2 -> : ^^ ^ +> : >g2 : { (a: T): T; new (b: T_1): T_1; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type T41 = typeof g2; // Error >T41 : typeof g2 -> : ^^ ^ +> : >g2 : { (a: T): T; new (b: T_1): T_1; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare const g3: { >g3 : { (a: T): T; new (b: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -792,13 +792,13 @@ declare const g3: { type T50 = typeof g3; // (a: U) => U >T50 : typeof g3 -> : ^^ ^ +> : >g3 : { (a: T): T; new (b: T_1): T_1; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type T51 = typeof g3; // (b: U) => U >T51 : typeof g3 -> : ^^ ^ +> : >g3 : { (a: T): T; new (b: T_1): T_1; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/interMixingModulesInterfaces0.types b/tests/baselines/reference/interMixingModulesInterfaces0.types index c9d930ee1513d..6371a0aff4a7a 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces0.types +++ b/tests/baselines/reference/interMixingModulesInterfaces0.types @@ -11,7 +11,7 @@ module A { export function createB(): B { >createB : () => B -> : ^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/interMixingModulesInterfaces1.types b/tests/baselines/reference/interMixingModulesInterfaces1.types index cb68adc3068b2..34f46e1644f7c 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces1.types +++ b/tests/baselines/reference/interMixingModulesInterfaces1.types @@ -21,7 +21,7 @@ module A { export function createB(): B { >createB : () => B -> : ^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/interMixingModulesInterfaces2.types b/tests/baselines/reference/interMixingModulesInterfaces2.types index af7dc6ee1a9f3..a31c66558526a 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces2.types +++ b/tests/baselines/reference/interMixingModulesInterfaces2.types @@ -21,7 +21,7 @@ module A { export function createB(): B { >createB : () => B -> : ^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/interMixingModulesInterfaces3.types b/tests/baselines/reference/interMixingModulesInterfaces3.types index 24d14b56888be..a73fbefcfdeb8 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces3.types +++ b/tests/baselines/reference/interMixingModulesInterfaces3.types @@ -11,7 +11,7 @@ module A { export function createB(): B { >createB : () => B -> : ^^^^^^^ +> : ^^^^^^ return null; } diff --git a/tests/baselines/reference/interfaceAssignmentCompat.types b/tests/baselines/reference/interfaceAssignmentCompat.types index c8b9777b314cc..84a0296ac19ee 100644 --- a/tests/baselines/reference/interfaceAssignmentCompat.types +++ b/tests/baselines/reference/interfaceAssignmentCompat.types @@ -36,7 +36,7 @@ module M { export function CompareEyes(a:IEye,b:IEye):number { >CompareEyes : (a: IEye, b: IEye) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : IEye > : ^^^^ >b : IEye @@ -61,7 +61,7 @@ module M { export function CompareYeux(a:IFrenchEye,b:IFrenchEye):number { >CompareYeux : (a: IFrenchEye, b: IFrenchEye) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : IFrenchEye > : ^^^^^^^^^^ >b : IFrenchEye diff --git a/tests/baselines/reference/interfaceExtendsObjectIntersection.types b/tests/baselines/reference/interfaceExtendsObjectIntersection.types index f27f6b5ab7bbb..2e073cec4e5d8 100644 --- a/tests/baselines/reference/interfaceExtendsObjectIntersection.types +++ b/tests/baselines/reference/interfaceExtendsObjectIntersection.types @@ -69,7 +69,7 @@ type Constructor = new () => T; declare function Constructor(): Constructor; >Constructor : () => Constructor -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ class C1 extends Constructor() { x: string } >C1 : C1 diff --git a/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.types b/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.types index 81c3be63c7f9b..09ebedf2351a3 100644 --- a/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.types +++ b/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.types @@ -51,7 +51,7 @@ type Constructor = new () => T; declare function Constructor(): Constructor; >Constructor : () => Constructor -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ class C1 extends Constructor() { a: string } >C1 : C1 diff --git a/tests/baselines/reference/interfaceMergedUnconstrainedNoErrorIrrespectiveOfOrder.types b/tests/baselines/reference/interfaceMergedUnconstrainedNoErrorIrrespectiveOfOrder.types index a2ef2ab1a6ddc..2b91851cbd756 100644 --- a/tests/baselines/reference/interfaceMergedUnconstrainedNoErrorIrrespectiveOfOrder.types +++ b/tests/baselines/reference/interfaceMergedUnconstrainedNoErrorIrrespectiveOfOrder.types @@ -8,12 +8,12 @@ export namespace ns { throttle(): Function; >throttle : () => Function -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } interface Function { unary(): Function<() => ReturnType>; >unary : () => Function<() => ReturnType> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^^^^^^ } } === regression.ts === @@ -21,13 +21,13 @@ export namespace ns { interface Function { unary(): Function<() => ReturnType>; >unary : () => Function<() => ReturnType> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^^^^^^ } interface Function any> { >args : any throttle(): Function; >throttle : () => Function -> : ^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/interfaceWithMultipleBaseTypes.types b/tests/baselines/reference/interfaceWithMultipleBaseTypes.types index 9f6f5d5a5b3fc..8a1bfb56f6095 100644 --- a/tests/baselines/reference/interfaceWithMultipleBaseTypes.types +++ b/tests/baselines/reference/interfaceWithMultipleBaseTypes.types @@ -55,7 +55,7 @@ module Generic { interface Base1 { x: { >x : { a: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ a: T; >a : T @@ -66,7 +66,7 @@ module Generic { interface Base2 { x: { >x : { b: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ b: T; >b : T @@ -90,7 +90,7 @@ module Generic { interface Derived2 extends Base1, Base2 { x: { >x : { a: T; b: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ a: T; b: U; >a : T @@ -105,7 +105,7 @@ module Generic { interface Derived4 extends Base1, Base2 { // error x: { >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ a: T; b: T; >a : T diff --git a/tests/baselines/reference/interfaceWithPropertyOfEveryType.types b/tests/baselines/reference/interfaceWithPropertyOfEveryType.types index ef3075d7417e0..0400b55662083 100644 --- a/tests/baselines/reference/interfaceWithPropertyOfEveryType.types +++ b/tests/baselines/reference/interfaceWithPropertyOfEveryType.types @@ -63,7 +63,7 @@ interface Foo { i: (x: T) => T; >i : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -100,7 +100,7 @@ var a: Foo = { >a : Foo > : ^^^ >{ a: 1, b: '', c: true, d: {}, e: null , f: [1], g: {}, h: (x: number) => 1, i: (x: T) => x, j: null, k: new C(), l: f1, m: M, n: {}, o: E.A} : { a: number; b: string; c: true; d: {}; e: null; f: number[]; g: {}; h: (x: number) => number; i: (x: T) => T; j: Foo; k: C; l: () => void; m: typeof M; n: {}; o: E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ a: 1, >a : number @@ -156,9 +156,9 @@ var a: Foo = { i: (x: T) => x, >i : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/intersectionAsWeakTypeSource.types b/tests/baselines/reference/intersectionAsWeakTypeSource.types index 2a5a532bfa432..ecd8339e8dcf1 100644 --- a/tests/baselines/reference/intersectionAsWeakTypeSource.types +++ b/tests/baselines/reference/intersectionAsWeakTypeSource.types @@ -55,7 +55,7 @@ type Brand = number & { __brand: T } declare function create(styles: T): { [P in keyof T]: Brand }; >create : (styles: T) => { [P in keyof T]: Brand; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ >styles : T diff --git a/tests/baselines/reference/intersectionNarrowing.types b/tests/baselines/reference/intersectionNarrowing.types index f7c914316430d..2b8a38572ff9c 100644 --- a/tests/baselines/reference/intersectionNarrowing.types +++ b/tests/baselines/reference/intersectionNarrowing.types @@ -5,7 +5,7 @@ function f1(x: T & string | T & undefined) { >f1 : (x: (T & string) | (T & undefined)) => void -> : ^^^^^^^^^ ^ ^^ ^^^^^^^^^^ +> : ^ ^^^^^^ ^ ^ ^^^^^^^^^^ >x : (T & string) | (T & undefined) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -21,7 +21,7 @@ function f1(x: T & string | T & undefined) { function f2(x: T & string | T & undefined) { >f2 : (x: (T & string) | (T & undefined)) => void -> : ^^^^^^^^^ ^ ^^ ^^^^^^^^^^ +> : ^ ^^^^^^ ^ ^ ^^^^^^^^^^ >x : (T & string) | (T & undefined) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,7 +46,7 @@ function f2(x: T & string | T & undefined) { function f3(x: T & string | T & number) { >f3 : (x: (T & string) | (T & number)) => void -> : ^^^^^^^^^ ^ ^^ ^^^^^^^^^^ +> : ^ ^^^^^^ ^ ^ ^^^^^^^^^^ >x : (T & string) | (T & number) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -73,7 +73,7 @@ function f3(x: T & string | T & number) { function f4(x: T & 1 | T & 2) { >f4 : (x: (T & 1) | (T & 2)) => void -> : ^^^^^^^^^ ^ ^^ ^^^^^^^^^^ +> : ^ ^^^^^^ ^ ^ ^^^^^^^^^^ >x : (T & 1) | (T & 2) > : ^^^^^^^^^^^^^^^^^ @@ -101,7 +101,7 @@ function f4(x: T & 1 | T & 2) { function f5(x: T & number) { >f5 : (x: T & number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T & number > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.types b/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.types index f39b014bf0169..c11bfaeab985e 100644 --- a/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.types +++ b/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.types @@ -21,7 +21,7 @@ interface Props { declare function f(i: Component): void; >f : (i: Component) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >i : Component > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/intersectionPropertyCheck.types b/tests/baselines/reference/intersectionPropertyCheck.types index 0765d5a9e795e..0b7825d96bf86 100644 --- a/tests/baselines/reference/intersectionPropertyCheck.types +++ b/tests/baselines/reference/intersectionPropertyCheck.types @@ -51,7 +51,7 @@ let weak: { a?: { x?: number } } & { c?: string } = wrong; // Nested weak objec function foo(x: { a?: string }, y: T & { a: boolean }) { >foo : (x: { a?: string; }, y: T & { a: boolean; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : { a?: string | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : string | undefined @@ -80,7 +80,7 @@ interface Test { function test(value: T): Test { >test : (value: T) => Test -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/intersectionReduction.types b/tests/baselines/reference/intersectionReduction.types index 8d0d0cda56f52..135c1dd36c688 100644 --- a/tests/baselines/reference/intersectionReduction.types +++ b/tests/baselines/reference/intersectionReduction.types @@ -267,9 +267,9 @@ type E = { kind: 'e', foo: unknown }; declare function f10(x: { foo: T }): T; >f10 : (x: { foo: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ @@ -442,9 +442,9 @@ type Container = { const f2 = (t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a"> => t; >f2 : (t: Container<"a"> | (Container<"b"> & Container<"c">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >(t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a"> => t : (t: Container<"a"> | (Container<"b"> & Container<"c">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : Container<"a"> > : ^^^^^^^^^^^^^^ >t : Container<"a"> @@ -452,9 +452,9 @@ const f2 = (t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a const f3 = (t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container<"a">)): Container<"a"> => t; >f3 : (t: Container<"a"> | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >(t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container<"a">)): Container<"a"> => t : (t: Container<"a"> | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : Container<"a"> > : ^^^^^^^^^^^^^^ >dataB : boolean @@ -464,9 +464,9 @@ const f3 = (t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container const f4 = (t: number | (Container<"b"> & { dataB: boolean } & Container<"a">)): number => t; >f4 : (t: number | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => number -> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >(t: number | (Container<"b"> & { dataB: boolean } & Container<"a">)): number => t : (t: number | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => number -> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >t : number > : ^^^^^^ >dataB : boolean @@ -508,7 +508,7 @@ const b: B2 = shouldBeB; // works function inGeneric(alsoShouldBeB: T & B2) { >inGeneric : (alsoShouldBeB: T & B2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >alsoShouldBeB : T & B2 > : ^^^^^^ @@ -549,7 +549,7 @@ declare class CB { kind: 'b'; b: string; y: number }; function bar(x: T & CA) { >bar : (x: T & CA) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T & CA > : ^^^^^^ diff --git a/tests/baselines/reference/intersectionReductionStrict.types b/tests/baselines/reference/intersectionReductionStrict.types index 41547725c708a..5c6e87f340a72 100644 --- a/tests/baselines/reference/intersectionReductionStrict.types +++ b/tests/baselines/reference/intersectionReductionStrict.types @@ -390,9 +390,9 @@ type Container = { const f2 = (t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a"> => t; >f2 : (t: Container<"a"> | (Container<"b"> & Container<"c">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >(t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a"> => t : (t: Container<"a"> | (Container<"b"> & Container<"c">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : Container<"a"> > : ^^^^^^^^^^^^^^ >t : Container<"a"> @@ -400,9 +400,9 @@ const f2 = (t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a const f3 = (t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container<"a">)): Container<"a"> => t; >f3 : (t: Container<"a"> | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >(t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container<"a">)): Container<"a"> => t : (t: Container<"a"> | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => Container<"a"> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : Container<"a"> > : ^^^^^^^^^^^^^^ >dataB : boolean @@ -412,9 +412,9 @@ const f3 = (t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container const f4 = (t: number | (Container<"b"> & { dataB: boolean } & Container<"a">)): number => t; >f4 : (t: number | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => number -> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >(t: number | (Container<"b"> & { dataB: boolean } & Container<"a">)): number => t : (t: number | (Container<"b"> & { dataB: boolean; } & Container<"a">)) => number -> : ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >t : number > : ^^^^^^ >dataB : boolean diff --git a/tests/baselines/reference/intersectionSatisfiesConstraint.types b/tests/baselines/reference/intersectionSatisfiesConstraint.types index c5f365de4555e..05c38352d60bb 100644 --- a/tests/baselines/reference/intersectionSatisfiesConstraint.types +++ b/tests/baselines/reference/intersectionSatisfiesConstraint.types @@ -15,9 +15,9 @@ interface SecondInterface { const myFirstFunction = (param1: T) => { >myFirstFunction : (param1: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(param1: T) => { const newParam: T & { otherProperty: number } = Object.assign(param1, { otherProperty: 3 }) mySecondFunction(newParam)} : (param1: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >param1 : T > : ^ @@ -54,9 +54,9 @@ const myFirstFunction = (param1: T) const mySecondFunction = (newParam: T) => { >mySecondFunction : (newParam: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ >(newParam: T) => { return newParam} : (newParam: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ >commonProperty : number > : ^^^^^^ >otherProperty : number diff --git a/tests/baselines/reference/intersectionThisTypes.types b/tests/baselines/reference/intersectionThisTypes.types index d3d3e7e1bbe77..4d717e4c4ad8b 100644 --- a/tests/baselines/reference/intersectionThisTypes.types +++ b/tests/baselines/reference/intersectionThisTypes.types @@ -31,7 +31,7 @@ type Thing4 = Thing3 & string[]; function f1(t: Thing3) { >f1 : (t: Thing3) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : Thing3 > : ^^^^^^ @@ -84,7 +84,7 @@ interface Thing5 extends Thing4 { function f2(t: Thing5) { >f2 : (t: Thing5) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : Thing5 > : ^^^^^^ @@ -132,7 +132,7 @@ function f2(t: Thing5) { interface Component { extend(props: T): this & T; >extend : (props: T) => this & T -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >props : T > : ^ } @@ -145,7 +145,7 @@ interface Label extends Component { function test(label: Label) { >test : (label: Label) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >label : Label > : ^^^^^ diff --git a/tests/baselines/reference/intersectionTypeInference.types b/tests/baselines/reference/intersectionTypeInference.types index b6385951b5724..65afe86f4909c 100644 --- a/tests/baselines/reference/intersectionTypeInference.types +++ b/tests/baselines/reference/intersectionTypeInference.types @@ -3,7 +3,7 @@ === intersectionTypeInference.ts === function extend(obj1: T, obj2: U): T & U { >extend : (obj1: T, obj2: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ >obj1 : T > : ^ >obj2 : U @@ -104,7 +104,7 @@ interface B { function foo(obj: A & B): T | U { >foo : (obj: A & B) => T | U -> : ^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ ^ +> : ^ ^^ ^^^^^^^ ^^^^^ >obj : A & B > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/intersectionTypeInference1.types b/tests/baselines/reference/intersectionTypeInference1.types index 8bc0f35d5c8b5..49963c57c7478 100644 --- a/tests/baselines/reference/intersectionTypeInference1.types +++ b/tests/baselines/reference/intersectionTypeInference1.types @@ -31,17 +31,17 @@ const parameterFn = (props:{store:string}) => alert(props.store) const brokenFunction = (f: (p: {dispatch: number} & OwnProps) => void) => (o: OwnProps) => o >brokenFunction : (f: (p: { dispatch: number; } & OwnProps) => void) => (o: OwnProps) => OwnProps -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ >(f: (p: {dispatch: number} & OwnProps) => void) => (o: OwnProps) => o : (f: (p: { dispatch: number; } & OwnProps) => void) => (o: OwnProps) => OwnProps -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ >f : (p: { dispatch: number; } & OwnProps) => void -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : { dispatch: number; } & OwnProps > : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >dispatch : number > : ^^^^^^ >(o: OwnProps) => o : (o: OwnProps) => OwnProps -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >o : OwnProps > : ^^^^^^^^ >o : OwnProps diff --git a/tests/baselines/reference/intersectionTypeInference2.types b/tests/baselines/reference/intersectionTypeInference2.types index 1a83e4e572b02..7c10033ec7148 100644 --- a/tests/baselines/reference/intersectionTypeInference2.types +++ b/tests/baselines/reference/intersectionTypeInference2.types @@ -3,9 +3,9 @@ === intersectionTypeInference2.ts === declare function f(x: { prop: T }): T; >f : (x: { prop: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { prop: T; } -> : ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >prop : T > : ^ @@ -43,7 +43,7 @@ f(b); // never declare function f2(obj: {[K in keyof T]: T[K]}, key: Key): T[Key]; >f2 : (obj: { [K in keyof T]: T[K]; }, key: Key) => T[Key] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : { [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >key : Key diff --git a/tests/baselines/reference/intersectionTypeInference3.types b/tests/baselines/reference/intersectionTypeInference3.types index ecbd184fb64d1..7010a62376e17 100644 --- a/tests/baselines/reference/intersectionTypeInference3.types +++ b/tests/baselines/reference/intersectionTypeInference3.types @@ -65,7 +65,7 @@ const c1 = Array.from(a).concat(Array.from(b)); declare function from(): T[]; >from : () => T[] -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ const c2: ReadonlyArray = from(); >c2 : readonly A[] diff --git a/tests/baselines/reference/intersectionTypeNormalization.types b/tests/baselines/reference/intersectionTypeNormalization.types index ed48f5283a13b..764d59cf2af49 100644 --- a/tests/baselines/reference/intersectionTypeNormalization.types +++ b/tests/baselines/reference/intersectionTypeNormalization.types @@ -161,7 +161,7 @@ type IntersectionInline = { kind: 'int', num: number } & ToString function getValueAsString(value: IntersectionFail): string { >getValueAsString : (value: IntersectionFail) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : IntersectionFail > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/intersectionType_useDefineForClassFields.types b/tests/baselines/reference/intersectionType_useDefineForClassFields.types index c6bd918193ca8..408ca02a8c015 100644 --- a/tests/baselines/reference/intersectionType_useDefineForClassFields.types +++ b/tests/baselines/reference/intersectionType_useDefineForClassFields.types @@ -10,7 +10,7 @@ type Foo = { function bar(_p: T): { new(): Foo } { >bar : (_p: T) => { new (): Foo; } -> : ^^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^ ^^^^^ >_p : T > : ^ diff --git a/tests/baselines/reference/intersectionWithConflictingPrivates.types b/tests/baselines/reference/intersectionWithConflictingPrivates.types index 734a8c5da3ed8..798be21c8aaa1 100644 --- a/tests/baselines/reference/intersectionWithConflictingPrivates.types +++ b/tests/baselines/reference/intersectionWithConflictingPrivates.types @@ -43,7 +43,7 @@ ab = {}; function f1(node: A | B) { >f1 : (node: A | B) => void -> : ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >node : A | B > : ^^^^^ @@ -145,7 +145,7 @@ class Foo { private async foo(node: CommitFileNode | ResultsFileNode | StashFileNode) { >foo : (node: CommitFileNode | ResultsFileNode | StashFileNode) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^ >node : CommitFileNode | ResultsFileNode | StashFileNode > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -211,7 +211,7 @@ class Foo { private async bar(node: CommitFileNode | ResultsFileNode | StashFileNode | StatusFileNode, options?: {}) { >bar : (node: CommitFileNode | ResultsFileNode | StashFileNode | StatusFileNode, options?: {}) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >node : CommitFileNode | ResultsFileNode | StashFileNode | StatusFileNode > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >options : {} | undefined diff --git a/tests/baselines/reference/intersectionWithIndexSignatures.types b/tests/baselines/reference/intersectionWithIndexSignatures.types index 1e1369c6fe436..26ba4013ddb61 100644 --- a/tests/baselines/reference/intersectionWithIndexSignatures.types +++ b/tests/baselines/reference/intersectionWithIndexSignatures.types @@ -15,13 +15,13 @@ type B = { b: string }; declare let sa1: { x: A & B }; >sa1 : { x: A & B; } -> : ^^^^^^ ^^^^ +> : ^^^^^ ^^^ >x : A & B > : ^^^^^ declare let sa2: { x: A } & { x: B }; >sa2 : { x: A; } & { x: B; } -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^ >x : A > : ^ >x : B @@ -75,7 +75,7 @@ ta2 = sa2; declare let sb1: { x: A } & { y: B }; >sb1 : { x: A; } & { y: B; } -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^ >x : A > : ^ >y : B diff --git a/tests/baselines/reference/intersectionWithUnionConstraint.types b/tests/baselines/reference/intersectionWithUnionConstraint.types index 9ad8fc4ae156e..5a9080820fdcc 100644 --- a/tests/baselines/reference/intersectionWithUnionConstraint.types +++ b/tests/baselines/reference/intersectionWithUnionConstraint.types @@ -3,7 +3,7 @@ === intersectionWithUnionConstraint.ts === function f1(x: T & U) { >f1 : (x: T & U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T & U > : ^^^^^ @@ -17,7 +17,7 @@ function f1(x: T & U) { function f2(x: T & U) { >f2 : (x: T & U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T & U > : ^^^^^ @@ -64,7 +64,7 @@ type T1 = (string | number | undefined) & (string | null | undefined); // strin function f3(x: T & (number | object | undefined)) { >f3 : (x: T & (number | object | undefined)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (T & undefined) | (T & number) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -77,7 +77,7 @@ function f3(x: T & (number | object | und function f4(x: T & (number | object)) { >f4 : (x: T & (number | object)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T & number > : ^^^^^^^^^^ @@ -90,7 +90,7 @@ function f4(x: T & (number | object)) { function f5(x: keyof T & U) { >f5 : (x: keyof T & U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : keyof T & U > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/intersectionsAndEmptyObjects.types b/tests/baselines/reference/intersectionsAndEmptyObjects.types index a2cadd046f447..43fc0952a20c6 100644 --- a/tests/baselines/reference/intersectionsAndEmptyObjects.types +++ b/tests/baselines/reference/intersectionsAndEmptyObjects.types @@ -89,9 +89,9 @@ type Dictionary = { [name: string]: string }; const intersectDictionaries = ( >intersectDictionaries : (d1: F1, d2: F2) => F1 & F2 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >( d1: F1, d2: F2,): F1 & F2 => Object.assign({}, d1, d2) : (d1: F1, d2: F2) => F1 & F2 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ d1: F1, >d1 : F1 @@ -119,9 +119,9 @@ const intersectDictionaries = ( const testDictionary = (_value: T) => { }; >testDictionary : (_value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(_value: T) => { } : (_value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >_value : T > : ^ @@ -321,7 +321,7 @@ type Foo2 = { x: string } & { [K in number]: Foo2 }; declare function mock(_: Promise): {} & M; >mock : (_: Promise) => {} & M -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >_ : Promise > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/intersectionsAndOptionalProperties.types b/tests/baselines/reference/intersectionsAndOptionalProperties.types index 403b74e83d443..a5be31ae700bf 100644 --- a/tests/baselines/reference/intersectionsAndOptionalProperties.types +++ b/tests/baselines/reference/intersectionsAndOptionalProperties.types @@ -61,7 +61,7 @@ type From = { field: null } & Omit; function foo(v: From) { >foo : (v: From) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >v : From > : ^^^^ diff --git a/tests/baselines/reference/intersectionsOfLargeUnions.types b/tests/baselines/reference/intersectionsOfLargeUnions.types index 8203b9fa2cd7f..9b724d70d8182 100644 --- a/tests/baselines/reference/intersectionsOfLargeUnions.types +++ b/tests/baselines/reference/intersectionsOfLargeUnions.types @@ -13,7 +13,7 @@ Symbol count: 27,000 / 27,000 (nearest 500) export function assertIsElement(node: Node | null): node is Element { >assertIsElement : (node: Node | null) => node is Element -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >node : Node | null > : ^^^^^^^^^^^ @@ -44,7 +44,7 @@ export function assertIsElement(node: Node | null): node is Element { export function assertNodeTagName< >assertNodeTagName : (node: Node | null, tagName: T) => node is U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ T extends keyof ElementTagNameMap, U extends ElementTagNameMap[T]>(node: Node | null, tagName: T): node is U { @@ -92,7 +92,7 @@ export function assertNodeTagName< export function assertNodeProperty< >assertNodeProperty : (node: Node | null, tagName: T, prop: P, value: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ T extends keyof ElementTagNameMap, P extends keyof ElementTagNameMap[T], diff --git a/tests/baselines/reference/intersectionsOfLargeUnions2.types b/tests/baselines/reference/intersectionsOfLargeUnions2.types index d17027e36d9f7..5dad666263536 100644 --- a/tests/baselines/reference/intersectionsOfLargeUnions2.types +++ b/tests/baselines/reference/intersectionsOfLargeUnions2.types @@ -30,7 +30,7 @@ declare global { export function assertIsElement(node: Node | null): node is Element { >assertIsElement : (node: Node | null) => node is Element -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >node : Node | null > : ^^^^^^^^^^^ @@ -61,7 +61,7 @@ export function assertIsElement(node: Node | null): node is Element { export function assertNodeTagName< >assertNodeTagName : (node: Node | null, tagName: T) => node is U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ T extends keyof ElementTagNameMap, U extends ElementTagNameMap[T]>(node: Node | null, tagName: T): node is U { @@ -109,7 +109,7 @@ export function assertNodeTagName< export function assertNodeProperty< >assertNodeProperty : (node: Node | null, tagName: T, prop: P, value: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ T extends keyof ElementTagNameMap, P extends keyof ElementTagNameMap[T], diff --git a/tests/baselines/reference/intraExpressionInferences.types b/tests/baselines/reference/intraExpressionInferences.types index bc50b7384c6ae..2120153029548 100644 --- a/tests/baselines/reference/intraExpressionInferences.types +++ b/tests/baselines/reference/intraExpressionInferences.types @@ -5,19 +5,19 @@ declare function callIt(obj: { >callIt : (obj: { produce: (n: number) => T; consume: (x: T) => void; }) => void -> : ^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : { produce: (n: number) => T; consume: (x: T) => void; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ produce: (n: number) => T, >produce : (n: number) => T -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >n : number > : ^^^^^^ consume: (x: T) => void >consume : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -130,9 +130,9 @@ callIt({ declare function callItT(obj: [(n: number) => T, (x: T) => void]): void; >callItT : (obj: [(n: number) => T, (x: T) => void]) => void -> : ^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : [(n: number) => T, (x: T) => void] -> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^ >n : number > : ^^^^^^ >x : T @@ -193,22 +193,22 @@ callItT([_a => 0, n => n.toFixed()]); interface MyInterface { retrieveGeneric: (parameter: string) => T, >retrieveGeneric : (parameter: string) => T -> : ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >parameter : string > : ^^^^^^ operateWithGeneric: (generic: T) => string >operateWithGeneric : (generic: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >generic : T > : ^ } const inferTypeFn = (generic: MyInterface) => generic; >inferTypeFn : (generic: MyInterface) => MyInterface -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >(generic: MyInterface) => generic : (generic: MyInterface) => MyInterface -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ >generic : MyInterface > : ^^^^^^^^^^^^^^ >generic : MyInterface @@ -256,13 +256,13 @@ const myGeneric = inferTypeFn({ function make(o: { mutations: M, action: (m: M) => void }) { } >make : (o: { mutations: M; action: (m: M) => void; }) => void -> : ^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >o : { mutations: M; action: (m: M) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ >mutations : M > : ^ >action : (m: M) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >m : M > : ^ @@ -307,13 +307,13 @@ make({ declare function foo(options: { a: A, b: (a: A) => void }): void; >foo : (options: { a: A; b: (a: A) => void; }) => void -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >options : { a: A; b: (a: A) => void; } -> : ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >a : A > : ^ >b : (a: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -395,17 +395,17 @@ type Chain = { a(): R1, >a : () => R1 -> : ^^^^^^^^ +> : ^^^^^^ b(a: R1): R2; >b : (a: R1) => R2 -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : R1 > : ^^ c(b: R2): void; >c : (b: R2) => void -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : R2 > : ^^ @@ -413,7 +413,7 @@ type Chain = { function test(foo: Chain) {} >test : (foo: Chain) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^ ^^^^^^^^^ >foo : Chain > : ^^^^^^^^^^^^^ @@ -529,7 +529,7 @@ type MappingComponent = { setup(): { inputs: I; outputs: O }; >setup : () => { inputs: I; outputs: O; } -> : ^^^^^^ ^ ^ +> : ^^^^^^ >inputs : I > : ^ >outputs : O @@ -537,7 +537,7 @@ type MappingComponent = { map?: (inputs: Unwrap) => Unwrap; >map : ((inputs: Unwrap) => Unwrap) | undefined -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >inputs : Unwrap > : ^^^^^^^^^ @@ -545,7 +545,7 @@ type MappingComponent = { declare function createMappingComponent(def: MappingComponent): void; >createMappingComponent : (def: MappingComponent) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >def : MappingComponent > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -649,39 +649,39 @@ createMappingComponent({ function simplified(props: { generator: () => T, receiver: (t: T) => any }) {} >simplified : (props: { generator: () => T; receiver: (t: T) => any; }) => void -> : ^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >props : { generator: () => T; receiver: (t: T) => any; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ >generator : () => T -> : ^^^^^^^ +> : ^^^^^^ >receiver : (t: T) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ function whatIWant(props: { generator: (bob: any) => T, receiver: (t: T) => any }) {} >whatIWant : (props: { generator: (bob: any) => T; receiver: (t: T) => any; }) => void -> : ^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >props : { generator: (bob: any) => T; receiver: (t: T) => any; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ >generator : (bob: any) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >bob : any > : ^^^ >receiver : (t: T) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ function nonObject(generator: (bob: any) => T, receiver: (t: T) => any) {} >nonObject : (generator: (bob: any) => T, receiver: (t: T) => any) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >generator : (bob: any) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >bob : any > : ^^^ >receiver : (t: T) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ @@ -802,7 +802,7 @@ nonObject((bob) => bob ? 1 : 2, (t) => console.log(t + 2)) interface Opts { fetch: (params: TParams, foo: number) => TDone, >fetch : (params: TParams, foo: number) => TDone -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^ >params : TParams > : ^^^^^^^ >foo : number @@ -810,20 +810,20 @@ interface Opts { map: (data: TDone) => TMapped >map : (data: TDone) => TMapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >data : TDone > : ^^^^^ } function example(options: Opts) { >example : (options: Opts) => (params: TParams) => TMapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >options : Opts > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ return (params: TParams) => { >(params: TParams) => { const data = options.fetch(params, 123) return options.map(data) } : (params: TParams) => TMapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ >params : TParams > : ^^^^^^^ @@ -873,13 +873,13 @@ example({ >example : (options: Opts) => (params: TParams) => TMapped > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ fetch: (params: Params) => 123, map: (number) => String(number)} : { fetch: (params: Params) => number; map: (number: number) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fetch: (params: Params) => 123, >fetch : (params: Params) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ >(params: Params) => 123 : (params: Params) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ >params : Params > : ^^^^^^ >123 : 123 @@ -907,13 +907,13 @@ example({ >example : (options: Opts) => (params: TParams) => TMapped > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ fetch: (params: Params, foo: number) => 123, map: (number) => String(number)} : { fetch: (params: Params, foo: number) => number; map: (number: number) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fetch: (params: Params, foo: number) => 123, >fetch : (params: Params, foo: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ >(params: Params, foo: number) => 123 : (params: Params, foo: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ >params : Params > : ^^^^^^ >foo : number @@ -943,13 +943,13 @@ example({ >example : (options: Opts) => (params: TParams) => TMapped > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ fetch: (params: Params, foo) => 123, map: (number) => String(number)} : { fetch: (params: Params, foo: number) => number; map: (number: number) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fetch: (params: Params, foo) => 123, >fetch : (params: Params, foo: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >(params: Params, foo) => 123 : (params: Params, foo: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >params : Params > : ^^^^^^ >foo : number @@ -977,19 +977,19 @@ example({ declare const branch: >branch : (_: { test: T; if: (t: T) => t is U; then: (u: U) => void; }) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ (_: { test: T, if: (t: T) => t is U, then: (u: U) => void }) => void >_ : { test: T; if: (t: T) => t is U; then: (u: U) => void; } -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^ >test : T > : ^ >if : (t: T) => t is U -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >t : T > : ^ >then : (u: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >u : U > : ^ @@ -1044,20 +1044,20 @@ branch({ interface Props { a: (x: string) => T; >a : (x: string) => T -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : string > : ^^^^^^ b: (arg: T) => void; >b : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } declare function Foo(props: Props): null; >Foo : (props: Props) => null -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >props : Props > : ^^^^^^^^ @@ -1107,23 +1107,23 @@ Foo({ declare function nested(arg: { >nested : (arg: { prop: { produce: (arg1: number) => T; consume: (arg2: T) => void; }; }) => T -> : ^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >arg : { prop: { produce: (arg1: number) => T; consume: (arg2: T) => void; }; } -> : ^^^^^^^^ ^ ^ ^^^ +> : ^^^^^^^^ ^^^ prop: { >prop : { produce: (arg1: number) => T; consume: (arg2: T) => void; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ produce: (arg1: number) => T; >produce : (arg1: number) => T -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg1 : number > : ^^^^^^ consume: (arg2: T) => void; >consume : (arg2: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ @@ -1181,25 +1181,25 @@ const resNested = nested({ declare function twoConsumers(arg: { >twoConsumers : (arg: { a: (arg: string) => T; consume1: (arg1: T) => void; consume2: (arg2: T) => void; }) => T -> : ^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >arg : { a: (arg: string) => T; consume1: (arg1: T) => void; consume2: (arg2: T) => void; } -> : ^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ a: (arg: string) => T; >a : (arg: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >arg : string > : ^^^^^^ consume1: (arg1: T) => void; >consume1 : (arg1: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg1 : T > : ^ consume2: (arg2: T) => void; >consume2 : (arg2: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ @@ -1247,31 +1247,31 @@ const resTwoConsumers = twoConsumers({ declare function multipleProducersBeforeConsumers(arg: { >multipleProducersBeforeConsumers : (arg: { a: (arg: string) => T; b: (arg: string) => T2; consume1: (arg1: T) => void; consume2: (arg2: T2) => void; }) => [T, T2] -> : ^^^^^^^^^^^^^ ^ ^^ ^ ^^ ^^^^^ ^ ^^ +> : ^ ^^ ^^^^^^^ ^^^^^ >arg : { a: (arg: string) => T; b: (arg: string) => T2; consume1: (arg1: T) => void; consume2: (arg2: T2) => void; } -> : ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ a: (arg: string) => T; >a : (arg: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >arg : string > : ^^^^^^ b: (arg: string) => T2; >b : (arg: string) => T2 -> : ^^^^^^ ^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : string > : ^^^^^^ consume1: (arg1: T) => void; >consume1 : (arg1: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg1 : T > : ^ consume2: (arg2: T2) => void; >consume2 : (arg2: T2) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T2 > : ^^ @@ -1333,25 +1333,25 @@ const resMultipleProducersBeforeConsumers = multipleProducersBeforeConsumers({ declare function withConditionalExpression(arg: { >withConditionalExpression : (arg: { a: (arg1: string) => T; b: (arg2: T) => T2; c: (arg2: T2) => T3; }) => [T, T2, T3] -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^ ^^ ^^^^^ ^ ^^ ^^ +> : ^ ^^ ^^ ^^^^^^^ ^^^^^ >arg : { a: (arg1: string) => T; b: (arg2: T) => T2; c: (arg2: T2) => T3; } -> : ^^^^^ ^^^^^^ ^ ^^^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^ a: (arg1: string) => T; >a : (arg1: string) => T -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg1 : string > : ^^^^^^ b: (arg2: T) => T2; >b : (arg2: T) => T2 -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ c: (arg2: T2) => T3; >c : (arg2: T2) => T3 -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T2 > : ^^ @@ -1427,33 +1427,33 @@ const resWithConditionalExpression = withConditionalExpression({ declare function onion(arg: { >onion : (arg: { a: (arg1: string) => T; nested: { b: (arg2: T) => T2; nested2: { c: (arg2: T2) => T3; }; }; }) => [T, T2, T3] -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^^ ^^ ^^^^^ ^ ^^ ^^ +> : ^ ^^ ^^ ^^^^^^^ ^^^^^ >arg : { a: (arg1: string) => T; nested: { b: (arg2: T) => T2; nested2: { c: (arg2: T2) => T3; }; }; } -> : ^^^^^ ^^^^^^^^^^^ ^ ^^ ^^ ^^ ^^^ +> : ^^^^^ ^^^^^^^^^^ ^^^ a: (arg1: string) => T; >a : (arg1: string) => T -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg1 : string > : ^^^^^^ nested: { >nested : { b: (arg2: T) => T2; nested2: { c: (arg2: T2) => T3; }; } -> : ^^^^^ ^ ^^^^^^^^^^^^^ ^^ ^^ ^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^ b: (arg2: T) => T2; >b : (arg2: T) => T2 -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ nested2: { >nested2 : { c: (arg2: T2) => T3; } -> : ^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^ c: (arg2: T2) => T3; >c : (arg2: T2) => T3 -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T2 > : ^^ @@ -1533,39 +1533,39 @@ const resOnion = onion({ declare function onion2(arg: { >onion2 : (arg: { a: (arg1: string) => T; nested: { b: (arg2: T) => T2; c: (arg3: T) => T3; nested2: { d: (arg4: T3) => T4; }; }; }) => [T, T2, T3, T4] -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^ ^ ^^ ^^ ^^ ^^^^^ ^ ^^ ^^ ^^ +> : ^ ^^ ^^ ^^ ^^^^^^^ ^^^^^ >arg : { a: (arg1: string) => T; nested: { b: (arg2: T) => T2; c: (arg3: T) => T3; nested2: { d: (arg4: T3) => T4; }; }; } -> : ^^^^^ ^^^^^^^^^^^ ^ ^^ ^ ^^ ^^ ^^ ^^^ +> : ^^^^^ ^^^^^^^^^^ ^^^ a: (arg1: string) => T; >a : (arg1: string) => T -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg1 : string > : ^^^^^^ nested: { >nested : { b: (arg2: T) => T2; c: (arg3: T) => T3; nested2: { d: (arg4: T3) => T4; }; } -> : ^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^^ ^^ ^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^ b: (arg2: T) => T2; >b : (arg2: T) => T2 -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ c: (arg3: T) => T3; >c : (arg3: T) => T3 -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg3 : T > : ^ nested2: { >nested2 : { d: (arg4: T3) => T4; } -> : ^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^ d: (arg4: T3) => T4; >d : (arg4: T3) => T4 -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg4 : T3 > : ^^ @@ -1659,25 +1659,25 @@ const resOnion2 = onion2({ declare function distant(args: { >distant : (args: { foo: { bar: { baz: { producer: (arg: string) => T; }; }; }; consumer: (val: T) => unknown; }) => T -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >args : { foo: { bar: { baz: { producer: (arg: string) => T; }; }; }; consumer: (val: T) => unknown; } -> : ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^ foo: { >foo : { bar: { baz: { producer: (arg: string) => T; }; }; } -> : ^^^^^^^ ^ ^^^ +> : ^^^^^^^ ^^^ bar: { >bar : { baz: { producer: (arg: string) => T; }; } -> : ^^^^^^^ ^ ^^^ +> : ^^^^^^^ ^^^ baz: { >baz : { producer: (arg: string) => T; } -> : ^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^ ^^^ producer: (arg: string) => T; >producer : (arg: string) => T -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >arg : string > : ^^^^^^ @@ -1686,7 +1686,7 @@ declare function distant(args: { }; consumer: (val: T) => unknown; >consumer : (val: T) => unknown -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ diff --git a/tests/baselines/reference/intraExpressionInferencesJsx.types b/tests/baselines/reference/intraExpressionInferencesJsx.types index 528690bbd4ee7..dd99efab7acb2 100644 --- a/tests/baselines/reference/intraExpressionInferencesJsx.types +++ b/tests/baselines/reference/intraExpressionInferencesJsx.types @@ -55,19 +55,19 @@ type Animations = { >kind : "a" > : ^^^ >func : (() => Partial) | undefined -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ | ({ kind: "b"; func?(): Partial } & B) >kind : "b" > : ^^^ >func : (() => Partial) | undefined -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ | ({ kind: "c"; func?(): Partial } & C) >kind : "c" > : ^^^ >func : (() => Partial) | undefined -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ ); }; @@ -82,7 +82,7 @@ type AnimatedViewProps = { style: (animationsValues: StyleParam) => string; >style : (animationsValues: StyleParam) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ >animationsValues : StyleParam > : ^^^^^^^^^^^^^ @@ -94,9 +94,9 @@ type AnimatedViewProps = { const Component = ({ >Component : ({ animations, style, }: AnimatedViewProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >({ animations, style,}: AnimatedViewProps) => <> : ({ animations, style, }: AnimatedViewProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ animations, >animations : T @@ -306,20 +306,20 @@ const Component = ({ interface Props { a: (x: string) => T; >a : (x: string) => T -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : string > : ^^^^^^ b: (arg: T) => void; >b : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } function Foo(props: Props) { >Foo : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^^^^ diff --git a/tests/baselines/reference/intrinsicTypes.types b/tests/baselines/reference/intrinsicTypes.types index f614bc3e647d6..1d26f6f418886 100644 --- a/tests/baselines/reference/intrinsicTypes.types +++ b/tests/baselines/reference/intrinsicTypes.types @@ -123,7 +123,7 @@ type MyUppercase = intrinsic; // Error function foo1(s: string, x: Uppercase, y: Uppercase) { >foo1 : (s: string, x: Uppercase, y: Uppercase) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >s : string > : ^^^^^^ >x : Uppercase @@ -182,7 +182,7 @@ function foo1(s: string, x: Uppercase, y: Uppe function foo2(x: Uppercase) { >foo2 : (x: Uppercase) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : Uppercase > : ^^^^^^^^^^^^ @@ -195,13 +195,13 @@ function foo2(x: Uppercase) { declare function foo3(x: Uppercase): T; >foo3 : (x: Uppercase) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : Uppercase > : ^^^^^^^^^^^^ function foo4(x: Uppercase) { >foo4 : (x: Uppercase) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : Uppercase > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/invalidAssignmentsToVoid.types b/tests/baselines/reference/invalidAssignmentsToVoid.types index f039cfed1e6ec..da90a1e5779fe 100644 --- a/tests/baselines/reference/invalidAssignmentsToVoid.types +++ b/tests/baselines/reference/invalidAssignmentsToVoid.types @@ -97,7 +97,7 @@ x = M; function f(a: T) { >f : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidBooleanAssignments.types b/tests/baselines/reference/invalidBooleanAssignments.types index e0016217255ce..7d4cae5a1ec5e 100644 --- a/tests/baselines/reference/invalidBooleanAssignments.types +++ b/tests/baselines/reference/invalidBooleanAssignments.types @@ -99,7 +99,7 @@ M = x; function i(a: T) { >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidConstraint1.types b/tests/baselines/reference/invalidConstraint1.types index 8f52786aa2251..822a2ed10822f 100644 --- a/tests/baselines/reference/invalidConstraint1.types +++ b/tests/baselines/reference/invalidConstraint1.types @@ -3,7 +3,7 @@ === invalidConstraint1.ts === function f() { >f : () => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidEnumAssignments.types b/tests/baselines/reference/invalidEnumAssignments.types index 3ee58e3efd312..7840a983a3aec 100644 --- a/tests/baselines/reference/invalidEnumAssignments.types +++ b/tests/baselines/reference/invalidEnumAssignments.types @@ -85,7 +85,7 @@ e = ''; function f(a: T) { >f : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidNumberAssignments.types b/tests/baselines/reference/invalidNumberAssignments.types index 6ddc54c4e1526..bbf4d492040cf 100644 --- a/tests/baselines/reference/invalidNumberAssignments.types +++ b/tests/baselines/reference/invalidNumberAssignments.types @@ -89,7 +89,7 @@ M = x; function i(a: T) { >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidReturnStatements.types b/tests/baselines/reference/invalidReturnStatements.types index 5a0ef80f919e5..4ef1888905b94 100644 --- a/tests/baselines/reference/invalidReturnStatements.types +++ b/tests/baselines/reference/invalidReturnStatements.types @@ -16,7 +16,7 @@ function fn3(): boolean { } function fn4(): Date { } >fn4 : () => Date -> : ^^^^^^^^^^ +> : ^^^^^^ function fn7(): any { } // should be valid: any includes void >fn7 : () => any @@ -50,7 +50,7 @@ class D extends C { } function fn10(): D { return { id: 12 }; } >fn10 : () => D -> : ^^^^^^^ +> : ^^^^^^ >{ id: 12 } : { id: number; } > : ^^^^^^^^^^^^^^^ >id : number @@ -60,7 +60,7 @@ function fn10(): D { return { id: 12 }; } function fn11(): D { return new C(); } >fn11 : () => D -> : ^^^^^^^ +> : ^^^^^^ >new C() : C > : ^ >C : typeof C diff --git a/tests/baselines/reference/invalidStringAssignments.types b/tests/baselines/reference/invalidStringAssignments.types index 35ffe5df3fac8..f4574ac737b36 100644 --- a/tests/baselines/reference/invalidStringAssignments.types +++ b/tests/baselines/reference/invalidStringAssignments.types @@ -89,7 +89,7 @@ M = x; function i(a: T) { >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidThisEmitInContextualObjectLiteral.types b/tests/baselines/reference/invalidThisEmitInContextualObjectLiteral.types index c4484822bf165..e0330479052f7 100644 --- a/tests/baselines/reference/invalidThisEmitInContextualObjectLiteral.types +++ b/tests/baselines/reference/invalidThisEmitInContextualObjectLiteral.types @@ -21,7 +21,7 @@ class TestController { public m(def: IDef) { } >m : (def: IDef) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >def : IDef > : ^^^^ diff --git a/tests/baselines/reference/invalidUndefinedAssignments.types b/tests/baselines/reference/invalidUndefinedAssignments.types index 8ae7e2b1dadc2..013eaec64f534 100644 --- a/tests/baselines/reference/invalidUndefinedAssignments.types +++ b/tests/baselines/reference/invalidUndefinedAssignments.types @@ -93,7 +93,7 @@ M = x; function i(a: T) { } >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidUndefinedValues.types b/tests/baselines/reference/invalidUndefinedValues.types index ade24cd71bd83..9d82d50440298 100644 --- a/tests/baselines/reference/invalidUndefinedValues.types +++ b/tests/baselines/reference/invalidUndefinedValues.types @@ -108,7 +108,7 @@ x = { f() { } } function f(a: T) { >f : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidVoidAssignments.types b/tests/baselines/reference/invalidVoidAssignments.types index 80d0129a3579b..0976be108801f 100644 --- a/tests/baselines/reference/invalidVoidAssignments.types +++ b/tests/baselines/reference/invalidVoidAssignments.types @@ -87,7 +87,7 @@ M = x; function i(a: T) { >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invalidVoidValues.types b/tests/baselines/reference/invalidVoidValues.types index b923c64dce229..b8fd47cdcaa16 100644 --- a/tests/baselines/reference/invalidVoidValues.types +++ b/tests/baselines/reference/invalidVoidValues.types @@ -117,7 +117,7 @@ x = M; function f(a: T) { >f : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/invariantGenericErrorElaboration.types b/tests/baselines/reference/invariantGenericErrorElaboration.types index 24258e7c16c25..e841aa3de861a 100644 --- a/tests/baselines/reference/invariantGenericErrorElaboration.types +++ b/tests/baselines/reference/invariantGenericErrorElaboration.types @@ -45,7 +45,7 @@ declare const Num: Num interface Obj }> extends Runtype<{[K in keyof O]: O[K]['witness'] }> {} declare function Obj }>(fields: O): Obj; >Obj : ; }>(fields: O) => Obj -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >_ : string > : ^^^^^^ >fields : O @@ -58,7 +58,7 @@ interface Constraint> extends Runtype { check: (x: A['witness']) => void, >check : (x: A['witness']) => void -> : ^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : A["witness"] > : ^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/ipromise2.types b/tests/baselines/reference/ipromise2.types index c0d3c8b81eac6..17e1c654ed1ca 100644 --- a/tests/baselines/reference/ipromise2.types +++ b/tests/baselines/reference/ipromise2.types @@ -5,13 +5,13 @@ declare module Windows.Foundation { export interface IPromise { then(success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): Windows.Foundation.IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_1, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -23,13 +23,13 @@ declare module Windows.Foundation { then(success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): Windows.Foundation.IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -41,13 +41,13 @@ declare module Windows.Foundation { then(success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): Windows.Foundation.IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -59,13 +59,13 @@ declare module Windows.Foundation { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Windows.Foundation.IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -77,9 +77,9 @@ declare module Windows.Foundation { done(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void ): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any diff --git a/tests/baselines/reference/ipromise3.types b/tests/baselines/reference/ipromise3.types index 224a241cbd171..cde199b2c0184 100644 --- a/tests/baselines/reference/ipromise3.types +++ b/tests/baselines/reference/ipromise3.types @@ -4,13 +4,13 @@ interface IPromise3 { then(success?: (value: T) => IPromise3, error?: (error: any) => IPromise3, progress?: (progress: any) => void ): IPromise3; >then : { (success?: (value: T) => IPromise3, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => IPromise3, error?: (error: any) => U_1, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U_2, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise3; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise3 -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise3 -> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -18,13 +18,13 @@ interface IPromise3 { then(success?: (value: T) => IPromise3, error?: (error: any) => U, progress?: (progress: any) => void ): IPromise3; >then : { (success?: (value: T) => IPromise3, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => IPromise3, error?: (error: any) => U, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U_2, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise3 -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -32,13 +32,13 @@ interface IPromise3 { then(success?: (value: T) => U, error?: (error: any) => IPromise3, progress?: (progress: any) => void ): IPromise3; >then : { (success?: (value: T) => IPromise3, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => IPromise3, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise3 -> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -46,13 +46,13 @@ interface IPromise3 { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void ): IPromise3; >then : { (success?: (value: T) => IPromise3, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => IPromise3, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U_3, error?: (error: any) => IPromise3, progress?: (progress: any) => void): IPromise3; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -60,9 +60,9 @@ interface IPromise3 { done? (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void ): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any diff --git a/tests/baselines/reference/ipromise4.types b/tests/baselines/reference/ipromise4.types index fb8526c728de7..0267b357c4009 100644 --- a/tests/baselines/reference/ipromise4.types +++ b/tests/baselines/reference/ipromise4.types @@ -5,13 +5,13 @@ declare module Windows.Foundation { export interface IPromise { then(success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): Windows.Foundation.IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_1, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -23,13 +23,13 @@ declare module Windows.Foundation { then(success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): Windows.Foundation.IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -41,13 +41,13 @@ declare module Windows.Foundation { then(success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): Windows.Foundation.IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -59,13 +59,13 @@ declare module Windows.Foundation { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Windows.Foundation.IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any >progress : (progress: any) => void > : ^^^^^^^^^^^ ^^^^^ @@ -77,9 +77,9 @@ declare module Windows.Foundation { done? (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void ): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any diff --git a/tests/baselines/reference/isDeclarationVisibleNodeKinds.types b/tests/baselines/reference/isDeclarationVisibleNodeKinds.types index f03f0266f127b..9e589fe160105 100644 --- a/tests/baselines/reference/isDeclarationVisibleNodeKinds.types +++ b/tests/baselines/reference/isDeclarationVisibleNodeKinds.types @@ -8,7 +8,7 @@ module schema { export function createValidator1(schema: any): (data: T) => T { >createValidator1 : (schema: any) => (data: T) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^ >schema : any >data : T > : ^ @@ -26,7 +26,7 @@ module schema { export function createValidator2(schema: any): new (data: T) => T { >createValidator2 : (schema: any) => new (data: T) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >schema : any >data : T > : ^ @@ -44,7 +44,7 @@ module schema { export function createValidator3(schema: any): number | { new (data: T): T; } { >createValidator3 : (schema: any) => number | (new (data: T) => T) -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^ >schema : any >data : T > : ^ @@ -62,7 +62,7 @@ module schema { export function createValidator4(schema: any): { new (data: T): T; }[] { >createValidator4 : (schema: any) => (new (data: T) => T)[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^ >schema : any >data : T > : ^ @@ -81,7 +81,7 @@ module schema { export function createValidator5(schema: any): { new (data: T): T } { >createValidator5 : (schema: any) => new (data: T) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >schema : any >data : T > : ^ @@ -99,7 +99,7 @@ module schema { export function createValidator6(schema: any): [ new (data: T) => T, number] { >createValidator6 : (schema: any) => [new (data: T) => T, number] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >schema : any >data : T > : ^ @@ -117,7 +117,7 @@ module schema { export function createValidator7(schema: any): (new (data: T)=>T )[] { >createValidator7 : (schema: any) => (new (data: T) => T)[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^ >schema : any >data : T > : ^ @@ -135,7 +135,7 @@ module schema { export function createValidator8(schema: any): Array<{ (data: T) : T}> { >createValidator8 : (schema: any) => ((data: T) => T)[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^ >schema : any >data : T > : ^ @@ -157,7 +157,7 @@ module schema { get createValidator9(): (data: T) => T { >createValidator9 : (data: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >data : T > : ^ @@ -168,9 +168,9 @@ module schema { set createValidator10(v: (data: T) => T) { >createValidator10 : (data: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >v : (data: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >data : T > : ^ } diff --git a/tests/baselines/reference/isolatedModulesImportConstEnumTypeOnly.types b/tests/baselines/reference/isolatedModulesImportConstEnumTypeOnly.types index d9c89d6080de2..ee209ce8cf4cf 100644 --- a/tests/baselines/reference/isolatedModulesImportConstEnumTypeOnly.types +++ b/tests/baselines/reference/isolatedModulesImportConstEnumTypeOnly.types @@ -14,7 +14,7 @@ import { Foo } from "./enum"; function f(foo: Foo) { return; } >f : (foo: Foo) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo > : ^^^ diff --git a/tests/baselines/reference/isomorphicMappedTypeInference.types b/tests/baselines/reference/isomorphicMappedTypeInference.types index 881cb36fd8284..7bcbbd261e1f1 100644 --- a/tests/baselines/reference/isomorphicMappedTypeInference.types +++ b/tests/baselines/reference/isomorphicMappedTypeInference.types @@ -25,7 +25,7 @@ type Boxified = { function box(x: T): Box { >box : (x: T) => Box -> : ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -40,7 +40,7 @@ function box(x: T): Box { function unbox(x: Box): T { >unbox : (x: Box) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Box > : ^^^^^^ @@ -55,7 +55,7 @@ function unbox(x: Box): T { function boxify(obj: T): Boxified { >boxify : (obj: T) => Boxified -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ @@ -100,7 +100,7 @@ function boxify(obj: T): Boxified { function unboxify(obj: Boxified): T { >unboxify : (obj: Boxified) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Boxified > : ^^^^^^^^^^^ @@ -145,7 +145,7 @@ function unboxify(obj: Boxified): T { function assignBoxified(obj: Boxified, values: T) { >assignBoxified : (obj: Boxified, values: T) => void -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >obj : Boxified > : ^^^^^^^^^^^ >values : T @@ -427,7 +427,7 @@ function f4() { function makeRecord(obj: { [P in K]: T }) { >makeRecord : (obj: { [P in K]: T; }) => { [P in K]: T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ >obj : { [P in K]: T; } > : ^^^^^^^^^^^^^^^^ @@ -506,7 +506,7 @@ function f5(s: string) { function makeDictionary(obj: { [x: string]: T }) { >makeDictionary : (obj: { [x: string]: T; }) => { [x: string]: T; } -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { [x: string]: T; } > : ^^^^^^^^^^^^^^^^^^^ >x : string @@ -587,19 +587,19 @@ function f6(s: string) { declare function validate(obj: { [P in keyof T]?: T[P] }): T; >validate : (obj: { [P in keyof T]?: T[P] | undefined; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { [P in keyof T]?: T[P] | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function clone(obj: { readonly [P in keyof T]: T[P] }): T; >clone : (obj: { readonly [P in keyof T]: T[P]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { readonly [P in keyof T]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function validateAndClone(obj: { readonly [P in keyof T]?: T[P] }): T; >validateAndClone : (obj: { readonly [P in keyof T]?: T[P] | undefined; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { readonly [P in keyof T]?: T[P] | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -618,7 +618,7 @@ type Foo = { function f10(foo: Foo) { >f10 : (foo: Foo) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo > : ^^^ @@ -675,7 +675,7 @@ type Spec = { */ declare function applySpec(obj: Spec): (...args: any[]) => T; >applySpec : (obj: Spec) => (...args: any[]) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >obj : Spec > : ^^^^^^^ >args : any[] @@ -748,9 +748,9 @@ var g2 = applySpec({ foo: { bar: { baz: (x: any) => true } } }); const foo = (object: T, partial: Partial) => object; >foo : (object: T, partial: Partial) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ >(object: T, partial: Partial) => object : (object: T, partial: Partial) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ >object : T > : ^ >partial : Partial @@ -809,31 +809,31 @@ o = foo(o, {b: 9}); declare function f20(obj: Pick): T; >f20 : (obj: Pick) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Pick > : ^^^^^^^^^^ declare function f21(obj: Pick): K; >f21 : (obj: Pick) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Pick > : ^^^^^^^^^^ declare function f22(obj: Boxified>): T; >f22 : (obj: Boxified>) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Boxified> > : ^^^^^^^^^^^^^^^^^^^^ declare function f23(obj: Pick): T; >f23 : (obj: Pick) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Pick > : ^^^^^^^^^^ declare function f24(obj: Pick): T & U; >f24 : (obj: Pick) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ ^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : Pick > : ^^^^^^^^^^^^^^ @@ -939,7 +939,7 @@ let x4 = f24({ foo: 42, bar: "hello" }); function getProps(obj: T, list: K[]): Pick { >getProps : (obj: T, list: K[]) => Pick -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >obj : T > : ^ >list : K[] diff --git a/tests/baselines/reference/iterableArrayPattern15.types b/tests/baselines/reference/iterableArrayPattern15.types index ebfe0b4385f0e..f324f549d4f8f 100644 --- a/tests/baselines/reference/iterableArrayPattern15.types +++ b/tests/baselines/reference/iterableArrayPattern15.types @@ -60,7 +60,7 @@ class FooIterator { function fun(...[a, b]: Bar[]) { } >fun : (...[a, b]: Bar[]) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >a : Bar > : ^^^ >b : Bar diff --git a/tests/baselines/reference/iterableArrayPattern16.types b/tests/baselines/reference/iterableArrayPattern16.types index 387a898725562..6d4d93357a3c1 100644 --- a/tests/baselines/reference/iterableArrayPattern16.types +++ b/tests/baselines/reference/iterableArrayPattern16.types @@ -3,7 +3,7 @@ === iterableArrayPattern16.ts === function fun(...[a, b]: [Bar, Bar][]) { } >fun : (...[a, b]: [Bar, Bar][]) => void -> : ^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >a : [Bar, Bar] > : ^^^^^^^^^^ >b : [Bar, Bar] diff --git a/tests/baselines/reference/iterableArrayPattern17.types b/tests/baselines/reference/iterableArrayPattern17.types index 688ed0f708b37..81547cebbdfb8 100644 --- a/tests/baselines/reference/iterableArrayPattern17.types +++ b/tests/baselines/reference/iterableArrayPattern17.types @@ -62,7 +62,7 @@ class FooIterator { function fun(...[a, b]: Bar[]) { } >fun : (...[a, b]: Bar[]) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >a : Bar > : ^^^ >b : Bar diff --git a/tests/baselines/reference/iterableArrayPattern18.types b/tests/baselines/reference/iterableArrayPattern18.types index e7b50297ca4b5..1bead9ee5c9d2 100644 --- a/tests/baselines/reference/iterableArrayPattern18.types +++ b/tests/baselines/reference/iterableArrayPattern18.types @@ -62,7 +62,7 @@ class FooIterator { function fun([a, b]: Bar[]) { } >fun : ([a, b]: Bar[]) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >a : Bar > : ^^^ >b : Bar diff --git a/tests/baselines/reference/iterableArrayPattern19.types b/tests/baselines/reference/iterableArrayPattern19.types index 3ed1944a22b37..15c53a8156467 100644 --- a/tests/baselines/reference/iterableArrayPattern19.types +++ b/tests/baselines/reference/iterableArrayPattern19.types @@ -64,7 +64,7 @@ class FooArrayIterator { function fun([[a], b]: Bar[][]) { } >fun : ([[a], b]: Bar[][]) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >a : Bar > : ^^^ >b : Bar[] diff --git a/tests/baselines/reference/iterableArrayPattern20.types b/tests/baselines/reference/iterableArrayPattern20.types index 0ba8bb25a61ed..10d8f5b773136 100644 --- a/tests/baselines/reference/iterableArrayPattern20.types +++ b/tests/baselines/reference/iterableArrayPattern20.types @@ -62,7 +62,7 @@ class FooArrayIterator { function fun(...[[a = new Foo], b = [new Foo]]: Bar[][]) { } >fun : (...[[a], b]: Bar[][]) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^ >a : Bar > : ^^^ >new Foo : Foo diff --git a/tests/baselines/reference/iteratorSpreadInCall10.types b/tests/baselines/reference/iteratorSpreadInCall10.types index 2247e5a9f4318..37d7658b8f512 100644 --- a/tests/baselines/reference/iteratorSpreadInCall10.types +++ b/tests/baselines/reference/iteratorSpreadInCall10.types @@ -3,7 +3,7 @@ === iteratorSpreadInCall10.ts === function foo(s: T[]) { return s[0] } >foo : (s: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >s : T[] > : ^^^ >s[0] : T diff --git a/tests/baselines/reference/iteratorSpreadInCall11.types b/tests/baselines/reference/iteratorSpreadInCall11.types index b1affee708ee2..b4e35acaaafd4 100644 --- a/tests/baselines/reference/iteratorSpreadInCall11.types +++ b/tests/baselines/reference/iteratorSpreadInCall11.types @@ -3,7 +3,7 @@ === iteratorSpreadInCall11.ts === function foo(...s: T[]) { return s[0] } >foo : (...s: T[]) => T -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^ >s : T[] > : ^^^ >s[0] : T diff --git a/tests/baselines/reference/iteratorSpreadInCall7.types b/tests/baselines/reference/iteratorSpreadInCall7.types index fdb015ed94b30..8aac3cc72c91c 100644 --- a/tests/baselines/reference/iteratorSpreadInCall7.types +++ b/tests/baselines/reference/iteratorSpreadInCall7.types @@ -3,7 +3,7 @@ === iteratorSpreadInCall7.ts === function foo(...s: T[]) { return s[0]; } >foo : (...s: T[]) => T -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^ >s : T[] > : ^^^ >s[0] : T diff --git a/tests/baselines/reference/jqueryInference.types b/tests/baselines/reference/jqueryInference.types index 04987ae85a46e..562af12e26fa9 100644 --- a/tests/baselines/reference/jqueryInference.types +++ b/tests/baselines/reference/jqueryInference.types @@ -5,17 +5,17 @@ interface MyPromise { then(cb: (t: T) => void): void; >then : (cb: (t: T) => void) => void -> : ^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (t: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ thenUnion(cb: (t: T | U) => void): this; >thenUnion : (cb: (t: T | U) => void) => this -> : ^^^^^ ^ ^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (t: T | U) => void -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >t : T | U > : ^^^^^ } @@ -24,7 +24,7 @@ interface DoNothingAlias extends MyPromise { } declare function shouldBeIdentity(p: DoNothingAlias): MyPromise; >shouldBeIdentity : (p: DoNothingAlias) => MyPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >p : DoNothingAlias > : ^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationEmitExportAssignedFunctionWithExtraTypedefsMembers.types b/tests/baselines/reference/jsDeclarationEmitExportAssignedFunctionWithExtraTypedefsMembers.types index fade270c62640..b3097c64182d3 100644 --- a/tests/baselines/reference/jsDeclarationEmitExportAssignedFunctionWithExtraTypedefsMembers.types +++ b/tests/baselines/reference/jsDeclarationEmitExportAssignedFunctionWithExtraTypedefsMembers.types @@ -11,17 +11,17 @@ */ module.exports = function loader(options) {} >module.exports = function loader(options) {} : (options: Options) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >module.exports : (options: Options) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >module : { exports: (options: Options) => void; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >exports : (options: Options) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >function loader(options) {} : (options: Options) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >loader : (options: Options) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >options : Options > : ^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization.types b/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization.types index 0afd80fa70344..b7bd321b3ba57 100644 --- a/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization.types +++ b/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization.types @@ -4,7 +4,7 @@ export interface Encoder { encode(value: T): Uint8Array >encode : (value: T) => Uint8Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } @@ -22,7 +22,7 @@ export class Encoder { */ encode(value) { >encode : (value: T) => Uint8Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/jsDeclarationsClasses.types b/tests/baselines/reference/jsDeclarationsClasses.types index 0d9d427add3b2..169867c59b7d0 100644 --- a/tests/baselines/reference/jsDeclarationsClasses.types +++ b/tests/baselines/reference/jsDeclarationsClasses.types @@ -206,7 +206,7 @@ export class F { */ static create(a, b) { return new F(a, b); } >create : (a: A, b: B) => F -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/jsDeclarationsEnumTag.types b/tests/baselines/reference/jsDeclarationsEnumTag.types index 7dc1119e24308..a77f163a4bb3a 100644 --- a/tests/baselines/reference/jsDeclarationsEnumTag.types +++ b/tests/baselines/reference/jsDeclarationsEnumTag.types @@ -99,7 +99,7 @@ export const Fs = { */ export function consume(t,s,f) { >consume : (t: Target, s: Second, f: Fs) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : string > : ^^^^^^ >s : number diff --git a/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.types b/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.types index 4bf09ccc44e1c..8dc0052fa39f2 100644 --- a/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.types +++ b/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.types @@ -128,7 +128,7 @@ Object.defineProperty(module.exports, "d", { value: d }); */ function e(a, b) { return /** @type {*} */(null); } >e : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -165,7 +165,7 @@ Object.defineProperty(module.exports, "e", { value: e }); */ function f(a) { >f : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.types b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.types index 250235eb7332d..cf7f245e64ff4 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.types +++ b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.types @@ -148,15 +148,15 @@ function Context(input) { } Context.prototype = { >Context.prototype = { /** * @param {Input} input * @param {HookHandler=} handle * @returns {State} */ construct(input, handle = () => void 0) { return input; }} : { construct(input: Input, handle?: HookHandler | undefined): State; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ >Context.prototype : { construct(input: Input, handle?: HookHandler | undefined): State; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ >Context : typeof Context > : ^^^^^^^^^^^^^^ >prototype : { construct(input: Input, handle?: import("hook").HookHandler): State; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ /** * @param {Input} input * @param {HookHandler=} handle * @returns {State} */ construct(input, handle = () => void 0) { return input; }} : { construct(input: Input, handle?: HookHandler | undefined): State; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ /** * @param {Input} input @@ -165,7 +165,7 @@ Context.prototype = { */ construct(input, handle = () => void 0) { >construct : (input: Input, handle?: HookHandler | undefined) => State -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >input : Input > : ^^^^^ >handle : import("hook").HookHandler diff --git a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses.types b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses.types index 68008dc7b3fc5..b8fbb32a77433 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses.types +++ b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses.types @@ -68,7 +68,7 @@ import {Point} from "./source"; */ export function magnitude(p) { >magnitude : (p: Point) => number -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : Point > : ^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2.types b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2.types index 7a826ea1675b6..010f78f8be4d1 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2.types +++ b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2.types @@ -32,22 +32,22 @@ export function Vec(len) { Vec.prototype = { >Vec.prototype = { /** * @param {Vec} other */ dot(other) { if (other.storage.length !== this.storage.length) { throw new Error(`Dot product only applicable for vectors of equal length`); } let sum = 0; for (let i = 0; i < this.storage.length; i++) { sum += (this.storage[i] * other.storage[i]); } return sum; }, magnitude() { let sum = 0; for (let i = 0; i < this.storage.length; i++) { sum += (this.storage[i] ** 2); } return Math.sqrt(sum); }} : { dot(other: Vec): number; magnitude(): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Vec.prototype : { dot(other: Vec): number; magnitude(): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Vec : typeof Vec > : ^^^^^^^^^^ >prototype : { dot(other: Vec): number; magnitude(): number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ /** * @param {Vec} other */ dot(other) { if (other.storage.length !== this.storage.length) { throw new Error(`Dot product only applicable for vectors of equal length`); } let sum = 0; for (let i = 0; i < this.storage.length; i++) { sum += (this.storage[i] * other.storage[i]); } return sum; }, magnitude() { let sum = 0; for (let i = 0; i < this.storage.length; i++) { sum += (this.storage[i] ** 2); } return Math.sqrt(sum); }} : { dot(other: Vec): number; magnitude(): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /** * @param {Vec} other */ dot(other) { >dot : (other: Vec) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ >other : Vec > : ^^^ diff --git a/tests/baselines/reference/jsDeclarationsFunctions.types b/tests/baselines/reference/jsDeclarationsFunctions.types index 2dce02ba45586..f3d5f1b97e37b 100644 --- a/tests/baselines/reference/jsDeclarationsFunctions.types +++ b/tests/baselines/reference/jsDeclarationsFunctions.types @@ -59,7 +59,7 @@ export function d(a, b) { return /** @type {*} */(null); } */ export function e(a, b) { return /** @type {*} */(null); } >e : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/jsDeclarationsFunctionsCjs.types b/tests/baselines/reference/jsDeclarationsFunctionsCjs.types index 9f8a4fca70911..602a621634faa 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionsCjs.types +++ b/tests/baselines/reference/jsDeclarationsFunctionsCjs.types @@ -131,9 +131,9 @@ module.exports.d = function d(a, b) { return /** @type {*} */(null); } */ module.exports.e = function e(a, b) { return /** @type {*} */(null); } >module.exports.e = function e(a, b) { return /** @type {*} */(null); } : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ >module.exports.e : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ >module.exports : typeof module.exports > : ^^^^^^^^^^^^^^^^^^^^^ >module : { exports: typeof module.exports; } @@ -143,9 +143,9 @@ module.exports.e = function e(a, b) { return /** @type {*} */(null); } >e : (a: T, b: U) => T & U > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function e(a, b) { return /** @type {*} */(null); } : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ >e : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >a : T > : ^ >b : U @@ -158,9 +158,9 @@ module.exports.e = function e(a, b) { return /** @type {*} */(null); } */ module.exports.f = function f(a) { >module.exports.f = function f(a) { return a;} : { (a: T): T; self: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >module.exports.f : { (a: T): T; self: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >module.exports : typeof module.exports > : ^^^^^^^^^^^^^^^^^^^^^ >module : { exports: typeof module.exports; } @@ -170,9 +170,9 @@ module.exports.f = function f(a) { >f : { (a: T): T; self: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function f(a) { return a;} : { (a: T): T; self: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >f : { (a: T): T; self: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespace.types b/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespace.types index 93817545d3707..328ea7bc289a9 100644 --- a/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespace.types +++ b/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespace.types @@ -58,7 +58,7 @@ const testFnTypes = { */ function testFn(input) { >testFn : (input: testFnTypes.input) => number | null -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >input : import("file2").testFnTypes.input > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespaceCjs.types b/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespaceCjs.types index 6e49c416fb592..97632f63c0952 100644 --- a/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespaceCjs.types +++ b/tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespaceCjs.types @@ -34,7 +34,7 @@ const testFnTypes = { */ function testFn(input) { >testFn : (input: testFnTypes.input) => number | null -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >input : boolean | myTypes.typeC > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsInterfaces.types b/tests/baselines/reference/jsDeclarationsInterfaces.types index 434c958ba2ee4..4553a70389d20 100644 --- a/tests/baselines/reference/jsDeclarationsInterfaces.types +++ b/tests/baselines/reference/jsDeclarationsInterfaces.types @@ -53,7 +53,7 @@ export interface C { method(a: T & Q): Q & number; >method : { (): number; (a: T & Q): Q & number; (a?: number): number; (...args: any[]): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T & Q > : ^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsNestedParams.types b/tests/baselines/reference/jsDeclarationsNestedParams.types index 5e98a4b0f3c52..c7fb37681992b 100644 --- a/tests/baselines/reference/jsDeclarationsNestedParams.types +++ b/tests/baselines/reference/jsDeclarationsNestedParams.types @@ -14,7 +14,7 @@ class X { */ async cancel({reason, code}) {} >cancel : ({ reason, code }: { reason: string | null; code: string | null;}) => Promise -> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ >reason : string > : ^^^^^^ >code : string @@ -36,7 +36,7 @@ class Y { */ async cancel({reason, suberr}) {} >cancel : ({ reason, suberr }: { reason: string | null; suberr: { reason: string | null; code: string | null; };}) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^ ^^^ >reason : string > : ^^^^^^ >suberr : { reason: string; code: string; } diff --git a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.types b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.types index 87f3d8a3fee82..7f20522467de5 100644 --- a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.types +++ b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.types @@ -66,9 +66,9 @@ const couldntThinkOfAny = {} */ const test = (base) => { >test : (base: InstanceType) => Base -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >(base) => { return base;} : (base: InstanceType) => Base -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >base : Base > : ^^^^ diff --git a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.types b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.types index 01e45f4a95dfd..fa0331b75fb60 100644 --- a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.types +++ b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.types @@ -56,9 +56,9 @@ module.exports = BaseFactory; */ const test = (base) => { >test : (base: InstanceType) => Base -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >(base) => { return base;} : (base: InstanceType) => Base -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >base : Base > : ^^^^ diff --git a/tests/baselines/reference/jsDeclarationsReferenceToClassInstanceCrossFile.types b/tests/baselines/reference/jsDeclarationsReferenceToClassInstanceCrossFile.types index 69b14eba26d66..78ab0ed948bd4 100644 --- a/tests/baselines/reference/jsDeclarationsReferenceToClassInstanceCrossFile.types +++ b/tests/baselines/reference/jsDeclarationsReferenceToClassInstanceCrossFile.types @@ -118,7 +118,7 @@ class Render { */ addRectangle() { >addRectangle : () => Rectangle -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ const obj = new Rectangle(); >obj : Rectangle diff --git a/tests/baselines/reference/jsDeclarationsTypeAliases.types b/tests/baselines/reference/jsDeclarationsTypeAliases.types index ef34f28acb6c9..9c55f4ab3452e 100644 --- a/tests/baselines/reference/jsDeclarationsTypeAliases.types +++ b/tests/baselines/reference/jsDeclarationsTypeAliases.types @@ -39,7 +39,7 @@ export {}; // flag file as module */ function doTheThing(x) { >doTheThing : (x: number) => SomeType -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.types b/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.types index 15b1d46854e29..735567f16dd0f 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.types +++ b/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.types @@ -33,7 +33,7 @@ interface Item { } declare function getItems(): Item[]; >getItems : () => Item[] -> : ^^^^^^^^^^ +> : ^^^^^^ export = getItems; >getItems : () => Item[] diff --git a/tests/baselines/reference/jsDeclarationsTypedefAndLatebound.types b/tests/baselines/reference/jsDeclarationsTypedefAndLatebound.types index 42193592b9040..9ea3073ee763c 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefAndLatebound.types +++ b/tests/baselines/reference/jsDeclarationsTypedefAndLatebound.types @@ -44,7 +44,7 @@ class LazySet { */ addAll(iterable) {} >addAll : (iterable: LazySet) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >iterable : import("LazySet") > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsTypedefFunction.types b/tests/baselines/reference/jsDeclarationsTypedefFunction.types index cc7ff6457244e..d56483a180032 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefFunction.types +++ b/tests/baselines/reference/jsDeclarationsTypedefFunction.types @@ -19,9 +19,9 @@ let id = 0 */ const send = handlers => new Promise((resolve, reject) => { >send : (handlers: ResolveRejectMap) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >handlers => new Promise((resolve, reject) => { handlers[++id] = [resolve, reject]}) : (handlers: ResolveRejectMap) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >handlers : ResolveRejectMap > : ^^^^^^^^^^^^^^^^ >new Promise((resolve, reject) => { handlers[++id] = [resolve, reject]}) : Promise diff --git a/tests/baselines/reference/jsDeclarationsWithDefaultAsNamespaceLikeMerge.types b/tests/baselines/reference/jsDeclarationsWithDefaultAsNamespaceLikeMerge.types index db434ca2619e6..36ac0520cc163 100644 --- a/tests/baselines/reference/jsDeclarationsWithDefaultAsNamespaceLikeMerge.types +++ b/tests/baselines/reference/jsDeclarationsWithDefaultAsNamespaceLikeMerge.types @@ -21,7 +21,7 @@ interface NamespacedMappers { } export declare function createNamespacedHelpers(): NamespacedMappers; >createNamespacedHelpers : () => NamespacedMappers -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ === /index.js === import { createNamespacedHelpers } from './helper' diff --git a/tests/baselines/reference/jsEnumCrossFileExport.types b/tests/baselines/reference/jsEnumCrossFileExport.types index c630b7140a1e5..21c683ee1fd71 100644 --- a/tests/baselines/reference/jsEnumCrossFileExport.types +++ b/tests/baselines/reference/jsEnumCrossFileExport.types @@ -113,7 +113,7 @@ Other.Cls = class { */ method(p) {} >method : (p: Host.UserMetrics.Action) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : number > : ^^^^^^ diff --git a/tests/baselines/reference/jsEnumTagOnObjectFrozen.types b/tests/baselines/reference/jsEnumTagOnObjectFrozen.types index ebbda8f34ba70..ef268523c6a77 100644 --- a/tests/baselines/reference/jsEnumTagOnObjectFrozen.types +++ b/tests/baselines/reference/jsEnumTagOnObjectFrozen.types @@ -115,7 +115,7 @@ exports.Thing = Thing; */ function useThing(x) {} >useThing : (x: Thing) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string > : ^^^^^^ @@ -136,7 +136,7 @@ exports.useThing = useThing; */ function cbThing(x) {} >cbThing : (x: (x: Thing) => void) => void -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : (x: string) => void > : ^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsFileFunctionOverloads.types b/tests/baselines/reference/jsFileFunctionOverloads.types index c57889e3082c2..8a2a63ae2fd34 100644 --- a/tests/baselines/reference/jsFileFunctionOverloads.types +++ b/tests/baselines/reference/jsFileFunctionOverloads.types @@ -40,9 +40,9 @@ */ const identity = x => x; >identity : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >x => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -69,7 +69,7 @@ const identity = x => x; */ function flatMap(array, iterable = identity) { >flatMap : { (array: T[], iterable: (x: T) => U[]): U[]; (array: T[][]): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^ ^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^ ^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ >array : unknown[] > : ^^^^^^^^^ >iterable : (x: unknown) => unknown diff --git a/tests/baselines/reference/jsFileFunctionOverloads2.types b/tests/baselines/reference/jsFileFunctionOverloads2.types index 991e3dc4caaa1..5f4061f57ce77 100644 --- a/tests/baselines/reference/jsFileFunctionOverloads2.types +++ b/tests/baselines/reference/jsFileFunctionOverloads2.types @@ -38,9 +38,9 @@ */ const identity = x => x; >identity : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >x => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -64,7 +64,7 @@ const identity = x => x; */ function flatMap(array, iterable = identity) { >flatMap : { (array: T[], iterable: (x: T) => U[]): U[]; (array: T[][]): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^ ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^ ^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ ^^ ^^^^^^^^^ ^^^ ^^^ >array : unknown[] > : ^^^^^^^^^ >iterable : (x: unknown) => unknown diff --git a/tests/baselines/reference/jsFileImportPreservedWhenUsed.types b/tests/baselines/reference/jsFileImportPreservedWhenUsed.types index d35c39ee1d9f4..7469dae863db1 100644 --- a/tests/baselines/reference/jsFileImportPreservedWhenUsed.types +++ b/tests/baselines/reference/jsFileImportPreservedWhenUsed.types @@ -14,7 +14,7 @@ type ObjectIterator = (value: TObject[keyof TObject], key: str interface LoDashStatic { mapValues(obj: T | null | undefined, callback: ObjectIterator): { [P in keyof T]: TResult }; >mapValues : (obj: T | null | undefined, callback: ObjectIterator) => { [P in keyof T]: TResult; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >obj : T | null | undefined > : ^^^^^^^^^^^^^^^^^^^^ >callback : ObjectIterator diff --git a/tests/baselines/reference/jsFileMethodOverloads.types b/tests/baselines/reference/jsFileMethodOverloads.types index 197cde203f685..7fef7e6a565fc 100644 --- a/tests/baselines/reference/jsFileMethodOverloads.types +++ b/tests/baselines/reference/jsFileMethodOverloads.types @@ -42,7 +42,7 @@ */ getTypeName() { >getTypeName : { (this: Example): 'number'; (this: Example): 'string'; } -> : ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ return typeof this.value; >typeof this.value : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" @@ -71,7 +71,7 @@ */ transform(fn) { >transform : { (fn: (y: T) => U): U; (): T; } -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^ ^^^ ^^^^^^ ^^^ >fn : (y: T) => unknown > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsFileMethodOverloads2.types b/tests/baselines/reference/jsFileMethodOverloads2.types index 202b58ca35f0d..0d050dcee8875 100644 --- a/tests/baselines/reference/jsFileMethodOverloads2.types +++ b/tests/baselines/reference/jsFileMethodOverloads2.types @@ -41,7 +41,7 @@ */ getTypeName() { >getTypeName : { (this: Example): 'number'; (this: Example): 'string'; } -> : ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ return typeof this.value; >typeof this.value : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" @@ -68,7 +68,7 @@ */ transform(fn) { >transform : { (fn: (y: T) => U): U; (): T; } -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^ ^^^ ^^^ ^^^^^ ^^^ >fn : (y: T) => unknown > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsdocArrayObjectPromiseNoImplicitAny.types b/tests/baselines/reference/jsdocArrayObjectPromiseNoImplicitAny.types index d91151bdeef52..dd7432c31d74f 100644 --- a/tests/baselines/reference/jsdocArrayObjectPromiseNoImplicitAny.types +++ b/tests/baselines/reference/jsdocArrayObjectPromiseNoImplicitAny.types @@ -107,7 +107,7 @@ var paramedObject = {valueOf: 1}; */ function returnNotAnyObject(obj) { >returnNotAnyObject : (obj: Object) => Object -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >obj : Object > : ^^^^^^ diff --git a/tests/baselines/reference/jsdocConstructorFunctionTypeReference.types b/tests/baselines/reference/jsdocConstructorFunctionTypeReference.types index 5e9dcb19ccdf1..c29a0d6a17cb7 100644 --- a/tests/baselines/reference/jsdocConstructorFunctionTypeReference.types +++ b/tests/baselines/reference/jsdocConstructorFunctionTypeReference.types @@ -42,9 +42,9 @@ Validator.prototype.num = 12 */ var validateRegExpFlags = function(state) { >validateRegExpFlags : (state: Validator) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ >function(state) { return state.flags} : (state: Validator) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ >state : VFunc > : ^^^^^ diff --git a/tests/baselines/reference/jsdocDisallowedInTypescript.types b/tests/baselines/reference/jsdocDisallowedInTypescript.types index 5ef02f44024fa..b87060b35fa80 100644 --- a/tests/baselines/reference/jsdocDisallowedInTypescript.types +++ b/tests/baselines/reference/jsdocDisallowedInTypescript.types @@ -16,7 +16,7 @@ var ara: Array. = [1,2,3]; function f(x: ?number, y: Array.) { >f : (x: number | null, y: Array) => number -> : ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ >x : number | null > : ^^^^^^^^^^^^^ >y : number[] diff --git a/tests/baselines/reference/jsdocFunctionType.types b/tests/baselines/reference/jsdocFunctionType.types index 26689e0a84d3c..247879ce0a91e 100644 --- a/tests/baselines/reference/jsdocFunctionType.types +++ b/tests/baselines/reference/jsdocFunctionType.types @@ -186,9 +186,9 @@ z2.length; */ var construct = function(dref) { return new dref(33); } >construct : (dref: new (arg1: number) => D) => D -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >function(dref) { return new dref(33); } : (dref: new (arg1: number) => D) => D -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >dref : new (arg1: number) => D > : ^^^^^^^^^^^^^^^^^^^^^^^ >new dref(33) : D diff --git a/tests/baselines/reference/jsdocImplements_namespacedInterface.types b/tests/baselines/reference/jsdocImplements_namespacedInterface.types index af78f287276b2..c61c6f5334738 100644 --- a/tests/baselines/reference/jsdocImplements_namespacedInterface.types +++ b/tests/baselines/reference/jsdocImplements_namespacedInterface.types @@ -10,7 +10,7 @@ declare namespace N { interface AT { gen(): T; >gen : () => T -> : ^^^^^^^ +> : ^^^^^^ } } === /a.js === diff --git a/tests/baselines/reference/jsdocImportTypeReferenceToClassAlias.types b/tests/baselines/reference/jsdocImportTypeReferenceToClassAlias.types index dcae3d1bc7ae3..3a09f1389d264 100644 --- a/tests/baselines/reference/jsdocImportTypeReferenceToClassAlias.types +++ b/tests/baselines/reference/jsdocImportTypeReferenceToClassAlias.types @@ -30,7 +30,7 @@ module.exports.C = C /** @param {X} c */ function demo(c) { >demo : (c: X) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >c : import("mod1").C > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsdocInTypeScript.types b/tests/baselines/reference/jsdocInTypeScript.types index dd6e5a41bc9bb..64fce344c82b5 100644 --- a/tests/baselines/reference/jsdocInTypeScript.types +++ b/tests/baselines/reference/jsdocInTypeScript.types @@ -96,7 +96,7 @@ interface I {} /** @template T */ function tem(t: T): I { return {}; } >tem : (t: T) => I -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >t : T > : ^ >{} : {} diff --git a/tests/baselines/reference/jsdocParamTagTypeLiteral.types b/tests/baselines/reference/jsdocParamTagTypeLiteral.types index 0ec8dd3aca6ad..c0c44bf3bcc45 100644 --- a/tests/baselines/reference/jsdocParamTagTypeLiteral.types +++ b/tests/baselines/reference/jsdocParamTagTypeLiteral.types @@ -7,7 +7,7 @@ */ function normal(notSpecial) { >normal : (notSpecial: Object) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^ >notSpecial : Object > : ^^^^^^ diff --git a/tests/baselines/reference/jsdocPropertyTagInvalid.types b/tests/baselines/reference/jsdocPropertyTagInvalid.types index 9677c8705cd77..38e117025b37c 100644 --- a/tests/baselines/reference/jsdocPropertyTagInvalid.types +++ b/tests/baselines/reference/jsdocPropertyTagInvalid.types @@ -9,7 +9,7 @@ /** @param {MyType} p */ export function f(p) { } >f : (p: MyType) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : MyType > : ^^^^^^ diff --git a/tests/baselines/reference/jsdocTemplateClass.types b/tests/baselines/reference/jsdocTemplateClass.types index d23435737486a..529252ca9c4b0 100644 --- a/tests/baselines/reference/jsdocTemplateClass.types +++ b/tests/baselines/reference/jsdocTemplateClass.types @@ -37,7 +37,7 @@ class Foo { */ foo(x, y, alpha) { >foo : (x: T, y: Id, alpha: (t: T) => T) => T -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : Id diff --git a/tests/baselines/reference/jsdocTemplateTag.types b/tests/baselines/reference/jsdocTemplateTag.types index 8ea67941ee12d..5995fc03f4cba 100644 --- a/tests/baselines/reference/jsdocTemplateTag.types +++ b/tests/baselines/reference/jsdocTemplateTag.types @@ -7,7 +7,7 @@ */ function f(a) { >f : (a: T) => () => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^ >a : T > : ^ @@ -36,7 +36,7 @@ let n = f(1)() */ function g(a) { >g : (a: T) => () => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : T > : ^ @@ -63,7 +63,7 @@ let s = g('hi')() */ Element.prototype.animate = function(keyframes) {}; >Element.prototype.animate = function(keyframes) {} : (keyframes: Array) => void -> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ >Element.prototype.animate : (keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions) => Animation > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Element.prototype : Element @@ -75,7 +75,7 @@ Element.prototype.animate = function(keyframes) {}; >animate : (keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions) => Animation > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(keyframes) {} : (keyframes: Array) => void -> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ >keyframes : any[] > : ^^^^^ diff --git a/tests/baselines/reference/jsdocTemplateTag2.types b/tests/baselines/reference/jsdocTemplateTag2.types index c9fc589bed118..1476c842a98e2 100644 --- a/tests/baselines/reference/jsdocTemplateTag2.types +++ b/tests/baselines/reference/jsdocTemplateTag2.types @@ -3,9 +3,9 @@ === github17339.js === var obj = { >obj : { x: (a: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^ >{ /** * @template T * @param {T} a * @returns {T} */ x: function (a) { return a; },} : { x: (a: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^ /** * @template T @@ -14,9 +14,9 @@ var obj = { */ x: function (a) { >x : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >function (a) { return a; } : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/jsdocTemplateTag3.types b/tests/baselines/reference/jsdocTemplateTag3.types index cd6d9c6a77e5a..b078ec0562cc4 100644 --- a/tests/baselines/reference/jsdocTemplateTag3.types +++ b/tests/baselines/reference/jsdocTemplateTag3.types @@ -15,7 +15,7 @@ */ function f(t, u, v, w, x) { >f : (t: T, u: U, v: V, w: W, x: X) => W | X -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >u : U @@ -149,7 +149,7 @@ f({ a: 12 }, undefined, undefined, 101, 'nope'); */ function g(x) { } >g : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/jsdocTemplateTag6.types b/tests/baselines/reference/jsdocTemplateTag6.types index 7679749d1db32..250755d2d48b9 100644 --- a/tests/baselines/reference/jsdocTemplateTag6.types +++ b/tests/baselines/reference/jsdocTemplateTag6.types @@ -8,7 +8,7 @@ */ function f1(x) { >f1 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -85,7 +85,7 @@ const t3 = f1({ a: 1, b: "c", d: ["e", 2, true, { f: "g" }] }); */ function f2(x) { >f2 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >x : T > : ^ @@ -163,7 +163,7 @@ const t6 = f2({ a: 1, b: "c", d: ["e", 2, true, { f: "g" }] }); */ function f3(x) { >f3 : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -200,7 +200,7 @@ const t8 = f3("hello"); */ function f4(x) { >f4 : (x: [T, T]) => T -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >x : [T, T] > : ^^^^^^ @@ -271,7 +271,7 @@ const t10 = f4([{ a: 1, b: "x" }, { a: 2, b: "y" }]); */ function f5(obj) { >f5 : (obj: { x: T; y: T; }) => T -> : ^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ >obj : { x: T; y: T; } > : ^^^^^^^^^^^^^^^ @@ -363,7 +363,7 @@ class C { */ foo(x) { >foo : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ >x : U > : ^ @@ -436,7 +436,7 @@ const t14 = t13.foo(["a", ["b", "c"]]); */ function f6(...args) { >f6 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/jsdocTemplateTag7.types b/tests/baselines/reference/jsdocTemplateTag7.types index adf998a95ef5a..a8fe18a3431cf 100644 --- a/tests/baselines/reference/jsdocTemplateTag7.types +++ b/tests/baselines/reference/jsdocTemplateTag7.types @@ -20,7 +20,7 @@ class C { } */ function f(x) { >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/jsdocTemplateTag8.types b/tests/baselines/reference/jsdocTemplateTag8.types index 7ae5b8c94e89c..d83d68d8e2d51 100644 --- a/tests/baselines/reference/jsdocTemplateTag8.types +++ b/tests/baselines/reference/jsdocTemplateTag8.types @@ -161,7 +161,7 @@ sub_invariant = super_invariant; // Error */ function f(x) {} >f : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/jsdocTemplateTagDefault.types b/tests/baselines/reference/jsdocTemplateTagDefault.types index 2ca413a8f5f19..b8f2f5afe4c98 100644 --- a/tests/baselines/reference/jsdocTemplateTagDefault.types +++ b/tests/baselines/reference/jsdocTemplateTagDefault.types @@ -78,7 +78,7 @@ const aNumber = [0]; */ function f1(a, b) {} >f1 : (a: T, b: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >b : U @@ -92,7 +92,7 @@ function f1(a, b) {} */ function f2(a, b) {} >f2 : (a: T, b: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >b : U @@ -106,7 +106,7 @@ function f2(a, b) {} */ function f3(a, b) {} >f3 : (a: T, b: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/jsdocTypeGenericInstantiationAttempt.types b/tests/baselines/reference/jsdocTypeGenericInstantiationAttempt.types index 9f01d492bcfd3..fd1bbb3f1119e 100644 --- a/tests/baselines/reference/jsdocTypeGenericInstantiationAttempt.types +++ b/tests/baselines/reference/jsdocTypeGenericInstantiationAttempt.types @@ -6,7 +6,7 @@ */ function thing(list) { >thing : (list: Array) => any[] -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^ ^^^^^^^^^^ >list : any[] > : ^^^^^ diff --git a/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.types b/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.types index 5987aaf4bde15..3ac78d75925b6 100644 --- a/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.types +++ b/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.types @@ -6,7 +6,7 @@ */ function sayHello(somebody) { >sayHello : (somebody: (m: boolean) => string) => string -> : ^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ >somebody : (m: boolean) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -25,7 +25,7 @@ function sayHello(somebody) { */ function sayHello2(somebody) { >sayHello2 : (somebody: (m: void) => string) => string -> : ^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ >somebody : (m: void) => string > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -45,7 +45,7 @@ function sayHello2(somebody) { */ function sayHello3(somebody) { >sayHello3 : (somebody: (m: undefined) => string) => string -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ >somebody : (m: undefined) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -65,7 +65,7 @@ function sayHello3(somebody) { */ function sayHello4(somebody) { >sayHello4 : (somebody: (m: Function) => string) => string -> : ^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ >somebody : (m: Function) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -85,7 +85,7 @@ function sayHello4(somebody) { */ function sayHello5(somebody) { >sayHello5 : (somebody: (m: string) => string) => string -> : ^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ >somebody : (m: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -105,7 +105,7 @@ function sayHello5(somebody) { */ function sayHello6(somebody) { >sayHello6 : (somebody: (m: number) => string) => string -> : ^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ >somebody : (m: number) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -125,7 +125,7 @@ function sayHello6(somebody) { */ function sayHello7(somebody) { >sayHello7 : (somebody: (m: any) => string) => string -> : ^^^^^^^^^^^ ^ ^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ >somebody : (m: any) => string > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsonFileImportChecksCallCorrectlyTwice.types b/tests/baselines/reference/jsonFileImportChecksCallCorrectlyTwice.types index 4590a4128ea2b..8cbe81a7a8149 100644 --- a/tests/baselines/reference/jsonFileImportChecksCallCorrectlyTwice.types +++ b/tests/baselines/reference/jsonFileImportChecksCallCorrectlyTwice.types @@ -37,7 +37,7 @@ fn(data.foo); // <-- shouldn't error! function fn(arg: Foo[]) { } >fn : (arg: Foo[]) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : Foo[] > : ^^^^^ diff --git a/tests/baselines/reference/jsxCallElaborationCheckNoCrash1.types b/tests/baselines/reference/jsxCallElaborationCheckNoCrash1.types index e01ae2f4f357c..91cd2528fbdcb 100644 --- a/tests/baselines/reference/jsxCallElaborationCheckNoCrash1.types +++ b/tests/baselines/reference/jsxCallElaborationCheckNoCrash1.types @@ -20,9 +20,9 @@ type Tags = "span" | "div"; export const Hoc = ( >Hoc : (TagElement: Tag) => React.SFC -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >( TagElement: Tag,): React.SFC => { const Component = () => ; return Component;} : (TagElement: Tag) => React.SFC -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ TagElement: Tag, >TagElement : Tag diff --git a/tests/baselines/reference/jsxChildrenGenericContextualTypes.types b/tests/baselines/reference/jsxChildrenGenericContextualTypes.types index 3033a3d4e0e66..33f18a9150c09 100644 --- a/tests/baselines/reference/jsxChildrenGenericContextualTypes.types +++ b/tests/baselines/reference/jsxChildrenGenericContextualTypes.types @@ -18,15 +18,15 @@ namespace JSX { } const Elem = (p: { prop: T, children: (t: T) => T }) =>

; >Elem : (p: { prop: T; children: (t: T) => T; }) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >(p: { prop: T, children: (t: T) => T }) =>
: (p: { prop: T; children: (t: T) => T; }) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >p : { prop: T; children: (t: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ >prop : T > : ^ >children : (t: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ >
: JSX.Element @@ -130,15 +130,15 @@ interface LitProps { prop: T, children: (x: this) => T } >prop : T > : ^ >children : (x: this) => T -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : this > : ^^^^ const ElemLit = (p: LitProps) =>
; >ElemLit : (p: LitProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >(p: LitProps) =>
: (p: LitProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >p : LitProps > : ^^^^^^^^^^^ >
: JSX.Element diff --git a/tests/baselines/reference/jsxChildrenIndividualErrorElaborations.types b/tests/baselines/reference/jsxChildrenIndividualErrorElaborations.types index 44930132e7eed..e15973892d515 100644 --- a/tests/baselines/reference/jsxChildrenIndividualErrorElaborations.types +++ b/tests/baselines/reference/jsxChildrenIndividualErrorElaborations.types @@ -22,7 +22,7 @@ interface Props { export function Blah(props: Props) { >Blah : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^ @@ -113,7 +113,7 @@ interface PropsArr { export function Blah2(props: PropsArr) { >Blah2 : (props: PropsArr) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : PropsArr > : ^^^^^^^^ @@ -200,7 +200,7 @@ interface PropsMixed { export function Blah3(props: PropsMixed) { >Blah3 : (props: PropsMixed) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : PropsMixed > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.types b/tests/baselines/reference/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.types index 54983055ac104..0fdf91d11b765 100644 --- a/tests/baselines/reference/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.types +++ b/tests/baselines/reference/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.types @@ -21,7 +21,7 @@ interface Props { function TabLayout(props: Props) { >TabLayout : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^ diff --git a/tests/baselines/reference/jsxComplexSignatureHasApplicabilityError.types b/tests/baselines/reference/jsxComplexSignatureHasApplicabilityError.types index 9fe02a5c6f5be..7baa09ba659e7 100644 --- a/tests/baselines/reference/jsxComplexSignatureHasApplicabilityError.types +++ b/tests/baselines/reference/jsxComplexSignatureHasApplicabilityError.types @@ -21,7 +21,7 @@ interface Props { onChange?(value: Option | undefined): void; >onChange : ((value: Option | undefined) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : Option | undefined > : ^^^^^^^^^^^^^^^^^^^^^ } @@ -42,7 +42,7 @@ export type ReactSingleSelectProps< export function createReactSingleSelect< >createReactSingleSelect : >(WrappedComponent: React.ComponentType) => React.ComponentType> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ WrappedProps extends ReactSelectProps >( @@ -167,7 +167,7 @@ declare class ReactSelectClass extends React.Component): void; >setValue : (value: Option) => void -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Option > : ^^^^^^^^^^^^^^ } @@ -311,7 +311,7 @@ export type IsOptionUniqueHandler = (arg: { option: Optio >IsOptionUniqueHandler : IsOptionUniqueHandler > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : { option: Option; options: Options; labelKey: string; valueKey: string; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ >option : Option > : ^^^^^^^^^^^^^^ >options : Options @@ -391,7 +391,7 @@ export type LoadOptionsLegacyHandler = (input: string, ca >input : string > : ^^^^^^ >callback : (err: any, result: AutocompleteResult) => void -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^^^ ^^^^^ >err : any >result : AutocompleteResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -564,7 +564,7 @@ export interface OptionComponentProps { */ onFocus?: (option: Option, event: any) => void; >onFocus : ((option: Option, event: any) => void) | undefined -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >option : Option > : ^^^^^^^^^^^^^^ >event : any @@ -574,7 +574,7 @@ export interface OptionComponentProps { */ onSelect?: (option: Option, event: any) => void; >onSelect : ((option: Option, event: any) => void) | undefined -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >option : Option > : ^^^^^^^^^^^^^^ >event : any @@ -599,7 +599,7 @@ export interface OptionComponentProps { */ removeValue?: (value: TValue | TValue[]) => void; >removeValue : ((value: TValue | TValue[]) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TValue | TValue[] > : ^^^^^^^^^^^^^^^^^ @@ -608,7 +608,7 @@ export interface OptionComponentProps { */ selectValue?: (value: TValue | TValue[]) => void; >selectValue : ((value: TValue | TValue[]) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : TValue | TValue[] > : ^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/jsxContainsOnlyTriviaWhiteSpacesNotCountedAsChild.types b/tests/baselines/reference/jsxContainsOnlyTriviaWhiteSpacesNotCountedAsChild.types index 4db802c5fb1aa..b4a147b821c3d 100644 --- a/tests/baselines/reference/jsxContainsOnlyTriviaWhiteSpacesNotCountedAsChild.types +++ b/tests/baselines/reference/jsxContainsOnlyTriviaWhiteSpacesNotCountedAsChild.types @@ -17,7 +17,7 @@ interface Props { function NoticeList(props: Props) { >NoticeList : (props: Props) => null -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >props : Props > : ^^^^^ diff --git a/tests/baselines/reference/jsxElementType.types b/tests/baselines/reference/jsxElementType.types index 2013966b56903..6fef930841144 100644 --- a/tests/baselines/reference/jsxElementType.types +++ b/tests/baselines/reference/jsxElementType.types @@ -393,7 +393,7 @@ Component = RenderStringClass; interface ReactNativeFlatListProps {} function ReactNativeFlatList( >ReactNativeFlatList : (props: {}, ref: React.ForwardedRef) => null -> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ props: {}, >props : {} @@ -401,7 +401,7 @@ function ReactNativeFlatList( ref: React.ForwardedRef >ref : React.ForwardedRef<(props: {}, ref: React.ForwardedRef) => null> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >React : any > : ^^^ >ReactNativeFlatList : (props: {}, ref: React.ForwardedRef) => null @@ -419,7 +419,7 @@ function ReactNativeFlatList( // testing higher-order component compat function f1 React.ReactElement>(Component: T) { >f1 : React.ReactElement>(Component: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : {} > : ^^ >React : any diff --git a/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react).types b/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react).types index cf13f7a7a35d3..a3cdd1f3ad773 100644 --- a/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react).types +++ b/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react).types @@ -22,7 +22,7 @@ interface Props { function Wrapper(props: Props) { >Wrapper : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^ diff --git a/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).types b/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).types index cf13f7a7a35d3..a3cdd1f3ad773 100644 --- a/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).types +++ b/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).types @@ -22,7 +22,7 @@ interface Props { function Wrapper(props: Props) { >Wrapper : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^ diff --git a/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).types b/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).types index cf13f7a7a35d3..a3cdd1f3ad773 100644 --- a/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).types +++ b/tests/baselines/reference/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).types @@ -22,7 +22,7 @@ interface Props { function Wrapper(props: Props) { >Wrapper : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^ diff --git a/tests/baselines/reference/jsxExcessPropsAndAssignability.types b/tests/baselines/reference/jsxExcessPropsAndAssignability.types index 99c7849007eb5..1dab90dd616d4 100644 --- a/tests/baselines/reference/jsxExcessPropsAndAssignability.types +++ b/tests/baselines/reference/jsxExcessPropsAndAssignability.types @@ -15,9 +15,9 @@ import * as React from 'react'; const myHoc = ( >myHoc : (ComposedComponent: React.ComponentClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >( ComposedComponent: React.ComponentClass,) => { type WrapperComponentProps = ComposedComponentProps & { myProp: string }; const WrapperComponent: React.ComponentClass = null as any; const props: ComposedComponentProps = null as any; ; ;} : (ComposedComponent: React.ComponentClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ComposedComponent: React.ComponentClass, >ComposedComponent : React.ComponentClass diff --git a/tests/baselines/reference/jsxFragmentFactoryNoUnusedLocals.types b/tests/baselines/reference/jsxFragmentFactoryNoUnusedLocals.types index efbe56734569b..1a9989942dc77 100644 --- a/tests/baselines/reference/jsxFragmentFactoryNoUnusedLocals.types +++ b/tests/baselines/reference/jsxFragmentFactoryNoUnusedLocals.types @@ -25,7 +25,7 @@ type CounterProps = { export function Counter({ count = 0 }: CounterProps) { >Counter : ({ count }: CounterProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >count : number > : ^^^^^^ >0 : 0 diff --git a/tests/baselines/reference/jsxGenericComponentWithSpreadingResultOfGenericFunction.types b/tests/baselines/reference/jsxGenericComponentWithSpreadingResultOfGenericFunction.types index 0156f42bf5c94..d1c998d9b919c 100644 --- a/tests/baselines/reference/jsxGenericComponentWithSpreadingResultOfGenericFunction.types +++ b/tests/baselines/reference/jsxGenericComponentWithSpreadingResultOfGenericFunction.types @@ -13,7 +13,7 @@ Symbol count: 66,000 / 66,000 (nearest 500) declare function omit(names: readonly K[], obj: T): Omit; >omit : { (names: readonly K[], obj: T): Omit; (names: readonly K_1[]): (obj: T_1) => Omit; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >names : readonly K[] > : ^^^^^^^^^^^^ >obj : T @@ -21,7 +21,7 @@ declare function omit(names: readonly K[], obj: T): Omit(names: readonly K[]): (obj: T) => Omit; >omit : { (names: readonly K_1[], obj: T): Omit; (names: readonly K[]): (obj: T_1) => Omit; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >names : readonly K[] > : ^^^^^^^^^^^^ >obj : T @@ -37,7 +37,7 @@ declare const otherProps: { bar: string, qwe: boolean } declare function GenericComponent(props: T): null >GenericComponent : (props: T) => null -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >props : T > : ^ diff --git a/tests/baselines/reference/jsxInExtendsClause.types b/tests/baselines/reference/jsxInExtendsClause.types index c6d9cb8a6ebf1..c55a7e7ed4734 100644 --- a/tests/baselines/reference/jsxInExtendsClause.types +++ b/tests/baselines/reference/jsxInExtendsClause.types @@ -13,9 +13,9 @@ declare namespace React { } declare function createComponentClass

(factory: () => React.ComponentClass

): React.ComponentClass

; >createComponentClass :

(factory: () => React.ComponentClass

) => React.ComponentClass

-> : ^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^ >factory : () => React.ComponentClass

-> : ^^^^^^^^^^^ ^ +> : ^^^^^^ >React : any > : ^^^ >React : any diff --git a/tests/baselines/reference/jsxInferenceProducesLiteralAsExpected.types b/tests/baselines/reference/jsxInferenceProducesLiteralAsExpected.types index 120c3f22168a9..409746b90d382 100644 --- a/tests/baselines/reference/jsxInferenceProducesLiteralAsExpected.types +++ b/tests/baselines/reference/jsxInferenceProducesLiteralAsExpected.types @@ -48,7 +48,7 @@ interface TestProps { } function Test(props: TestProps) { return <>; } >Test : (props: TestProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : TestProps > : ^^^^^^^^^^^^ ><> : JSX.Element diff --git a/tests/baselines/reference/jsxIntrinsicElementsCompatability.types b/tests/baselines/reference/jsxIntrinsicElementsCompatability.types index 16aec8428e8ff..b76210b4c6044 100644 --- a/tests/baselines/reference/jsxIntrinsicElementsCompatability.types +++ b/tests/baselines/reference/jsxIntrinsicElementsCompatability.types @@ -14,7 +14,7 @@ import * as React from "react"; function SomeComponent(props: { element?: T } & JSX.IntrinsicElements[T]): JSX.Element { >SomeComponent : (props: { element?: T; } & JSX.IntrinsicElements[T]) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >props : { element?: T | undefined; } & JSX.IntrinsicElements[T] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >element : T | undefined @@ -34,7 +34,7 @@ function SomeComponent(props: { element?: T } & JSX.In function Test(el: T) { >Test : (el: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >el : T > : ^ diff --git a/tests/baselines/reference/jsxIssuesErrorWhenTagExpectsTooManyArguments.types b/tests/baselines/reference/jsxIssuesErrorWhenTagExpectsTooManyArguments.types index 615dcd7488cd6..61b30c6383bd1 100644 --- a/tests/baselines/reference/jsxIssuesErrorWhenTagExpectsTooManyArguments.types +++ b/tests/baselines/reference/jsxIssuesErrorWhenTagExpectsTooManyArguments.types @@ -21,7 +21,7 @@ interface MyProps { function MyComp4(props: MyProps, context: any, bad: any, verybad: any) { >MyComp4 : (props: MyProps, context: any, bad: any, verybad: any) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : MyProps > : ^^^^^^^ >context : any @@ -41,7 +41,7 @@ function MyComp4(props: MyProps, context: any, bad: any, verybad: any) { } function MyComp3(props: MyProps, context: any, bad: any) { >MyComp3 : (props: MyProps, context: any, bad: any) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ >props : MyProps > : ^^^^^^^ >context : any @@ -59,7 +59,7 @@ function MyComp3(props: MyProps, context: any, bad: any) { } function MyComp2(props: MyProps, context: any) { >MyComp2 : (props: MyProps, context: any) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : MyProps > : ^^^^^^^ >context : any @@ -112,7 +112,7 @@ const c = ; // Should be OK, `context` is allowed, per react ru declare function MyTagWithOptionalNonJSXBits(props: MyProps, context: any, nonReactArg?: string): JSX.Element; >MyTagWithOptionalNonJSXBits : (props: MyProps, context: any, nonReactArg?: string) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >props : MyProps > : ^^^^^^^ >context : any diff --git a/tests/baselines/reference/jsxNamespaceGlobalReexport.types b/tests/baselines/reference/jsxNamespaceGlobalReexport.types index 82a5b9fc754c1..b64f6c4b8816a 100644 --- a/tests/baselines/reference/jsxNamespaceGlobalReexport.types +++ b/tests/baselines/reference/jsxNamespaceGlobalReexport.types @@ -111,7 +111,7 @@ import { JSXInternal } from '..'; export function jsx( >jsx : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChild; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChild | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -138,7 +138,7 @@ export function jsx( ): VNode; export function jsx

( >jsx : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChild | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChild; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

@@ -158,7 +158,7 @@ export function jsx

( export function jsxs( >jsxs : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChild[]; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChild[] | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -185,7 +185,7 @@ export function jsxs( ): VNode; export function jsxs

( >jsxs : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChild[] | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChild[]; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

@@ -205,7 +205,7 @@ export function jsxs

( export function jsxDEV( >jsxDEV : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChildren; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChildren | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -232,7 +232,7 @@ export function jsxDEV( ): VNode; export function jsxDEV

( >jsxDEV : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChildren | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChildren; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

diff --git a/tests/baselines/reference/jsxNamespaceGlobalReexportMissingAliasTarget.types b/tests/baselines/reference/jsxNamespaceGlobalReexportMissingAliasTarget.types index 94513d338c6ad..870803bb0eea2 100644 --- a/tests/baselines/reference/jsxNamespaceGlobalReexportMissingAliasTarget.types +++ b/tests/baselines/reference/jsxNamespaceGlobalReexportMissingAliasTarget.types @@ -114,7 +114,7 @@ import { JSXInternal } from '..'; export function jsx( >jsx : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChild; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChild | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -141,7 +141,7 @@ export function jsx( ): VNode; export function jsx

( >jsx : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChild | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChild; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

@@ -161,7 +161,7 @@ export function jsx

( export function jsxs( >jsxs : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChild[]; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChild[] | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -188,7 +188,7 @@ export function jsxs( ): VNode; export function jsxs

( >jsxs : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChild[] | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChild[]; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

@@ -208,7 +208,7 @@ export function jsxs

( export function jsxDEV( >jsxDEV : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChildren; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChildren | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -235,7 +235,7 @@ export function jsxDEV( ): VNode; export function jsxDEV

( >jsxDEV : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChildren | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChildren; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

diff --git a/tests/baselines/reference/jsxNamespaceImplicitImportJSXNamespace.types b/tests/baselines/reference/jsxNamespaceImplicitImportJSXNamespace.types index ab3813e2b62e7..4b99e8cf89340 100644 --- a/tests/baselines/reference/jsxNamespaceImplicitImportJSXNamespace.types +++ b/tests/baselines/reference/jsxNamespaceImplicitImportJSXNamespace.types @@ -111,7 +111,7 @@ import { JSXInternal } from '..'; export function jsx( >jsx : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChild; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChild | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -138,7 +138,7 @@ export function jsx( ): VNode; export function jsx

( >jsx : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChild | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChild; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

@@ -159,7 +159,7 @@ export function jsx

( export function jsxs( >jsxs : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChild[]; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChild[] | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -186,7 +186,7 @@ export function jsxs( ): VNode; export function jsxs

( >jsxs : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChild[] | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChild[]; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

@@ -207,7 +207,7 @@ export function jsxs

( export function jsxDEV( >jsxDEV : { (type: string, props: JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes & Record & { children?: ComponentChildren; }, key?: string): VNode;

(type: ComponentType

, props: P & { children?: ComponentChildren | undefined; }, key?: string | undefined): VNode; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: string, >type : string @@ -234,7 +234,7 @@ export function jsxDEV( ): VNode; export function jsxDEV

( >jsxDEV : { (type: string, props: JSXInternal.HTMLAttributes<{}> & JSXInternal.SVGAttributes<{}> & Record & { children?: ComponentChildren | undefined; }, key?: string | undefined): VNode;

(type: ComponentType

, props: Attributes & P & { children?: ComponentChildren; }, key?: string): VNode; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ type: ComponentType

, >type : ComponentType

diff --git a/tests/baselines/reference/jsxPartialSpread.types b/tests/baselines/reference/jsxPartialSpread.types index 827d52c4d86ec..922cadb53b5a0 100644 --- a/tests/baselines/reference/jsxPartialSpread.types +++ b/tests/baselines/reference/jsxPartialSpread.types @@ -30,7 +30,7 @@ import React from 'react'; export function Repro({ SelectProps = {} }: { SelectProps?: Partial[0]> }) { >Repro : ({ SelectProps }: { SelectProps?: Partial[0]>; }) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >SelectProps : Partial<{ value?: unknown; }> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{} : {} diff --git a/tests/baselines/reference/jsxSpreadFirstUnionNoErrors.types b/tests/baselines/reference/jsxSpreadFirstUnionNoErrors.types index 19e3135662838..062517af8fb16 100644 --- a/tests/baselines/reference/jsxSpreadFirstUnionNoErrors.types +++ b/tests/baselines/reference/jsxSpreadFirstUnionNoErrors.types @@ -21,9 +21,9 @@ type InfoProps = const Info = (props: InfoProps) => >Info : (props: InfoProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >(props: InfoProps) =>props.status === "hidden" ?

{props.content}
: (props: InfoProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : InfoProps > : ^^^^^^^^^ diff --git a/tests/baselines/reference/jsxSpreadOverwritesAttributeStrict.types b/tests/baselines/reference/jsxSpreadOverwritesAttributeStrict.types index 6b1bd9d386f43..251363fe2204b 100644 --- a/tests/baselines/reference/jsxSpreadOverwritesAttributeStrict.types +++ b/tests/baselines/reference/jsxSpreadOverwritesAttributeStrict.types @@ -40,9 +40,9 @@ const props: Props = { a: 1, b: 1 }; const Foo = (props: Props) =>
{ props.a }
; >Foo : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >(props: Props) =>
{ props.a }
: (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : Props > : ^^^^^ >
{ props.a }
: JSX.Element diff --git a/tests/baselines/reference/keyofAndForIn.types b/tests/baselines/reference/keyofAndForIn.types index 6780c7e158b54..05e03dd757a66 100644 --- a/tests/baselines/reference/keyofAndForIn.types +++ b/tests/baselines/reference/keyofAndForIn.types @@ -5,7 +5,7 @@ function f1(obj: { [P in K]: T }, k: K) { >f1 : (obj: { [P in K]: T; }, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^ >obj : { [P in K]: T; } > : ^^^^^^^^^^^^^^^^ >k : K @@ -61,7 +61,7 @@ function f1(obj: { [P in K]: T }, k: K) { function f2(obj: { [P in keyof T]: T[P] }, k: keyof T) { >f2 : (obj: { [P in keyof T]: T[P]; }, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : { [P in keyof T]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >k : keyof T @@ -117,7 +117,7 @@ function f2(obj: { [P in keyof T]: T[P] }, k: keyof T) { function f3(obj: { [P in K]: T[P] }, k: K) { >f3 : (obj: { [P in K]: T[P]; }, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : { [P in K]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^ >k : K diff --git a/tests/baselines/reference/keyofAndIndexedAccess.types b/tests/baselines/reference/keyofAndIndexedAccess.types index 54c6767892420..cd6be2b7899cf 100644 --- a/tests/baselines/reference/keyofAndIndexedAccess.types +++ b/tests/baselines/reference/keyofAndIndexedAccess.types @@ -259,7 +259,7 @@ declare let cond: boolean; function getProperty(obj: T, key: K) { >getProperty : (obj: T, key: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -276,7 +276,7 @@ function getProperty(obj: T, key: K) { function setProperty(obj: T, key: K, value: T[K]) { >setProperty : (obj: T, key: K, value: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -299,7 +299,7 @@ function setProperty(obj: T, key: K, value: T[K]) { function f10(shape: Shape) { >f10 : (shape: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ @@ -402,7 +402,7 @@ function f10(shape: Shape) { function f11(a: Shape[]) { >f11 : (a: Shape[]) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : Shape[] > : ^^^^^^^ @@ -433,7 +433,7 @@ function f11(a: Shape[]) { function f12(t: [Shape, boolean]) { >f12 : (t: [Shape, boolean]) => void -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >t : [Shape, boolean] > : ^^^^^^^^^^^^^^^^ @@ -529,7 +529,7 @@ class Component { getProperty(key: K) { >getProperty : (key: K) => PropType[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >key : K > : ^ @@ -547,7 +547,7 @@ class Component { } setProperty(key: K, value: PropType[K]) { >setProperty : (key: K, value: PropType[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >key : K > : ^ >value : PropType[K] @@ -573,7 +573,7 @@ class Component { function f20(component: Component) { >f20 : (component: Component) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >component : Component > : ^^^^^^^^^^^^^^^^ @@ -688,7 +688,7 @@ function f20(component: Component) { function pluck(array: T[], key: K) { >pluck : (array: T[], key: K) => T[K][] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ >array : T[] > : ^^^ >key : K @@ -717,7 +717,7 @@ function pluck(array: T[], key: K) { function f30(shapes: Shape[]) { >f30 : (shapes: Shape[]) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >shapes : Shape[] > : ^^^^^^^ @@ -766,7 +766,7 @@ function f30(shapes: Shape[]) { function f31(key: K) { >f31 : (key: K) => Shape[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >key : K > : ^ @@ -803,7 +803,7 @@ function f31(key: K) { function f32(key: K) { >f32 : (key: K) => Shape[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >key : K > : ^ @@ -840,7 +840,7 @@ function f32(key: K) { function f33(shape: S, key: K) { >f33 : (shape: S, key: K) => S[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >shape : S > : ^ >key : K @@ -877,7 +877,7 @@ function f33(shape: S, key: K) { function f34(ts: TaggedShape) { >f34 : (ts: TaggedShape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >ts : TaggedShape > : ^^^^^^^^^^^ @@ -927,7 +927,7 @@ class C { // For consistency we also permit such access in indexed access types. function f40(c: C) { >f40 : (c: C) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >c : C > : ^ @@ -976,7 +976,7 @@ function f40(c: C) { function f50(k: keyof T, s: string) { >f50 : (k: keyof T, s: string) => void -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >k : keyof T > : ^^^^^^^ >s : string @@ -1001,7 +1001,7 @@ function f50(k: keyof T, s: string) { function f51(k: K, s: string) { >f51 : (k: K, s: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >k : K > : ^ >s : string @@ -1026,7 +1026,7 @@ function f51(k: K, s: string) { function f52(obj: { [x: string]: boolean }, k: Exclude, s: string, n: number) { >f52 : (obj: { [x: string]: boolean; }, k: Exclude, s: string, n: number) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >obj : { [x: string]: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : string @@ -1071,7 +1071,7 @@ function f52(obj: { [x: string]: boolean }, k: Exclude, s: s function f53>(obj: { [x: string]: boolean }, k: K, s: string, n: number) { >f53 : >(obj: { [x: string]: boolean; }, k: K, s: string, n: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >obj : { [x: string]: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : string @@ -1116,7 +1116,7 @@ function f53>(obj: { [x: string]: boolean function f54(obj: T, key: keyof T) { >f54 : (obj: T, key: keyof T) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : keyof T @@ -1149,7 +1149,7 @@ function f54(obj: T, key: keyof T) { function f55(obj: T, key: K) { >f55 : (obj: T, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -1182,7 +1182,7 @@ function f55(obj: T, key: K) { function f60(source: T, target: T) { >f60 : (source: T, target: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >source : T > : ^ >target : T @@ -1214,9 +1214,9 @@ function f60(source: T, target: T) { function f70(func: (k1: keyof (T | U), k2: keyof (T & U)) => void) { >f70 : (func: (k1: keyof (T | U), k2: keyof (T & U)) => void) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^ >func : (k1: keyof (T | U), k2: keyof (T & U)) => void -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^ ^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >k1 : keyof T & keyof U > : ^^^^^^^^^^^^^^^^^ >k2 : keyof T | keyof U @@ -1279,9 +1279,9 @@ function f70(func: (k1: keyof (T | U), k2: keyof (T & U)) => void) { function f71(func: (x: T, y: U) => Partial) { >f71 : (func: (x: T, y: U) => Partial) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >func : (x: T, y: U) => Partial -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -1338,9 +1338,9 @@ function f71(func: (x: T, y: U) => Partial) { function f72(func: (x: T, y: U, k: K) => (T & U)[K]) { >f72 : (func: (x: T, y: U, k: K) => (T & U)[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >func : (x: T, y: U, k: K) => (T & U)[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -1429,9 +1429,9 @@ function f72(func: (x: T, y: U, k: K) => (T & function f73(func: (x: T, y: U, k: K) => (T & U)[K]) { >f73 : (func: (x: T, y: U, k: K) => (T & U)[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >func : (x: T, y: U, k: K) => (T & U)[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -1520,9 +1520,9 @@ function f73(func: (x: T, y: U, k: K) => (T & U)[ function f74(func: (x: T, y: U, k: K) => (T | U)[K]) { >f74 : (func: (x: T, y: U, k: K) => (T | U)[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >func : (x: T, y: U, k: K) => (T | U)[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -1593,7 +1593,7 @@ function f74(func: (x: T, y: U, k: K) => (T | U)[ function f80(obj: T) { >f80 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : { x: any; } > : ^^^^^ ^^^ >x : any @@ -1680,7 +1680,7 @@ function f80(obj: T) { function f81(obj: T) { >f81 : (obj: T) => T["a"]["x"] -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >a : { x: any; } > : ^^^^^ ^^^ >x : any @@ -1746,7 +1746,7 @@ function f82() { function f83(obj: T, key: K) { >f83 : (obj: T, key: K) => T[K]["x"] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ >x : string > : ^^^^^^ >x : any @@ -1826,7 +1826,7 @@ class C1 { get(key: K) { >get : (key: K) => this[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >key : K > : ^ @@ -1840,7 +1840,7 @@ class C1 { } set(key: K, value: this[K]) { >set : (key: K, value: this[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >key : K > : ^ >value : this[K] @@ -1976,7 +1976,7 @@ type S2 = { function f90(x1: S2[keyof S2], x2: T[keyof S2], x3: S2[K]) { >f90 : (x1: S2[keyof S2], x2: T[keyof S2], x3: S2[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^ ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >x1 : string > : ^^^^^^ >x2 : T[keyof S2] @@ -2059,7 +2059,7 @@ function f90(x1: S2[keyof S2], x2: T[keyof S2] function f91(x: T, y: T[keyof T], z: T[K]) { >f91 : (x: T, y: T[keyof T], z: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T[keyof T] @@ -2098,7 +2098,7 @@ function f91(x: T, y: T[keyof T], z: T[K]) { function f92(x: T, y: T[keyof T], z: T[K]) { >f92 : (x: T, y: T[keyof T], z: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T[keyof T] @@ -2143,7 +2143,7 @@ class Base { get(prop: K) { >get : (prop: K) => this[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >prop : K > : ^ @@ -2157,7 +2157,7 @@ class Base { } set(prop: K, value: this[K]) { >set : (prop: K, value: this[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >prop : K > : ^ >value : this[K] @@ -2273,7 +2273,7 @@ class OtherPerson { function path(obj: T, key1: K1): T[K1]; >path : { (obj: T, key1: K1): T[K1]; (obj: T_1, key1: K1_1, key2: K2): T_1[K1_1][K2]; (obj: T_2, key1: K1_2, key2: K2_1, key3: K3): T_2[K1_2][K2_1][K3]; (obj: any, ...keys: (string | number)[]): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >key1 : K1 @@ -2281,7 +2281,7 @@ function path(obj: T, key1: K1): T[K1]; function path(obj: T, key1: K1, key2: K2): T[K1][K2]; >path : { (obj: T_1, key1: K1_1): T_1[K1_1]; (obj: T, key1: K1, key2: K2): T[K1][K2]; (obj: T_2, key1: K1_2, key2: K2_1, key3: K3): T_2[K1_2][K2_1][K3]; (obj: any, ...keys: (string | number)[]): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >key1 : K1 @@ -2291,7 +2291,7 @@ function path(obj: T, key1: K1, k function path(obj: T, key1: K1, key2: K2, key3: K3): T[K1][K2][K3]; >path : { (obj: T_1, key1: K1_1): T_1[K1_1]; (obj: T_2, key1: K1_2, key2: K2_1): T_2[K1_2][K2_1]; (obj: T, key1: K1, key2: K2, key3: K3): T[K1][K2][K3]; (obj: any, ...keys: (string | number)[]): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >key1 : K1 @@ -2367,7 +2367,7 @@ type Thing = { function f1(thing: Thing) { >f1 : (thing: Thing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >thing : Thing > : ^^^^^ @@ -2432,9 +2432,9 @@ function f1(thing: Thing) { const assignTo2 = (object: T, key1: K1, key2: K2) => >assignTo2 : (object: T, key1: K1, key2: K2) => (value: T[K1][K2]) => T[K1][K2] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >(object: T, key1: K1, key2: K2) => (value: T[K1][K2]) => object[key1][key2] = value : (object: T, key1: K1, key2: K2) => (value: T[K1][K2]) => T[K1][K2] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >object : T > : ^ >key1 : K1 @@ -2444,7 +2444,7 @@ const assignTo2 = (object: T, key (value: T[K1][K2]) => object[key1][key2] = value; >(value: T[K1][K2]) => object[key1][key2] = value : (value: T[K1][K2]) => T[K1][K2] -> : ^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ >value : T[K1][K2] > : ^^^^^^^^^ >object[key1][key2] = value : T[K1][K2] @@ -2466,9 +2466,9 @@ const assignTo2 = (object: T, key declare function one(handler: (t: T) => void): T >one : (handler: (t: T) => void) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >handler : (t: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ @@ -2490,7 +2490,7 @@ type Handlers = { [K in keyof T]: (t: T[K]) => void } declare function on(handlerHash: Handlers): T >on : (handlerHash: Handlers) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >handlerHash : Handlers > : ^^^^^^^^^^^ @@ -2546,7 +2546,7 @@ declare class Component1 { get(key: K): (Data & Computed)[K]; >get : (key: K) => (Data & Computed)[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : K > : ^ } @@ -2609,7 +2609,7 @@ declare class Component2 { get(key: K): (Data & Computed)[K]; >get : (key: K) => (Data & Computed)[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : K > : ^ } @@ -2624,7 +2624,7 @@ interface R { function f(p: K) { >f : (p: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >p : K > : ^ @@ -2666,7 +2666,7 @@ type MethodDescriptor = { declare function dispatchMethod(name: M['name'], args: M['args']): M['returnValue']; >dispatchMethod : (name: M['name'], args: M['args']) => M['returnValue'] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >name : M["name"] > : ^^^^^^^^^ >args : M["args"] @@ -2717,7 +2717,7 @@ let MyThingy: { [key in KeyTypes]: string[] }; function addToMyThingy(key: S) { >addToMyThingy : (key: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >key : S > : ^ @@ -2746,7 +2746,7 @@ type Handler = { onChange: (name: keyof T) => void; >onChange : (name: keyof T) => void -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >name : keyof T > : ^^^^^^^ @@ -2754,7 +2754,7 @@ type Handler = { function onChangeGenericFunction(handler: Handler) { >onChangeGenericFunction : (handler: Handler) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^ >handler : Handler > : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >preset : number @@ -2777,7 +2777,7 @@ function onChangeGenericFunction(handler: Handler) { function updateIds, K extends string>( >updateIds : , K extends string>(obj: T, idFields: K[], idMapping: Partial>) => Record -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^ ^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ obj: T, >obj : T @@ -2838,7 +2838,7 @@ function updateIds, K extends string>( function updateIds2( >updateIds2 : (obj: T, key: K, stringMap: { [oldId: string]: string; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ >x : string > : ^^^^^^ @@ -2880,7 +2880,7 @@ function updateIds2( declare function head>(list: T): T[0]; >head : (list: T) => T[0] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >list : T > : ^ @@ -2929,13 +2929,13 @@ class Form { private childFormFactories: {[K in keyof T]: (v: T[K]) => Form} >childFormFactories : { [K in keyof T]: (v: T[K]) => Form; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >v : T[K] > : ^^^^ public set(prop: K, value: T[K]) { >set : (prop: K, value: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >prop : K > : ^ >value : T[K] @@ -3003,7 +3003,7 @@ interface Foo { declare function merge(obj1: T, obj2: U): T & U; >merge : (obj1: T, obj2: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ >obj1 : T > : ^ >obj2 : U @@ -3076,7 +3076,7 @@ new AnotherSampleClass({}); // Positive repro from #17166 function f3>(t: T, k: K, tk: T[K]): void { >f3 : >(t: T, k: K, tk: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^ >t : T > : ^ >k : K @@ -3195,7 +3195,7 @@ type SimpleDBRecord = { staticField: number } & DBBoolTable function getFlagsFromSimpleRecord(record: SimpleDBRecord, flags: Flag[]) { >getFlagsFromSimpleRecord : (record: SimpleDBRecord, flags: Flag[]) => SimpleDBRecord[Flag] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >record : SimpleDBRecord > : ^^^^^^^^^^^^^^^^^^^^ >flags : Flag[] @@ -3224,7 +3224,7 @@ type DynamicDBRecord = ({ dynamicField: number } | { dynami function getFlagsFromDynamicRecord(record: DynamicDBRecord, flags: Flag[]) { >getFlagsFromDynamicRecord : (record: DynamicDBRecord, flags: Flag[]) => DynamicDBRecord[Flag] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >record : DynamicDBRecord > : ^^^^^^^^^^^^^^^^^^^^^ >flags : Flag[] @@ -3253,13 +3253,13 @@ interface I { declare function take(p: T): void; >take : (p: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : T > : ^ function fn(o: T, k: K) { >fn : (o: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >o : T > : ^ >k : K @@ -3298,7 +3298,7 @@ class Unbounded { foo(x: T[keyof T]) { >foo : (x: T[keyof T]) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T[keyof T] > : ^^^^^^^^^^ @@ -3323,7 +3323,7 @@ type Foo7 = T; declare function f7(type: K): Foo7; >f7 : (type: K) => Foo7 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >type : K > : ^ @@ -3339,7 +3339,7 @@ type DictDict = { [key in V]: Dict }; function ff1(dd: DictDict, k1: V, k2: T): number { >ff1 : (dd: DictDict, k1: V, k2: T) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >dd : DictDict > : ^^^^^^^^^^^^^^ >k1 : V @@ -3362,7 +3362,7 @@ function ff1(dd: DictDict, k1: V, k2: function ff2(dd: DictDict, k1: V, k2: T): number { >ff2 : (dd: DictDict, k1: V, k2: T) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >dd : DictDict > : ^^^^^^^^^^^^^^ >k1 : V @@ -3393,9 +3393,9 @@ function ff2(dd: DictDict, k1: V, k2: const cf1 = (t: T, k: K) => >cf1 : (t: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >(t: T, k: K) =>{ const s: string = t[k]; t.cool;} : (t: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >cool : string > : ^^^^^^ >t : T @@ -3425,9 +3425,9 @@ const cf1 = (t: T, k: K) => >cf2 : (t: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >(t: T, k: K) =>{ const s: string = t[k]; t.cool;} : (t: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >k : K diff --git a/tests/baselines/reference/keyofAndIndexedAccess2.types b/tests/baselines/reference/keyofAndIndexedAccess2.types index 5f9f999202a15..bfb5da1a99cbb 100644 --- a/tests/baselines/reference/keyofAndIndexedAccess2.types +++ b/tests/baselines/reference/keyofAndIndexedAccess2.types @@ -8,7 +8,7 @@ Symbol count: 30,000 / 30,000 (nearest 500) === keyofAndIndexedAccess2.ts === function f1(obj: { a: number, b: 0 | 1, c: string }, k0: 'a', k1: 'a' | 'b', k2: 'a' | 'b' | 'c') { >f1 : (obj: { a: number; b: 0 | 1; c: string; }, k0: 'a', k1: 'a' | 'b', k2: 'a' | 'b' | 'c') => void -> : ^^^^^^ ^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : { a: number; b: 0 | 1; c: string; } > : ^^^^^ ^^^^^ ^^^^^ ^^^ >a : number @@ -135,7 +135,7 @@ function f1(obj: { a: number, b: 0 | 1, c: string }, k0: 'a', k1: 'a' | 'b', k2: function f2(a: { x: number, y: number }, b: { [key: string]: number }, c: T, k: keyof T) { >f2 : (a: { x: number; y: number; }, b: { [key: string]: number; }, c: T, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >key : string > : ^^^^^^ >a : { x: number; y: number; } @@ -284,7 +284,7 @@ function f2(a: { x: number, y: number }, b: function f3(a: { [P in K]: number }, b: { [key: string]: number }, k: K) { >f3 : (a: { [P in K]: number; }, b: { [key: string]: number; }, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : { [P in K]: number; } > : ^^^^^^^^^^^^^^^^^^^^^ >b : { [key: string]: number; } @@ -333,7 +333,7 @@ function f3(a: { [P in K]: number }, b: { [key: string]: numbe function f3b(a: { [P in K]: number }, b: { [P in string]: number }, k: K) { >f3b : (a: { [P in K]: number; }, b: { [P_1 in string]: number; }, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : { [P in K]: number; } > : ^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: number; } @@ -360,7 +360,7 @@ function f3b(a: { [P in K]: number }, b: { [P in string]: numb function f4(a: { [key: string]: number }[K], b: number) { >f4 : (a: { [key: string]: number; }[K], b: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : number > : ^^^^^^ >key : string @@ -395,7 +395,7 @@ type Item = { a: string, b: number }; function f10(obj: T, k1: string, k2: keyof Item, k3: keyof T, k4: K) { >f10 : (obj: T, k1: string, k2: keyof Item, k3: keyof T, k4: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : T > : ^ >k1 : string @@ -462,7 +462,7 @@ type Dict = Record; function f11(obj: Dict, k1: keyof Dict, k2: K) { >f11 : (obj: Dict, k1: keyof Dict, k2: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : Dict > : ^^^^ >k1 : string @@ -509,7 +509,7 @@ function f11(obj: Dict, k1: keyof Dict, k2: K) { function f12, K extends keyof T>(obj: T, k1: keyof Dict, k2: keyof T, k3: K) { >f12 : , K extends keyof T>(obj: T, k1: keyof Dict, k2: keyof T, k3: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : T > : ^ >k1 : string @@ -597,7 +597,7 @@ export interface EntityState { export function getAllEntities(state: EntityState): E[] { >getAllEntities : (state: EntityState) => E[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >state : EntityState > : ^^^^^^^^^^^^^^ @@ -632,7 +632,7 @@ export function getAllEntities(state: EntityState): E[] { export function getEntity(id: IdOf, state: EntityState): E | undefined { >getEntity : (id: IdOf, state: EntityState) => E | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >id : IdOf > : ^^^^^^^ >state : EntityState @@ -688,7 +688,7 @@ interface Type { function get123(): Type[K] { >get123 : () => Type[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return 123; // Error >123 : 123 @@ -717,7 +717,7 @@ type B = A<{ [Q in keyof T]: StrictExclude, {}>; }>; function fn} | {elements: Array}>(param: T, cb: (element: T['elements'][number]) => void) { >fn : ; } | { elements: Array; }>(param: T, cb: (element: T['elements'][number]) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >elements : string[] > : ^^^^^^^^ >elements : number[] @@ -725,7 +725,7 @@ function fn} | {elements: Array}>(par >param : T > : ^ >cb : (element: T['elements'][number]) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T["elements"][number] > : ^^^^^^^^^^^^^^^^^^^^^ @@ -748,11 +748,11 @@ function fn} | {elements: Array}>(par function fn2>(param: T, cb: (element: T[number]) => void) { >fn2 : (param: T, cb: (element: T[number]) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >param : T > : ^ >cb : (element: T[number]) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T[number] > : ^^^^^^^^^ @@ -773,11 +773,11 @@ function fn2>(param: T, cb: (element: T[number]) => void function fn3>(param: T, cb: (element: T[number]) => void) { >fn3 : (param: T, cb: (element: T[number]) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >param : T > : ^ >cb : (element: T[number]) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T[number] > : ^^^^^^^^^ diff --git a/tests/baselines/reference/keyofAndIndexedAccessErrors.types b/tests/baselines/reference/keyofAndIndexedAccessErrors.types index f55d56a22e07c..44f4f6660b821 100644 --- a/tests/baselines/reference/keyofAndIndexedAccessErrors.types +++ b/tests/baselines/reference/keyofAndIndexedAccessErrors.types @@ -172,7 +172,7 @@ declare let cond: boolean; function getProperty(obj: T, key: K) { >getProperty : (obj: T, key: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -189,7 +189,7 @@ function getProperty(obj: T, key: K) { function setProperty(obj: T, key: K, value: T[K]) { >setProperty : (obj: T, key: K, value: T[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >key : K @@ -212,7 +212,7 @@ function setProperty(obj: T, key: K, value: T[K]) { function f10(shape: Shape) { >f10 : (shape: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ @@ -303,7 +303,7 @@ function f10(shape: Shape) { function f20(x: T | U, y: T & U, k1: keyof (T | U), k2: keyof T & keyof U, k3: keyof (T & U), k4: keyof T | keyof U) { >f20 : (x: T | U, y: T & U, k1: keyof (T | U), k2: keyof T & keyof U, k3: keyof (T & U), k4: keyof T | keyof U) => void -> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^ ^ ^^^^^^ ^ ^^^^^^^ ^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >x : T | U > : ^^^^^ >y : T & U @@ -481,7 +481,7 @@ function f20(x: T | U, y: T & U, k1: keyof (T | U), k2: keyof T & keyof U, // Repro from #17166 function f3, U extends T, J extends K>( >f3 : , U extends T, J extends K>(t: T, k: K, tk: T[K], u: U, j: J, uk: U[K], tj: T[J], uj: U[J]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ t: T, k: K, tk: T[K], u: U, j: J, uk: U[K], tj: T[J], uj: U[J]): void { >t : T @@ -615,7 +615,7 @@ function f3, U extends T, J extends K>( // The constraint of 'keyof T' is 'keyof T' function f4(k: keyof T) { >f4 : (k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >k : keyof T > : ^^^^^^^ @@ -671,7 +671,7 @@ const b1: Result1['b'] = 'b'; function test1, K extends keyof T>(t: T, k: K) { >test1 : , K extends keyof T>(t: T, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >k : K @@ -771,7 +771,7 @@ class Test> { public t(key: keyof T): number { >t : (key: keyof T) => number -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >key : keyof T > : ^^^^^^^ diff --git a/tests/baselines/reference/keyofDoesntContainSymbols.types b/tests/baselines/reference/keyofDoesntContainSymbols.types index f735db7411079..89799723410a4 100644 --- a/tests/baselines/reference/keyofDoesntContainSymbols.types +++ b/tests/baselines/reference/keyofDoesntContainSymbols.types @@ -45,7 +45,7 @@ const obj = { num: 0, str: 's', [num]: num as 0, [sym]: sym }; function set (obj: T, key: K, value: T[K]): T[K] { >set : (obj: T, key: K, value: T[K]) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >obj : T > : ^ >key : K diff --git a/tests/baselines/reference/keyofInferenceIntersectsResults.types b/tests/baselines/reference/keyofInferenceIntersectsResults.types index d7cf4cdfcfa18..0bcf6595db88b 100644 --- a/tests/baselines/reference/keyofInferenceIntersectsResults.types +++ b/tests/baselines/reference/keyofInferenceIntersectsResults.types @@ -13,7 +13,7 @@ interface X { declare function foo(x: keyof T, y: keyof T): T; >foo : (x: keyof T, y: keyof T) => T -> : ^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ ^^^^^ >x : keyof T > : ^^^^^^^ >y : keyof T @@ -21,7 +21,7 @@ declare function foo(x: keyof T, y: keyof T): T; declare function bar(x: keyof T, y: keyof T): T; >bar : (x: keyof T, y: keyof T) => T -> : ^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : keyof T > : ^^^^^^^ >y : keyof T diff --git a/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.types b/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.types index d24911c35bd62..5ce8e30cedf8c 100644 --- a/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.types +++ b/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.types @@ -44,7 +44,7 @@ declare class ConflictTarget { public static tableColumns(cols: (keyof Cols)[]): ConflictTarget; >tableColumns : (cols: (keyof Cols)[]) => ConflictTarget -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^ ^^^^^ >cols : (keyof Cols)[] > : ^^^^^^^^^^^^^^ @@ -83,7 +83,7 @@ interface BookDef { function insertOnConflictDoNothing(_table: Table, _conflictTarget: ConflictTarget): boolean { >insertOnConflictDoNothing : (_table: Table, _conflictTarget: ConflictTarget) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >_table : Table > : ^^^^^^^^^^^^^^^ >_conflictTarget : ConflictTarget diff --git a/tests/baselines/reference/keyofIsLiteralContexualType.types b/tests/baselines/reference/keyofIsLiteralContexualType.types index 967f4ac698792..184ba44a84572 100644 --- a/tests/baselines/reference/keyofIsLiteralContexualType.types +++ b/tests/baselines/reference/keyofIsLiteralContexualType.types @@ -38,7 +38,7 @@ function foo() { declare function pick(obj: T, propNames: K[]): Pick; >pick : (obj: T, propNames: K[]) => Pick -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >obj : T > : ^ >propNames : K[] diff --git a/tests/baselines/reference/keyofModuleObjectHasCorrectKeys.types b/tests/baselines/reference/keyofModuleObjectHasCorrectKeys.types index 31de0685bc334..debf6385521f6 100644 --- a/tests/baselines/reference/keyofModuleObjectHasCorrectKeys.types +++ b/tests/baselines/reference/keyofModuleObjectHasCorrectKeys.types @@ -25,7 +25,7 @@ import * as example from './example'; declare function test(object: T, method: keyof T): void; >test : (object: T, method: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >object : T > : ^ >method : keyof T diff --git a/tests/baselines/reference/knockout.types b/tests/baselines/reference/knockout.types index 1e4505decffab..4729970a3ed22 100644 --- a/tests/baselines/reference/knockout.types +++ b/tests/baselines/reference/knockout.types @@ -25,7 +25,7 @@ } export function observable(value: T): Observable; >observable : (value: T) => Observable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/lambdaParamTypes.types b/tests/baselines/reference/lambdaParamTypes.types index a2c8bb4ebe9c4..32f75cbaf354b 100644 --- a/tests/baselines/reference/lambdaParamTypes.types +++ b/tests/baselines/reference/lambdaParamTypes.types @@ -4,15 +4,15 @@ interface MyArrayWrapper { constructor(initialItems?: T[]); >constructor : (initialItems?: T[]) => any -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ >initialItems : T[] > : ^^^ doSomething(predicate: (x: T, y: T) => string): void; >doSomething : (predicate: (x: T, y: T) => string) => void -> : ^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >predicate : (x: T, y: T) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -21,7 +21,7 @@ interface MyArrayWrapper { declare function create(initialValues?: T[]): MyArrayWrapper; >create : (initialValues?: T[]) => MyArrayWrapper -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >initialValues : T[] > : ^^^ diff --git a/tests/baselines/reference/lambdaParameterWithTupleArgsHasCorrectAssignability.types b/tests/baselines/reference/lambdaParameterWithTupleArgsHasCorrectAssignability.types index 579e22c00efdc..5c9c4ee8482cf 100644 --- a/tests/baselines/reference/lambdaParameterWithTupleArgsHasCorrectAssignability.types +++ b/tests/baselines/reference/lambdaParameterWithTupleArgsHasCorrectAssignability.types @@ -26,7 +26,7 @@ class GenericClass { function createClass(f: GenericFunction): GenericClass { >createClass : (f: GenericFunction) => GenericClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >f : GenericFunction > : ^^^^^^^^^^^^^^^^^^ @@ -39,7 +39,7 @@ function createClass(f: GenericFunction): GenericClass function consumeClass(c: GenericClass<[string, boolean]>) { } >consumeClass : (c: GenericClass<[string, boolean]>) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >c : GenericClass<[string, boolean]> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/largeTupleTypes.types b/tests/baselines/reference/largeTupleTypes.types index 07506eca3705b..d84a96d1bda47 100644 --- a/tests/baselines/reference/largeTupleTypes.types +++ b/tests/baselines/reference/largeTupleTypes.types @@ -43,7 +43,7 @@ declare class ArrayValidator { lengthRange(start: S, endBefore: E): ArrayValidator]>>, ExpandSmallerTuples]>>>>; >lengthRange : (start: S, endBefore: E) => ArrayValidator]>>, ExpandSmallerTuples]>>>> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >start : S > : ^ >endBefore : E diff --git a/tests/baselines/reference/lastPropertyInLiteralWins.types b/tests/baselines/reference/lastPropertyInLiteralWins.types index 508751115fd89..d7d1cc12330e8 100644 --- a/tests/baselines/reference/lastPropertyInLiteralWins.types +++ b/tests/baselines/reference/lastPropertyInLiteralWins.types @@ -10,7 +10,7 @@ interface Thing { } function test(thing: Thing) { >test : (thing: Thing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >thing : Thing > : ^^^^^ diff --git a/tests/baselines/reference/lateBoundConstraintTypeChecksCorrectly.types b/tests/baselines/reference/lateBoundConstraintTypeChecksCorrectly.types index f2de88747e882..3b7287388b8be 100644 --- a/tests/baselines/reference/lateBoundConstraintTypeChecksCorrectly.types +++ b/tests/baselines/reference/lateBoundConstraintTypeChecksCorrectly.types @@ -33,7 +33,7 @@ export interface Foo { function f>(x: T) { >f : >(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/leaveOptionalParameterAsWritten.types b/tests/baselines/reference/leaveOptionalParameterAsWritten.types index b79548d112a4d..3b230c0045e25 100644 --- a/tests/baselines/reference/leaveOptionalParameterAsWritten.types +++ b/tests/baselines/reference/leaveOptionalParameterAsWritten.types @@ -43,9 +43,9 @@ type Foo = teams.calling.Foo; export const bar = (p?: Foo) => {} >bar : (p?: Foo) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >(p?: Foo) => {} : (p?: Foo) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >p : import("a").Foo | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types index f1c990049e521..2d8c0b20966fc 100644 --- a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types @@ -33,7 +33,7 @@ import { Thing } from "./private.js" export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ === node_modules/inner/private.d.ts === diff --git a/tests/baselines/reference/listFailure.types b/tests/baselines/reference/listFailure.types index dbe885cc2a470..864a90a2d6623 100644 --- a/tests/baselines/reference/listFailure.types +++ b/tests/baselines/reference/listFailure.types @@ -19,7 +19,7 @@ module Editor { addLine(lineText: string): List { >addLine : (lineText: string) => List -> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^ ^^^^^ >lineText : string > : ^^^^^^ @@ -57,7 +57,7 @@ module Editor { export function ListRemoveEntry(entry: List): List { >ListRemoveEntry : (entry: List) => List -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >entry : List > : ^^^^^^^ @@ -68,14 +68,14 @@ module Editor { export function ListMakeHead(): List { >ListMakeHead : () => List -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ return null; } export function ListMakeEntry(data: U): List { >ListMakeEntry : (data: U) => List -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >data : U > : ^ @@ -92,7 +92,7 @@ module Editor { add(data: T): List { >add : (data: T) => List -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >data : T > : ^ @@ -123,7 +123,7 @@ module Editor { popEntry(head: List): List { >popEntry : (head: List) => List -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >head : List > : ^^^^^^^ diff --git a/tests/baselines/reference/literalTypeNameAssertionNotTriggered.types b/tests/baselines/reference/literalTypeNameAssertionNotTriggered.types index 1e99e4322fd25..439429c42e9d0 100644 --- a/tests/baselines/reference/literalTypeNameAssertionNotTriggered.types +++ b/tests/baselines/reference/literalTypeNameAssertionNotTriggered.types @@ -7,7 +7,7 @@ import a = require('./a'); declare function f(obj: T, key: keyof T): void; >f : (obj: T, key: keyof T) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^ ^^^^^ >obj : T > : ^ >key : keyof T diff --git a/tests/baselines/reference/literalTypeWidening.types b/tests/baselines/reference/literalTypeWidening.types index 4cd7964545ec1..87048d8081f63 100644 --- a/tests/baselines/reference/literalTypeWidening.types +++ b/tests/baselines/reference/literalTypeWidening.types @@ -338,13 +338,13 @@ function f5() { declare function widening(x: T): T; >widening : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function nonWidening(x: T): T; >nonWidening : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -445,7 +445,7 @@ type Result = T | FAILURE; function doWork(): Result { >doWork : () => Result -> : ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ return FAILURE; >FAILURE : "FAILURE" @@ -454,7 +454,7 @@ function doWork(): Result { function isSuccess(result: Result): result is T { >isSuccess : (result: Result) => result is T -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >result : Result > : ^^^^^^^^^ @@ -471,7 +471,7 @@ function isSuccess(result: Result): result is T { function isFailure(result: Result): result is FAILURE { >isFailure : (result: Result) => result is "FAILURE" -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >result : Result > : ^^^^^^^^^ @@ -532,7 +532,7 @@ type TestEvent = "onmouseover" | "onmouseout"; function onMouseOver(): TestEvent { return "onmouseover"; } >onMouseOver : () => TestEvent -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >"onmouseover" : "onmouseover" > : ^^^^^^^^^^^^^ @@ -548,7 +548,7 @@ let x = onMouseOver(); export function Set(...keys: K[]): Record { >Set : (...keys: K[]) => Record -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >keys : K[] > : ^^^ >true : true @@ -595,7 +595,7 @@ export function Set(...keys: K[]): Record export function keys(obj: Record): K[] { >keys : (obj: Record) => K[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >obj : Record > : ^^^^^^^^^^^^ @@ -680,7 +680,7 @@ const arr: Obj[] = langCodes.map(code => ({ code })) function test(obj: T): T { >test : (obj: T) => T -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >b : string @@ -713,7 +713,7 @@ function test(obj: T): T { declare function f(x: T): NonNullable; >f : (x: T) => NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/literalTypes1.types b/tests/baselines/reference/literalTypes1.types index 2a50bc775360e..3e31a6052401f 100644 --- a/tests/baselines/reference/literalTypes1.types +++ b/tests/baselines/reference/literalTypes1.types @@ -114,7 +114,7 @@ type Falsy = false | 0 | "" | null | undefined; function f3(x: Falsy) { >f3 : (x: Falsy) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Falsy > : ^^^^^ diff --git a/tests/baselines/reference/literalTypes2.types b/tests/baselines/reference/literalTypes2.types index 3408415290951..5f25287dd75a6 100644 --- a/tests/baselines/reference/literalTypes2.types +++ b/tests/baselines/reference/literalTypes2.types @@ -231,7 +231,7 @@ function f1(p1 = 1, p2 = "abc", p3 = true, p4 = E.A) { function f2(p1: 1 = 1, p2: "abc" = "abc", p3: true = true, p4: E.A = E.A) { >f2 : (p1?: 1, p2?: "abc", p3?: true, p4?: E.A) => void -> : ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >p1 : 1 > : ^ >1 : 1 @@ -969,13 +969,13 @@ function f20() { declare function g1(x: T): T; >g1 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function g2(x: T, y: T): T; >g2 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -983,7 +983,7 @@ declare function g2(x: T, y: T): T; declare function g3(x: T, y: U): T | U; >g3 : (x: T, y: U) => T | U -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -991,13 +991,13 @@ declare function g3(x: T, y: U): T | U; declare function g4(x: T): T[]; >g4 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function g5(x: T, y: T): T[]; >g5 : (x: T, y: T) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -1005,23 +1005,23 @@ declare function g5(x: T, y: T): T[]; declare function g6(x: T[]): T; >g6 : (x: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T[] > : ^^^ declare function g7(x: T[]): T[]; >g7 : (x: T[]) => T[] -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T[] > : ^^^ declare function g8(x: T, f: (p: T) => T): T; >g8 : (x: T, f: (p: T) => T) => T -> : ^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >f : (p: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ @@ -1175,7 +1175,7 @@ const x11 = g8(1, x => x + 1); // Type number function makeArray(x: T): T[] { >makeArray : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -1188,7 +1188,7 @@ function makeArray(x: T): T[] { function append(a: T[], x: T): T[] { >append : (a: T[], x: T) => T[] -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : T[] > : ^^^ >x : T diff --git a/tests/baselines/reference/localImportNameVsGlobalName.types b/tests/baselines/reference/localImportNameVsGlobalName.types index a3e6fdde63a1c..f2a41f9c8498d 100644 --- a/tests/baselines/reference/localImportNameVsGlobalName.types +++ b/tests/baselines/reference/localImportNameVsGlobalName.types @@ -32,7 +32,7 @@ module App { export function foo(key: Key): void {} >foo : (key: Key) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : Key > : ^^^ diff --git a/tests/baselines/reference/localTypeParameterInferencePriority.types b/tests/baselines/reference/localTypeParameterInferencePriority.types index 527028a28f30c..97c120d5450a2 100644 --- a/tests/baselines/reference/localTypeParameterInferencePriority.types +++ b/tests/baselines/reference/localTypeParameterInferencePriority.types @@ -24,7 +24,7 @@ class Table { // Removing this line, removes the error getRows(): Array>> { >getRows : () => Array>> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ return null! >null! : null @@ -41,13 +41,13 @@ class ColumnSelectViewImp extends Table { } const ColumnSelectView1: new () => Table> = ColumnSelectViewImp; >ColumnSelectView1 : new () => Table> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >ColumnSelectViewImp : typeof ColumnSelectViewImp > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ const ColumnSelectView2: new () => Table> = Table; >ColumnSelectView2 : new () => Table> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >Table : typeof Table > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/localTypes3.types b/tests/baselines/reference/localTypes3.types index 82da1fdc68544..a382b12823dde 100644 --- a/tests/baselines/reference/localTypes3.types +++ b/tests/baselines/reference/localTypes3.types @@ -70,7 +70,7 @@ function f2() { function f(x: X) { >f : (x: X) => typeof C -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >x : X > : ^ @@ -139,7 +139,7 @@ function f3() { function f(x: X, y: Y) { >f : (x: X, y: Y) => typeof C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ >x : X > : ^ >y : Y diff --git a/tests/baselines/reference/localTypes4.types b/tests/baselines/reference/localTypes4.types index 6fc43922bd37f..3a72222e04948 100644 --- a/tests/baselines/reference/localTypes4.types +++ b/tests/baselines/reference/localTypes4.types @@ -8,7 +8,7 @@ function f1() { // Type parameters are in scope in parameters and return types function f(x: T): T { >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/logicalAndOperatorWithTypeParameters.types b/tests/baselines/reference/logicalAndOperatorWithTypeParameters.types index bb79ca2c70c33..0d5af25a76830 100644 --- a/tests/baselines/reference/logicalAndOperatorWithTypeParameters.types +++ b/tests/baselines/reference/logicalAndOperatorWithTypeParameters.types @@ -6,7 +6,7 @@ function foo(t: T, u: U, v: V) { >foo : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/logicalAssignment4(target=es2015).types b/tests/baselines/reference/logicalAssignment4(target=es2015).types index fbc43e747043e..3a265bfe830d9 100644 --- a/tests/baselines/reference/logicalAssignment4(target=es2015).types +++ b/tests/baselines/reference/logicalAssignment4(target=es2015).types @@ -120,7 +120,7 @@ declare const v: number function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) { >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : ThingWithOriginal | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >defaultValue : ThingWithOriginal | undefined diff --git a/tests/baselines/reference/logicalAssignment4(target=es2020).types b/tests/baselines/reference/logicalAssignment4(target=es2020).types index fbc43e747043e..3a265bfe830d9 100644 --- a/tests/baselines/reference/logicalAssignment4(target=es2020).types +++ b/tests/baselines/reference/logicalAssignment4(target=es2020).types @@ -120,7 +120,7 @@ declare const v: number function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) { >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : ThingWithOriginal | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >defaultValue : ThingWithOriginal | undefined diff --git a/tests/baselines/reference/logicalAssignment4(target=es2021).types b/tests/baselines/reference/logicalAssignment4(target=es2021).types index fbc43e747043e..3a265bfe830d9 100644 --- a/tests/baselines/reference/logicalAssignment4(target=es2021).types +++ b/tests/baselines/reference/logicalAssignment4(target=es2021).types @@ -120,7 +120,7 @@ declare const v: number function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) { >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : ThingWithOriginal | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >defaultValue : ThingWithOriginal | undefined diff --git a/tests/baselines/reference/logicalAssignment4(target=esnext).types b/tests/baselines/reference/logicalAssignment4(target=esnext).types index fbc43e747043e..3a265bfe830d9 100644 --- a/tests/baselines/reference/logicalAssignment4(target=esnext).types +++ b/tests/baselines/reference/logicalAssignment4(target=esnext).types @@ -120,7 +120,7 @@ declare const v: number function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) { >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >thing : ThingWithOriginal | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >defaultValue : ThingWithOriginal | undefined diff --git a/tests/baselines/reference/logicalOrOperatorWithTypeParameters.types b/tests/baselines/reference/logicalOrOperatorWithTypeParameters.types index 236594cfa9280..2a34bed82f659 100644 --- a/tests/baselines/reference/logicalOrOperatorWithTypeParameters.types +++ b/tests/baselines/reference/logicalOrOperatorWithTypeParameters.types @@ -3,7 +3,7 @@ === logicalOrOperatorWithTypeParameters.ts === function fn1(t: T, u: U) { >fn1 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -52,7 +52,7 @@ function fn1(t: T, u: U) { function fn2(t: T, u: U, v: V) { >fn2 : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -116,7 +116,7 @@ function fn2(t: T, u: U, v: V) { function fn3(t: T, u: U) { >fn3 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : string diff --git a/tests/baselines/reference/mappedToToIndexSignatureInference.types b/tests/baselines/reference/mappedToToIndexSignatureInference.types index 147107fb04828..ab76fc1f5c2fb 100644 --- a/tests/baselines/reference/mappedToToIndexSignatureInference.types +++ b/tests/baselines/reference/mappedToToIndexSignatureInference.types @@ -3,7 +3,7 @@ === mappedToToIndexSignatureInference.ts === declare const fn: (object: { [Key in K]: V }) => object; >fn : (object: { [Key in K]: V; }) => object -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >object : { [Key in K]: V; } > : ^^^^^^^^^^^^^^^^^^ @@ -25,7 +25,7 @@ fn(a); declare function enumValues(e: Record): V[]; >enumValues : (e: Record) => V[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >e : Record > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeAsClauseRelationships.types b/tests/baselines/reference/mappedTypeAsClauseRelationships.types index d3b1b836ec726..0e7145be283b0 100644 --- a/tests/baselines/reference/mappedTypeAsClauseRelationships.types +++ b/tests/baselines/reference/mappedTypeAsClauseRelationships.types @@ -22,7 +22,7 @@ type Modify = { [P in keyof T as P extends string? `bool${P}`: P]: T[P] }; function fun(val: T) { >fun : (val: T) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >val : T > : ^ @@ -57,7 +57,7 @@ type ModifyExclOpt = { [P in keyof T as P extends string? `bool${P}`: never ] function fun2(val: T) { >fun2 : (val: T) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >val : T > : ^ diff --git a/tests/baselines/reference/mappedTypeAsClauses.types b/tests/baselines/reference/mappedTypeAsClauses.types index 6ea04d60ed5ec..27dc866fb6c52 100644 --- a/tests/baselines/reference/mappedTypeAsClauses.types +++ b/tests/baselines/reference/mappedTypeAsClauses.types @@ -288,7 +288,7 @@ type Schema = { root: { >root : { title: string; task: Task; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^ title: string; >title : string @@ -334,7 +334,7 @@ interface M { function f(x: KeysExtendedBy) { >f : (x: KeysExtendedBy) => "b" -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : "b" > : ^^^ diff --git a/tests/baselines/reference/mappedTypeAsStringTemplate.types b/tests/baselines/reference/mappedTypeAsStringTemplate.types index 1181815cc1196..18f2350130457 100644 --- a/tests/baselines/reference/mappedTypeAsStringTemplate.types +++ b/tests/baselines/reference/mappedTypeAsStringTemplate.types @@ -5,7 +5,7 @@ function foo}y`]: number }>(foox: T) { } >foo : }y`]: number; }>(foox: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foox : T > : ^ diff --git a/tests/baselines/reference/mappedTypeConstraints.types b/tests/baselines/reference/mappedTypeConstraints.types index 869ef273c5527..de8fbc3820a8b 100644 --- a/tests/baselines/reference/mappedTypeConstraints.types +++ b/tests/baselines/reference/mappedTypeConstraints.types @@ -3,7 +3,7 @@ === mappedTypeConstraints.ts === function f0(obj: Pick>) { >f0 : (obj: Pick>) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : string @@ -22,7 +22,7 @@ function f0(obj: Pick(obj: Pick>) { >f1 : (obj: Pick>) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : string @@ -41,7 +41,7 @@ function f1(obj: Pick(obj: Pick) { >f2 : (obj: Pick) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : string @@ -64,7 +64,7 @@ function f2(obj: Pick) { >f3 : (obj: Pick) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : string @@ -103,7 +103,7 @@ function f3(obj: Record | 'c', string>) { >f4 : (obj: Record | 'c', string>) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >b : string @@ -146,9 +146,9 @@ type TargetProps = { const modifier = (targetProps: T) => { >modifier : (targetProps: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(targetProps: T) => { let {bar, ...rest} = targetProps; rest.foo;} : (targetProps: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >targetProps : T > : ^ diff --git a/tests/baselines/reference/mappedTypeConstraints2.types b/tests/baselines/reference/mappedTypeConstraints2.types index 60e807f21ae4e..7c4d78f9325b2 100644 --- a/tests/baselines/reference/mappedTypeConstraints2.types +++ b/tests/baselines/reference/mappedTypeConstraints2.types @@ -9,7 +9,7 @@ type Mapped1 = { [P in K]: { a: P } }; function f1(obj: Mapped1, key: K) { >f1 : (obj: Mapped1, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Mapped1 > : ^^^^^^^^^^ >key : K @@ -17,7 +17,7 @@ function f1(obj: Mapped1, key: K) { const x: { a: K } = obj[key]; >x : { a: K; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >a : K > : ^ >obj[key] : Mapped1[K] @@ -36,7 +36,7 @@ type Mapped2 = { [P in K as `get${P}`]: { a: P } }; function f2(obj: Mapped2, key: `get${K}`) { >f2 : (obj: Mapped2, key: `get${K}`) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Mapped2 > : ^^^^^^^^^^ >key : `get${K}` @@ -44,7 +44,7 @@ function f2(obj: Mapped2, key: `get${K}`) { const x: { a: K } = obj[key]; // Error >x : { a: K; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >a : K > : ^ >obj[key] : Mapped2[`get${K}`] @@ -63,7 +63,7 @@ type Mapped3 = { [P in K as Uppercase

): void; >foo : (options: { props: P; computed: ComputedOf; } & ThisType

) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^ ^^^^^ >options : { props: P; computed: ComputedOf; } & ThisType

-> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >props : P > : ^ >computed : ComputedOf diff --git a/tests/baselines/reference/mappedTypeInferenceToMappedType.types b/tests/baselines/reference/mappedTypeInferenceToMappedType.types index e272c493e038c..2eed8eb7f1b4b 100644 --- a/tests/baselines/reference/mappedTypeInferenceToMappedType.types +++ b/tests/baselines/reference/mappedTypeInferenceToMappedType.types @@ -13,7 +13,7 @@ declare class Base { method(x: { [K in keyof U]: U[K] }): Base; >method : (x: { [K in keyof U]: U[K]; }) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [K in keyof U]: U[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ } @@ -26,7 +26,7 @@ declare class Derived extends Base { method(x: { [K in keyof V]: V[K] }): Base; >method : (x: { [K in keyof V]: V[K]; }) => Base -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [K in keyof V]: V[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/mappedTypeModifiers.types b/tests/baselines/reference/mappedTypeModifiers.types index 0f083d731d8fe..4c35e5025e290 100644 --- a/tests/baselines/reference/mappedTypeModifiers.types +++ b/tests/baselines/reference/mappedTypeModifiers.types @@ -313,7 +313,7 @@ type Foo = { prop: number, [x: string]: number }; function f1(x: Partial) { >f1 : (x: Partial) => void -> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Partial > : ^^^^^^^^^^^^ @@ -348,7 +348,7 @@ function f1(x: Partial) { function f2(x: Readonly) { >f2 : (x: Readonly) => void -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Readonly > : ^^^^^^^^^^^^^ @@ -377,7 +377,7 @@ function f2(x: Readonly) { function f3(x: Boxified) { >f3 : (x: Boxified) => void -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Boxified > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeMultiInference.types b/tests/baselines/reference/mappedTypeMultiInference.types index 544720ac3d4e5..fbd156634e60b 100644 --- a/tests/baselines/reference/mappedTypeMultiInference.types +++ b/tests/baselines/reference/mappedTypeMultiInference.types @@ -8,7 +8,7 @@ interface Style { declare function mergeStyleSets( >mergeStyleSets : (...cssSets: { [P in K]?: Style; }[]) => { [P_1 in K]: Style; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^^^^^ ^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ...cssSets: { [P in K]?: Style }[]): { [P in K]: Style }; >cssSets : { [P in K]?: Style; }[] diff --git a/tests/baselines/reference/mappedTypeNestedGenericInstantiation.types b/tests/baselines/reference/mappedTypeNestedGenericInstantiation.types index fa0611d9683d5..5be10413f0289 100644 --- a/tests/baselines/reference/mappedTypeNestedGenericInstantiation.types +++ b/tests/baselines/reference/mappedTypeNestedGenericInstantiation.types @@ -6,20 +6,20 @@ interface Chainable { value(): T; >value : () => T -> : ^^^^^^^ +> : ^^^^^^ mapValues(func: (v: T[keyof T]) => U): Chainable<{[k in keyof T]: U}>; >mapValues : (func: (v: T[keyof T]) => U) => Chainable<{ [k in keyof T]: U; }> -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^ ^^^^^^^^ ^^^^^ >func : (v: T[keyof T]) => U -> : ^^^^^ ^ ^^^^^^ +> : ^^^^ ^^^^^ >v : T[keyof T] > : ^^^^^^^^^^ } declare function chain(t: T): Chainable; >chain : (t: T) => Chainable -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/mappedTypeParameterConstraint.types b/tests/baselines/reference/mappedTypeParameterConstraint.types index 9944c4057c050..2fcb6cff9ed99 100644 --- a/tests/baselines/reference/mappedTypeParameterConstraint.types +++ b/tests/baselines/reference/mappedTypeParameterConstraint.types @@ -9,7 +9,7 @@ type MyMap = {[P in keyof T]: T[keyof T]}; function foo(arg: U): MyMap { >foo : (arg: U) => MyMap -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >arg : U > : ^ diff --git a/tests/baselines/reference/mappedTypePartialConstraints.types b/tests/baselines/reference/mappedTypePartialConstraints.types index 457bd4468828f..f3b536f155c1c 100644 --- a/tests/baselines/reference/mappedTypePartialConstraints.types +++ b/tests/baselines/reference/mappedTypePartialConstraints.types @@ -15,7 +15,7 @@ class MyClass { doIt(data : Partial) {} >doIt : (data: Partial) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >data : Partial > : ^^^^^^^^^^ } @@ -28,7 +28,7 @@ class MySubClass extends MyClass {} function fn(arg: typeof MyClass) {}; >fn : (arg: typeof MyClass) => void -> : ^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : typeof MyClass > : ^^^^^^^^^^^^^^ >MyClass : typeof MyClass diff --git a/tests/baselines/reference/mappedTypePartialNonHomomorphicBaseConstraint.types b/tests/baselines/reference/mappedTypePartialNonHomomorphicBaseConstraint.types index 957c3b0df86ea..fc45458407469 100644 --- a/tests/baselines/reference/mappedTypePartialNonHomomorphicBaseConstraint.types +++ b/tests/baselines/reference/mappedTypePartialNonHomomorphicBaseConstraint.types @@ -11,7 +11,7 @@ class Model { getErrors(): Errors { >getErrors : () => Errors -> : ^^^^^^^^^^^^ ^ +> : ^^^^^^ return { base: ["some base error"] }; >{ base: ["some base error"] } : { base: string[]; } diff --git a/tests/baselines/reference/mappedTypeRecursiveInference.types b/tests/baselines/reference/mappedTypeRecursiveInference.types index ae17ad6d3f507..192ba3c398a05 100644 --- a/tests/baselines/reference/mappedTypeRecursiveInference.types +++ b/tests/baselines/reference/mappedTypeRecursiveInference.types @@ -22,7 +22,7 @@ type Deep = { [K in keyof T]: Deep } declare function foo(deep: Deep): T; >foo : (deep: Deep) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >deep : Deep > : ^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeRecursiveInference2.types b/tests/baselines/reference/mappedTypeRecursiveInference2.types index 8275388bdbed4..f05d7696c796d 100644 --- a/tests/baselines/reference/mappedTypeRecursiveInference2.types +++ b/tests/baselines/reference/mappedTypeRecursiveInference2.types @@ -26,7 +26,7 @@ type validateDefinition = def extends MorphTuple declare function type(def: validateDefinition): def >type : (def: validateDefinition) => def -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >def : validateDefinition > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeRelationships.types b/tests/baselines/reference/mappedTypeRelationships.types index 7bf2973db5afe..2f7a0710421ff 100644 --- a/tests/baselines/reference/mappedTypeRelationships.types +++ b/tests/baselines/reference/mappedTypeRelationships.types @@ -3,7 +3,7 @@ === mappedTypeRelationships.ts === function f1(x: T, k: keyof T) { >f1 : (x: T, k: keyof T) => T[keyof T] -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ >x : T > : ^ >k : keyof T @@ -20,7 +20,7 @@ function f1(x: T, k: keyof T) { function f2(x: T, k: K) { >f2 : (x: T, k: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >k : K @@ -37,7 +37,7 @@ function f2(x: T, k: K) { function f3(x: T, y: U, k: keyof T) { >f3 : (x: T, y: U, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -80,7 +80,7 @@ function f3(x: T, y: U, k: keyof T) { function f4(x: T, y: U, k: K) { >f4 : (x: T, y: U, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -123,7 +123,7 @@ function f4(x: T, y: U, k: K) { function f5(x: T, y: U, k: keyof U) { >f5 : (x: T, y: U, k: keyof U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -166,7 +166,7 @@ function f5(x: T, y: U, k: keyof U) { function f6(x: T, y: U, k: K) { >f6 : (x: T, y: U, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -209,7 +209,7 @@ function f6(x: T, y: U, k: K) { function f10(x: T, y: Partial, k: keyof T) { >f10 : (x: T, y: Partial, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Partial @@ -252,7 +252,7 @@ function f10(x: T, y: Partial, k: keyof T) { function f11(x: T, y: Partial, k: K) { >f11 : (x: T, y: Partial, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Partial @@ -295,7 +295,7 @@ function f11(x: T, y: Partial, k: K) { function f12(x: T, y: Partial, k: keyof T) { >f12 : (x: T, y: Partial, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Partial @@ -338,7 +338,7 @@ function f12(x: T, y: Partial, k: keyof T) { function f13(x: T, y: Partial, k: K) { >f13 : (x: T, y: Partial, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Partial @@ -381,7 +381,7 @@ function f13(x: T, y: Partial, k: K) { function f20(x: T, y: Readonly, k: keyof T) { >f20 : (x: T, y: Readonly, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Readonly @@ -424,7 +424,7 @@ function f20(x: T, y: Readonly, k: keyof T) { function f21(x: T, y: Readonly, k: K) { >f21 : (x: T, y: Readonly, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Readonly @@ -467,7 +467,7 @@ function f21(x: T, y: Readonly, k: K) { function f22(x: T, y: Readonly, k: keyof T) { >f22 : (x: T, y: Readonly, k: keyof T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Readonly @@ -510,7 +510,7 @@ function f22(x: T, y: Readonly, k: keyof T) { function f23(x: T, y: Readonly, k: K) { >f23 : (x: T, y: Readonly, k: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Readonly @@ -561,7 +561,7 @@ type Thing = { a: string, b: string }; function f30(x: T, y: Partial) { >f30 : (x: T, y: Partial) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Partial @@ -586,7 +586,7 @@ function f30(x: T, y: Partial) { function f31(x: Partial, y: Partial) { >f31 : (x: Partial, y: Partial) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : Partial > : ^^^^^^^^^^^^^^ >y : Partial @@ -611,7 +611,7 @@ function f31(x: Partial, y: Partial) { function f40(x: T, y: Readonly) { >f40 : (x: T, y: Readonly) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : Readonly @@ -636,7 +636,7 @@ function f40(x: T, y: Readonly) { function f41(x: Readonly, y: Readonly) { >f41 : (x: Readonly, y: Readonly) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : Readonly > : ^^^^^^^^^^^^^^^ >y : Readonly @@ -679,7 +679,7 @@ type ItemMap = { function f50(obj: T, key: keyof T) { >f50 : (obj: T, key: keyof T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ >obj : T > : ^ >key : keyof T @@ -710,7 +710,7 @@ function f50(obj: T, key: keyof T) { function f51(obj: T, key: K) { >f51 : (obj: T, key: K) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ >obj : T > : ^ >key : K @@ -755,7 +755,7 @@ type T2 = { function f60(x: T1, y: T2) { >f60 : (x: T1, y: T2) => void -> : ^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T1 > : ^^^^^ >y : T2 @@ -787,7 +787,7 @@ type Identity = { function f61(x: Identity, y: Partial) { >f61 : (x: Identity, y: Partial) => void -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Identity > : ^^^^^^^^^^^ >y : Partial @@ -812,7 +812,7 @@ function f61(x: Identity, y: Partial) { function f62(x: Identity, y: Readonly) { >f62 : (x: Identity, y: Readonly) => void -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Identity > : ^^^^^^^^^^^ >y : Readonly @@ -837,7 +837,7 @@ function f62(x: Identity, y: Readonly) { function f70(x: { [P in keyof T]: T[P] }, y: { [P in keyof T]: T[P] }) { >f70 : (x: { [P in keyof T]: T[P]; }, y: { [P_1 in keyof T]: T[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in keyof T]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { [P in keyof T]: T[P]; } @@ -862,7 +862,7 @@ function f70(x: { [P in keyof T]: T[P] }, y: { [P in keyof T]: T[P] }) { function f71(x: { [P in keyof T]: T[P] }, y: { [P in keyof T]: U[P] }) { >f71 : (x: { [P in keyof T]: T[P]; }, y: { [P_1 in keyof T]: U[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in keyof T]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { [P in keyof T]: U[P]; } @@ -887,7 +887,7 @@ function f71(x: { [P in keyof T]: T[P] }, y: { [P in keyof T]: U function f72(x: { [P in keyof T]: T[P] }, y: { [P in keyof U]: U[P] }) { >f72 : (x: { [P in keyof T]: T[P]; }, y: { [P_1 in keyof U]: U[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in keyof T]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { [P in keyof U]: U[P]; } @@ -912,7 +912,7 @@ function f72(x: { [P in keyof T]: T[P] }, y: { [P in keyof U]: U function f73(x: { [P in K]: T[P] }, y: { [P in keyof T]: T[P] }) { >f73 : (x: { [P in K]: T[P]; }, y: { [P_1 in keyof T]: T[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in K]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^ >y : { [P in keyof T]: T[P]; } @@ -937,7 +937,7 @@ function f73(x: { [P in K]: T[P] }, y: { [P in keyof T]: T function f74(x: { [P in K]: T[P] }, y: { [P in keyof U]: U[P] }) { >f74 : (x: { [P in K]: T[P]; }, y: { [P_1 in keyof U]: U[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in K]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^ >y : { [P in keyof U]: U[P]; } @@ -962,7 +962,7 @@ function f74(x: { [P in K]: T[P] }, y: { [P i function f75(x: { [P in K]: T[P] }, y: { [P in keyof T]: U[P] }) { >f75 : (x: { [P in K]: T[P]; }, y: { [P_1 in keyof T]: U[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in K]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^ >y : { [P in keyof T]: U[P]; } @@ -987,7 +987,7 @@ function f75(x: { [P in K]: T[P] }, y: { [P i function f76(x: { [P in K]: T[P] }, y: { [P in K]: U[P] }) { >f76 : (x: { [P in K]: T[P]; }, y: { [P_1 in K]: U[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in K]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^ >y : { [P in K]: U[P]; } @@ -1012,7 +1012,7 @@ function f76(x: { [P in K]: T[P] }, y: { [P i function f80(t: T): Partial { >f80 : (t: T) => Partial -> : ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >t : T > : ^ @@ -1023,7 +1023,7 @@ function f80(t: T): Partial { function f81(t: T, k: K): Partial { >f81 : (t: T, k: K) => Partial -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >t : T > : ^ >k : K @@ -1040,7 +1040,7 @@ function f81(t: T, k: K): Partial { function f82(t: T, k1: K1, k2: K2): Partial { >f82 : (t: T, k1: K1, k2: K2) => Partial -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^ ^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >t : T > : ^ >k1 : K1 @@ -1085,7 +1085,7 @@ function f90() { function f(): Partial { >f : () => Partial -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ >x : {} > : ^^ diff --git a/tests/baselines/reference/mappedTypeTupleConstraintAssignability.types b/tests/baselines/reference/mappedTypeTupleConstraintAssignability.types index ce1267570b4c4..615a66f03d83a 100644 --- a/tests/baselines/reference/mappedTypeTupleConstraintAssignability.types +++ b/tests/baselines/reference/mappedTypeTupleConstraintAssignability.types @@ -26,7 +26,7 @@ declare class ZodEnum { declare function createZodEnum>(values: T): ZodEnum>; >createZodEnum : (values: T) => ZodEnum> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >values : T > : ^ @@ -84,7 +84,7 @@ declare class TupleSchema< export function create(schemas: { >create : (schemas: { [K in keyof T]: ISchema; }) => TupleSchema -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >schemas : { [K in keyof T]: ISchema; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeUnionConstrainTupleTreatedAsArrayLike.types b/tests/baselines/reference/mappedTypeUnionConstrainTupleTreatedAsArrayLike.types index f41acd9f17f4f..7e2a1641656e7 100644 --- a/tests/baselines/reference/mappedTypeUnionConstrainTupleTreatedAsArrayLike.types +++ b/tests/baselines/reference/mappedTypeUnionConstrainTupleTreatedAsArrayLike.types @@ -7,7 +7,7 @@ type HomomorphicMappedType = { [P in keyof T]: T[P] extends string ? boolean function test1(args: T) { >test1 : (args: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >args : T > : ^ @@ -30,7 +30,7 @@ function test1(args: T) { function test2(args: T) { >test2 : (args: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/mappedTypeUnionConstraintInferences.types b/tests/baselines/reference/mappedTypeUnionConstraintInferences.types index 56d600a6c09cb..c1b0034f04af7 100644 --- a/tests/baselines/reference/mappedTypeUnionConstraintInferences.types +++ b/tests/baselines/reference/mappedTypeUnionConstraintInferences.types @@ -11,7 +11,7 @@ export declare type PartialProperties = Partial export function doSomething_ActualdoSomething_Actual : (a: T) => { [P in keyof PartialProperties]: PartialProperties[P]; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ prop: string; >prop : string @@ -33,7 +33,7 @@ export function doSomething_ActualdoSomething_Expected : (a: T) => { [P in keyof PartialProperties]: PartialProperties[P]; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ prop: string; >prop : string diff --git a/tests/baselines/reference/mappedTypeWithAny.types b/tests/baselines/reference/mappedTypeWithAny.types index 66c450c6910d9..d255994fdc326 100644 --- a/tests/baselines/reference/mappedTypeWithAny.types +++ b/tests/baselines/reference/mappedTypeWithAny.types @@ -105,7 +105,7 @@ type IndirectArrayish = Objectish; function bar(arrayish: Arrayish, objectish: Objectish, indirectArrayish: IndirectArrayish) { >bar : (arrayish: Arrayish, objectish: Objectish, indirectArrayish: IndirectArrayish) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arrayish : any[] > : ^^^^^ >objectish : Objectish @@ -144,7 +144,7 @@ function bar(arrayish: Arrayish, objectish: Objectish, indirectArrayis declare function stringifyArray(arr: T): { -readonly [K in keyof T]: string }; >stringifyArray : (arr: T) => { -readonly [K in keyof T]: string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arr : T > : ^ @@ -164,7 +164,7 @@ let abc: any[] = stringifyArray(void 0 as any); declare function stringifyPair(arr: T): { -readonly [K in keyof T]: string }; >stringifyPair : (arr: T) => { -readonly [K in keyof T]: string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arr : T > : ^ diff --git a/tests/baselines/reference/mappedTypes1.types b/tests/baselines/reference/mappedTypes1.types index 7ea87852a115f..2d83609737a4c 100644 --- a/tests/baselines/reference/mappedTypes1.types +++ b/tests/baselines/reference/mappedTypes1.types @@ -105,19 +105,19 @@ type T47 = { [P in string | "a" | "b" | "0" | "1"]: void }; declare function f1(): { [P in keyof T1]: void }; >f1 : () => { [P in keyof T1]: void; } -> : ^^^^^^^^^^ ^ ^^ +> : ^ ^^^^^^^ declare function f2(): { [P in keyof T1]: void }; >f2 : () => { [P in keyof T1]: void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ declare function f3(): { [P in keyof T1]: void }; >f3 : () => { [P in keyof T1]: void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ declare function f4(): { [P in keyof T1]: void }; >f4 : () => { [P in keyof T1]: void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ let x1 = f1(); >x1 : {} diff --git a/tests/baselines/reference/mappedTypes2.types b/tests/baselines/reference/mappedTypes2.types index 821aec41f1f3f..f6b92d2c2d718 100644 --- a/tests/baselines/reference/mappedTypes2.types +++ b/tests/baselines/reference/mappedTypes2.types @@ -44,11 +44,11 @@ type Proxy = { get(): T; >get : () => T -> : ^^^^^^^ +> : ^^^^^^ set(value: T): void; >set : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } @@ -69,7 +69,7 @@ type DeepReadonly = { declare function assign(obj: T, props: Partial): void; >assign : (obj: T, props: Partial) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >obj : T > : ^ >props : Partial @@ -77,13 +77,13 @@ declare function assign(obj: T, props: Partial): void; declare function freeze(obj: T): Readonly; >freeze : (obj: T) => Readonly -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ declare function pick(obj: T, ...keys: K[]): Pick; >pick : (obj: T, ...keys: K[]) => Pick -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >obj : T > : ^ >keys : K[] @@ -91,17 +91,17 @@ declare function pick(obj: T, ...keys: K[]): Pick; declare function mapObject(obj: Record, f: (x: T) => U): Record; >mapObject : (obj: Record, f: (x: T) => U) => Record -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^ ^^^^^ >obj : Record > : ^^^^^^^^^^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ declare function proxify(obj: T): Proxify; >proxify : (obj: T) => Proxify -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ @@ -171,7 +171,7 @@ interface ReadonlyShape { function f0(s1: Shape, s2: Shape) { >f0 : (s1: Shape, s2: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^ >s1 : Shape > : ^^^^^ >s2 : Shape @@ -212,7 +212,7 @@ function f0(s1: Shape, s2: Shape) { function f1(shape: Shape) { >f1 : (shape: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ @@ -237,7 +237,7 @@ function f1(shape: Shape) { function f2(shape: Shape) { >f2 : (shape: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ @@ -258,7 +258,7 @@ function f2(shape: Shape) { function f3(shape: Shape) { >f3 : (shape: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ @@ -322,7 +322,7 @@ function f4() { function f5(shape: Shape) { >f5 : (shape: Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ @@ -371,7 +371,7 @@ function f5(shape: Shape) { function f6(shape: DeepReadonly) { >f6 : (shape: DeepReadonly) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >shape : DeepReadonly > : ^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypes3.types b/tests/baselines/reference/mappedTypes3.types index 4e59ba8c5f57f..b8e3d50953765 100644 --- a/tests/baselines/reference/mappedTypes3.types +++ b/tests/baselines/reference/mappedTypes3.types @@ -19,13 +19,13 @@ type Boxified = { declare function boxify(obj: T): Boxified; >boxify : (obj: T) => Boxified -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ declare function unboxify(obj: Boxified): T; >unboxify : (obj: Boxified) => T -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : Boxified > : ^^^^^^^^^^^ @@ -51,7 +51,7 @@ interface BoxifiedBacon { function f1(b: Bacon) { >f1 : (b: Bacon) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >b : Bacon > : ^^^^^ @@ -96,7 +96,7 @@ function f1(b: Bacon) { function f2(bb: Boxified) { >f2 : (bb: Boxified) => void -> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >bb : Boxified > : ^^^^^^^^^^^^^^^ @@ -133,7 +133,7 @@ function f2(bb: Boxified) { function f3(bb: BoxifiedBacon) { >f3 : (bb: BoxifiedBacon) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >bb : BoxifiedBacon > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypes4.types b/tests/baselines/reference/mappedTypes4.types index 0ae75118b696d..5416fc233022a 100644 --- a/tests/baselines/reference/mappedTypes4.types +++ b/tests/baselines/reference/mappedTypes4.types @@ -16,7 +16,7 @@ type Boxified = { function boxify(obj: T): Boxified { >boxify : (obj: T) => Boxified -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >obj : T > : ^ @@ -94,7 +94,7 @@ type C = { c: string }; function f1(x: A | B | C | undefined) { >f1 : (x: A | B | C | undefined) => Boxified -> : ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A | B | C | undefined > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypes5.types b/tests/baselines/reference/mappedTypes5.types index ad5f22a5baf47..e23613a162274 100644 --- a/tests/baselines/reference/mappedTypes5.types +++ b/tests/baselines/reference/mappedTypes5.types @@ -3,7 +3,7 @@ === mappedTypes5.ts === function f(p: Partial, r: Readonly, pr: Partial>, rp: Readonly>) { >f : (p: Partial, r: Readonly, pr: Partial>, rp: Readonly>) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >p : Partial > : ^^^^^^^^^^ >r : Readonly diff --git a/tests/baselines/reference/mappedTypes6.types b/tests/baselines/reference/mappedTypes6.types index e260e4b17e06f..317085bf28378 100644 --- a/tests/baselines/reference/mappedTypes6.types +++ b/tests/baselines/reference/mappedTypes6.types @@ -67,7 +67,7 @@ type T15 = { -readonly [P in keyof T]-?: T[P] }; function f1(x: Required, y: T, z: Partial) { >f1 : (x: Required, y: T, z: Partial) => void -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Required > : ^^^^^^^^^^^ >y : T @@ -154,7 +154,7 @@ type Denullified = { [P in keyof T]-?: NonNullable }; function f2(w: Denullified, x: Required, y: T, z: Partial) { >f2 : (w: Denullified, x: Required, y: T, z: Partial) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >w : Denullified > : ^^^^^^^^^^^^^^ >x : Required @@ -296,7 +296,7 @@ function f2(w: Denullified, x: Required, y: T, z: Partial) { function f3(w: Denullified, x: Required, y: T, z: Partial) { >f3 : (w: Denullified, x: Required, y: T, z: Partial) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >w : Denullified > : ^^^^^^^^^^^^^^ >x : Required @@ -348,7 +348,7 @@ type Readwrite = { function f10(x: Readonly, y: T, z: Readwrite) { >f10 : (x: Readonly, y: T, z: Readwrite) => void -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Readonly > : ^^^^^^^^^^^ >y : T diff --git a/tests/baselines/reference/mappedTypesAndObjects.types b/tests/baselines/reference/mappedTypesAndObjects.types index c98dc7e210640..3a6bebe6f71c0 100644 --- a/tests/baselines/reference/mappedTypesAndObjects.types +++ b/tests/baselines/reference/mappedTypesAndObjects.types @@ -3,7 +3,7 @@ === mappedTypesAndObjects.ts === function f1(x: Partial, y: Readonly) { >f1 : (x: Partial, y: Readonly) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Partial > : ^^^^^^^^^^ >y : Readonly @@ -32,7 +32,7 @@ function f1(x: Partial, y: Readonly) { function f2(x: Partial, y: Readonly) { >f2 : (x: Partial, y: Readonly) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : Partial > : ^^^^^^^^^^ >y : Readonly @@ -63,7 +63,7 @@ function f2(x: Partial, y: Readonly) { function f3(x: Partial) { >f3 : (x: Partial) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : Partial > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypesArraysTuples.types b/tests/baselines/reference/mappedTypesArraysTuples.types index d5d22e0e43dac..5afa1e8dcdbab 100644 --- a/tests/baselines/reference/mappedTypesArraysTuples.types +++ b/tests/baselines/reference/mappedTypesArraysTuples.types @@ -121,7 +121,7 @@ type T54 = ReadWrite>; declare function unboxify(x: Boxified): T; >unboxify : (x: Boxified) => T -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Boxified > : ^^^^^^^^^^^ @@ -155,7 +155,7 @@ let y11 = unboxify(x11); declare let x12: { a: Box, b: Box }; >x12 : { a: Box; b: Box; } -> : ^^^^^^^^ ^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >a : Box > : ^^^^^^^^^^^ >b : Box @@ -173,7 +173,7 @@ let y12 = unboxify(x12); declare function nonpartial(x: Partial): T; >nonpartial : (x: Partial) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Partial > : ^^^^^^^^^^ @@ -233,13 +233,13 @@ type Awaitified = { [P in keyof T]: __Awaited }; declare function all(...values: T): Promise>; >all : (...values: T) => Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >values : T > : ^ function f1(a: number, b: Promise, c: string[], d: Promise) { >f1 : (a: number, b: Promise, c: string[], d: Promise) => void -> : ^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : number > : ^^^^^^ >b : Promise @@ -304,7 +304,7 @@ function f1(a: number, b: Promise, c: string[], d: Promise) { function f2(a: Boxified) { >f2 : (a: Boxified) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : Boxified > : ^^^^^^^^^^^ @@ -367,13 +367,13 @@ declare function acceptArray(arr: any[]): void; declare function mapArray(arr: T): Mapped; >mapArray : (arr: T) => Mapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arr : T > : ^ function acceptMappedArray(arr: T) { >acceptMappedArray : (arr: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arr : T > : ^ diff --git a/tests/baselines/reference/mappedTypesGenericTuples2.types b/tests/baselines/reference/mappedTypesGenericTuples2.types index cd7d42a7daac2..bde6e43ea965f 100644 --- a/tests/baselines/reference/mappedTypesGenericTuples2.types +++ b/tests/baselines/reference/mappedTypesGenericTuples2.types @@ -5,7 +5,7 @@ declare function getT(): T; >getT : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ Promise.all([getT(), ...getT()]).then((result) => { >Promise.all([getT(), ...getT()]).then((result) => { const head = result[0]; // string const tail = result.slice(1); // any[] tail satisfies string[]; // ok}) : Promise diff --git a/tests/baselines/reference/matchingOfObjectLiteralConstraints.types b/tests/baselines/reference/matchingOfObjectLiteralConstraints.types index c19429afcdb6d..503a308fece8d 100644 --- a/tests/baselines/reference/matchingOfObjectLiteralConstraints.types +++ b/tests/baselines/reference/matchingOfObjectLiteralConstraints.types @@ -3,7 +3,7 @@ === matchingOfObjectLiteralConstraints.ts === function foo2(x: U, z: T) { } >foo2 : (x: U, z: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >y : T > : ^ >x : U diff --git a/tests/baselines/reference/maxConstraints.types b/tests/baselines/reference/maxConstraints.types index 38629709d19e6..b8cfdcc72c5bc 100644 --- a/tests/baselines/reference/maxConstraints.types +++ b/tests/baselines/reference/maxConstraints.types @@ -4,7 +4,7 @@ interface Comparable { compareTo(other: T): number; >compareTo : (other: T) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : T > : ^ } diff --git a/tests/baselines/reference/memberAccessMustUseModuleInstances.types b/tests/baselines/reference/memberAccessMustUseModuleInstances.types index fa3d1d65fc771..0cc271d000e58 100644 --- a/tests/baselines/reference/memberAccessMustUseModuleInstances.types +++ b/tests/baselines/reference/memberAccessMustUseModuleInstances.types @@ -29,7 +29,7 @@ export class Promise { static timeout(delay: number): Promise { >timeout : (delay: number) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >delay : number > : ^^^^^^ diff --git a/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.types b/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.types index c764b15e1adbf..4985a39a03568 100644 --- a/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.types +++ b/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.types @@ -33,7 +33,7 @@ class E { foo(x: T); >foo : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ @@ -56,7 +56,7 @@ class F { foo(x: T); // error >foo : (x: T) => any -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/memberFunctionsWithPrivateOverloads.types b/tests/baselines/reference/memberFunctionsWithPrivateOverloads.types index 0930b57c1896c..243cc1e0ff55d 100644 --- a/tests/baselines/reference/memberFunctionsWithPrivateOverloads.types +++ b/tests/baselines/reference/memberFunctionsWithPrivateOverloads.types @@ -118,7 +118,7 @@ class D { private foo(x: T, y: T); >foo : { (x: number): any; (x: T, y: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -146,7 +146,7 @@ class D { private bar(x: T, y: T); >bar : { (x: "hi"): any; (x: string): any; (x: T, y: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/memberFunctionsWithPublicOverloads.types b/tests/baselines/reference/memberFunctionsWithPublicOverloads.types index ce8886c73dc9d..fc03953d3f2be 100644 --- a/tests/baselines/reference/memberFunctionsWithPublicOverloads.types +++ b/tests/baselines/reference/memberFunctionsWithPublicOverloads.types @@ -110,7 +110,7 @@ class D { public foo(x: T, y: T); >foo : { (x: number): any; (x: T, y: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -136,7 +136,7 @@ class D { public bar(x: T, y: T); >bar : { (x: "hi"): any; (x: string): any; (x: T, y: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.types b/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.types index a3824e38b850e..d4f47a1a1deea 100644 --- a/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.types +++ b/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.types @@ -168,7 +168,7 @@ class D { public foo(x: T, y: T); // error >foo : { (x: number): any; (x: T, y: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -196,7 +196,7 @@ class D { private bar(x: T, y: T); >bar : { (x: "hi"): any; (x: string): any; (x: T, y: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/mergedDeclarations1.types b/tests/baselines/reference/mergedDeclarations1.types index d926d99935f90..36408796343c5 100644 --- a/tests/baselines/reference/mergedDeclarations1.types +++ b/tests/baselines/reference/mergedDeclarations1.types @@ -48,7 +48,7 @@ module point { export function equals(p1: Point, p2: Point) { >equals : (p1: Point, p2: Point) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^^^^ >p1 : Point > : ^^^^^ >p2 : Point diff --git a/tests/baselines/reference/mergedDeclarations7.types b/tests/baselines/reference/mergedDeclarations7.types index fa95b63d2964a..e8ba50fd9cd95 100644 --- a/tests/baselines/reference/mergedDeclarations7.types +++ b/tests/baselines/reference/mergedDeclarations7.types @@ -15,7 +15,7 @@ declare module 'passport' { interface PassportStatic extends Passport { Passport: {new(): Passport}; >Passport : new () => Passport -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ } } diff --git a/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.types b/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.types index 76418e42eae6c..8e8e444939a71 100644 --- a/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.types +++ b/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.types @@ -10,7 +10,7 @@ interface D { bar(): number; } interface C extends D { b(): Date; >b : () => Date -> : ^^^^^^^^^^ +> : ^^^^^^ } var c:C; diff --git a/tests/baselines/reference/metadataOfClassFromAlias.types b/tests/baselines/reference/metadataOfClassFromAlias.types index 324b9acb6dc50..567d9cf7965cd 100644 --- a/tests/baselines/reference/metadataOfClassFromAlias.types +++ b/tests/baselines/reference/metadataOfClassFromAlias.types @@ -17,7 +17,7 @@ import { SomeClass } from './auxiliry'; function annotation(): PropertyDecorator { >annotation : () => PropertyDecorator -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return (target: any): void => { }; >(target: any): void => { } : (target: any) => void diff --git a/tests/baselines/reference/metadataOfClassFromAlias2.types b/tests/baselines/reference/metadataOfClassFromAlias2.types index 5ff7bf2d3c02d..c49299f56d869 100644 --- a/tests/baselines/reference/metadataOfClassFromAlias2.types +++ b/tests/baselines/reference/metadataOfClassFromAlias2.types @@ -17,7 +17,7 @@ import { SomeClass } from './auxiliry'; function annotation(): PropertyDecorator { >annotation : () => PropertyDecorator -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return (target: any): void => { }; >(target: any): void => { } : (target: any) => void diff --git a/tests/baselines/reference/metadataOfStringLiteral.types b/tests/baselines/reference/metadataOfStringLiteral.types index 5941062a8e85b..b77b655405bd1 100644 --- a/tests/baselines/reference/metadataOfStringLiteral.types +++ b/tests/baselines/reference/metadataOfStringLiteral.types @@ -3,7 +3,7 @@ === metadataOfStringLiteral.ts === function PropDeco(target: Object, propKey: string | symbol) { } >PropDeco : (target: Object, propKey: string | symbol) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propKey : string | symbol diff --git a/tests/baselines/reference/metadataOfUnion.types b/tests/baselines/reference/metadataOfUnion.types index 2a589e8c14455..1804be9e2afdf 100644 --- a/tests/baselines/reference/metadataOfUnion.types +++ b/tests/baselines/reference/metadataOfUnion.types @@ -3,7 +3,7 @@ === metadataOfUnion.ts === function PropDeco(target: Object, propKey: string | symbol) { } >PropDeco : (target: Object, propKey: string | symbol) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propKey : string | symbol diff --git a/tests/baselines/reference/metadataOfUnionWithNull.types b/tests/baselines/reference/metadataOfUnionWithNull.types index 5b647ac10791e..81804ac5f7a53 100644 --- a/tests/baselines/reference/metadataOfUnionWithNull.types +++ b/tests/baselines/reference/metadataOfUnionWithNull.types @@ -3,7 +3,7 @@ === metadataOfUnionWithNull.ts === function PropDeco(target: Object, propKey: string | symbol) { } >PropDeco : (target: Object, propKey: string | symbol) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >target : Object > : ^^^^^^ >propKey : string | symbol diff --git a/tests/baselines/reference/methodChainError.types b/tests/baselines/reference/methodChainError.types index 1f52925dc57e1..b837a56742c57 100644 --- a/tests/baselines/reference/methodChainError.types +++ b/tests/baselines/reference/methodChainError.types @@ -11,7 +11,7 @@ class Builder { method(param: string): Builder { >method : (param: string) => Builder -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : string > : ^^^^^^ diff --git a/tests/baselines/reference/methodContainingLocalFunction.types b/tests/baselines/reference/methodContainingLocalFunction.types index 9a40e362f81b6..5155221da2db9 100644 --- a/tests/baselines/reference/methodContainingLocalFunction.types +++ b/tests/baselines/reference/methodContainingLocalFunction.types @@ -65,7 +65,7 @@ class BugExhibition3 { function localGenericFunction(u?: U) { } >localGenericFunction : (u?: U) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ >u : U > : ^ @@ -93,9 +93,9 @@ class C { var funcExpr = (u?: U) => { }; >funcExpr : (u?: U) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ >(u?: U) => { } : (u?: U) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ >u : U > : ^ diff --git a/tests/baselines/reference/methodSignaturesWithOverloads.types b/tests/baselines/reference/methodSignaturesWithOverloads.types index b4587f2193257..6b50733575fc8 100644 --- a/tests/baselines/reference/methodSignaturesWithOverloads.types +++ b/tests/baselines/reference/methodSignaturesWithOverloads.types @@ -36,23 +36,23 @@ var c: { var c2: { >c2 : { func4?(x: T): number; func4?(s: T_1): string; func5?: { (x: T_2): number; (s: T_3): string; }; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^ func4(x: T): number; >func4 : { (x: T): number; (s: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ func4? (s: T): string; // error, mismatched optionality >func4 : { (x: T_1): number; (s: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >s : T > : ^ func5?: { >func5 : { (x: T): number; (s: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^ ^^^ (x: T): number; >x : T diff --git a/tests/baselines/reference/methodSignaturesWithOverloads2.types b/tests/baselines/reference/methodSignaturesWithOverloads2.types index 1407b6e95522c..5e02bbd2441ef 100644 --- a/tests/baselines/reference/methodSignaturesWithOverloads2.types +++ b/tests/baselines/reference/methodSignaturesWithOverloads2.types @@ -70,23 +70,23 @@ c.func5 = c.func4; var c2: { >c2 : { func4?(x: T): number; func4?(s: T_1): string; func5?: { (x: T_2): number; (s: T_3): string; }; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^ func4?(x: T): number; >func4 : { (x: T): number; (s: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ func4? (s: T): string; >func4 : { (x: T_1): number; (s: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >s : T > : ^ func5?: { >func5 : { (x: T): number; (s: T_1): string; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^^^ ^^^ (x: T): number; >x : T diff --git a/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.types b/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.types index e3114559140d9..76d1ad2071b11 100644 --- a/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.types +++ b/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.types @@ -3,11 +3,11 @@ === mismatchedExplicitTypeParameterAndArgumentType.ts === function map(xs: T[], f: (x: T) => U) { >map : (xs: T[], f: (x: T) => U) => U[] -> : ^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^ ^^^^^^^^ >xs : T[] > : ^^^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/mismatchedGenericArguments1.types b/tests/baselines/reference/mismatchedGenericArguments1.types index 0447da9cc63b6..80975e16b490b 100644 --- a/tests/baselines/reference/mismatchedGenericArguments1.types +++ b/tests/baselines/reference/mismatchedGenericArguments1.types @@ -4,7 +4,7 @@ interface IFoo { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/missingTypeArguments3.types b/tests/baselines/reference/missingTypeArguments3.types index a4ed41b60306c..49ac51b578300 100644 --- a/tests/baselines/reference/missingTypeArguments3.types +++ b/tests/baselines/reference/missingTypeArguments3.types @@ -6,35 +6,35 @@ declare module linq { interface Enumerable { OrderByDescending(keySelector?: string): OrderedEnumerable; >OrderByDescending : (keySelector?: string) => OrderedEnumerable -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : string > : ^^^^^^ GroupBy(keySelector: (element: T) => TKey): Enumerable>; >GroupBy : { (keySelector: (element: T) => TKey): Enumerable>; (keySelector: (element: T) => TKey_1, elementSelector: (element: T) => TElement): Enumerable>; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >keySelector : (element: T) => TKey -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ GroupBy(keySelector: (element: T) => TKey, elementSelector: (element: T) => TElement): Enumerable>; >GroupBy : { (keySelector: (element: T) => TKey_1): Enumerable>; (keySelector: (element: T) => TKey, elementSelector: (element: T) => TElement): Enumerable>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >keySelector : (element: T) => TKey -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ >elementSelector : (element: T) => TElement -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ ToDictionary(keySelector: (element: T) => TKey): Dictionary; >ToDictionary : (keySelector: (element: T) => TKey) => Dictionary -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : (element: T) => TKey -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ } @@ -42,9 +42,9 @@ declare module linq { interface OrderedEnumerable extends Enumerable { ThenBy(keySelector: (element: T) => TCompare): OrderedEnumerable; // used to incorrectly think this was missing a type argument >ThenBy : (keySelector: (element: T) => TCompare) => OrderedEnumerable -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >keySelector : (element: T) => TCompare -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >element : T > : ^ } @@ -52,7 +52,7 @@ declare module linq { interface Grouping extends Enumerable { Key(): TKey; >Key : () => TKey -> : ^^^^^^^^^^ +> : ^^^^^^ } interface Lookup { @@ -62,7 +62,7 @@ declare module linq { Get(key): Enumerable; >Get : (key: any) => Enumerable -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ >key : any Contains(key): boolean; @@ -72,13 +72,13 @@ declare module linq { ToEnumerable(): Enumerable>; >ToEnumerable : () => Enumerable> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ +> : ^^^^^^ } interface Dictionary { Add(key: TKey, value: TValue): void; >Add : (key: TKey, value: TValue) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ >key : TKey > : ^^^^ >value : TValue @@ -86,13 +86,13 @@ declare module linq { Get(ke: TKey): TValue; >Get : (ke: TKey) => TValue -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >ke : TKey > : ^^^^ Set(key: TKey, value: TValue): boolean; >Set : (key: TKey, value: TValue) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ >key : TKey > : ^^^^ >value : TValue @@ -100,7 +100,7 @@ declare module linq { Contains(key: TKey): boolean; >Contains : (key: TKey) => boolean -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : TKey > : ^^^^ @@ -110,7 +110,7 @@ declare module linq { Remove(key: TKey): void; >Remove : (key: TKey) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : TKey > : ^^^^ @@ -120,7 +120,7 @@ declare module linq { ToEnumerable(): Enumerable>; >ToEnumerable : () => Enumerable> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^^ } interface KeyValuePair { diff --git a/tests/baselines/reference/mixinAbstractClasses.2.types b/tests/baselines/reference/mixinAbstractClasses.2.types index 8addbf6aa4cff..d71757fedd0b4 100644 --- a/tests/baselines/reference/mixinAbstractClasses.2.types +++ b/tests/baselines/reference/mixinAbstractClasses.2.types @@ -9,7 +9,7 @@ interface Mixin { function Mixin any>(baseClass: TBaseClass): TBaseClass & (abstract new (...args: any) => Mixin) { >Mixin : any>(baseClass: TBaseClass) => TBaseClass & (abstract new (...args: any) => Mixin) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >args : any > : ^^^ >baseClass : TBaseClass diff --git a/tests/baselines/reference/mixinAbstractClasses.types b/tests/baselines/reference/mixinAbstractClasses.types index 313492e1571e0..01849855f7e02 100644 --- a/tests/baselines/reference/mixinAbstractClasses.types +++ b/tests/baselines/reference/mixinAbstractClasses.types @@ -9,7 +9,7 @@ interface Mixin { function Mixin any>(baseClass: TBaseClass): TBaseClass & (abstract new (...args: any) => Mixin) { >Mixin : any>(baseClass: TBaseClass) => TBaseClass & (abstract new (...args: any) => Mixin) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ >args : any >baseClass : TBaseClass > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.types b/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.types index 8174e35c80ec1..3c39370691056 100644 --- a/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.types +++ b/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.types @@ -18,7 +18,7 @@ abstract class AbstractBase { function Mixin2 any>(baseClass: TBase) { >Mixin2 : any>(baseClass: TBase) => ((abstract new (...args: any[]) => MixinClass) & { prototype: Mixin2.MixinClass; staticMixinMethod(): void; }) & TBase -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >args : any[] > : ^^^^^ >baseClass : TBase diff --git a/tests/baselines/reference/mixinAccessModifiers.types b/tests/baselines/reference/mixinAccessModifiers.types index c74c1291dd003..7974ebb1fbc12 100644 --- a/tests/baselines/reference/mixinAccessModifiers.types +++ b/tests/baselines/reference/mixinAccessModifiers.types @@ -103,7 +103,7 @@ class Public2 { function f1(x: Private & Private2) { >f1 : (x: Private & Private2) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : never > : ^^^^^ @@ -118,7 +118,7 @@ function f1(x: Private & Private2) { function f2(x: Private & Protected) { >f2 : (x: Private & Protected) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : never > : ^^^^^ @@ -133,7 +133,7 @@ function f2(x: Private & Protected) { function f3(x: Private & Public) { >f3 : (x: Private & Public) => void -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : never > : ^^^^^ @@ -148,7 +148,7 @@ function f3(x: Private & Public) { function f4(x: Protected & Protected2) { >f4 : (x: Protected & Protected2) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Protected & Protected2 > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -163,7 +163,7 @@ function f4(x: Protected & Protected2) { function f5(x: Protected & Public) { >f5 : (x: Protected & Public) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Protected & Public > : ^^^^^^^^^^^^^^^^^^ @@ -178,7 +178,7 @@ function f5(x: Protected & Public) { function f6(x: Public & Public2) { >f6 : (x: Public & Public2) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Public & Public2 > : ^^^^^^^^^^^^^^^^ @@ -193,7 +193,7 @@ function f6(x: Public & Public2) { declare function Mix(c1: T, c2: U): T & U; >Mix : (c1: T, c2: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >c1 : T > : ^ >c2 : U @@ -251,7 +251,7 @@ class C4 extends Mix(Protected, Protected2) { f(c4: C4, c5: C5, c6: C6) { >f : (c4: C4, c5: C5, c6: C6) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >c4 : C4 > : ^^ >c5 : C5 @@ -327,7 +327,7 @@ class C5 extends Mix(Protected, Public) { f(c4: C4, c5: C5, c6: C6) { >f : (c4: C4, c5: C5, c6: C6) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >c4 : C4 > : ^^ >c5 : C5 @@ -403,7 +403,7 @@ class C6 extends Mix(Public, Public2) { f(c4: C4, c5: C5, c6: C6) { >f : (c4: C4, c5: C5, c6: C6) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >c4 : C4 > : ^^ >c5 : C5 @@ -493,7 +493,7 @@ class ProtectedGeneric2 { function f7(x: ProtectedGeneric<{}> & ProtectedGeneric<{}>) { >f7 : (x: ProtectedGeneric<{}> & ProtectedGeneric<{}>) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : ProtectedGeneric<{}> > : ^^^^^^^^^^^^^^^^^^^^ @@ -520,7 +520,7 @@ function f7(x: ProtectedGeneric<{}> & ProtectedGeneric<{}>) { function f8(x: ProtectedGeneric<{a: void;}> & ProtectedGeneric2<{a:void;b:void;}>) { >f8 : (x: ProtectedGeneric<{ a: void; }> & ProtectedGeneric2<{ a: void; b: void; }>) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : never > : ^^^^^ >a : void @@ -553,7 +553,7 @@ function f8(x: ProtectedGeneric<{a: void;}> & ProtectedGeneric2<{a:void;b:void;} function f9(x: ProtectedGeneric<{a: void;}> & ProtectedGeneric<{a:void;b:void;}>) { >f9 : (x: ProtectedGeneric<{ a: void; }> & ProtectedGeneric<{ a: void; b: void; }>) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : ProtectedGeneric<{ a: void; }> & ProtectedGeneric<{ a: void; b: void; }> > : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^ >a : void diff --git a/tests/baselines/reference/mixinClassesAnnotated.types b/tests/baselines/reference/mixinClassesAnnotated.types index 21e704947b60a..6418f38d99038 100644 --- a/tests/baselines/reference/mixinClassesAnnotated.types +++ b/tests/baselines/reference/mixinClassesAnnotated.types @@ -52,9 +52,9 @@ interface Printable { const Printable = >(superClass: T): Constructor & { message: string } & T => >Printable : >(superClass: T) => Constructor & { message: string; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >>(superClass: T): Constructor & { message: string } & T => class extends superClass { static message = "hello"; print() { const output = this.x + "," + this.y; } } : >(superClass: T) => Constructor & { message: string; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >superClass : T > : ^ >message : string @@ -108,7 +108,7 @@ interface Tagged { function Tagged>(superClass: T): Constructor & T { >Tagged : >(superClass: T) => Constructor & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >superClass : T > : ^ diff --git a/tests/baselines/reference/mixinClassesAnonymous.types b/tests/baselines/reference/mixinClassesAnonymous.types index 8a5dec9a0422e..98d6c271b980e 100644 --- a/tests/baselines/reference/mixinClassesAnonymous.types +++ b/tests/baselines/reference/mixinClassesAnonymous.types @@ -46,9 +46,9 @@ class Derived extends Base { const Printable = >(superClass: T) => class extends superClass { >Printable : >(superClass: T) => { new (...args: any[]): (Anonymous class); prototype: Printable.(Anonymous class); message: string; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>(superClass: T) => class extends superClass { static message = "hello"; print() { const output = this.x + "," + this.y; }} : >(superClass: T) => { new (...args: any[]): (Anonymous class); prototype: Printable.(Anonymous class); message: string; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >superClass : T > : ^ >class extends superClass { static message = "hello"; print() { const output = this.x + "," + this.y; }} : { new (...args: any[]): (Anonymous class); prototype: Printable.(Anonymous class); message: string; } & T @@ -92,7 +92,7 @@ const Printable = >(superClass: T) => class extends function Tagged>(superClass: T) { >Tagged : >(superClass: T) => { new (...args: any[]): C; prototype: Tagged.C; } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >superClass : T > : ^ @@ -303,9 +303,9 @@ class Thing3 extends Thing2 { const Timestamped = >(Base: CT) => { >Timestamped : >(Base: CT) => { new (...args: any[]): (Anonymous class); prototype: Timestamped.(Anonymous class); } & CT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>(Base: CT) => { return class extends Base { timestamp = new Date(); };} : >(Base: CT) => { new (...args: any[]): (Anonymous class); prototype: Timestamped.(Anonymous class); } & CT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : CT > : ^^ diff --git a/tests/baselines/reference/mixinIntersectionIsValidbaseType.types b/tests/baselines/reference/mixinIntersectionIsValidbaseType.types index d533f2229af34..41d9ad0c4a5d5 100644 --- a/tests/baselines/reference/mixinIntersectionIsValidbaseType.types +++ b/tests/baselines/reference/mixinIntersectionIsValidbaseType.types @@ -20,9 +20,9 @@ export interface Initable { */ export const Serializable = & Initable>( >Serializable : & Initable>(SuperClass: K) => { new (...args: any[]): SerializableLocal; prototype: Serializable.SerializableLocal; init(...args: any[]): void; } & K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > & Initable>( SuperClass: K) => { const LocalMixin = (InnerSuperClass: K) => { return class SerializableLocal extends InnerSuperClass { } }; let ResultClass = LocalMixin(SuperClass); return ResultClass;} : & Initable>(SuperClass: K) => { new (...args: any[]): SerializableLocal; prototype: Serializable.SerializableLocal; init(...args: any[]): void; } & K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SuperClass: K >SuperClass : K @@ -31,9 +31,9 @@ export const Serializable = & Initable>( ) => { const LocalMixin = (InnerSuperClass: K) => { >LocalMixin : (InnerSuperClass: K) => { new (...args: any[]): SerializableLocal; prototype: Serializable.SerializableLocal; init(...args: any[]): void; } & K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(InnerSuperClass: K) => { return class SerializableLocal extends InnerSuperClass { } } : (InnerSuperClass: K) => { new (...args: any[]): SerializableLocal; prototype: Serializable.SerializableLocal; init(...args: any[]): void; } & K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >InnerSuperClass : K > : ^ @@ -64,9 +64,9 @@ export const Serializable = & Initable>( const AMixin = & Initable>(SuperClass: K) => { >AMixin : & Initable>(SuperClass: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ > & Initable>(SuperClass: K) => { let SomeHowOkay = class A extends SuperClass { }; let SomeHowNotOkay = class A extends Serializable(SuperClass) { };} : & Initable>(SuperClass: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >SuperClass : K > : ^ diff --git a/tests/baselines/reference/mixinOverMappedTypeNoCrash.types b/tests/baselines/reference/mixinOverMappedTypeNoCrash.types index 9449c5eba62b1..11862ab1cad2f 100644 --- a/tests/baselines/reference/mixinOverMappedTypeNoCrash.types +++ b/tests/baselines/reference/mixinOverMappedTypeNoCrash.types @@ -27,7 +27,7 @@ type Constructor = ClassInterface & InstanceInterf function cloneClass>(OriginalClass: T): T { >cloneClass : >(OriginalClass: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >OriginalClass : T > : ^ diff --git a/tests/baselines/reference/mixinPrivateAndProtected.types b/tests/baselines/reference/mixinPrivateAndProtected.types index 07e9bdfd1e36e..2c4f9262c1b9a 100644 --- a/tests/baselines/reference/mixinPrivateAndProtected.types +++ b/tests/baselines/reference/mixinPrivateAndProtected.types @@ -34,7 +34,7 @@ class A { function mixB>(Cls: T) { >mixB : >(Cls: T) => { new (...args: any[]): (Anonymous class); prototype: mixB.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Cls : T > : ^ @@ -61,7 +61,7 @@ function mixB>(Cls: T) { function mixB2>(Cls: T) { >mixB2 : >(Cls: T) => { new (...args: any[]): (Anonymous class); prototype: mixB2.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Cls : T > : ^ @@ -103,7 +103,7 @@ const function mixC>(Cls: T) { >mixC : >(Cls: T) => { new (...args: any[]): (Anonymous class); prototype: mixC.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Cls : T > : ^ @@ -370,7 +370,7 @@ class Person { function PersonMixin>(Base: T) { >PersonMixin : >(Base: T) => { new (...args: any[]): (Anonymous class); prototype: PersonMixin.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : T > : ^ diff --git a/tests/baselines/reference/mixingApparentTypeOverrides.types b/tests/baselines/reference/mixingApparentTypeOverrides.types index 97e686bd95c59..d0437bf4537ba 100644 --- a/tests/baselines/reference/mixingApparentTypeOverrides.types +++ b/tests/baselines/reference/mixingApparentTypeOverrides.types @@ -9,7 +9,7 @@ type Constructor = new(...args: any[]) => T; function Tagged>(Base: T) { >Tagged : >(Base: T) => { new (...args: any[]): (Anonymous class); prototype: Tagged.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : T > : ^ diff --git a/tests/baselines/reference/moduleAliasInterface.types b/tests/baselines/reference/moduleAliasInterface.types index 60fc0e31f3e29..696c6845f2bd6 100644 --- a/tests/baselines/reference/moduleAliasInterface.types +++ b/tests/baselines/reference/moduleAliasInterface.types @@ -51,7 +51,7 @@ module editor { public foo(p1:modes.IMode) { >foo : (p1: modes.IMode) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >p1 : modes.IMode > : ^^^^^^^^^^^ >modes : any diff --git a/tests/baselines/reference/moduleAugmentationCollidingNamesInAugmentation1.types b/tests/baselines/reference/moduleAugmentationCollidingNamesInAugmentation1.types index d0a9a5535203f..3d9b781fb1165 100644 --- a/tests/baselines/reference/moduleAugmentationCollidingNamesInAugmentation1.types +++ b/tests/baselines/reference/moduleAugmentationCollidingNamesInAugmentation1.types @@ -70,9 +70,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationDeclarationEmit1.types b/tests/baselines/reference/moduleAugmentationDeclarationEmit1.types index ee8ba8cbf8a4c..6eb4bed5338fa 100644 --- a/tests/baselines/reference/moduleAugmentationDeclarationEmit1.types +++ b/tests/baselines/reference/moduleAugmentationDeclarationEmit1.types @@ -30,9 +30,9 @@ declare module "./observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -53,9 +53,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationDeclarationEmit2.types b/tests/baselines/reference/moduleAugmentationDeclarationEmit2.types index 047f8f5e04a28..403e55983f2d3 100644 --- a/tests/baselines/reference/moduleAugmentationDeclarationEmit2.types +++ b/tests/baselines/reference/moduleAugmentationDeclarationEmit2.types @@ -30,9 +30,9 @@ declare module "./observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -53,9 +53,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationDisallowedExtensions.types b/tests/baselines/reference/moduleAugmentationDisallowedExtensions.types index ed7e55b26db0a..347b521641369 100644 --- a/tests/baselines/reference/moduleAugmentationDisallowedExtensions.types +++ b/tests/baselines/reference/moduleAugmentationDisallowedExtensions.types @@ -122,9 +122,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.types b/tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.types index 3c68ea7852081..52968f0bf83c5 100644 --- a/tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.types +++ b/tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.types @@ -10,7 +10,7 @@ import moment = require("moment-timezone"); === node_modules/moment/index.d.ts === declare function moment(): moment.Moment; >moment : () => moment.Moment -> : ^^^^^^^^^^^^ +> : ^^^^^^ >moment : any > : ^^^ diff --git a/tests/baselines/reference/moduleAugmentationExtendAmbientModule1.types b/tests/baselines/reference/moduleAugmentationExtendAmbientModule1.types index eff26dcfba549..44b4544a214ba 100644 --- a/tests/baselines/reference/moduleAugmentationExtendAmbientModule1.types +++ b/tests/baselines/reference/moduleAugmentationExtendAmbientModule1.types @@ -64,9 +64,9 @@ declare module "observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -91,9 +91,9 @@ declare module "observable" { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationExtendAmbientModule2.types b/tests/baselines/reference/moduleAugmentationExtendAmbientModule2.types index f34f9b75b6ae4..3649ffa92c0b6 100644 --- a/tests/baselines/reference/moduleAugmentationExtendAmbientModule2.types +++ b/tests/baselines/reference/moduleAugmentationExtendAmbientModule2.types @@ -96,9 +96,9 @@ declare module "observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -123,9 +123,9 @@ declare module "observable" { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationExtendFileModule1.types b/tests/baselines/reference/moduleAugmentationExtendFileModule1.types index ea2db215ba461..3ec7fc2270a95 100644 --- a/tests/baselines/reference/moduleAugmentationExtendFileModule1.types +++ b/tests/baselines/reference/moduleAugmentationExtendFileModule1.types @@ -30,9 +30,9 @@ declare module "./observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -53,9 +53,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationExtendFileModule2.types b/tests/baselines/reference/moduleAugmentationExtendFileModule2.types index b5a2fb8084d74..749ab6bfa3b36 100644 --- a/tests/baselines/reference/moduleAugmentationExtendFileModule2.types +++ b/tests/baselines/reference/moduleAugmentationExtendFileModule2.types @@ -30,9 +30,9 @@ declare module "./observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -53,9 +53,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationGlobal1.types b/tests/baselines/reference/moduleAugmentationGlobal1.types index bba5e95ecb75e..af3465c1e9d5d 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal1.types +++ b/tests/baselines/reference/moduleAugmentationGlobal1.types @@ -20,7 +20,7 @@ declare global { interface Array { getA(): A; >getA : () => A -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports1.types b/tests/baselines/reference/moduleAugmentationImportsAndExports1.types index 57abf0bd8f26f..5843b22c2173b 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports1.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports1.types @@ -49,7 +49,7 @@ declare module "./f1" { interface A { foo(): B; >foo : () => B -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports2.types b/tests/baselines/reference/moduleAugmentationImportsAndExports2.types index 2aa479fde54a7..088b4523199a2 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports2.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports2.types @@ -84,11 +84,11 @@ declare module "./f1" { bar(): I; >bar : () => I -> : ^^^^^^^ +> : ^^^^^^ baz(): C; >baz : () => C -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports3.types b/tests/baselines/reference/moduleAugmentationImportsAndExports3.types index 9d26d4d9bc672..8e0116c6d7fe1 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports3.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports3.types @@ -79,11 +79,11 @@ declare module "./f1" { bar(): I; >bar : () => I -> : ^^^^^^^ +> : ^^^^^^ baz(): C; >baz : () => C -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports4.types b/tests/baselines/reference/moduleAugmentationImportsAndExports4.types index 825fb7a3a38b8..bc7716e39270d 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports4.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports4.types @@ -74,15 +74,15 @@ declare module "./f1" { interface A { foo(): B; >foo : () => B -> : ^^^^^^^ +> : ^^^^^^ bar(): I; >bar : () => I -> : ^^^^^^^ +> : ^^^^^^ baz(): C; >baz : () => C -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports5.types b/tests/baselines/reference/moduleAugmentationImportsAndExports5.types index db266356afcbe..8f19815d69c58 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports5.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports5.types @@ -74,15 +74,15 @@ declare module "./f1" { interface A { foo(): B; >foo : () => B -> : ^^^^^^^ +> : ^^^^^^ bar(): I; >bar : () => I -> : ^^^^^^^ +> : ^^^^^^ baz(): C; >baz : () => C -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports6.types b/tests/baselines/reference/moduleAugmentationImportsAndExports6.types index 0416ca977c313..a3a632250b7a5 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports6.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports6.types @@ -74,15 +74,15 @@ declare module "./f1" { interface A { foo(): B; >foo : () => B -> : ^^^^^^^ +> : ^^^^^^ bar(): I; >bar : () => I -> : ^^^^^^^ +> : ^^^^^^ baz(): C; >baz : () => C -> : ^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationInAmbientModule1.types b/tests/baselines/reference/moduleAugmentationInAmbientModule1.types index b2cec74f19837..c3e7c085819fd 100644 --- a/tests/baselines/reference/moduleAugmentationInAmbientModule1.types +++ b/tests/baselines/reference/moduleAugmentationInAmbientModule1.types @@ -61,7 +61,7 @@ declare module "Map" { interface Observable { foo(): Cls; >foo : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } } diff --git a/tests/baselines/reference/moduleAugmentationInAmbientModule2.types b/tests/baselines/reference/moduleAugmentationInAmbientModule2.types index eca39f7bead84..84ee86ae813ed 100644 --- a/tests/baselines/reference/moduleAugmentationInAmbientModule2.types +++ b/tests/baselines/reference/moduleAugmentationInAmbientModule2.types @@ -62,7 +62,7 @@ declare module "Map" { interface Observable { foo(): Cls; >foo : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } } diff --git a/tests/baselines/reference/moduleAugmentationInAmbientModule3.types b/tests/baselines/reference/moduleAugmentationInAmbientModule3.types index d7b58f6ae5467..40c7892ff59d3 100644 --- a/tests/baselines/reference/moduleAugmentationInAmbientModule3.types +++ b/tests/baselines/reference/moduleAugmentationInAmbientModule3.types @@ -76,7 +76,7 @@ declare module "Map" { interface Observable { foo(): Cls; >foo : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } } @@ -98,7 +98,7 @@ declare module "Map" { interface Observable { foo2(): Cls2; >foo2 : () => Cls2 -> : ^^^^^^^^^^ +> : ^^^^^^ } } } diff --git a/tests/baselines/reference/moduleAugmentationInAmbientModule4.types b/tests/baselines/reference/moduleAugmentationInAmbientModule4.types index e533be9c36833..b5f64300a3c92 100644 --- a/tests/baselines/reference/moduleAugmentationInAmbientModule4.types +++ b/tests/baselines/reference/moduleAugmentationInAmbientModule4.types @@ -77,7 +77,7 @@ declare module "Map" { interface Observable { foo(): Cls; >foo : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } } @@ -100,7 +100,7 @@ declare module "Map" { interface Observable { foo2(): Cls2; >foo2 : () => Cls2 -> : ^^^^^^^^^^ +> : ^^^^^^ } } } diff --git a/tests/baselines/reference/moduleAugmentationInAmbientModule5.types b/tests/baselines/reference/moduleAugmentationInAmbientModule5.types index 829dca3adbabd..1fe68eb992de7 100644 --- a/tests/baselines/reference/moduleAugmentationInAmbientModule5.types +++ b/tests/baselines/reference/moduleAugmentationInAmbientModule5.types @@ -55,7 +55,7 @@ declare module "array" { interface Array { getA(): A; >getA : () => A -> : ^^^^^^^ +> : ^^^^^^ } } } diff --git a/tests/baselines/reference/moduleAugmentationNoNewNames.types b/tests/baselines/reference/moduleAugmentationNoNewNames.types index 9bd884869d52e..2f20da550a157 100644 --- a/tests/baselines/reference/moduleAugmentationNoNewNames.types +++ b/tests/baselines/reference/moduleAugmentationNoNewNames.types @@ -30,9 +30,9 @@ declare module "./observable" { interface Observable { map(proj: (e:T) => U): Observable >map : (proj: (e: T) => U) => Observable -> : ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >proj : (e: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } @@ -70,9 +70,9 @@ export declare class Observable { filter(pred: (e:T) => boolean): Observable; >filter : (pred: (e: T) => boolean) => Observable -> : ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >pred : (e: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >e : T > : ^ } diff --git a/tests/baselines/reference/moduleAugmentationOfAlias.types b/tests/baselines/reference/moduleAugmentationOfAlias.types index 566cdd87df130..9acac972df05e 100644 --- a/tests/baselines/reference/moduleAugmentationOfAlias.types +++ b/tests/baselines/reference/moduleAugmentationOfAlias.types @@ -24,7 +24,7 @@ import I from "./a"; function f(i: I) { >f : (i: I) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >i : I > : ^ diff --git a/tests/baselines/reference/moduleAugmentationsBundledOutput1.types b/tests/baselines/reference/moduleAugmentationsBundledOutput1.types index b4f16484c55bc..f0bbb8802c077 100644 --- a/tests/baselines/reference/moduleAugmentationsBundledOutput1.types +++ b/tests/baselines/reference/moduleAugmentationsBundledOutput1.types @@ -144,7 +144,7 @@ declare module "./m1" { interface Cls { baz1(): C1; >baz1 : () => C1 -> : ^^^^^^^^ +> : ^^^^^^ } } @@ -155,7 +155,7 @@ declare module "./m1" { interface Cls { baz2(): C2; >baz2 : () => C2 -> : ^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationsImports1.types b/tests/baselines/reference/moduleAugmentationsImports1.types index 58f8c627d2ea9..9aac6654392da 100644 --- a/tests/baselines/reference/moduleAugmentationsImports1.types +++ b/tests/baselines/reference/moduleAugmentationsImports1.types @@ -82,7 +82,7 @@ declare module "./a" { interface A { getB(): B; >getB : () => B -> : ^^^^^^^ +> : ^^^^^^ } } @@ -93,7 +93,7 @@ declare module "./a" { interface A { getCls(): Cls; >getCls : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationsImports2.types b/tests/baselines/reference/moduleAugmentationsImports2.types index b6ab92e7d049d..efbb1154f0375 100644 --- a/tests/baselines/reference/moduleAugmentationsImports2.types +++ b/tests/baselines/reference/moduleAugmentationsImports2.types @@ -60,7 +60,7 @@ declare module "./a" { interface A { getB(): B; >getB : () => B -> : ^^^^^^^ +> : ^^^^^^ } } @@ -98,7 +98,7 @@ declare module "./a" { interface A { getCls(): Cls; >getCls : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationsImports3.types b/tests/baselines/reference/moduleAugmentationsImports3.types index a84a52a7585db..89f17f33c2047 100644 --- a/tests/baselines/reference/moduleAugmentationsImports3.types +++ b/tests/baselines/reference/moduleAugmentationsImports3.types @@ -101,7 +101,7 @@ declare module "D" { interface A { getB(): B; >getB : () => B -> : ^^^^^^^ +> : ^^^^^^ } } } @@ -141,7 +141,7 @@ declare module "./a" { interface A { getCls(): Cls; >getCls : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/moduleAugmentationsImports4.types b/tests/baselines/reference/moduleAugmentationsImports4.types index 618d91033ef05..534ec48f2897c 100644 --- a/tests/baselines/reference/moduleAugmentationsImports4.types +++ b/tests/baselines/reference/moduleAugmentationsImports4.types @@ -102,7 +102,7 @@ declare module "D" { interface A { getB(): B; >getB : () => B -> : ^^^^^^^ +> : ^^^^^^ } } } @@ -128,7 +128,7 @@ declare module "E" { interface A { getCls(): Cls; >getCls : () => Cls -> : ^^^^^^^^^ +> : ^^^^^^ } } } diff --git a/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types b/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types index ce43f9e8790a0..fefad9cb88f26 100644 --- a/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types +++ b/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types @@ -43,9 +43,9 @@ import * as model from "./model"; export const func = (account: model.Account, acc2: model.Acc) => {}; >func : (account: model.Account, acc2: model.Acc) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >(account: model.Account, acc2: model.Acc) => {} : (account: model.Account, acc2: model.Acc) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >account : model.Account > : ^^^^^^^^^^^^^ >model : any diff --git a/tests/baselines/reference/moduleExportNestedNamespaces.types b/tests/baselines/reference/moduleExportNestedNamespaces.types index 9b3b0a43d866e..ea230536826d1 100644 --- a/tests/baselines/reference/moduleExportNestedNamespaces.types +++ b/tests/baselines/reference/moduleExportNestedNamespaces.types @@ -126,7 +126,7 @@ var classic = new s.Classic() @param {s.Classic} classic */ function f(c, classic) { >f : (c: C, classic: s.Classic) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >c : C > : ^ >classic : s.Classic diff --git a/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.types b/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.types index 485cff7a0ffc5..c5ba65285d268 100644 --- a/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.types +++ b/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.types @@ -13,7 +13,7 @@ module TypeScript.Parser { public currentNode(): SyntaxNode { >currentNode : () => SyntaxNode -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -33,7 +33,7 @@ module TypeScript { public childIndex(child: ISyntaxElement) { >childIndex : (child: ISyntaxElement) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >child : ISyntaxElement > : ^^^^^^^^^^^^^^ @@ -74,7 +74,7 @@ module TypeScript { public findToken(position: number, includeSkippedTokens: boolean = false): PositionedToken { >findToken : (position: number, includeSkippedTokens?: boolean) => PositionedToken -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >position : number > : ^^^^^^ >includeSkippedTokens : boolean @@ -126,7 +126,7 @@ module TypeScript.Syntax { private findTokenInternal(parent: PositionedElement, position: number, fullStart: number) { >findTokenInternal : (parent: PositionedElement, position: number, fullStart: number) => PositionedToken -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >parent : PositionedElement > : ^^^^^^^^^^^^^^^^^ >position : number diff --git a/tests/baselines/reference/moduleReopenedTypeOtherBlock.types b/tests/baselines/reference/moduleReopenedTypeOtherBlock.types index 860ffa8e6aa17..600113551712c 100644 --- a/tests/baselines/reference/moduleReopenedTypeOtherBlock.types +++ b/tests/baselines/reference/moduleReopenedTypeOtherBlock.types @@ -21,6 +21,6 @@ module M { >C2 : C2 > : ^^ >f : () => I -> : ^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/moduleReopenedTypeSameBlock.types b/tests/baselines/reference/moduleReopenedTypeSameBlock.types index 7a65dc00c6bb9..38cc6969d1954 100644 --- a/tests/baselines/reference/moduleReopenedTypeSameBlock.types +++ b/tests/baselines/reference/moduleReopenedTypeSameBlock.types @@ -19,6 +19,6 @@ module M { >C2 : C2 > : ^^ >f : () => I -> : ^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.types b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.types index a600c0fee0d78..267eb6159b85d 100644 --- a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.types +++ b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.types @@ -31,7 +31,7 @@ export class SharedOption extends Option { } export const makeSharedOption: () => SharedOption; >makeSharedOption : () => SharedOption -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ === /project/node_modules/anotherLib/index.d.ts === import { Compactable } from "troublesome-lib/lib/Compactable"; // Including this will resolve Option as relative through the imports of compactable diff --git a/tests/baselines/reference/moduleSymbolMerging.types b/tests/baselines/reference/moduleSymbolMerging.types index d613eda553fc5..5f150bfc61bc8 100644 --- a/tests/baselines/reference/moduleSymbolMerging.types +++ b/tests/baselines/reference/moduleSymbolMerging.types @@ -12,7 +12,7 @@ module B { export function f(): A.I { return null; } >f : () => A.I -> : ^^^^^^^ +> : ^^^^^^ >A : any > : ^^^ } diff --git a/tests/baselines/reference/module_augmentUninstantiatedModule2.types b/tests/baselines/reference/module_augmentUninstantiatedModule2.types index fa760e357e863..c7440ab6684f3 100644 --- a/tests/baselines/reference/module_augmentUninstantiatedModule2.types +++ b/tests/baselines/reference/module_augmentUninstantiatedModule2.types @@ -17,7 +17,7 @@ declare module ng { export interface IAngularStatic { module: (s: string) => IModule; >module : (s: string) => IModule -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : string > : ^^^^^^ } diff --git a/tests/baselines/reference/moduledecl.types b/tests/baselines/reference/moduledecl.types index afe9e96b02e0a..05e9f2081e2b0 100644 --- a/tests/baselines/reference/moduledecl.types +++ b/tests/baselines/reference/moduledecl.types @@ -445,7 +445,7 @@ module exportTests { } private setC2_private(arg: C2_private) { >setC2_private : (arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : C2_private > : ^^^^^^^^^^ } @@ -471,7 +471,7 @@ module exportTests { } public setC1_public(arg: C1_public) { >setC1_public : (arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : C1_public > : ^^^^^^^^^ } @@ -503,7 +503,7 @@ declare module mAmbient { function foo() : C; >foo : () => C -> : ^^^^^^^ +> : ^^^^^^ var aVar: C; >aVar : C @@ -550,7 +550,7 @@ declare module mAmbient { function foo(): C; >foo : () => C -> : ^^^^^^^ +> : ^^^^^^ var aVar: C; >aVar : C diff --git a/tests/baselines/reference/multiCallOverloads.types b/tests/baselines/reference/multiCallOverloads.types index 0b1e22233806c..25a388acf9ce0 100644 --- a/tests/baselines/reference/multiCallOverloads.types +++ b/tests/baselines/reference/multiCallOverloads.types @@ -9,7 +9,7 @@ interface ICallback { function load(f: ICallback) {} >load : (f: ICallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : ICallback > : ^^^^^^^^^ diff --git a/tests/baselines/reference/multipleExportAssignments.types b/tests/baselines/reference/multipleExportAssignments.types index 6ff0d475f2fba..2e72b9f73c302 100644 --- a/tests/baselines/reference/multipleExportAssignments.types +++ b/tests/baselines/reference/multipleExportAssignments.types @@ -13,7 +13,7 @@ interface connectModule { interface connectExport { use: (mod: connectModule) => connectExport; >use : (mod: connectModule) => connectExport -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >mod : connectModule > : ^^^^^^^^^^^^^ @@ -25,7 +25,7 @@ interface connectExport { } var server: { >server : { (): connectExport; test1: connectModule; test2(): connectModule; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ (): connectExport; test1: connectModule; @@ -34,7 +34,7 @@ var server: { test2(): connectModule; >test2 : () => connectModule -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ }; export = server; diff --git a/tests/baselines/reference/multipleInferenceContexts.types b/tests/baselines/reference/multipleInferenceContexts.types index e6f6c21f1deb1..e3d6bac5338f7 100644 --- a/tests/baselines/reference/multipleInferenceContexts.types +++ b/tests/baselines/reference/multipleInferenceContexts.types @@ -21,14 +21,14 @@ interface ComponentOptionsProperties { interface Instance { get(name: K): unknown; >get : (name: K) => unknown -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >name : K > : ^ } declare var Moon: { >Moon : (options?: ConstructorOptions) => Instance -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ (options?: ConstructorOptions): Instance; >options : ConstructorOptions | undefined diff --git a/tests/baselines/reference/mutrec.types b/tests/baselines/reference/mutrec.types index 090f4ff351812..79ef1edc68ead 100644 --- a/tests/baselines/reference/mutrec.types +++ b/tests/baselines/reference/mutrec.types @@ -15,7 +15,7 @@ interface B { function f(p: A) { return p }; >f : (p: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >p : A > : ^ >p : A @@ -53,7 +53,7 @@ interface I3 { function g(p: I1) { return p }; >g : (p: I1) => I1 -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ >p : I1 > : ^^ >p : I1 diff --git a/tests/baselines/reference/mutuallyRecursiveCallbacks.types b/tests/baselines/reference/mutuallyRecursiveCallbacks.types index f6d3a73fcbed5..2b517c4a36257 100644 --- a/tests/baselines/reference/mutuallyRecursiveCallbacks.types +++ b/tests/baselines/reference/mutuallyRecursiveCallbacks.types @@ -15,7 +15,7 @@ type Bar = (foo: Foo) => Foo; declare function foo(bar: Bar): void; >foo : (bar: Bar) => void -> : ^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >bar : Bar > : ^^^^^^ diff --git a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.types b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.types index 6f9cbe98c8c79..1b89ec3bddc93 100644 --- a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.types +++ b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.types @@ -4,7 +4,7 @@ interface A { foo(): B; // instead of B does see this >foo : { (): B; (): void; } -> : ^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^ foo(): void; // instead of B does see this >foo : { (): B; (): void; } @@ -12,7 +12,7 @@ interface A { foo2(): B; >foo2 : () => B -> : ^^^^^^^ +> : ^^^^^^ } interface B extends A { diff --git a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.types b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.types index df2c8119ef54a..2718549a52d7f 100644 --- a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.types +++ b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.types @@ -7,7 +7,7 @@ class foo { bar(): foo2 { return null; } >bar : () => foo2 -> : ^^^^^^^^^^ ^ +> : ^^^^^^ } class foo2 extends foo { diff --git a/tests/baselines/reference/namedTupleMembers.types b/tests/baselines/reference/namedTupleMembers.types index b31e211680203..552f9699db87e 100644 --- a/tests/baselines/reference/namedTupleMembers.types +++ b/tests/baselines/reference/namedTupleMembers.types @@ -150,7 +150,7 @@ export const func = null as any as Func; export function useState(initial: T): [value: T, setter: (T) => void] { >useState : (initial: T) => [value: T, setter: (T: any) => void] -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ ^^^ >initial : T > : ^ >T : any @@ -248,7 +248,7 @@ y = x; declare function f(...x: T): T; >f : (...x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -262,7 +262,7 @@ declare function g(elem: object, index: number): object; declare function getArgsForInjection any>(x: T): Parameters; >getArgsForInjection : any>(x: T) => Parameters -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >args : any[] > : ^^^^^ >x : T diff --git a/tests/baselines/reference/namespaceMergedWithFunctionWithOverloadsUsage.types b/tests/baselines/reference/namespaceMergedWithFunctionWithOverloadsUsage.types index 73550f290d166..e43d309ad3070 100644 --- a/tests/baselines/reference/namespaceMergedWithFunctionWithOverloadsUsage.types +++ b/tests/baselines/reference/namespaceMergedWithFunctionWithOverloadsUsage.types @@ -24,7 +24,7 @@ declare namespace Foo { declare function Foo(opts?: Foo.Whatever): void; >Foo : { (opts?: Foo.Whatever): void; (cb: Function, opts?: Foo.Whatever): void; } -> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >opts : Foo.Whatever > : ^^^^^^^^^^^^ >Foo : any @@ -32,7 +32,7 @@ declare function Foo(opts?: Foo.Whatever): void; declare function Foo(cb: Function, opts?: Foo.Whatever): void; >Foo : { (opts?: Foo.Whatever): void; (cb: Function, opts?: Foo.Whatever): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >cb : Function > : ^^^^^^^^ >opts : Foo.Whatever diff --git a/tests/baselines/reference/namespaceNotMergedWithFunctionDefaultExport.types b/tests/baselines/reference/namespaceNotMergedWithFunctionDefaultExport.types index 1450f117aecee..142b82b0b7ddf 100644 --- a/tests/baselines/reference/namespaceNotMergedWithFunctionDefaultExport.types +++ b/tests/baselines/reference/namespaceNotMergedWithFunctionDefaultExport.types @@ -7,7 +7,7 @@ declare module 'replace-in-file' { export function replaceInFile(config: unknown): Promise; >replaceInFile : (config: unknown) => Promise -> : ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >config : unknown > : ^^^^^^^ diff --git a/tests/baselines/reference/narrowByBooleanComparison.types b/tests/baselines/reference/narrowByBooleanComparison.types index 02b88f99de5fa..1b1c967c31f5f 100644 --- a/tests/baselines/reference/narrowByBooleanComparison.types +++ b/tests/baselines/reference/narrowByBooleanComparison.types @@ -25,9 +25,9 @@ type MyUnion = A | B | C; const isA = (x: MyUnion): x is A => x.type === "A"; >isA : (x: MyUnion) => x is A -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(x: MyUnion): x is A => x.type === "A" : (x: MyUnion) => x is A -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : MyUnion > : ^^^^^^^ >x.type === "A" : boolean @@ -43,7 +43,7 @@ const isA = (x: MyUnion): x is A => x.type === "A"; function test1(x: MyUnion) { >test1 : (x: MyUnion) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : MyUnion > : ^^^^^^^ @@ -337,7 +337,7 @@ interface Actor extends Entity { } function isActor(entity: Entity): entity is Actor { >isActor : (entity: Entity) => entity is Actor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ @@ -355,7 +355,7 @@ function isActor(entity: Entity): entity is Actor { } function test5(bin: Entity) { >test5 : (bin: Entity) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >bin : Entity > : ^^^^^^ @@ -383,7 +383,7 @@ function test5(bin: Entity) { } function test6(bin: Entity) { >test6 : (bin: Entity) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >bin : Entity > : ^^^^^^ diff --git a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue1.types b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue1.types index 7941623e3ed64..34087660d2927 100644 --- a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue1.types +++ b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue1.types @@ -21,9 +21,9 @@ type AorB = A | B; const isA = (x: AorB): x is A => x.type === "A"; >isA : (x: AorB) => x is A -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(x: AorB): x is A => x.type === "A" : (x: AorB) => x is A -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : AorB > : ^^^^ >x.type === "A" : boolean @@ -39,9 +39,9 @@ const isA = (x: AorB): x is A => x.type === "A"; const isB = (x: AorB): x is B => x.type === "B"; >isB : (x: AorB) => x is B -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >(x: AorB): x is B => x.type === "B" : (x: AorB) => x is B -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : AorB > : ^^^^ >x.type === "B" : boolean @@ -57,7 +57,7 @@ const isB = (x: AorB): x is B => x.type === "B"; function test1(x: AorB) { >test1 : (x: AorB) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AorB > : ^^^^ @@ -96,7 +96,7 @@ function test1(x: AorB) { function test2(x: AorB) { >test2 : (x: AorB) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AorB > : ^^^^ @@ -176,7 +176,7 @@ declare function isSomeType(x: unknown): x is SomeType; function processInput(input: string | RegExp | SomeType) { >processInput : (input: string | RegExp | SomeType) => void -> : ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : string | RegExp | SomeType > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue3.types b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue3.types index fa7c71238c634..fd1e15230739b 100644 --- a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue3.types +++ b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue3.types @@ -19,7 +19,7 @@ type Shape = function wat(shape: Shape) { >wat : (shape: Shape) => number | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >shape : Shape > : ^^^^^ diff --git a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue5.types b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue5.types index 61557892b30e5..f7fab3dd42ca5 100644 --- a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue5.types +++ b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue5.types @@ -49,7 +49,7 @@ type All = A | B | C | D | E; function fn1switch(input: All) { >fn1switch : (input: All) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : All > : ^^^ @@ -138,7 +138,7 @@ function fn1switch(input: All) { function fn1ifelse(input: All) { >fn1ifelse : (input: All) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : All > : ^^^ @@ -234,7 +234,7 @@ function fn1ifelse(input: All) { function fn2switch(input: All) { >fn2switch : (input: All) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : All > : ^^^ @@ -324,7 +324,7 @@ function fn2switch(input: All) { function fn2ifelse(input: All) { >fn2ifelse : (input: All) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : All > : ^^^ @@ -421,7 +421,7 @@ function fn2ifelse(input: All) { function fn3switch(input: All) { >fn3switch : (input: All) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : All > : ^^^ diff --git a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue6.types b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue6.types index 07dda21b3aa4f..545ffa49a2a63 100644 --- a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue6.types +++ b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue6.types @@ -38,7 +38,7 @@ type MyType = A | B | C; function isA(x: MyType) { >isA : (x: MyType) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : MyType > : ^^^^^^ diff --git a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue7.types b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue7.types index ded3cecc9dc36..76e1d292019f4 100644 --- a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue7.types +++ b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue7.types @@ -46,7 +46,7 @@ class Derived2 extends Base { function classy(base: Base, someDerived: Derived1 | Derived2) { >classy : (base: Base, someDerived: Derived1 | Derived2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >base : Base > : ^^^^ >someDerived : Derived1 | Derived2 diff --git a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue9.types b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue9.types index 6c0fde080354c..10990651cd075 100644 --- a/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue9.types +++ b/tests/baselines/reference/narrowByClauseExpressionInSwitchTrue9.types @@ -19,7 +19,7 @@ class Foo { myMethod(x: IProps) { >myMethod : (x: IProps) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : IProps > : ^^^^^^ diff --git a/tests/baselines/reference/narrowByInstanceof.types b/tests/baselines/reference/narrowByInstanceof.types index be6ee0f973dfa..055b4174394bd 100644 --- a/tests/baselines/reference/narrowByInstanceof.types +++ b/tests/baselines/reference/narrowByInstanceof.types @@ -32,7 +32,7 @@ type BB = { function foo(x: A | B | C, A: AA, B: BB, AB: AA | BB) { >foo : (x: A | B | C, A: AA, B: BB, AB: AA | BB) => void -> : ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ >x : A | B | C > : ^^^^^^^^^ >A : AA @@ -215,7 +215,7 @@ class Car { function test(o: Person | Car) { >test : (o: Person | Car) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >o : Person | Car > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowByParenthesizedSwitchExpression.types b/tests/baselines/reference/narrowByParenthesizedSwitchExpression.types index 947a72a68726a..f43e62586e03e 100644 --- a/tests/baselines/reference/narrowByParenthesizedSwitchExpression.types +++ b/tests/baselines/reference/narrowByParenthesizedSwitchExpression.types @@ -29,7 +29,7 @@ interface Bar extends Base { function getV(): Foo | Bar { >getV : () => Foo | Bar -> : ^^^^^^^^^ ^^^ +> : ^^^^^^ return null!; >null! : never diff --git a/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.types b/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.types index 458a116bd2a86..a642757fa0d25 100644 --- a/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.types +++ b/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.types @@ -21,7 +21,7 @@ interface MultiCaseFixture { function subDataFunc(): TestCase[] { >subDataFunc : () => TestCase[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ return [ >[ { val1: "a", val2: ["a", "b", "c"] }, { val1: 2, val2: [1, 2, 3] }, { val1: ["a", "z"], val2: ["x", "y", "z"] }, { val1: [5, 10], val2: [10, 100, 1000] }, ] : ({ val1: string; val2: string[]; } | { val1: number; val2: number[]; } | { val1: string[]; val2: string[]; } | { val1: number[]; val2: number[]; })[] @@ -112,9 +112,9 @@ function subDataFunc(): TestCase[] { function dataFunc(subFunc: () => T[]): MultiCaseFixture { >dataFunc : (subFunc: () => T[]) => MultiCaseFixture -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^ >subFunc : () => T[] -> : ^^^^^^^ +> : ^^^^^^ return { cases: subFunc() }; >{ cases: subFunc() } : { cases: T[]; } diff --git a/tests/baselines/reference/narrowingByDiscriminantInLoop.types b/tests/baselines/reference/narrowingByDiscriminantInLoop.types index 88b284792aa24..296891846e7fa 100644 --- a/tests/baselines/reference/narrowingByDiscriminantInLoop.types +++ b/tests/baselines/reference/narrowingByDiscriminantInLoop.types @@ -41,7 +41,7 @@ interface ConstantMemberType { function insertInterface(callbackType: InterfaceType) { >insertInterface : (callbackType: InterfaceType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >callbackType : InterfaceType > : ^^^^^^^^^^^^^ @@ -116,7 +116,7 @@ function insertInterface(callbackType: InterfaceType) { function insertInterface2(callbackType: InterfaceType) { >insertInterface2 : (callbackType: InterfaceType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >callbackType : InterfaceType > : ^^^^^^^^^^^^^ @@ -159,7 +159,7 @@ function insertInterface2(callbackType: InterfaceType) { function foo(memberType: IDLMemberTypes) { >foo : (memberType: IDLMemberTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^ >memberType : IDLMemberTypes > : ^^^^^^^^^^^^^^ @@ -241,7 +241,7 @@ interface B { function f1(x: A | B) { >f1 : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -310,7 +310,7 @@ function f1(x: A | B) { function f2(x: A | B) { >f2 : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ diff --git a/tests/baselines/reference/narrowingByTypeofInSwitch.types b/tests/baselines/reference/narrowingByTypeofInSwitch.types index d6983485d8d21..b189148527dbe 100644 --- a/tests/baselines/reference/narrowingByTypeofInSwitch.types +++ b/tests/baselines/reference/narrowingByTypeofInSwitch.types @@ -58,7 +58,7 @@ function assertSymbol(x: symbol) { function assertFunction(x: Function) { >assertFunction : (x: Function) => Function -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >x : Function > : ^^^^^^^^ @@ -102,7 +102,7 @@ function assertUndefined(x: undefined) { function assertAll(x: Basic) { >assertAll : (x: Basic) => Basic -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^ >x : Basic > : ^^^^^ @@ -139,7 +139,7 @@ type Basic = number | boolean | string | symbol | object | Function | undefined; function testUnion(x: Basic) { >testUnion : (x: Basic) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Basic > : ^^^^^ @@ -230,7 +230,7 @@ function testUnion(x: Basic) { function testExtendsUnion(x: T) { >testExtendsUnion : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -418,7 +418,7 @@ function a1(x: string | object | undefined) { function testUnionExplicitDefault(x: Basic) { >testUnionExplicitDefault : (x: Basic) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Basic > : ^^^^^ @@ -480,7 +480,7 @@ function testUnionExplicitDefault(x: Basic) { function testUnionImplicitDefault(x: Basic) { >testUnionImplicitDefault : (x: Basic) => string | object | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : Basic > : ^^^^^ @@ -541,7 +541,7 @@ function testUnionImplicitDefault(x: Basic) { function testExtendsExplicitDefault(x: T) { >testExtendsExplicitDefault : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -604,7 +604,7 @@ function testExtendsExplicitDefault(x: T) { function testExtendsImplicitDefault(x: T) { >testExtendsImplicitDefault : (x: T) => Basic -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >x : T > : ^ @@ -679,7 +679,7 @@ type R = { x: string, y: number } function exhaustiveChecks(x: number | string | L | R): string { >exhaustiveChecks : (x: number | string | L | R) => string -> : ^^^^ ^ ^^^^^^ +> : ^^^^ ^^^^^ >x : string | number | R | L > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -733,7 +733,7 @@ function exhaustiveChecks(x: number | string | L | R): string { function exhaustiveChecksGenerics(x: T): string { >exhaustiveChecksGenerics : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -795,7 +795,7 @@ function exhaustiveChecksGenerics(x: T): stri function multipleGeneric(xy: X | Y): [X, string] | [Y, number] { >multipleGeneric : (xy: X | Y) => [X, string] | [Y, number] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >xy : X | Y > : ^^^^^ @@ -845,7 +845,7 @@ function multipleGeneric(xy: X | Y): [X, string] | [Y, function multipleGenericFuse(xy: X | Y): [X, number] | [Y, string] | [(X | Y)] { >multipleGenericFuse : (xy: X | Y) => [X, number] | [Y, string] | [(X | Y)] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >xy : X | Y > : ^^^^^ @@ -887,7 +887,7 @@ function multipleGenericFuse(xy: X | function multipleGenericExhaustive(xy: X | Y): [X, string] | [Y, number] { >multipleGenericExhaustive : (xy: X | Y) => [X, string] | [Y, number] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >xy : X | Y > : ^^^^^ @@ -1193,13 +1193,13 @@ function unknownNarrowing(x: unknown) { function keyofNarrowing(k: keyof S) { >keyofNarrowing : (k: keyof S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >k : keyof S > : ^^^^^^^ function assertKeyofS(k1: keyof S) { } >assertKeyofS : (k1: keyof S) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >k1 : keyof S > : ^^^^^^^ @@ -1469,7 +1469,7 @@ function narrowingNarrows2(x: true | 3 | 'hello' | undefined) { function testUnionWithTempalte(x: Basic) { >testUnionWithTempalte : (x: Basic) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Basic > : ^^^^^ @@ -1626,13 +1626,13 @@ function fallThroughTestWithTempalte(x: string | number | boolean | object) { function keyofNarrowingWithTemplate(k: keyof S) { >keyofNarrowingWithTemplate : (k: keyof S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >k : keyof S > : ^^^^^^^ function assertKeyofS(k1: keyof S) { } >assertKeyofS : (k1: keyof S) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >k1 : keyof S > : ^^^^^^^ @@ -1696,7 +1696,7 @@ function keyofNarrowingWithTemplate(k: key function multipleGenericFuseWithBoth(xy: X | Y): [X, number] | [Y, string] | [(X | Y)] { >multipleGenericFuseWithBoth : (xy: X | Y) => [X, number] | [Y, string] | [(X | Y)] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >xy : X | Y > : ^^^^^ diff --git a/tests/baselines/reference/narrowingConstrainedTypeParameter.types b/tests/baselines/reference/narrowingConstrainedTypeParameter.types index b0e2fbffec96b..9bdd472b1bf34 100644 --- a/tests/baselines/reference/narrowingConstrainedTypeParameter.types +++ b/tests/baselines/reference/narrowingConstrainedTypeParameter.types @@ -30,11 +30,11 @@ function isPet(pet: any): pet is Pet { export function speak(pet: TPet, voice: (pet: TPet) => string): string { >speak : (pet: TPet, voice: (pet: TPet) => string) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >pet : TPet > : ^^^^ >voice : (pet: TPet) => string -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >pet : TPet > : ^^^^ diff --git a/tests/baselines/reference/narrowingConstrainedTypeVariable.types b/tests/baselines/reference/narrowingConstrainedTypeVariable.types index 2d4da93ac20e8..ae6977d67e0d0 100644 --- a/tests/baselines/reference/narrowingConstrainedTypeVariable.types +++ b/tests/baselines/reference/narrowingConstrainedTypeVariable.types @@ -9,7 +9,7 @@ class C { } function f1(v: T | string): void { >f1 : (v: T | string) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >v : string | T > : ^^^^^^^^^^ @@ -42,7 +42,7 @@ class D { } function f2(v: T | U) { >f2 : (v: T | U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >v : T | U > : ^^^^^ @@ -77,7 +77,7 @@ class E { x: string | undefined } function f3(v: T | { x: string }) { >f3 : (v: T | { x: string; }) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >v : T | { x: string; } > : ^^^^^^^^^ ^^^ >x : string diff --git a/tests/baselines/reference/narrowingDestructuring.types b/tests/baselines/reference/narrowingDestructuring.types index a8f7c30333fd6..7538a322b42cd 100644 --- a/tests/baselines/reference/narrowingDestructuring.types +++ b/tests/baselines/reference/narrowingDestructuring.types @@ -15,7 +15,7 @@ type X = { kind: "a", a: string } | { kind: "b", b: string } function func(value: T) { >func : (value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T > : ^ @@ -90,7 +90,7 @@ type Z = { kind: "f", f: { a: number, b: string, c: number } } function func2(value: T) { >func2 : (value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T > : ^ @@ -155,7 +155,7 @@ function func2(value: T) { function func3(t: T) { >func3 : (t: T) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^ >kind : "a" > : ^^^ >a : string @@ -209,7 +209,7 @@ function func3(t: function farr(x: T) { >farr : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.types b/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.types index 5c6cd00e64550..66f2b73cdd3a6 100644 --- a/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.types +++ b/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.types @@ -17,19 +17,19 @@ class B { function acceptA(a: A) { } >acceptA : (a: A) => void -> : ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : A > : ^^^^ function acceptB(b: B) { } >acceptB : (b: B) => void -> : ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >b : B > : ^^^^ function test(x: A | B) { >test : (x: A | B) => void -> : ^^^^^^^^ ^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowingIntersection.types b/tests/baselines/reference/narrowingIntersection.types index 683822edabe50..77b5139b0695d 100644 --- a/tests/baselines/reference/narrowingIntersection.types +++ b/tests/baselines/reference/narrowingIntersection.types @@ -28,7 +28,7 @@ type Disjoint = function test1(result: Disjoint): string { >test1 : (result: Disjoint) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >result : Disjoint > : ^^^^^^^^ @@ -74,7 +74,7 @@ function want0(x: 0) {} function test2(a: 0 | TrivialIntersection) { >test2 : (a: 0 | TrivialIntersection) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : 0 | TrivialIntersection > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowingMutualSubtypes.types b/tests/baselines/reference/narrowingMutualSubtypes.types index db09a5ab9507a..719b0e8f78008 100644 --- a/tests/baselines/reference/narrowingMutualSubtypes.types +++ b/tests/baselines/reference/narrowingMutualSubtypes.types @@ -177,7 +177,7 @@ declare function isObject2(value: unknown): value is {}; function gg2(x: Record) { >gg2 : (x: Record) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -247,7 +247,7 @@ declare function isObject4(value: unknown): value is {}; function gg4(x: Record) { >gg4 : (x: Record) => void -> : ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Record > : ^^^^^^^^^^^^^^^^^^^ @@ -285,7 +285,7 @@ type Self = T extends unknown ? Identity : never; function is(value: T): value is Self { >is : (value: T) => value is Self -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ @@ -306,7 +306,7 @@ type Union = {a: number} | {b: number} | {c: number}; function example(x: Union) { >example : (x: Union) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Union > : ^^^^^ @@ -381,7 +381,7 @@ function example(x: Union) { function checksArrayOrObject1(obj: Record | Record[]) { >checksArrayOrObject1 : (obj: Record | Record[]) => void -> : ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Record | Record[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -484,7 +484,7 @@ function checksArrayOrObject1(obj: Record | Record[]) function checksArrayOrObject2(obj: Record | Record[]) { >checksArrayOrObject2 : (obj: Record | Record[]) => void -> : ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Record | Record[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowingOfDottedNames.types b/tests/baselines/reference/narrowingOfDottedNames.types index 6cf7d5a23b8ac..565d3229219d3 100644 --- a/tests/baselines/reference/narrowingOfDottedNames.types +++ b/tests/baselines/reference/narrowingOfDottedNames.types @@ -57,7 +57,7 @@ function isB(x: any): x is B { function f1(x: A | B) { >f1 : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -110,7 +110,7 @@ function f1(x: A | B) { function f2(x: A | B) { >f2 : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ diff --git a/tests/baselines/reference/narrowingOfQualifiedNames.types b/tests/baselines/reference/narrowingOfQualifiedNames.types index 4745e4804abb0..a1f7000073f08 100644 --- a/tests/baselines/reference/narrowingOfQualifiedNames.types +++ b/tests/baselines/reference/narrowingOfQualifiedNames.types @@ -20,7 +20,7 @@ interface IProperties { function init(properties: IProperties) { >init : (properties: IProperties) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^ >properties : IProperties > : ^^^^^^^^^^^ @@ -101,7 +101,7 @@ interface DeepOptional { function init2(foo: DeepOptional) { >init2 : (foo: DeepOptional) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : DeepOptional > : ^^^^^^^^^^^^ @@ -452,7 +452,7 @@ type Pet = Fish | Dog; function handleDogBroken(pet: PetType) { >handleDogBroken : (pet: PetType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >pet : PetType > : ^^^^^^^ @@ -498,7 +498,7 @@ function handleDogBroken(pet: PetType) { function handleDogWorking(pet: Pet) { >handleDogWorking : (pet: Pet) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >pet : Pet > : ^^^ diff --git a/tests/baselines/reference/narrowingPastLastAssignment.types b/tests/baselines/reference/narrowingPastLastAssignment.types index 90bdcbf740d56..62b7bd8043819 100644 --- a/tests/baselines/reference/narrowingPastLastAssignment.types +++ b/tests/baselines/reference/narrowingPastLastAssignment.types @@ -3,7 +3,7 @@ === narrowingPastLastAssignment.ts === function action(f: Function) {} >action : (f: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/narrowingPastLastAssignmentInModule.types b/tests/baselines/reference/narrowingPastLastAssignmentInModule.types index 304c45185f7e5..ce8b08e19336e 100644 --- a/tests/baselines/reference/narrowingPastLastAssignmentInModule.types +++ b/tests/baselines/reference/narrowingPastLastAssignmentInModule.types @@ -3,7 +3,7 @@ === narrowingPastLastAssignmentInModule.ts === function action(f: Function) {} >action : (f: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : Function > : ^^^^^^^^ diff --git a/tests/baselines/reference/narrowingRestGenericCall.types b/tests/baselines/reference/narrowingRestGenericCall.types index 73b8516a84a3a..1878971fefa62 100644 --- a/tests/baselines/reference/narrowingRestGenericCall.types +++ b/tests/baselines/reference/narrowingRestGenericCall.types @@ -13,11 +13,11 @@ interface Slugs { function call(obj: T, cb: (val: T) => void) { >call : (obj: T, cb: (val: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >obj : T > : ^ >cb : (val: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ diff --git a/tests/baselines/reference/narrowingTypeofDiscriminant.types b/tests/baselines/reference/narrowingTypeofDiscriminant.types index ff69d61b6b0eb..93840816bdb97 100644 --- a/tests/baselines/reference/narrowingTypeofDiscriminant.types +++ b/tests/baselines/reference/narrowingTypeofDiscriminant.types @@ -91,7 +91,7 @@ type WrappedStringOr = { value?: string } | { value?: T }; function numberOk(wrapped: WrappedStringOr | null) { >numberOk : (wrapped: WrappedStringOr | null) => string | null -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >wrapped : WrappedStringOr | null > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -122,7 +122,7 @@ function numberOk(wrapped: WrappedStringOr | null) { function booleanBad(wrapped: WrappedStringOr | null) { >booleanBad : (wrapped: WrappedStringOr | null) => string | null -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >wrapped : WrappedStringOr | null > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -153,7 +153,7 @@ function booleanBad(wrapped: WrappedStringOr | null) { function booleanFixed(wrapped: WrappedStringOr | null) { >booleanFixed : (wrapped: WrappedStringOr | null) => string | null -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >wrapped : WrappedStringOr | null > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowingTypeofFunction.types b/tests/baselines/reference/narrowingTypeofFunction.types index 2f87a311821f4..f0dedd2975d33 100644 --- a/tests/baselines/reference/narrowingTypeofFunction.types +++ b/tests/baselines/reference/narrowingTypeofFunction.types @@ -11,7 +11,7 @@ interface F { (): string } function f1(a: (F & Meta) | string) { >f1 : (a: (F & Meta) | string) => void -> : ^^^^ ^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : string | (F & Meta) > : ^^^^^^^^^^^^^^^^^^^ @@ -38,7 +38,7 @@ function f1(a: (F & Meta) | string) { function f2(x: (T & F) | T & string) { >f2 : (x: (T & F) | (T & string)) => void -> : ^^^^^^^ ^ ^ ^^ ^^^^^^^^^^ +> : ^ ^^^^^ ^ ^^^^^^^^^^ >x : (T & F) | (T & string) > : ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/narrowingTypeofObject.types b/tests/baselines/reference/narrowingTypeofObject.types index c4e349bffdc85..b0448dbb980f6 100644 --- a/tests/baselines/reference/narrowingTypeofObject.types +++ b/tests/baselines/reference/narrowingTypeofObject.types @@ -29,7 +29,7 @@ function test(x: number & { _foo: string }) { function f1(x: F & { foo: number }) { >f1 : (x: F & { foo: number; }) => void -> : ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : F & { foo: number; } > : ^^^^^^^^^^^ ^^^ >foo : number diff --git a/tests/baselines/reference/narrowingTypeofUndefined2.types b/tests/baselines/reference/narrowingTypeofUndefined2.types index 4c95617afefa8..9a5163bfe3c7a 100644 --- a/tests/baselines/reference/narrowingTypeofUndefined2.types +++ b/tests/baselines/reference/narrowingTypeofUndefined2.types @@ -3,13 +3,13 @@ === narrowingTypeofUndefined2.ts === declare function takeArray(arr: Array): void; >takeArray : (arr: Array) => void -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^ >arr : unknown[] > : ^^^^^^^^^ function fn | undefined>(arg: T) { >fn : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/narrowingUnionToUnion.types b/tests/baselines/reference/narrowingUnionToUnion.types index 07ad2eba1d7ff..b7ca181a12ea5 100644 --- a/tests/baselines/reference/narrowingUnionToUnion.types +++ b/tests/baselines/reference/narrowingUnionToUnion.types @@ -35,7 +35,7 @@ function fx1(x: string | number | undefined) { function fx2(x: T | undefined) { >fx2 : (x: T | undefined) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T | undefined > : ^^^^^^^^^^^^^ @@ -55,7 +55,7 @@ function fx2(x: T | undefined) { function fx3(x: T) { >fx3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -143,7 +143,7 @@ declare function isXSorY(obj: unknown): obj is XS | Y; function fx5(obj: X | YS, c: typeof XS | typeof Y) { >fx5 : (obj: X | YS, c: typeof XS | typeof Y) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >obj : X | YS > : ^^^^^^ >c : typeof XS | typeof Y @@ -296,13 +296,13 @@ declare function isMaybeZero(value: number | null | undefined): value is 0 | nul declare function isEmptyArray(value: T[]): value is []; >isEmptyArray : (value: T[]) => value is [] -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >value : T[] > : ^^^ declare function isMaybeEmptyArray(value: T[] | null | undefined): value is [] | null | undefined; >isMaybeEmptyArray : (value: T[] | null | undefined) => value is [] | null | undefined -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : T[] | null | undefined > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -517,7 +517,7 @@ type EmptyString = '' | null | undefined; function isEmpty(value: string | EmptyString): value is EmptyString { >isEmpty : (value: string | EmptyString) => value is EmptyString -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >value : string | null | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -880,7 +880,7 @@ type Union = function example1(value: Union): { type: 'a'; variant: 2 } | null { >example1 : (value: Union) => { type: 'a'; variant: 2; } | null -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Union > : ^^^^^ >type : "a" @@ -923,7 +923,7 @@ function example1(value: Union): { type: 'a'; variant: 2 } | null { function example2(value: Union): { type: 'a'; variant: 2 } | null { >example2 : (value: Union) => { type: 'a'; variant: 2; } | null -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Union > : ^^^^^ >type : "a" @@ -978,7 +978,7 @@ function example2(value: Union): { type: 'a'; variant: 2 } | null { function example3(value: Union): { type: 'a'; variant: 2 } | null { >example3 : (value: Union) => { type: 'a'; variant: 2; } | null -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Union > : ^^^^^ >type : "a" diff --git a/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.types b/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.types index 743e8667775f2..b2ff013ef250b 100644 --- a/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.types +++ b/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.types @@ -3,19 +3,19 @@ === nearbyIdenticalGenericLambdasAssignable.ts === declare const fA: () => { v: T }; >fA : () => { v: T; } -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >v : T > : ^ const fB = () => { >fB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >() => { return { v: '' as any as T };} : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ return { v: '' as any as T }; >{ v: '' as any as T } : { v: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >v : T > : ^ >'' as any as T : T @@ -27,13 +27,13 @@ const fB = () => { }; const fC = () => { >fC : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >() => { return {} as any as { v: T };} : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ return {} as any as { v: T }; >{} as any as { v: T } : { v: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >{} as any : any >{} : {} > : ^^ @@ -51,9 +51,9 @@ type TA = typeof fA; type TB = typeof fB; >TB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >fB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ type TC = typeof fC; >TC : () => { v: T; } @@ -69,25 +69,25 @@ type TL = () => { v: T }; declare function accA(x: TA): void; >accA : (x: TA) => void -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : () => { v: T; } > : ^^^^^^^^^^^^^^^^^^ declare function accB(x: TB): void; >accB : (x: TB) => void -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ declare function accC(x: TC): void; >accC : (x: TC) => void -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : () => { v: T; } > : ^^^^^^^^^^^^^^^^^^ declare function accL(x: TL): void; >accL : (x: TL) => void -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : TL > : ^^ @@ -104,7 +104,7 @@ accA(fA); accA(fB); accA(fC); >accA : (x: () => { v: T; }) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >accA(fC) : void > : ^^^^ >accA : (x: () => { v: T; }) => void @@ -117,19 +117,19 @@ accB(fA); accB(fB); accB(fC); >accB(fA) : void > : ^^^^ >accB : (x: () => { v: T; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ >fA : () => { v: T; } > : ^^^^^^^^^^^^^^^^^^ >accB(fB) : void > : ^^^^ >accB : (x: () => { v: T; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ >fB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >accB(fC) : void > : ^^^^ >accB : (x: () => { v: T; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ >fC : () => { v: T; } > : ^^^^^^^^^^^^^^^^^^ @@ -146,7 +146,7 @@ accC(fA); accC(fB); accC(fC); >accC : (x: () => { v: T; }) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >accC(fC) : void > : ^^^^ >accC : (x: () => { v: T; }) => void @@ -167,7 +167,7 @@ accL(fA); accL(fB); accL(fC); >accL : (x: TL) => void > : ^^^^^^^^^^^^^^^ >fB : () => { v: T; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^ >accL(fC) : void > : ^^^^ >accL : (x: TL) => void diff --git a/tests/baselines/reference/nestedCallbackErrorNotFlattened.types b/tests/baselines/reference/nestedCallbackErrorNotFlattened.types index 1fbd2759dcdc0..f23415587861b 100644 --- a/tests/baselines/reference/nestedCallbackErrorNotFlattened.types +++ b/tests/baselines/reference/nestedCallbackErrorNotFlattened.types @@ -3,9 +3,9 @@ === nestedCallbackErrorNotFlattened.ts === type Cb = {noAlias: () => T}["noAlias"]; // `"noAlias"` here prevents an alias symbol from being made >Cb : () => T -> : ^^^^^^^ +> : ^^^^^^ >noAlias : () => T -> : ^^^^^^^ +> : ^^^^^^ // which means the comparison will definitely be structural, rather than by variance diff --git a/tests/baselines/reference/nestedExcessPropertyChecking.types b/tests/baselines/reference/nestedExcessPropertyChecking.types index e5e4421002091..42e0e1738f9f5 100644 --- a/tests/baselines/reference/nestedExcessPropertyChecking.types +++ b/tests/baselines/reference/nestedExcessPropertyChecking.types @@ -100,7 +100,7 @@ type OverridesInput = { const foo1: Partial<{ something: any }> & { variables: { >foo1 : Partial<{ something: any; }> & { variables: { overrides?: OverridesInput; } & Partial<{ overrides?: OverridesInput; }>; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ >something : any > : ^^^ >variables : { overrides?: OverridesInput | undefined; } & Partial<{ overrides?: OverridesInput | undefined; }> @@ -142,7 +142,7 @@ interface VariablesB { overrides?: OverridesInput; } const foo2: Unrelated & { variables: VariablesA & VariablesB } = { >foo2 : Unrelated & { variables: VariablesA & VariablesB; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >variables : VariablesA & VariablesB > : ^^^^^^^^^^^^^^^^^^^^^^^ >{ variables: { overrides: false // Error }} : { variables: { overrides: boolean; }; } diff --git a/tests/baselines/reference/nestedGenericSpreadInference.types b/tests/baselines/reference/nestedGenericSpreadInference.types index f9218538452a2..46936f8c28c90 100644 --- a/tests/baselines/reference/nestedGenericSpreadInference.types +++ b/tests/baselines/reference/nestedGenericSpreadInference.types @@ -3,7 +3,7 @@ === nestedGenericSpreadInference.ts === declare function wrap(x: X): { x: X }; >wrap : (x: X) => { x: X; } -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : X > : ^ >x : X @@ -11,11 +11,11 @@ declare function wrap(x: X): { x: X }; declare function call(x: { x: (...args: A) => T }, ...args: A): T; >call : (x: { x: (...args: A) => T; }, ...args: A) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^ >x : { x: (...args: A) => T; } -> : ^^^^^ ^ ^^^^ +> : ^^^^^ ^^^ >x : (...args: A) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : A > : ^ >args : A @@ -34,7 +34,7 @@ const leak = call(wrap((x: T) => x), 1); >wrap : (x: X) => { x: X; } > : ^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/nestedHomomorphicMappedTypesWithArrayConstraint1.types b/tests/baselines/reference/nestedHomomorphicMappedTypesWithArrayConstraint1.types index 07b494dd49c22..eb90c7815cf47 100644 --- a/tests/baselines/reference/nestedHomomorphicMappedTypesWithArrayConstraint1.types +++ b/tests/baselines/reference/nestedHomomorphicMappedTypesWithArrayConstraint1.types @@ -13,7 +13,7 @@ type MatchArguments = { interface SinonSpyCallApi { calledWith(...args: Partial>): boolean; >calledWith : (...args: Partial>) => boolean -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : Partial> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.types b/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.types index 3f444998a0d3c..0c4f433e1bed5 100644 --- a/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.types +++ b/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.types @@ -4,12 +4,12 @@ interface F { t: G T>>; >t : G T>> -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^ } interface G { t: G U>>; >t : G U>> -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^ } var f: F; diff --git a/tests/baselines/reference/nestedTypeVariableInfersLiteral.types b/tests/baselines/reference/nestedTypeVariableInfersLiteral.types index dd14d0d30cae2..608ec0807d1e7 100644 --- a/tests/baselines/reference/nestedTypeVariableInfersLiteral.types +++ b/tests/baselines/reference/nestedTypeVariableInfersLiteral.types @@ -4,23 +4,23 @@ // https://github.com/Microsoft/TypeScript/issues/19632 declare function direct(a: A | A[]): Record >direct : (a: A | A[]) => Record -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >a : A | A[] > : ^^^^^^^ declare function nested(a: { fields: A }): Record >nested : (a: { fields: A; }) => Record -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >a : { fields: A; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ >fields : A > : ^ declare function nestedUnion(a: { fields: A | A[] }): Record >nestedUnion : (a: { fields: A | A[]; }) => Record -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >a : { fields: A | A[]; } -> : ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^ ^^^ >fields : A | A[] > : ^^^^^^^ diff --git a/tests/baselines/reference/neverAsDiscriminantType(strict=false).types b/tests/baselines/reference/neverAsDiscriminantType(strict=false).types index c1dde73ac5ea0..3f5388661525e 100644 --- a/tests/baselines/reference/neverAsDiscriminantType(strict=false).types +++ b/tests/baselines/reference/neverAsDiscriminantType(strict=false).types @@ -15,7 +15,7 @@ type Foo1 = { kind: 'a', a: number } | { kind: 'b' } | { kind: never }; function f1(foo: Foo1) { >f1 : (foo: Foo1) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo1 > : ^^^^ @@ -55,7 +55,7 @@ type Foo2 = { kind?: 'a', a: number } | { kind?: 'b' } | { kind?: never }; function f2(foo: Foo2) { >f2 : (foo: Foo2) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo2 > : ^^^^ @@ -233,7 +233,7 @@ function assertMessage(event: { a: 1 }) { } export async function adaptSession(input: GatewayPayload) { >adaptSession : (input: GatewayPayload) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >input : GatewayPayload > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/neverAsDiscriminantType(strict=true).types b/tests/baselines/reference/neverAsDiscriminantType(strict=true).types index fdd2b94b4641b..c1f01bfb026ba 100644 --- a/tests/baselines/reference/neverAsDiscriminantType(strict=true).types +++ b/tests/baselines/reference/neverAsDiscriminantType(strict=true).types @@ -15,7 +15,7 @@ type Foo1 = { kind: 'a', a: number } | { kind: 'b' } | { kind: never }; function f1(foo: Foo1) { >f1 : (foo: Foo1) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo1 > : ^^^^ @@ -55,7 +55,7 @@ type Foo2 = { kind?: 'a', a: number } | { kind?: 'b' } | { kind?: never }; function f2(foo: Foo2) { >f2 : (foo: Foo2) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo2 > : ^^^^ @@ -233,7 +233,7 @@ function assertMessage(event: { a: 1 }) { } export async function adaptSession(input: GatewayPayload) { >adaptSession : (input: GatewayPayload) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >input : GatewayPayload > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/neverInference.types b/tests/baselines/reference/neverInference.types index 1933746d7d4e9..bb680c8ed0ba2 100644 --- a/tests/baselines/reference/neverInference.types +++ b/tests/baselines/reference/neverInference.types @@ -3,7 +3,7 @@ === neverInference.ts === declare function f1(x: T[]): T; >f1 : (x: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T[] > : ^^^ @@ -71,7 +71,7 @@ declare function compareNumbers(x: number, y: number): number; declare function mkList(items: T[], comparator: Comparator): LinkedList; >mkList : (items: T[], comparator: Comparator) => LinkedList -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ >comparator : Comparator @@ -93,13 +93,13 @@ const list: LinkedList = mkList([], compareNumbers); declare function f2(as1: a[], as2: a[], cmp: (a1: a, a2: a) => number): void; >f2 : (as1: a[], as2: a[], cmp: (a1: a, a2: a) => number) => void -> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ >as1 : a[] > : ^^^ >as2 : a[] > : ^^^ >cmp : (a1: a, a2: a) => number -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >a1 : a > : ^ >a2 : a diff --git a/tests/baselines/reference/neverReturningFunctions1.types b/tests/baselines/reference/neverReturningFunctions1.types index c1ada8d1834dc..1ac18829be650 100644 --- a/tests/baselines/reference/neverReturningFunctions1.types +++ b/tests/baselines/reference/neverReturningFunctions1.types @@ -742,7 +742,7 @@ export interface Component { init(data?: T): void; >init : (data?: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >data : T | undefined > : ^^^^^^^^^^^^^ @@ -768,7 +768,7 @@ export interface Component { update(oldData: T): void; >update : (oldData: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >oldData : T > : ^ @@ -821,7 +821,7 @@ export interface ComponentConstructor { declare function registerComponent( >registerComponent : (name: string, component: ComponentDefinition) => ComponentConstructor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ name: string, >name : string @@ -1065,7 +1065,7 @@ interface Services { function foo(services: Readonly, s: string | null): string { >foo : (services: Readonly, s: string | null) => string -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^^^ >services : Readonly > : ^^^^^^^^^^^^^^^^^^ >s : string | null diff --git a/tests/baselines/reference/neverType.types b/tests/baselines/reference/neverType.types index 1569e0e253a23..fec991c70f0d3 100644 --- a/tests/baselines/reference/neverType.types +++ b/tests/baselines/reference/neverType.types @@ -167,7 +167,7 @@ function move2(direction: "up" | "down") { function check(x: T | undefined) { >check : (x: T | undefined) => NonNullable -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >x : T | undefined > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/neverTypeErrors1.types b/tests/baselines/reference/neverTypeErrors1.types index e8247fc8ec403..72c3e618e4520 100644 --- a/tests/baselines/reference/neverTypeErrors1.types +++ b/tests/baselines/reference/neverTypeErrors1.types @@ -130,7 +130,7 @@ type Union = A & B; function func(): { value: Union[] } { >func : () => { value: Union[]; } -> : ^^^^^^ ^^^^^ +> : ^^^^^^ >value : never[] > : ^^^^^^^ diff --git a/tests/baselines/reference/neverTypeErrors2.types b/tests/baselines/reference/neverTypeErrors2.types index f3c343765cc0f..006351edc555a 100644 --- a/tests/baselines/reference/neverTypeErrors2.types +++ b/tests/baselines/reference/neverTypeErrors2.types @@ -130,7 +130,7 @@ type Union = A & B; function func(): { value: Union[] } { >func : () => { value: Union[]; } -> : ^^^^^^ ^^^^^ +> : ^^^^^^ >value : never[] > : ^^^^^^^ diff --git a/tests/baselines/reference/newOperator.types b/tests/baselines/reference/newOperator.types index 7532b6e42b8ea..4506c0c5d1009 100644 --- a/tests/baselines/reference/newOperator.types +++ b/tests/baselines/reference/newOperator.types @@ -163,7 +163,7 @@ new ctorUnion(""); // Error on union with incompatible constructors declare const ctorUnion2: (new (a: T) => void) | (new (a: string) => void) >ctorUnion2 : (new (a: T) => void) | (new (a: string) => void) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^ >a : T > : ^ >a : string diff --git a/tests/baselines/reference/newOperatorConformance.types b/tests/baselines/reference/newOperatorConformance.types index fe2919aba78b8..90a2e1e97ae03 100644 --- a/tests/baselines/reference/newOperatorConformance.types +++ b/tests/baselines/reference/newOperatorConformance.types @@ -98,7 +98,7 @@ var d = new anyCtor1(undefined); // Construct expression of type where apparent type has a construct signature with 0 arguments function newFn1(s: T) { >newFn1 : number>(s: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >s : T > : ^ @@ -118,7 +118,7 @@ function newFn1(s: T) { // Construct expression of type where apparent type has a construct signature with 1 arguments function newFn2(s: T) { >newFn2 : string>(s: T) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >s : number > : ^^^^^^ >s : T diff --git a/tests/baselines/reference/noAsConstNameLookup.types b/tests/baselines/reference/noAsConstNameLookup.types index 72afab55ba622..d3340227f6bea 100644 --- a/tests/baselines/reference/noAsConstNameLookup.types +++ b/tests/baselines/reference/noAsConstNameLookup.types @@ -27,7 +27,7 @@ export class FeatureRunner { async runFeature(): Promise { >runFeature : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ const objectWhichShouldBeConst = { >objectWhichShouldBeConst : { readonly flags: {}; readonly settings: {}; } @@ -57,7 +57,7 @@ export class FeatureRunner { async run(): Promise { >run : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ const result = {} >result : {} diff --git a/tests/baselines/reference/noConstraintInReturnType1.types b/tests/baselines/reference/noConstraintInReturnType1.types index 1ca0683cf5e0d..de53c6dadb72c 100644 --- a/tests/baselines/reference/noConstraintInReturnType1.types +++ b/tests/baselines/reference/noConstraintInReturnType1.types @@ -7,6 +7,6 @@ class List { static empty(): List { return null; } >empty : () => List -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/noCrashOnMixin.types b/tests/baselines/reference/noCrashOnMixin.types index cfd25abeed280..acc894bc32766 100644 --- a/tests/baselines/reference/noCrashOnMixin.types +++ b/tests/baselines/reference/noCrashOnMixin.types @@ -24,7 +24,7 @@ type Constructor = new (...args: any[]) => T; function Mixin(Base: TBase) { >Mixin : >(Base: TBase) => { new (...args: any[]): (Anonymous class); prototype: Mixin.(Anonymous class); } & TBase -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : TBase > : ^^^^^ diff --git a/tests/baselines/reference/noCrashOnThisTypeUsage.types b/tests/baselines/reference/noCrashOnThisTypeUsage.types index 4868ba535e6fe..4100ec4d5d371 100644 --- a/tests/baselines/reference/noCrashOnThisTypeUsage.types +++ b/tests/baselines/reference/noCrashOnThisTypeUsage.types @@ -19,7 +19,7 @@ interface IListenable { function notifyListeners(listenable: IListenable, change: T) { >notifyListeners : (listenable: IListenable, change: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >listenable : IListenable > : ^^^^^^^^^^^ >change : T diff --git a/tests/baselines/reference/noImplicitAnyDestructuringInPrivateMethod.types b/tests/baselines/reference/noImplicitAnyDestructuringInPrivateMethod.types index 25ea5dc9480ba..136b07563707b 100644 --- a/tests/baselines/reference/noImplicitAnyDestructuringInPrivateMethod.types +++ b/tests/baselines/reference/noImplicitAnyDestructuringInPrivateMethod.types @@ -16,7 +16,7 @@ export class Bar { private bar({ a, }: Arg): number { >bar : ({ a, }: Arg) => number -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >a : number > : ^^^^^^ diff --git a/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.types b/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.types index 7105ed5e732a5..3888fb5d40f38 100644 --- a/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.types +++ b/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.types @@ -6,7 +6,7 @@ var x: (a: any) => void = function (x: T) { > : ^^^^ ^^^^^ >a : any >function (x: T) { return null;} : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ @@ -18,9 +18,9 @@ var x2: (a: any) => void = function f(x: T) { > : ^^^^ ^^^^^ >a : any >function f(x: T) { return null;} : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >f : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.types b/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.types index b8336098395a7..e390ee691d130 100644 --- a/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.types +++ b/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.types @@ -664,13 +664,13 @@ o[strEnumKey]; interface MyMap { get(key: K): T; >get : (key: K) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : K > : ^ set(key: K, value: T): void; >set : (key: K, value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : T diff --git a/tests/baselines/reference/noImplicitAnyWithOverloads.types b/tests/baselines/reference/noImplicitAnyWithOverloads.types index 85854ff61ac06..62f46ddafd3c5 100644 --- a/tests/baselines/reference/noImplicitAnyWithOverloads.types +++ b/tests/baselines/reference/noImplicitAnyWithOverloads.types @@ -10,17 +10,17 @@ interface B { } function callb(lam: (l: A) => void); >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; } -> : ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >lam : (l: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >l : A > : ^ function callb(lam: (n: B) => void); >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >lam : (n: B) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >n : B > : ^ diff --git a/tests/baselines/reference/noImplicitReturnsExclusions.types b/tests/baselines/reference/noImplicitReturnsExclusions.types index 3a7e5be21e2f2..0cc7dece6e0ee 100644 --- a/tests/baselines/reference/noImplicitReturnsExclusions.types +++ b/tests/baselines/reference/noImplicitReturnsExclusions.types @@ -208,28 +208,28 @@ declare class HistoryItem { interface Thenable { then( >then : { (onfulfilled?: (value: T) => TResult | Thenable, onrejected?: (reason: any) => TResult | Thenable): Thenable; (onfulfilled?: ((value: T) => TResult_1 | Thenable) | undefined, onrejected?: ((reason: any) => void) | undefined): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ onfulfilled?: (value: T) => TResult | Thenable, >onfulfilled : ((value: T) => TResult | Thenable) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : T > : ^ onrejected?: (reason: any) => TResult | Thenable >onrejected : ((reason: any) => TResult | Thenable) | undefined -> : ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >reason : any > : ^^^ ): Thenable; then( >then : { (onfulfilled?: ((value: T) => TResult_1 | Thenable) | undefined, onrejected?: ((reason: any) => TResult_1 | Thenable) | undefined): Thenable; (onfulfilled?: (value: T) => TResult | Thenable, onrejected?: (reason: any) => void): Thenable; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^ onfulfilled?: (value: T) => TResult | Thenable, >onfulfilled : ((value: T) => TResult | Thenable) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : T > : ^ @@ -244,7 +244,7 @@ interface Thenable { export declare function executeCommand( >executeCommand : (command: string, ...rest: any[]) => Thenable -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ command: string, >command : string diff --git a/tests/baselines/reference/noImplicitReturnsInAsync2.types b/tests/baselines/reference/noImplicitReturnsInAsync2.types index 78e7a0481160f..0df9d257df384 100644 --- a/tests/baselines/reference/noImplicitReturnsInAsync2.types +++ b/tests/baselines/reference/noImplicitReturnsInAsync2.types @@ -50,7 +50,7 @@ async function test4(isError: boolean = true) { // should not be error, Promise currently working correctly async function test5(isError: boolean = true): Promise { //should not be error >test5 : (isError?: boolean) => Promise -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >isError : boolean > : ^^^^^^^ >true : true @@ -74,7 +74,7 @@ async function test5(isError: boolean = true): Promise { //should not be er // should be error, currently reported correctly async function test6(isError: boolean = true): Promise { >test6 : (isError?: boolean) => Promise -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >isError : boolean > : ^^^^^^^ >true : true diff --git a/tests/baselines/reference/noImplicitSymbolToString.types b/tests/baselines/reference/noImplicitSymbolToString.types index 1833869c6e69e..57ea5acf9e6b5 100644 --- a/tests/baselines/reference/noImplicitSymbolToString.types +++ b/tests/baselines/reference/noImplicitSymbolToString.types @@ -66,7 +66,7 @@ type StringOrSymbol = string | symbol; function getKey(key: S) { >getKey : (key: S) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >key : S > : ^ @@ -79,7 +79,7 @@ function getKey(key: S) { function getKey1(key: S) { >getKey1 : (key: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >key : S > : ^ @@ -134,7 +134,7 @@ function getKey1(key: S) { function getKey2(key: S) { >getKey2 : (key: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >key : S > : ^ diff --git a/tests/baselines/reference/noInfer.types b/tests/baselines/reference/noInfer.types index 66c1d7301136b..23194ad7a03c8 100644 --- a/tests/baselines/reference/noInfer.types +++ b/tests/baselines/reference/noInfer.types @@ -81,7 +81,7 @@ type T32 = { [K in keyof NoInfer<{ a: string, b: string }>]: K }; declare function foo1(a: T, b: NoInfer): void >foo1 : (a: T, b: NoInfer) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : NoInfer @@ -89,7 +89,7 @@ declare function foo1(a: T, b: NoInfer): void declare function foo2(a: T, b: NoInfer[]): void >foo2 : (a: T, b: NoInfer[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : NoInfer[] @@ -97,7 +97,7 @@ declare function foo2(a: T, b: NoInfer[]): void declare function foo3(a: T, b: NoInfer): void >foo3 : (a: T, b: NoInfer) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : NoInfer @@ -105,21 +105,21 @@ declare function foo3(a: T, b: NoInfer): void declare function foo4(a: T, b: { x: NoInfer }): void >foo4 : (a: T, b: { x: NoInfer; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : { x: NoInfer; } -> : ^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^ ^^^ >x : NoInfer > : ^^^^^^^^^^ declare function foo5(a: T, b: NoInfer<{ x: T }>): void >foo5 : (a: T, b: NoInfer<{ x: T; }>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : NoInfer<{ x: T; }> -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^ >x : T > : ^ @@ -211,11 +211,11 @@ declare class Dog extends Animal { woof(): void } declare function doSomething(value: T, getDefault: () => NoInfer): void; >doSomething : (value: T, getDefault: () => NoInfer) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >getDefault : () => NoInfer -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ doSomething(new Animal(), () => new Animal()); // ok >doSomething(new Animal(), () => new Animal()) : void @@ -267,7 +267,7 @@ doSomething(new Dog(), () => new Animal()); // error declare function assertEqual(actual: T, expected: NoInfer): boolean; >assertEqual : (actual: T, expected: NoInfer) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >actual : T > : ^ >expected : NoInfer @@ -321,9 +321,9 @@ assertEqual(g, { x: 3 }); // error declare function invoke(func: (value: T) => R, value: NoInfer): R; >invoke : (func: (value: T) => R, value: NoInfer) => R -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >func : (value: T) => R -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >value : NoInfer @@ -379,7 +379,7 @@ type Component = { props: Props; }; declare function doWork(Component: Component, props: NoInfer): void; >doWork : (Component: Component, props: NoInfer) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >Component : Component > : ^^^^^^^^^^^^^^^^ >props : NoInfer @@ -417,9 +417,9 @@ doWork(comp, {}); // error declare function mutate(callback: (a: NoInfer, b: number) => T): T; >mutate : (callback: (a: NoInfer, b: number) => T) => T -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (a: NoInfer, b: number) => T -> : ^^^^^^^^^^^ ^ ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : NoInfer > : ^^^^^^^^^^ >b : number diff --git a/tests/baselines/reference/noInferRedeclaration.types b/tests/baselines/reference/noInferRedeclaration.types index fcc63539b2f5e..cab51797563f8 100644 --- a/tests/baselines/reference/noInferRedeclaration.types +++ b/tests/baselines/reference/noInferRedeclaration.types @@ -3,9 +3,9 @@ === a.ts === export const f = (x: T, y: NoInfer) => x; >f : (x: T, y: NoInfer) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >(x: T, y: NoInfer) => x : (x: T, y: NoInfer) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : NoInfer diff --git a/tests/baselines/reference/noIterationTypeErrorsInCFA.types b/tests/baselines/reference/noIterationTypeErrorsInCFA.types index defb91f453775..b15cbced05dfa 100644 --- a/tests/baselines/reference/noIterationTypeErrorsInCFA.types +++ b/tests/baselines/reference/noIterationTypeErrorsInCFA.types @@ -8,7 +8,7 @@ interface F { } export function doRemove(dds: F | F[]) { >doRemove : (dds: F | F[]) => F[] -> : ^^^^^^^ ^ ^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >dds : F | F[] > : ^^^^^^^ diff --git a/tests/baselines/reference/noStrictGenericChecks.types b/tests/baselines/reference/noStrictGenericChecks.types index 2c4cfeb053549..9a6711d751c3e 100644 --- a/tests/baselines/reference/noStrictGenericChecks.types +++ b/tests/baselines/reference/noStrictGenericChecks.types @@ -19,7 +19,7 @@ type B = (x: S, y: S) => [S, S]; function f(a: A, b: B) { >f : (a: A, b: B) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/noSubtypeReduction.types b/tests/baselines/reference/noSubtypeReduction.types index 980657623b9e9..186837d7fa430 100644 --- a/tests/baselines/reference/noSubtypeReduction.types +++ b/tests/baselines/reference/noSubtypeReduction.types @@ -23,7 +23,7 @@ export interface IAB { export function F(x: IA | IAB) { >F : (x: IA | IAB) => void -> : ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : IA | IAB > : ^^^^^^^^ diff --git a/tests/baselines/reference/noUncheckedIndexedAccess.types b/tests/baselines/reference/noUncheckedIndexedAccess.types index 4240ab24595a4..bb8fff44fece1 100644 --- a/tests/baselines/reference/noUncheckedIndexedAccess.types +++ b/tests/baselines/reference/noUncheckedIndexedAccess.types @@ -406,7 +406,7 @@ const num_ok5: boolean = numMap[NumericEnum2.A]; // Generics function generic1(arg: T): boolean { >generic1 : (arg: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >s : string > : ^^^^^^ >arg : T @@ -423,7 +423,7 @@ function generic1(arg: T): boolean { } function generic2(arg: T): boolean { >generic2 : (arg: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >s : string > : ^^^^^^ >arg : T @@ -442,7 +442,7 @@ function generic2(arg: T): boolean { } function generic3(arg: T): boolean { >generic3 : (arg: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -618,9 +618,9 @@ declare const myRecord2: { a: string; b: string, [key: string]: string }; const fn1 = (key: Key): string => myRecord1[key]; // Should OK >fn1 : (key: Key) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(key: Key): string => myRecord1[key] : (key: Key) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >myRecord1 : { a: string; b: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >key : Key @@ -634,9 +634,9 @@ const fn1 = (key: Key): string => myRecord1[ const fn2 = (key: Key): string => myRecord2[key]; // Should OK >fn2 : (key: Key) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(key: Key): string => myRecord2[key] : (key: Key) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >myRecord1 : { a: string; b: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >key : Key @@ -650,9 +650,9 @@ const fn2 = (key: Key): string => myRecord2[ const fn3 = (key: Key) => { >fn3 : (key: Key) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(key: Key) => { myRecord2[key] = undefined; // Should error const v: string = myRecord2[key]; // Should error} : (key: Key) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >myRecord2 : { [key: string]: string; a: string; b: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : Key diff --git a/tests/baselines/reference/noUnusedLocals_destructuringAssignment.types b/tests/baselines/reference/noUnusedLocals_destructuringAssignment.types index ae9ad2501b3ca..2127b62edf822 100644 --- a/tests/baselines/reference/noUnusedLocals_destructuringAssignment.types +++ b/tests/baselines/reference/noUnusedLocals_destructuringAssignment.types @@ -38,7 +38,7 @@ class C { private f(): Function { >f : () => Function -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ let f: Function; >f : Function diff --git a/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.types b/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.types index d0a28790c37c5..b16e1e36fdec8 100644 --- a/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.types +++ b/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.types @@ -20,13 +20,13 @@ function useParam(T: number) { function useTypeParam(T: T) {} >useTypeParam : (T: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >T : T > : ^ function useBoth(T: T) { >useBoth : (T: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >T : T > : ^ diff --git a/tests/baselines/reference/noUnusedLocals_writeOnly.types b/tests/baselines/reference/noUnusedLocals_writeOnly.types index 7d226e28cdcd9..57057ffcfff3e 100644 --- a/tests/baselines/reference/noUnusedLocals_writeOnly.types +++ b/tests/baselines/reference/noUnusedLocals_writeOnly.types @@ -191,7 +191,7 @@ function f(x = 0, b = false) { } function f2(_: ReadonlyArray): void {} >f2 : (_: ReadonlyArray) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >_ : readonly number[] > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/noUsedBeforeDefinedErrorInTypeContext.types b/tests/baselines/reference/noUsedBeforeDefinedErrorInTypeContext.types index 937bf1043be87..5ab875bd648de 100644 --- a/tests/baselines/reference/noUsedBeforeDefinedErrorInTypeContext.types +++ b/tests/baselines/reference/noUsedBeforeDefinedErrorInTypeContext.types @@ -12,7 +12,7 @@ interface IThing { var foo = { >foo : any >{ one: {} as IThing,} : { one: IThing; } -> : ^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^ ^^^ one: {} as IThing, >one : IThing @@ -26,9 +26,9 @@ var foo = { let baz = { >baz : { two: IThing; } -> : ^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^ ^^^ >{ two: {} as IThing,} : { two: IThing; } -> : ^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^ ^^^ two: {} as IThing, >two : IThing @@ -43,7 +43,7 @@ let baz = { let bar = { >bar : any >{ three: {} as IThing,} : { three: IThing; } -> : ^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^ ^^^ three: {} as IThing, >three : IThing @@ -58,7 +58,7 @@ let bar = { const qwe = { >qwe : any >{ four: {} as IThing,} : { four: IThing; } -> : ^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^ ^^^ four: {} as IThing, >four : IThing diff --git a/tests/baselines/reference/nodeModuleReexportFromDottedPath.types b/tests/baselines/reference/nodeModuleReexportFromDottedPath.types index d406e7e3a16a0..3628a53e19ea2 100644 --- a/tests/baselines/reference/nodeModuleReexportFromDottedPath.types +++ b/tests/baselines/reference/nodeModuleReexportFromDottedPath.types @@ -25,7 +25,7 @@ import { PrismaClient } from "@prisma/client"; declare const enhancePrisma: (client: TPrismaClientCtor) => TPrismaClientCtor & { enhanced: unknown }; >enhancePrisma : (client: TPrismaClientCtor) => TPrismaClientCtor & { enhanced: unknown; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >client : TPrismaClientCtor > : ^^^^^^^^^^^^^^^^^ >enhanced : unknown diff --git a/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=node16).types b/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=node16).types index 2f9fcae72c010..9f282495a4376 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=node16).types +++ b/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=node16).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=nodenext).types b/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=nodenext).types index 2f9fcae72c010..9f282495a4376 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesExportsBlocksSpecifierResolution(module=nodenext).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSourceTs(module=node16).types b/tests/baselines/reference/nodeModulesExportsSourceTs(module=node16).types index c31667aaaada1..d6d490fe77c89 100644 --- a/tests/baselines/reference/nodeModulesExportsSourceTs(module=node16).types +++ b/tests/baselines/reference/nodeModulesExportsSourceTs(module=node16).types @@ -41,7 +41,7 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing = null as any; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ >null as any : any > : ^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSourceTs(module=nodenext).types b/tests/baselines/reference/nodeModulesExportsSourceTs(module=nodenext).types index c31667aaaada1..d6d490fe77c89 100644 --- a/tests/baselines/reference/nodeModulesExportsSourceTs(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesExportsSourceTs(module=nodenext).types @@ -41,7 +41,7 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing = null as any; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ >null as any : any > : ^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=node16).types b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=node16).types index 58aaf43bb379c..9b7ab49d0aaff 100644 --- a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=node16).types +++ b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=node16).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=nodenext).types b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=nodenext).types index 58aaf43bb379c..9b7ab49d0aaff 100644 --- a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationConditions(module=nodenext).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=node16).types b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=node16).types index ac37a9bbf3dac..1193272174fac 100644 --- a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=node16).types +++ b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=node16).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=nodenext).types b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=nodenext).types index ac37a9bbf3dac..1193272174fac 100644 --- a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationDirectory(module=nodenext).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=node16).types b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=node16).types index 61dd919681ec1..6d46a91088624 100644 --- a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=node16).types +++ b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=node16).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=nodenext).types b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=nodenext).types index 61dd919681ec1..6d46a91088624 100644 --- a/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesExportsSpecifierGenerationPattern(module=nodenext).types @@ -35,5 +35,5 @@ export { x } from "./other.js"; export interface Thing {} export const x: () => Thing; >x : () => Thing -> : ^^^^^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=node16).types index 6ce575f1b37f6..65e27dfdbf6e5 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=node16).types @@ -24,7 +24,7 @@ declare global { interface RequireInterface {} function getInterR(): RequireInterface; >getInterR : () => RequireInterface -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } === /uses.ts === /// diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=nodenext).types index 6ce575f1b37f6..65e27dfdbf6e5 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit6(module=nodenext).types @@ -24,7 +24,7 @@ declare global { interface RequireInterface {} function getInterR(): RequireInterface; >getInterR : () => RequireInterface -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } === /uses.ts === /// diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=node16).types index 56c4e0f97fc91..8850493ca7b37 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=node16).types @@ -35,7 +35,7 @@ declare global { function getInterI(): ImportInterface; >getInterI : () => ImportInterface -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } === /node_modules/pkg/require.d.ts === export {}; @@ -48,7 +48,7 @@ declare global { function getInterR(): RequireInterface; >getInterR : () => RequireInterface -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } === /sub1/uses.ts === /// diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=nodenext).types index 56c4e0f97fc91..8850493ca7b37 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit7(module=nodenext).types @@ -35,7 +35,7 @@ declare global { function getInterI(): ImportInterface; >getInterI : () => ImportInterface -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } === /node_modules/pkg/require.d.ts === export {}; @@ -48,7 +48,7 @@ declare global { function getInterR(): RequireInterface; >getInterR : () => RequireInterface -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } === /sub1/uses.ts === /// diff --git a/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.types b/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.types index 089068013fe9f..39f62f9f931ad 100644 --- a/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.types +++ b/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.types @@ -18,11 +18,11 @@ interface Sequence { pop(): T >pop : () => T -> : ^^^^^^^ +> : ^^^^^^ zip(seq: Sequence): Sequence> >zip : (seq: Sequence) => Sequence> -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ ^^^^^ >seq : Sequence > : ^^^^^^^^^^^ } @@ -36,7 +36,7 @@ interface List extends Sequence { zip(seq: Sequence): List> >zip : (seq: Sequence) => List> -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ ^^^^^ >seq : Sequence > : ^^^^^^^^^^^ } diff --git a/tests/baselines/reference/nonInferrableTypePropagation1.types b/tests/baselines/reference/nonInferrableTypePropagation1.types index 588768a51f26a..1b7f0a81594da 100644 --- a/tests/baselines/reference/nonInferrableTypePropagation1.types +++ b/tests/baselines/reference/nonInferrableTypePropagation1.types @@ -17,7 +17,7 @@ type Thing = { pipe( >pipe : (opA: Op, opB: Op) => Thing -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^ ^^^^^^^ ^^^^^ opA: Op, >opA : Op @@ -41,31 +41,31 @@ declare const thing: Thing; declare function map(project: (value: T) => R): Op; >map : (project: (value: T) => R) => Op -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^ ^^^^^ >project : (value: T) => R -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ declare function tap(next: (value: T) => void): Op; >tap : (next: (value: T) => void) => Op -> : ^^^^^^^^^^ ^ ^^^^^^^ ^ ^ +> : ^ ^^^^^^^^ ^^^^^ >next : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ declare function box(data: V): Box; >box : (data: V) => Box -> : ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ >data : V > : ^ declare function createAndUnbox(factory: () => Thing>): Thing; >createAndUnbox : (factory: () => Thing>) => Thing -> : ^^^^^^^^^^^^^ ^^^^^ ^ ^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^ >factory : () => Thing> -> : ^^^^^^^^^^^ ^ ^^^ ^ +> : ^^^^^^ declare function log(value: any): void; >log : (value: any) => void diff --git a/tests/baselines/reference/nonInferrableTypePropagation2.types b/tests/baselines/reference/nonInferrableTypePropagation2.types index c06cd58e4990b..618e907f4189e 100644 --- a/tests/baselines/reference/nonInferrableTypePropagation2.types +++ b/tests/baselines/reference/nonInferrableTypePropagation2.types @@ -39,7 +39,7 @@ interface Refinement { declare const filter: { >filter : { (refinement: Refinement): (as: ReadonlyArray) => ReadonlyArray; (predicate: Predicate): (bs: readonly B_1[]) => readonly B_1[]; (predicate: Predicate): (as: readonly A_2[]) => readonly A_2[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (refinement: Refinement): (as: ReadonlyArray) => ReadonlyArray >refinement : Refinement @@ -63,17 +63,17 @@ declare const filter: { declare function pipe(a: A, ab: (a: A) => B): B; >pipe : (a: A, ab: (a: A) => B) => B -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >a : A > : ^ >ab : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ declare function exists(predicate: Predicate): (ma: Either) => boolean; >exists : (predicate: Predicate) => (ma: Either) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >predicate : Predicate > : ^^^^^^^^^^^^ >ma : Either diff --git a/tests/baselines/reference/nonInferrableTypePropagation3.types b/tests/baselines/reference/nonInferrableTypePropagation3.types index 91d99eedf3d43..18cbb7519c4ea 100644 --- a/tests/baselines/reference/nonInferrableTypePropagation3.types +++ b/tests/baselines/reference/nonInferrableTypePropagation3.types @@ -13,7 +13,7 @@ declare type Callback = (...args: Args) => (data: Ou declare function factory(): (callback: Callback) => (...args: Args) => R; >factory : () => (callback: Callback) => (...args: Args) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^ ^^^^^ ^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >callback : Callback > : ^^^^^^^^^^^^^^^^^^^^^^ >args : Args diff --git a/tests/baselines/reference/nonInstantiatedModule.types b/tests/baselines/reference/nonInstantiatedModule.types index f5b8b90641471..9526b8f30cbb8 100644 --- a/tests/baselines/reference/nonInstantiatedModule.types +++ b/tests/baselines/reference/nonInstantiatedModule.types @@ -69,7 +69,7 @@ module M2 { export function Origin(): Point { >Origin : () => Point -> : ^^^^^^^^^^^ +> : ^^^^^^ return { x: 0, y: 0 }; >{ x: 0, y: 0 } : { x: number; y: number; } diff --git a/tests/baselines/reference/nonNullMappedType.types b/tests/baselines/reference/nonNullMappedType.types index 6fc21fbf509b6..7ece9574da2a6 100644 --- a/tests/baselines/reference/nonNullMappedType.types +++ b/tests/baselines/reference/nonNullMappedType.types @@ -3,7 +3,7 @@ === nonNullMappedType.ts === function f(p0: { [key in A]: {} | undefined }, p1: A) { >f : (p0: { [key in A]: {} | undefined; }, p1: A) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >p0 : { [key in A]: {} | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p1 : A diff --git a/tests/baselines/reference/nonNullParameterExtendingStringAssignableToString.types b/tests/baselines/reference/nonNullParameterExtendingStringAssignableToString.types index b37de833883d8..f2d0d734c7a55 100644 --- a/tests/baselines/reference/nonNullParameterExtendingStringAssignableToString.types +++ b/tests/baselines/reference/nonNullParameterExtendingStringAssignableToString.types @@ -9,7 +9,7 @@ declare function foo(p: string): void; function fn(one: T, two: U) { >fn : (one: T, two: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >one : T > : ^ >two : U diff --git a/tests/baselines/reference/nonNullReferenceMatching.types b/tests/baselines/reference/nonNullReferenceMatching.types index 00914382c7ce4..c2877fad67475 100644 --- a/tests/baselines/reference/nonNullReferenceMatching.types +++ b/tests/baselines/reference/nonNullReferenceMatching.types @@ -39,9 +39,9 @@ class Component { public thumbYElementRef = (ref: HTMLElement | null) => { >thumbYElementRef : (ref: HTMLElement | null) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >(ref: HTMLElement | null) => { typeof this.props.thumbYProps!.elementRef === 'function' && this.props.thumbYProps!.elementRef(ref); typeof (this.props.thumbYProps!.elementRef) === 'function' && this.props.thumbYProps!.elementRef(ref); typeof ((this.props).thumbYProps!.elementRef)! === 'function' && this.props.thumbYProps!.elementRef(ref); typeof this.props.thumbXProps.elementRef === 'function' && this.props.thumbXProps.elementRef(ref); typeof this.props.thumbXProps.elementRef === 'function' && (this.props).thumbXProps.elementRef(ref); typeof this.props.thumbXProps.elementRef === 'function' && (this.props.thumbXProps).elementRef(ref); typeof this.props.thumbXProps.elementRef === 'function' && ((this.props)!.thumbXProps)!.elementRef(ref); typeof (this.props.thumbXProps).elementRef === 'function' && ((this.props)!.thumbXProps)!.elementRef(ref); typeof this.props!.thumbXProps!.elementRef === 'function' && ((this.props)!.thumbXProps)!.elementRef(ref); } : (ref: HTMLElement | null) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >ref : HTMLElement | null > : ^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/nonNullableReduction.types b/tests/baselines/reference/nonNullableReduction.types index be6f2712f759a..3fafd8c5b7a98 100644 --- a/tests/baselines/reference/nonNullableReduction.types +++ b/tests/baselines/reference/nonNullableReduction.types @@ -19,7 +19,7 @@ type Transform2 = string extends T ? ((value: string) => T) | undefined : (va function test(f1: Transform1, f2: Transform2) { >test : (f1: Transform1, f2: Transform2) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >f1 : Transform1 > : ^^^^^^^^^^^^^ >f2 : Transform2 @@ -44,7 +44,7 @@ function test(f1: Transform1, f2: Transform2) { function f1(x: T | (string extends T ? null | undefined : never)) { >f1 : (x: T | (string extends T ? null | undefined : never)) => void -> : ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T | (string extends T ? null | undefined : never) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -59,7 +59,7 @@ function f1(x: T | (string extends T ? null | undefined : never)) { function f2(x: T | U) { >f2 : (x: T | U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T | U > : ^^^^^ diff --git a/tests/baselines/reference/nonNullableReductionNonStrict.types b/tests/baselines/reference/nonNullableReductionNonStrict.types index db8f3cc89f0b7..f6d7feab878f7 100644 --- a/tests/baselines/reference/nonNullableReductionNonStrict.types +++ b/tests/baselines/reference/nonNullableReductionNonStrict.types @@ -19,7 +19,7 @@ type Transform2 = string extends T ? ((value: string) => T) | undefined : (va function test(f1: Transform1, f2: Transform2) { >test : (f1: Transform1, f2: Transform2) => void -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >f1 : Transform1 > : ^^^^^^^^^^^^^ >f2 : Transform2 @@ -44,7 +44,7 @@ function test(f1: Transform1, f2: Transform2) { function f1(x: T | (string extends T ? null | undefined : never)) { >f1 : (x: T | (string extends T ? null | undefined : never)) => void -> : ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T | (string extends T ? null : never) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -59,7 +59,7 @@ function f1(x: T | (string extends T ? null | undefined : never)) { function f2(x: T | U) { >f2 : (x: T | U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T | U > : ^^^^^ diff --git a/tests/baselines/reference/nonNullableTypes1.types b/tests/baselines/reference/nonNullableTypes1.types index 0ca03429bfa44..0a24fa7ad7f35 100644 --- a/tests/baselines/reference/nonNullableTypes1.types +++ b/tests/baselines/reference/nonNullableTypes1.types @@ -3,7 +3,7 @@ === nonNullableTypes1.ts === function f1(x: T) { >f1 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -31,7 +31,7 @@ function error(): never { function f2(x: T) { // NonNullable >f2 : (x: T) => NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -63,7 +63,7 @@ function f3(x: unknown) { function f4(obj: T) { >f4 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : string > : ^^^^^^ >obj : T diff --git a/tests/baselines/reference/nonPrimitiveAndTypeVariables.types b/tests/baselines/reference/nonPrimitiveAndTypeVariables.types index e20399df70378..6dee10abe0fd9 100644 --- a/tests/baselines/reference/nonPrimitiveAndTypeVariables.types +++ b/tests/baselines/reference/nonPrimitiveAndTypeVariables.types @@ -37,7 +37,7 @@ let b: B<{ a: 0 | 1 }, 0> = { a: 0 }; function foo(x: T) { >foo : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/nonPrimitiveConstraintOfIndexAccessType.types b/tests/baselines/reference/nonPrimitiveConstraintOfIndexAccessType.types index 631bd8eb044be..ee15a06e6d546 100644 --- a/tests/baselines/reference/nonPrimitiveConstraintOfIndexAccessType.types +++ b/tests/baselines/reference/nonPrimitiveConstraintOfIndexAccessType.types @@ -4,7 +4,7 @@ // test for #15371 function f(s: string, tp: T[P]): void { >f : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -20,7 +20,7 @@ function f(s: string, tp: T[P]): void { } function g(s: string, tp: T[P]): void { >g : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -36,7 +36,7 @@ function g(s: string, tp: T[P]): void { } function h(s: string, tp: T[P]): void { >h : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -52,7 +52,7 @@ function h(s: string, tp: T[P]): void { } function i(s: string, tp: T[P]): void { >i : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -68,7 +68,7 @@ function i(s: string, tp: T[P]): void { } function j(s: string, tp: T[P]): void { >j : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -84,7 +84,7 @@ function j(s: string, tp: T[P]): void { } function k(s: string, tp: T[P]): void { >k : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -100,7 +100,7 @@ function k(s: string, tp: T[P]): void { } function o(s: string, tp: T[P]): void { >o : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -116,7 +116,7 @@ function o(s: string, tp: T[P]): void { } function l(s: string, tp: T[P]): void { >l : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >tp : T[P] @@ -132,7 +132,7 @@ function l(s: string, tp: T[P]): void { } function m(s: string, tp: T[P]): void { >m : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >a : number > : ^^^^^^ >s : string @@ -150,7 +150,7 @@ function m(s: string, tp: T[P]): voi } function n(s: string, tp: T[P]): void { >n : (s: string, tp: T[P]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >s : string > : ^^^^^^ >s : string diff --git a/tests/baselines/reference/nonPrimitiveInGeneric.types b/tests/baselines/reference/nonPrimitiveInGeneric.types index 4c1c6bab0ed42..17fef93451443 100644 --- a/tests/baselines/reference/nonPrimitiveInGeneric.types +++ b/tests/baselines/reference/nonPrimitiveInGeneric.types @@ -3,7 +3,7 @@ === nonPrimitiveInGeneric.ts === function generic(t: T) { >generic : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ @@ -59,7 +59,7 @@ generic(b); // expect error function bound(t: T) { >bound : (t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : T > : ^ @@ -132,7 +132,7 @@ bound2(); // expect error function bound3(t: T) { >bound3 : (t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/nondistributiveConditionalTypeInfer.types b/tests/baselines/reference/nondistributiveConditionalTypeInfer.types index c31872006e75f..08802617a1b5f 100644 --- a/tests/baselines/reference/nondistributiveConditionalTypeInfer.types +++ b/tests/baselines/reference/nondistributiveConditionalTypeInfer.types @@ -5,7 +5,7 @@ type _R = [T] extends [{ _R: (_: infer R) => void }] ? R : never; >_R : _R > : ^^^^^ >_R : (_: infer R) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >_ : R > : ^ @@ -13,28 +13,28 @@ type _E = [T] extends [{ _E: () => infer E }] ? E : never; >_E : _E > : ^^^^^ >_E : () => infer E -> : ^^^^^^ ^ +> : ^^^^^^ type _A = [T] extends [{ _A: () => infer A }] ? A : never; >_A : _A > : ^^^^^ >_A : () => infer A -> : ^^^^^^ ^ +> : ^^^^^^ interface Sync { _R: (_: R) => void; >_R : (_: R) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >_ : R > : ^ _E: () => E; >_E : () => E -> : ^^^^^^^ +> : ^^^^^^ _A: () => A; >_A : () => A -> : ^^^^^^^ +> : ^^^^^^ } type R = _R>; diff --git a/tests/baselines/reference/nonexistentPropertyOnUnion.types b/tests/baselines/reference/nonexistentPropertyOnUnion.types index dfe996bbc1d27..699800106cfc2 100644 --- a/tests/baselines/reference/nonexistentPropertyOnUnion.types +++ b/tests/baselines/reference/nonexistentPropertyOnUnion.types @@ -3,7 +3,7 @@ === nonexistentPropertyOnUnion.ts === function f(x: string | Promise) { >f : (x: string | Promise) => void -> : ^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : string | Promise > : ^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.types b/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.types index 70c3cd95341ac..a4e603748f826 100644 --- a/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.types +++ b/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.types @@ -3,7 +3,7 @@ === nonexistentPropertyUnavailableOnPromisedType.ts === function f(x: Promise) { >f : (x: Promise) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Promise > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/normalizedIntersectionTooComplex.types b/tests/baselines/reference/normalizedIntersectionTooComplex.types index 81f4da878d9f8..531aac2698fb8 100644 --- a/tests/baselines/reference/normalizedIntersectionTooComplex.types +++ b/tests/baselines/reference/normalizedIntersectionTooComplex.types @@ -216,7 +216,7 @@ interface Big { } declare function getCtor(comp: T): CtorOf >getCtor : (comp: T) => CtorOf -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >comp : T > : ^ diff --git a/tests/baselines/reference/nullAssignableToEveryType.types b/tests/baselines/reference/nullAssignableToEveryType.types index 349fa39e8ebcb..c5083b43ec85a 100644 --- a/tests/baselines/reference/nullAssignableToEveryType.types +++ b/tests/baselines/reference/nullAssignableToEveryType.types @@ -107,7 +107,7 @@ var n: { foo: string } = null; var o: (x: T) => T = null; >o : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -121,7 +121,7 @@ var q: String = null; function foo(x: T, y: U, z: V) { >foo : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.types b/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.types index e2e39cd29ad87..845f1e1566f30 100644 --- a/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.types +++ b/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.types @@ -190,13 +190,13 @@ var r7 = true ? null : () => { }; var r8 = true ? (x: T) => { return x } : null; >r8 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >true ? (x: T) => { return x } : null : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >true : true > : ^^^^ >(x: T) => { return x } : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -204,13 +204,13 @@ var r8 = true ? (x: T) => { return x } : null; var r8b = true ? null : (x: T) => { return x }; // type parameters not identical across declarations >r8b : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >true ? null : (x: T) => { return x } : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >true : true > : ^^^^ >(x: T) => { return x } : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -442,7 +442,7 @@ var r16 = true ? null : ac; function f17(x: T) { >f17 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -469,7 +469,7 @@ function f17(x: T) { function f18(x: U) { >f18 : (x: U) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/numberVsBigIntOperations.types b/tests/baselines/reference/numberVsBigIntOperations.types index 797001f963045..d64a01d615a20 100644 --- a/tests/baselines/reference/numberVsBigIntOperations.types +++ b/tests/baselines/reference/numberVsBigIntOperations.types @@ -1306,7 +1306,7 @@ type NumberOrBigint = number | bigint; function getKey(key: S) { >getKey : (key: S) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >key : S > : ^ diff --git a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types index 32cf05ff10fd6..86a2d6b0c19ae 100644 --- a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types +++ b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types @@ -161,7 +161,7 @@ interface I { var a: { >a : { (): string; (x: any): number; [x: number]: string; a: string; b: number; c: () => {}; d: string; e: number; 1: string; 2: number; foo(): string; "3.0": string; "4.0": number; f: MyNumber; } -> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^ [x: number]: string; >x : number diff --git a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.types b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.types index 851137911035e..5a701d5f8583f 100644 --- a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.types +++ b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.types @@ -84,7 +84,7 @@ interface Foo2 { var a: { >a : { [x: number]: A; 1: A; 2: B; "2.5": B; 3: number; "4.0": string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^ [x: number]: A; >x : number diff --git a/tests/baselines/reference/numericLiteralTypes1.types b/tests/baselines/reference/numericLiteralTypes1.types index f3d018693b49b..686d03b9d74e0 100644 --- a/tests/baselines/reference/numericLiteralTypes1.types +++ b/tests/baselines/reference/numericLiteralTypes1.types @@ -417,7 +417,7 @@ type Tag = 0 | 1 | 2; function f10(x: Tag) { >f10 : (x: Tag) => "a" | "b" | "c" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^ >x : Tag > : ^^^ @@ -447,7 +447,7 @@ function f10(x: Tag) { function f11(x: Tag) { >f11 : (x: Tag) => "a" | "b" | "c" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^ >x : Tag > : ^^^ @@ -484,7 +484,7 @@ function f11(x: Tag) { function f12(x: Tag) { >f12 : (x: Tag) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Tag > : ^^^ @@ -505,7 +505,7 @@ function f12(x: Tag) { function f13(x: Tag) { >f13 : (x: Tag) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Tag > : ^^^ @@ -656,7 +656,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -702,7 +702,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/numericLiteralTypes2.types b/tests/baselines/reference/numericLiteralTypes2.types index 5b9a3f4c40415..f9f6abc39fe88 100644 --- a/tests/baselines/reference/numericLiteralTypes2.types +++ b/tests/baselines/reference/numericLiteralTypes2.types @@ -417,7 +417,7 @@ type Tag = 0 | 1 | 2; function f10(x: Tag) { >f10 : (x: Tag) => "a" | "b" | "c" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^ >x : Tag > : ^^^ @@ -447,7 +447,7 @@ function f10(x: Tag) { function f11(x: Tag) { >f11 : (x: Tag) => "a" | "b" | "c" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^ >x : Tag > : ^^^ @@ -484,7 +484,7 @@ function f11(x: Tag) { function f12(x: Tag) { >f12 : (x: Tag) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Tag > : ^^^ @@ -505,7 +505,7 @@ function f12(x: Tag) { function f13(x: Tag) { >f13 : (x: Tag) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Tag > : ^^^ @@ -656,7 +656,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -702,7 +702,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/numericLiteralTypes3.types b/tests/baselines/reference/numericLiteralTypes3.types index c7686f49ed7ab..65ade65740958 100644 --- a/tests/baselines/reference/numericLiteralTypes3.types +++ b/tests/baselines/reference/numericLiteralTypes3.types @@ -19,7 +19,7 @@ type D = 0 | 1 | 2; function f1(a: A, b: B, c: C, d: D) { >f1 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B @@ -64,7 +64,7 @@ function f1(a: A, b: B, c: C, d: D) { function f2(a: A, b: B, c: C, d: D) { >f2 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B @@ -109,7 +109,7 @@ function f2(a: A, b: B, c: C, d: D) { function f3(a: A, b: B, c: C, d: D) { >f3 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B @@ -154,7 +154,7 @@ function f3(a: A, b: B, c: C, d: D) { function f4(a: A, b: B, c: C, d: D) { >f4 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B @@ -199,7 +199,7 @@ function f4(a: A, b: B, c: C, d: D) { function f5(a: A, b: B, c: C, d: D) { >f5 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B @@ -340,7 +340,7 @@ function f5(a: A, b: B, c: C, d: D) { function f6(a: A, b: B, c: C, d: D) { >f6 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B @@ -481,7 +481,7 @@ function f6(a: A, b: B, c: C, d: D) { function f7(a: A, b: B, c: C, d: D) { >f7 : (a: A, b: B, c: C, d: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : 1 > : ^ >b : B diff --git a/tests/baselines/reference/numericStringLiteralTypes.types b/tests/baselines/reference/numericStringLiteralTypes.types index 316d3a94e77ee..43f241049b9ac 100644 --- a/tests/baselines/reference/numericStringLiteralTypes.types +++ b/tests/baselines/reference/numericStringLiteralTypes.types @@ -90,17 +90,17 @@ type UnwrapContainers[]> = { [K in keyof T]: T[K][' declare function createContainer(value: T): Container; >createContainer : (value: T) => Container -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ declare function f[]>(containers: [...T], callback: (...values: UnwrapContainers) => void): void; >f : []>(containers: [...T], callback: (...values: UnwrapContainers) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >containers : [...T] > : ^^^^^^ >callback : (...values: UnwrapContainers) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >values : UnwrapContainers > : ^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectAssignLikeNonUnionResult.types b/tests/baselines/reference/objectAssignLikeNonUnionResult.types index b48800279d2b1..f8fc259adf09b 100644 --- a/tests/baselines/reference/objectAssignLikeNonUnionResult.types +++ b/tests/baselines/reference/objectAssignLikeNonUnionResult.types @@ -18,7 +18,7 @@ const defaultValue: Interface = { field: 1 }; declare function assign(target: T, source: U): T & U; >assign : (target: T, source: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ >source : U diff --git a/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.types b/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.types index 52dacd11c09bf..21fe79d5f2cb3 100644 --- a/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.types +++ b/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.types @@ -3,7 +3,7 @@ === objectBindingPatternContextuallyTypesArgument.ts === declare function id(x: T): T; >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/objectInstantiationFromUnionSpread.types b/tests/baselines/reference/objectInstantiationFromUnionSpread.types index f699aba97a34c..2c9e588560349 100644 --- a/tests/baselines/reference/objectInstantiationFromUnionSpread.types +++ b/tests/baselines/reference/objectInstantiationFromUnionSpread.types @@ -25,7 +25,7 @@ type Item = Success | Fail; function f1(a: Item[]) { >f1 : (a: Item[]) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : Item[] > : ^^^^^^ @@ -62,7 +62,7 @@ function f1(a: Item[]) { function f2(a: Item[]) { >f2 : (a: Item[]) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >a : Item[] > : ^^^^^^ diff --git a/tests/baselines/reference/objectLitArrayDeclNoNew.types b/tests/baselines/reference/objectLitArrayDeclNoNew.types index 60369db6aa9cf..2a6acf522a46f 100644 --- a/tests/baselines/reference/objectLitArrayDeclNoNew.types +++ b/tests/baselines/reference/objectLitArrayDeclNoNew.types @@ -42,7 +42,7 @@ module Test { export function bug(): ILineTokens { >bug : () => ILineTokens -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ var state:IState= null; >state : IState diff --git a/tests/baselines/reference/objectLiteralArraySpecialization.types b/tests/baselines/reference/objectLiteralArraySpecialization.types index 8de2936e74b36..60d131758e2c2 100644 --- a/tests/baselines/reference/objectLiteralArraySpecialization.types +++ b/tests/baselines/reference/objectLiteralArraySpecialization.types @@ -3,22 +3,22 @@ === objectLiteralArraySpecialization.ts === declare function create(initialValues?: T[]): MyArrayWrapper; >create : (initialValues?: T[]) => MyArrayWrapper -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >initialValues : T[] > : ^^^ interface MyArrayWrapper { constructor(initialItems?: T[]); >constructor : (initialItems?: T[]) => any -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ >initialItems : T[] > : ^^^ doSomething(predicate: (x: T, y: T) => boolean): void; >doSomething : (predicate: (x: T, y: T) => boolean) => void -> : ^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >predicate : (x: T, y: T) => boolean -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/objectLiteralContextualTyping.types b/tests/baselines/reference/objectLiteralContextualTyping.types index 241af21386467..f18db8ff76e7f 100644 --- a/tests/baselines/reference/objectLiteralContextualTyping.types +++ b/tests/baselines/reference/objectLiteralContextualTyping.types @@ -18,7 +18,7 @@ interface Item { declare function foo(item: Item): string; >foo : { (item: Item): string; (item: any): number; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >item : Item > : ^^^^ @@ -110,9 +110,9 @@ var w: number; declare function bar(param: { x?: T }): T; >bar : (param: { x?: T; }) => T -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >param : { x?: T; } -> : ^^^^^^^^^^ +> : ^^^^^^ ^^^ >x : T > : ^ diff --git a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.types b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.types index b2c3dd835418b..1d464c4e5f1b8 100644 --- a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.types +++ b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.types @@ -15,7 +15,7 @@ interface I { function f2(args: I) { } >f2 : (args: I) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >args : I > : ^ diff --git a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.types b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.types index f0933f6459b40..835f9958e693e 100644 --- a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.types +++ b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.types @@ -15,7 +15,7 @@ interface I2 { function f2(args: I2) { } >f2 : (args: I2) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >args : I2 > : ^^ diff --git a/tests/baselines/reference/objectLiteralNormalization.types b/tests/baselines/reference/objectLiteralNormalization.types index 8692a3485b85f..8bd09c5027d7b 100644 --- a/tests/baselines/reference/objectLiteralNormalization.types +++ b/tests/baselines/reference/objectLiteralNormalization.types @@ -464,7 +464,7 @@ d1.pos.b; declare function f(...items: T[]): T; >f : (...items: T[]) => T -> : ^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ diff --git a/tests/baselines/reference/objectLiteralParameterResolution.types b/tests/baselines/reference/objectLiteralParameterResolution.types index c3303f6bfef9a..1ab2095cd5c0a 100644 --- a/tests/baselines/reference/objectLiteralParameterResolution.types +++ b/tests/baselines/reference/objectLiteralParameterResolution.types @@ -4,7 +4,7 @@ interface Foo{ extend(target: T, ...objs: any[]): T; >extend : { (target: T, ...objs: any[]): T; (deep: boolean, target: T_1, ...objs: any[]): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >target : T > : ^ >objs : any[] @@ -12,7 +12,7 @@ interface Foo{ extend(deep: boolean, target: T, ...objs: any[]): T; >extend : { (target: T_1, ...objs: any[]): T_1; (deep: boolean, target: T, ...objs: any[]): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >deep : boolean > : ^^^^^^^ >target : T diff --git a/tests/baselines/reference/objectLiteralThisWidenedOnUse.types b/tests/baselines/reference/objectLiteralThisWidenedOnUse.types index 5b570e4145ce9..2c1f1d72f6fc5 100644 --- a/tests/baselines/reference/objectLiteralThisWidenedOnUse.types +++ b/tests/baselines/reference/objectLiteralThisWidenedOnUse.types @@ -7,9 +7,9 @@ interface Foo { bar: boolean; } var GlobalIns = { >GlobalIns : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >{ prop1: 1, prop2: 2, prop3: 3, test () { this.accept_foo(this); }, accept_foo (foo: Foo): boolean { return !!foo && !!foo.bar; }} : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ prop1: 1, >prop1 : number @@ -48,7 +48,7 @@ var GlobalIns = { }, accept_foo (foo: Foo): boolean { >accept_foo : (foo: Foo) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >foo : Foo > : ^^^ diff --git a/tests/baselines/reference/objectRestBindingContextualInference.types b/tests/baselines/reference/objectRestBindingContextualInference.types index 6bcb396f21ca1..9a38a4e01e693 100644 --- a/tests/baselines/reference/objectRestBindingContextualInference.types +++ b/tests/baselines/reference/objectRestBindingContextualInference.types @@ -23,7 +23,7 @@ type SetupImages = SetupImageRefs & { prepare: () => { type: K }; >prepare : () => { type: K; } -> : ^^^^^^ ^ +> : ^^^^^^ >type : K > : ^ @@ -41,7 +41,7 @@ interface TestInterface { declare function setupImages, K extends string>( >setupImages : , K extends string>(item: R, keys: K[]) => SetupImages -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ item: R, >item : R diff --git a/tests/baselines/reference/objectRestNegative.types b/tests/baselines/reference/objectRestNegative.types index 3712c8c9ca579..6f53b5384a003 100644 --- a/tests/baselines/reference/objectRestNegative.types +++ b/tests/baselines/reference/objectRestNegative.types @@ -62,7 +62,7 @@ function stillMustBeLast({ ...mustBeLast, a }: { a: number, b: string }): void { } function generic(t: T) { >generic : (t: T) => Omit -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >x : any > : ^^^ >y : any diff --git a/tests/baselines/reference/objectSpread.types b/tests/baselines/reference/objectSpread.types index b384dede0e2f3..1b3981a18a392 100644 --- a/tests/baselines/reference/objectSpread.types +++ b/tests/baselines/reference/objectSpread.types @@ -298,9 +298,9 @@ type Header = { head: string, body: string, authToken: string } function from16326(this: { header: Header }, header: Header, authToken: string): Header { >from16326 : (this: { header: Header; }, header: Header, authToken: string) => Header -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >this : { header: Header; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ >header : Header > : ^^^^^^ >header : Header @@ -807,7 +807,7 @@ let spreadNonPrimitive = { ...{}}; function f(t: T, u: U) { >f : (t: T, u: U) => T & U & { id: string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : T > : ^ >u : U @@ -964,7 +964,7 @@ let overwriteId: { id: string, a: number, c: number, d: string } = function genericSpread(t: T, u: U, v: T | U, w: T | { s: string }, obj: { x: number }) { >genericSpread : (t: T, u: U, v: T | U, w: T | { s: string; }, obj: { x: number; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/objectSpreadRepeatedComplexity.types b/tests/baselines/reference/objectSpreadRepeatedComplexity.types index e32f3ea6845cc..69d658cfd930d 100644 --- a/tests/baselines/reference/objectSpreadRepeatedComplexity.types +++ b/tests/baselines/reference/objectSpreadRepeatedComplexity.types @@ -3,7 +3,7 @@ === objectSpreadRepeatedComplexity.ts === function f(cnd: Record){ >f : (cnd: Record) => { prop20a?: number | undefined; prop20b?: number | undefined; prop19a?: number | undefined; prop19b?: number | undefined; prop18a?: number | undefined; prop18b?: number | undefined; prop17a?: number | undefined; prop17b?: number | undefined; prop16a?: number | undefined; prop16b?: number | undefined; prop15a?: number | undefined; prop15b?: number | undefined; prop14a?: number | undefined; prop14b?: number | undefined; prop13a?: number | undefined; prop13b?: number | undefined; prop12a?: number | undefined; prop12b?: number | undefined; prop11a?: number | undefined; prop11b?: number | undefined; prop10a?: number | undefined; prop10b?: number | undefined; prop9a?: number | undefined; prop9b?: number | undefined; prop8a?: number | undefined; prop8b?: number | undefined; prop7a?: number | undefined; prop7b?: number | undefined; prop6a?: number | undefined; prop6b?: number | undefined; prop5a?: number | undefined; prop5b?: number | undefined; prop4a?: number | undefined; prop4b?: number | undefined; prop3a?: number | undefined; prop3b?: number | undefined; prop0?: number | undefined; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >cnd : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectSpreadRepeatedNullCheckPerf.types b/tests/baselines/reference/objectSpreadRepeatedNullCheckPerf.types index a0b113b0e4a50..5ab333a634e0b 100644 --- a/tests/baselines/reference/objectSpreadRepeatedNullCheckPerf.types +++ b/tests/baselines/reference/objectSpreadRepeatedNullCheckPerf.types @@ -109,7 +109,7 @@ interface Props { function parseWithSpread(config: Record): Props { >parseWithSpread : (config: Record) => Props -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >config : Record > : ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectSpreadStrictNull.types b/tests/baselines/reference/objectSpreadStrictNull.types index 7eeeb7fe090aa..da56684a9d02f 100644 --- a/tests/baselines/reference/objectSpreadStrictNull.types +++ b/tests/baselines/reference/objectSpreadStrictNull.types @@ -202,7 +202,7 @@ interface NearlyPartialFields { } function g(fields: Fields, partialFields: Partial, nearlyPartialFields: NearlyPartialFields) { >g : (fields: Fields, partialFields: Partial, nearlyPartialFields: NearlyPartialFields) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >fields : Fields > : ^^^^^^ >partialFields : Partial diff --git a/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.types b/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.types index b49de9a125321..528f561890689 100644 --- a/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.types +++ b/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.types @@ -225,7 +225,7 @@ var r3d = i['hm']; var b: { >b : { [x: string]: any; valueOf(): void; data: B; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ valueOf(): void; >valueOf : () => void diff --git a/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.types b/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.types index 748b03ea836b7..a4a318a4da19b 100644 --- a/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.types +++ b/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.types @@ -119,7 +119,7 @@ rList1 = rMyList1; // error, not nominally equal function foo, U extends MyList>(t: T, u: U) { >foo : , U extends MyList>(t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -184,7 +184,7 @@ function foo, U extends MyList>(t: T, u: U) { function foo2>(t: T, u: U) { >foo2 : >(t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/objectTypeWithStringAndNumberIndexSignatureToAny.types b/tests/baselines/reference/objectTypeWithStringAndNumberIndexSignatureToAny.types index bf42044b23886..c757b1ccb76f3 100644 --- a/tests/baselines/reference/objectTypeWithStringAndNumberIndexSignatureToAny.types +++ b/tests/baselines/reference/objectTypeWithStringAndNumberIndexSignatureToAny.types @@ -47,7 +47,7 @@ interface Obj { function f1(sToAny: StringTo, nToAny: NumberTo, bothToAny: StringAndNumberTo, someObj: Obj) { >f1 : (sToAny: StringTo, nToAny: NumberTo, bothToAny: StringAndNumberTo, someObj: Obj) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >sToAny : StringTo > : ^^^^^^^^^^^^^ >nToAny : NumberTo @@ -156,7 +156,7 @@ function f1(sToAny: StringTo, nToAny: NumberTo, bothToAny: StringAndNu function f2(sToAny: StringTo, nToAny: NumberTo, bothToAny: StringTo & NumberTo, someObj: Obj) { >f2 : (sToAny: StringTo, nToAny: NumberTo, bothToAny: StringTo & NumberTo, someObj: Obj) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >sToAny : StringTo > : ^^^^^^^^^^^^^ >nToAny : NumberTo @@ -272,7 +272,7 @@ interface StringToAnyNumberToNumber extends StringTo, NumberToNumber { function f3(sToAny: StringTo, nToNumber: NumberToNumber, strToAnyNumToNum: StringToAnyNumberToNumber, someObj: Obj) { >f3 : (sToAny: StringTo, nToNumber: NumberToNumber, strToAnyNumToNum: StringToAnyNumberToNumber, someObj: Obj) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >sToAny : StringTo > : ^^^^^^^^^^^^^ >nToNumber : NumberToNumber diff --git a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.types b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.types index ddb47b8efd615..1a1ebe739b07e 100644 --- a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.types +++ b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.types @@ -444,7 +444,7 @@ var r13 = i[-01] var a: { >a : { "0.1": void; ".1": Object; "1": number; "1.": string; "1..": boolean; "1.0": Date; "-1.0": RegExp; "-1": Date; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^ "0.1": void; >"0.1" : void diff --git a/tests/baselines/reference/objectTypesIdentity.types b/tests/baselines/reference/objectTypesIdentity.types index d39449cb6d5b7..1852bd3a6361c 100644 --- a/tests/baselines/reference/objectTypesIdentity.types +++ b/tests/baselines/reference/objectTypesIdentity.types @@ -54,13 +54,13 @@ var b = { foo: '' }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -71,13 +71,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -88,13 +88,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -105,13 +105,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -122,7 +122,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -130,7 +130,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -143,7 +143,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -151,7 +151,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo: string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -164,13 +164,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -181,13 +181,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -198,13 +198,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -215,13 +215,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -234,13 +234,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -251,13 +251,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -268,13 +268,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -287,13 +287,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -306,13 +306,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -323,13 +323,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -342,13 +342,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } diff --git a/tests/baselines/reference/objectTypesIdentity2.types b/tests/baselines/reference/objectTypesIdentity2.types index 58f5d2a958666..500260526fb3d 100644 --- a/tests/baselines/reference/objectTypesIdentity2.types +++ b/tests/baselines/reference/objectTypesIdentity2.types @@ -38,7 +38,7 @@ interface I { var a: { foo: RegExp; } >a : { foo: RegExp; } -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : RegExp > : ^^^^^^ @@ -64,13 +64,13 @@ var b = { foo: E.A }; function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -81,13 +81,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -98,13 +98,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -115,13 +115,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo: RegExp; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: RegExp; } > : ^^^^^^^^^^^^^^^^ >a : { foo: RegExp; } @@ -134,13 +134,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -151,13 +151,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -168,13 +168,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo: RegExp; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: RegExp; } > : ^^^^^^^^^^^^^^^^ >a : { foo: RegExp; } @@ -187,13 +187,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo: E; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: E; } > : ^^^^^^^^^^^ >b : { foo: E; } @@ -206,13 +206,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -223,13 +223,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo: RegExp; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: RegExp; } > : ^^^^^^^^^^^^^^^^ >a : { foo: RegExp; } @@ -242,13 +242,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo: E; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: E; } > : ^^^^^^^^^^^ >b : { foo: E; } diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignatures.types b/tests/baselines/reference/objectTypesIdentityWithCallSignatures.types index 9fa609aa607a1..5c5ac3f1f3cea 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignatures.types +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignatures.types @@ -31,7 +31,7 @@ class C { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -47,7 +47,7 @@ interface I { interface I2 { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -74,13 +74,13 @@ var b = { foo(x: string) { return ''; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string): string; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: string): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string): string; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: string): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string): string; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string): string; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // error >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string): string; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.types b/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.types index 74ed62fb3b6d4..bc533895c9ac0 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.types +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.types @@ -31,7 +31,7 @@ class C { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -47,26 +47,26 @@ interface I { interface I2 { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } var a: { foo(x: Date): string } >a : { foo(x: Date): string; } -> : ^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^ >foo : (x: Date) => string -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Date > : ^^^^ var b = { foo(x: RegExp) { return ''; } }; >b : { foo(x: RegExp): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ >{ foo(x: RegExp) { return ''; } } : { foo(x: RegExp): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ >foo : (x: RegExp) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : RegExp > : ^^^^^^ >'' : "" @@ -74,13 +74,13 @@ var b = { foo(x: RegExp) { return ''; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: Date): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: Date): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Date): string; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: Date): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Date): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Date): string; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: RegExp): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: RegExp): string; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: RegExp): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: RegExp): string; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: Date): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Date): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Date): string; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: Date): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Date): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Date): string; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: RegExp): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: RegExp): string; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // error >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: Date): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Date): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Date): string; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: RegExp): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: RegExp): string; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.types b/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.types index 0414e9a63cdb2..ead31c202be81 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.types +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.types @@ -23,13 +23,13 @@ var a: { (x: string): string } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -41,7 +41,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: (x: string) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: string) => string > : ^^^^^^^^^^^^^^^^^^^^^ >a : (x: string) => string @@ -49,7 +49,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: (x: string) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (x: string) => string > : ^^^^^^^^^^^^^^^^^^^^^ >a : (x: string) => string @@ -85,13 +85,13 @@ function foo4(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: (x: string) => string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (x: string) => string > : ^^^^^^^^^^^^^^^^^^^^^ >a : (x: string) => string @@ -105,13 +105,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: I2); // error >foo14 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ @@ -123,7 +123,7 @@ function foo14(x: any) { } function foo14b(x: typeof a); >foo14b : { (x: typeof a): any; (x: I2): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: string) => string > : ^^^^^^^^^^^^^^^^^^^^^ >a : (x: string) => string @@ -131,7 +131,7 @@ function foo14b(x: typeof a); function foo14b(x: I2); // error >foo14b : { (x: (x: string) => string): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ @@ -143,13 +143,13 @@ function foo14b(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: I2); // ok >foo15 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.types b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.types index a0fcc14aca8c4..978cdcd8b2bc5 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.types +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.types @@ -33,7 +33,7 @@ class C { foo(x: T, y: T): T { return null; } >foo : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -51,7 +51,7 @@ interface I { interface I2 { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -80,13 +80,13 @@ var b = { foo(x: string) { return ''; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -97,13 +97,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -114,13 +114,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -131,13 +131,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -148,7 +148,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: string, y: string): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: string, y: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string, y: string): string; } @@ -156,7 +156,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: string, y: string): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string, y: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string, y: string): string; } @@ -169,7 +169,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -177,7 +177,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: string): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -190,13 +190,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -207,13 +207,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -224,13 +224,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -241,13 +241,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: string, y: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string, y: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string, y: string): string; } @@ -260,13 +260,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -277,13 +277,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -294,13 +294,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: string, y: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string, y: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string, y: string): string; } @@ -313,13 +313,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -332,13 +332,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -349,13 +349,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -366,13 +366,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: string, y: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string, y: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: string, y: string): string; } @@ -385,13 +385,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: string): string; } @@ -404,13 +404,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.types b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.types index bdbe2c8db7a3a..0df79aabde7fd 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.types +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.types @@ -25,13 +25,13 @@ var a: { (x: string, y: string): string } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -42,7 +42,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: (x: string, y: string) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: string, y: string) => string @@ -50,7 +50,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: (x: string, y: string) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: string, y: string) => string @@ -63,13 +63,13 @@ function foo3(x: any) { } function foo4(x: I2); >foo4 : { (x: I2): any; (x: I2): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo4(x: I2); // error >foo4 : { (x: I2): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ @@ -80,13 +80,13 @@ function foo4(x: any) { } function foo5(x: I2); >foo5 : { (x: I2): any; (x: I2): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo5(x: I2); // ok >foo5 : { (x: I2): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ @@ -97,13 +97,13 @@ function foo5(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: (x: string, y: string) => string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: string, y: string) => string @@ -116,13 +116,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: I2); // error >foo14 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ @@ -133,7 +133,7 @@ function foo14(x: any) { } function foo14b(x: typeof a); >foo14b : { (x: typeof a): any; (x: I2): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: string, y: string) => string @@ -141,7 +141,7 @@ function foo14b(x: typeof a); function foo14b(x: I2); // ok >foo14b : { (x: (x: string, y: string) => string): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ @@ -152,13 +152,13 @@ function foo14b(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: I2); // ok >foo15 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.types b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.types index 96d3d00c12250..239aa50a68740 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.types +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.types @@ -65,7 +65,7 @@ class C { foo(x: T): T; >foo : { (x: number): number; (x: string): string; (x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : T > : ^ @@ -104,7 +104,7 @@ interface I2 { foo(x: T): T; >foo : { (x: number): number; (x: string): string; (x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : T > : ^ } @@ -144,13 +144,13 @@ var b = { function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -161,13 +161,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -178,13 +178,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -195,13 +195,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -212,7 +212,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: number): number; foo(x: string): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: number): number; foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: number): number; foo(x: string): string; } @@ -220,7 +220,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: number): number; foo(x: string): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: number): number; foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: number): number; foo(x: string): string; } @@ -233,7 +233,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: any): any; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: any): any; } @@ -241,7 +241,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: any): any; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: any): any; } @@ -254,13 +254,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -271,13 +271,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -288,13 +288,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // BUG 831930 >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -305,13 +305,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: number): number; foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // BUG 831930 >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: number): number; foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: number): number; foo(x: string): string; } @@ -324,13 +324,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // BUG 831930 >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -341,13 +341,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -358,13 +358,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: number): number; foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // BUG 831930 >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: number): number; foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: number): number; foo(x: string): string; } @@ -377,13 +377,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: any): any; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: any): any; } @@ -396,13 +396,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -413,13 +413,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -430,13 +430,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: number): number; foo(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: number): number; foo(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: number): number; foo(x: string): string; } @@ -449,13 +449,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: any): any; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: any): any; } @@ -468,13 +468,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.types b/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.types index 18064bf3242a8..6b2ef91f5cfb6 100644 --- a/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.types +++ b/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.types @@ -27,13 +27,13 @@ interface B { // ok, not considered identical because the steps of contextual signature instantiation create fresh type parameters function foo(x: A); >foo : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo(x: B); // error after constraints above made illegal >foo : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ diff --git a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.types b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.types index 522d1f6ecf39d..b873538973300 100644 --- a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.types +++ b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.types @@ -50,13 +50,13 @@ var a: { new(x: string) } function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -67,13 +67,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -84,13 +84,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -101,13 +101,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -118,7 +118,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: string) => any): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: string) => any > : ^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string) => any @@ -126,7 +126,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: string) => any): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string) => any > : ^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string) => any @@ -139,13 +139,13 @@ function foo3(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -156,13 +156,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -173,13 +173,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -190,13 +190,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: new (x: string) => any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string) => any > : ^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string) => any @@ -209,13 +209,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -226,13 +226,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -243,13 +243,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: string) => any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string) => any > : ^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string) => any @@ -262,13 +262,13 @@ function foo10(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -279,13 +279,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -296,13 +296,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: string) => any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string) => any > : ^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string) => any @@ -315,13 +315,13 @@ function foo13(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.types b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.types index bf1f8ae669a32..a84d1a2cf97b8 100644 --- a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.types +++ b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.types @@ -35,17 +35,17 @@ interface I2 { var a: { new(x: Date): string } >a : new (x: Date) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : Date > : ^^^^ var b = { new(x: RegExp) { return ''; } }; // not a construct signature, function called new >b : { "new"(x: RegExp): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ >{ new(x: RegExp) { return ''; } } : { "new"(x: RegExp): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ >new : (x: RegExp) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : RegExp > : ^^^^^^ >'' : "" @@ -53,13 +53,13 @@ var b = { new(x: RegExp) { return ''; } }; // not a construct signature, functio function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -70,13 +70,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -87,13 +87,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -104,7 +104,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: Date) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: Date) => string > : ^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Date) => string @@ -112,7 +112,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: Date) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Date) => string > : ^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Date) => string @@ -125,7 +125,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: RegExp): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: RegExp): string; } @@ -133,7 +133,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: RegExp): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: RegExp): string; } @@ -146,13 +146,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -163,13 +163,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error, types are structurally equal >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -180,13 +180,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: Date) => string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Date) => string > : ^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Date) => string @@ -199,13 +199,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: RegExp): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: RegExp): string; } @@ -218,13 +218,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -235,13 +235,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -252,13 +252,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: Date) => string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Date) => string > : ^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Date) => string @@ -271,13 +271,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: RegExp): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: RegExp): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: RegExp): string; } @@ -290,13 +290,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.types b/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.types index dbc90ac78b9e3..19a6aa93a8a4e 100644 --- a/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.types +++ b/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.types @@ -59,13 +59,13 @@ var b = { new(x: string) { return ''; } }; // not a construct signature, functio function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -76,13 +76,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -93,13 +93,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -110,7 +110,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: string, y: string) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string, y: string) => string @@ -118,7 +118,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: string, y: string) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string, y: string) => string @@ -131,7 +131,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: string): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: string): string; } @@ -139,7 +139,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: string): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: string): string; } @@ -152,13 +152,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -169,13 +169,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error, types are structurally equal >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -186,13 +186,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: string, y: string) => string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string, y: string) => string @@ -205,13 +205,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: string): string; } @@ -224,13 +224,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -241,13 +241,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -258,13 +258,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: string, y: string) => string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: string, y: string) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: string, y: string) => string @@ -277,13 +277,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: string): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: string): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: string): string; } @@ -296,13 +296,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^^^^^^^^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.types index 4cfc2b286092d..551aae2d38766 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.types @@ -9,7 +9,7 @@ class A { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -20,7 +20,7 @@ class B { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -31,7 +31,7 @@ class C { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -39,7 +39,7 @@ class C { interface I { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -47,26 +47,26 @@ interface I { interface I2 { foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } var a: { foo(x: T): T } >a : { foo(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^ >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var b = { foo(x: T) { return x; } }; >b : { foo(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^ >{ foo(x: T) { return x; } } : { foo(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^ >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -74,13 +74,13 @@ var b = { foo(x: T) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): T; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T): T; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): T; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): T; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): T; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.types index 4f5e134e9fc9b..3fef40f8eb745 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.types @@ -9,7 +9,7 @@ class A { foo(x: T, y: U): T { return null; } >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -22,7 +22,7 @@ class B { foo(x: T, y: U): T { return null; } >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -35,7 +35,7 @@ class C { foo(x: T, y: U): T { return null; } >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -45,7 +45,7 @@ class C { interface I { foo(x: T, y: U): T; >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -55,7 +55,7 @@ interface I { interface I2 { foo(x: T, y: U): T; >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -64,9 +64,9 @@ interface I2 { var a: { foo(x: T, y: U): T } >a : { foo(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^ >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -74,11 +74,11 @@ var a: { foo(x: T, y: U): T } var b = { foo(x: T, y: U) { return x; } }; >b : { foo(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^ >{ foo(x: T, y: U) { return x; } } : { foo(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^ >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : U @@ -88,13 +88,13 @@ var b = { foo(x: T, y: U) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -105,13 +105,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -122,13 +122,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -139,13 +139,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -156,7 +156,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): T; } @@ -164,7 +164,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T, y: U): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): T; } @@ -177,7 +177,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -185,7 +185,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T, y: U): T; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -198,13 +198,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -215,13 +215,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -232,13 +232,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -249,13 +249,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // no error, bug? >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): T; } @@ -268,13 +268,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -285,13 +285,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -302,13 +302,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): T; } @@ -321,13 +321,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -340,13 +340,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -357,13 +357,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -374,13 +374,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): T; } @@ -393,13 +393,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -412,13 +412,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.types index b62977dda1be3..e909ef894d854 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.types @@ -11,7 +11,7 @@ class A { foo(x: T): string { return null; } >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -22,7 +22,7 @@ class B> { foo(x: T): string { return null; } >foo : (x: T) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -33,7 +33,7 @@ class C { foo(x: T): string { return null; } >foo : (x: T) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -41,7 +41,7 @@ class C { interface I { foo(x: T): string; >foo : (x: T) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -49,26 +49,26 @@ interface I { interface I2 { foo(x: T): string; >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ } var a: { foo>(x: T): string } >a : { foo(x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ var b = { foo(x: T) { return ''; } }; >b : { foo(x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ foo(x: T) { return ''; } } : { foo(x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -76,13 +76,13 @@ var b = { foo(x: T) { return ''; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -93,13 +93,13 @@ function foo1(x: any) { } function foo1b(x: B>); >foo1b : { (x: B>): any; (x: B): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo1b(x: B>); // error >foo1b : { (x: B): any; (x: B>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^ @@ -110,13 +110,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -127,13 +127,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -144,7 +144,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): string; } @@ -152,7 +152,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): string; } @@ -165,7 +165,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): string; } @@ -173,7 +173,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): string; } @@ -186,13 +186,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B>); // ok >foo5 : { (x: A): any; (x: B>): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^ @@ -203,13 +203,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -220,13 +220,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -237,13 +237,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): string; } @@ -256,13 +256,13 @@ function foo7(x: any) { } function foo8(x: B>); >foo8 : { (x: B>): any; (x: I): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -273,13 +273,13 @@ function foo8(x: any) { } function foo9(x: B>); >foo9 : { (x: B>): any; (x: C): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -290,13 +290,13 @@ function foo9(x: any) { } function foo10(x: B>); >foo10 : { (x: B>): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): string; } @@ -309,13 +309,13 @@ function foo10(x: any) { } function foo11(x: B>); >foo11 : { (x: B>): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): string; } @@ -328,13 +328,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -345,13 +345,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -362,13 +362,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): string; } @@ -381,13 +381,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T): string; }): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): string; } @@ -400,13 +400,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.types index 61a01d284f03a..f75bf8b11fb13 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.types @@ -11,7 +11,7 @@ class A { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -24,7 +24,7 @@ class B> { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -37,7 +37,7 @@ class C { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -50,7 +50,7 @@ class D { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -60,7 +60,7 @@ class D { interface I { foo(x: T, y: U): string; >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -70,7 +70,7 @@ interface I { interface I2 { foo(x: T, y: U): string; >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -79,9 +79,9 @@ interface I2 { var a: { foo>(x: T, y: U): string } >a : { foo(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -89,11 +89,11 @@ var a: { foo>(x: T, y: U): string } var b = { foo(x: T, y: U) { return ''; } }; >b : { foo(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >{ foo(x: T, y: U) { return ''; } } : { foo(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : U @@ -103,13 +103,13 @@ var b = { foo(x: T, y: U) { return ''; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -120,13 +120,13 @@ function foo1(x: any) { } function foo1b(x: B, Array>); >foo1b : { (x: B, Array>): any; (x: B): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo1b(x: B, Array>); // error >foo1b : { (x: B): any; (x: B, Array>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ @@ -137,13 +137,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -154,13 +154,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -171,7 +171,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -179,7 +179,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T, y: U): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -192,7 +192,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -200,7 +200,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T, y: U): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -213,13 +213,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B, Array>); // ok >foo5 : { (x: A): any; (x: B, Array>): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ @@ -230,13 +230,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -247,13 +247,13 @@ function foo5b(x: any) { } function foo5c(x: C); >foo5c : { (x: C): any; (x: D): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo5c(x: D); // ok >foo5c : { (x: C): any; (x: D): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D > : ^^^^^^^^^^^^^^^^^ @@ -264,13 +264,13 @@ function foo5c(x: any) { } function foo6c(x: C); >foo6c : { (x: C): any; (x: D): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo6c(x: D); // error, "any" does not satisfy the constraint >foo6c : { (x: C): any; (x: D): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D > : ^^^^^^^^^^^^^^ @@ -281,13 +281,13 @@ function foo6c(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -298,13 +298,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -317,13 +317,13 @@ function foo7(x: any) { } function foo8(x: B, Array>); >foo8 : { (x: B, Array>): any; (x: I): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -334,13 +334,13 @@ function foo8(x: any) { } function foo9(x: B, Array>); >foo9 : { (x: B, Array>): any; (x: C): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -351,13 +351,13 @@ function foo9(x: any) { } function foo10(x: B, Array>); >foo10 : { (x: B, Array>): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -370,13 +370,13 @@ function foo10(x: any) { } function foo11(x: B, Array>); >foo11 : { (x: B, Array>): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -389,13 +389,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -406,13 +406,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -423,13 +423,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -442,13 +442,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -461,13 +461,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.types index ceec31ba54cff..55d5625d82f7e 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.types @@ -38,7 +38,7 @@ class A { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -51,7 +51,7 @@ class B { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -64,7 +64,7 @@ class C { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -77,7 +77,7 @@ class D> { foo(x: T, y: U): string { return null; } >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -87,7 +87,7 @@ class D> { interface I> { foo(x: T, y: U): string; >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -97,7 +97,7 @@ interface I> { interface I2 { foo>(x: T, y: U): string; >foo : >(x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -106,9 +106,9 @@ interface I2 { var a: { foo(x: T, y: U): string } >a : { foo(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -116,11 +116,11 @@ var a: { foo(x: T, y: U): string } var b = { foo(x: T, y: U) { return ''; } }; >b : { foo(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >{ foo(x: T, y: U) { return ''; } } : { foo(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >foo : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : U @@ -130,13 +130,13 @@ var b = { foo(x: T, y: U) { return ''; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -147,13 +147,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^ @@ -164,13 +164,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -181,13 +181,13 @@ function foo1c(x: any) { } function foo2(x: I, Five>); >foo2 : { (x: I, Five>): any; (x: I, Five>): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo2(x: I, Five>); // error >foo2 : { (x: I, Five>): any; (x: I, Five>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -198,7 +198,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -206,7 +206,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T, y: U): string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -219,7 +219,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -227,7 +227,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T, y: U): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -240,13 +240,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^ @@ -257,13 +257,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -274,13 +274,13 @@ function foo5b(x: any) { } function foo5c(x: C); >foo5c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ function foo5c(x: D, Four>); // error >foo5c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D, Four> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -291,13 +291,13 @@ function foo5c(x: any) { } function foo6c(x: C); >foo6c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ function foo6c(x: D, Four>); // error >foo6c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D, Four> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -308,13 +308,13 @@ function foo6c(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I, Five>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I, Five>); // ok >foo6 : { (x: A): any; (x: I, Five>): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -325,13 +325,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -344,13 +344,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I, Five>): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo8(x: I, Five>); // error >foo8 : { (x: B): any; (x: I, Five>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -361,13 +361,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -378,13 +378,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -397,13 +397,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -416,13 +416,13 @@ function foo11(x: any) { } function foo12(x: I, Five>); >foo12 : { (x: I, Five>): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I, Five>): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -433,13 +433,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -450,13 +450,13 @@ function foo12b(x: any) { } function foo13(x: I, Five>); >foo13 : { (x: I, Five>): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I, Five>): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y: U): string; } @@ -469,13 +469,13 @@ function foo13(x: any) { } function foo14(x: I, Five>); >foo14 : { (x: I, Five>): any; (x: { foo(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I, Five>): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): string; } @@ -488,13 +488,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.types index 3354bcf4c6cf8..821f84b133838 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.types @@ -11,7 +11,7 @@ class A { foo(x: T): string { return null; } >foo : (x: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -22,7 +22,7 @@ class B { foo(x: T): number { return null; } >foo : (x: T) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -33,7 +33,7 @@ class C { foo(x: T): boolean { return null; } >foo : (x: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -41,7 +41,7 @@ class C { interface I { foo(x: T): Date; >foo : (x: T) => Date -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -49,38 +49,38 @@ interface I { interface I2 { foo(x: T): RegExp; >foo : (x: T) => RegExp -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } var a: { foo(x: T): T } >a : { foo(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^ >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ var b = { foo(x: T) { return null; } }; >b : { foo(x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^ >{ foo(x: T) { return null; } } : { foo(x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^ >foo : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T): any; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T): any; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T): any; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T): any; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.types index 6010c58a0fc4d..b2dbf8420d5ef 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.types @@ -11,7 +11,7 @@ class A { foo(x: T): string { return null; } >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -22,7 +22,7 @@ class B { foo(x: T): number { return null; } >foo : (x: T) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -33,7 +33,7 @@ class C { foo(x: T): boolean { return null; } >foo : (x: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -41,7 +41,7 @@ class C { interface I { foo(x: T): Date; >foo : (x: T) => Date -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -49,38 +49,38 @@ interface I { interface I2 { foo(x: T): RegExp; >foo : (x: T) => RegExp -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ } var a: { foo(x: T): T } >a : { foo(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ var b = { foo(x: T) { return null; } }; >b : { foo(x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >{ foo(x: T) { return null; } } : { foo(x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >foo : (x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : T > : ^ function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T): any; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T): any; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T): any; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T): T; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T): T; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T): any; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T): any; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.types index 32d3e9be4999c..9321b7e02bed2 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.types @@ -9,7 +9,7 @@ class A { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -20,7 +20,7 @@ class B { foo(x: U): U { return null; } >foo : (x: U) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ } @@ -31,7 +31,7 @@ class C { foo(x: V): V { return null; } >foo : (x: V) => V -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : V > : ^ } @@ -39,7 +39,7 @@ class C { interface I { foo(x: X): X; >foo : (x: X) => X -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : X > : ^ } @@ -47,26 +47,26 @@ interface I { interface I2 { foo(x: Y): Y; >foo : (x: Y) => Y -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ >x : Y > : ^ } var a: { foo(x: Z): Z } >a : { foo(x: Z): Z; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >foo : (x: Z) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ >x : Z > : ^ var b = { foo(x: A) { return x; } }; >b : { foo(x: A): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >{ foo(x: A) { return x; } } : { foo(x: A): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >foo : (x: A) => A -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : A > : ^ >x : A @@ -74,13 +74,13 @@ var b = { foo(x: A) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: Z): Z; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: A): A; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: A): A; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // no error, bug? >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C>): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C>); // error >foo9 : { (x: B): any; (x: C>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: A): A; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I, number, Date, string>); >foo12 : { (x: I, number, Date, string>): any; (x: C, number, Date>): any; } -> : ^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, number, Date, string> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo12(x: C, number, Date>); // error >foo12 : { (x: I, number, Date, string>): any; (x: C, number, Date>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C, number, Date> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: A): A; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C, B>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C, B>); // ok >foo15 : { (x: I2): any; (x: C, B>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C, B> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.types index ea842589c3eb3..ebf5b649f8794 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.types @@ -18,19 +18,19 @@ interface I2 { var a: { (x: Z): Z } >a : (x: Z) => Z -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ >x : Z > : ^ function foo1(x: I); >foo1 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo1(x: I); // error >foo1 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -41,13 +41,13 @@ function foo1(x: any) { } function foo2(x: I2); >foo2 : { (x: I2): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo2(x: I2); // error >foo2 : { (x: I2): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^ @@ -58,7 +58,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: (x: Z) => Z): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: Z) => Z > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: Z) => Z @@ -66,7 +66,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: (x: Z) => Z): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (x: Z) => Z > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: Z) => Z @@ -79,13 +79,13 @@ function foo3(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: (x: Z) => Z): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : (x: Z) => Z > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: Z) => Z @@ -98,13 +98,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo14(x: I2); // error >foo14 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^ @@ -115,7 +115,7 @@ function foo14(x: any) { } function foo14b(x: typeof a); >foo14b : { (x: typeof a): any; (x: I2): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : (x: Z) => Z > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: Z) => Z @@ -123,7 +123,7 @@ function foo14b(x: typeof a); function foo14b(x: I2); // ok >foo14b : { (x: (x: Z) => Z): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^ @@ -134,13 +134,13 @@ function foo14b(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo15(x: I2); // ok >foo15 : { (x: I): any; (x: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I2 > : ^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.types index 9f39b832285c1..c91245d72861d 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.types @@ -9,7 +9,7 @@ class A { foo(x: T): T { return null; } >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -20,7 +20,7 @@ class B { foo(x: U): U { return null; } >foo : (x: U) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ } @@ -31,7 +31,7 @@ class C { foo(x: V): V { return null; } >foo : (x: V) => V -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : V > : ^ } @@ -39,7 +39,7 @@ class C { interface I { foo(x: X): X; >foo : (x: X) => X -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : X > : ^ } @@ -47,26 +47,26 @@ interface I { interface I2 { foo(x: Y): Y; >foo : (x: Y) => Y -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Y > : ^ } var a: { foo(x: Z): Z } >a : { foo(x: Z): Z; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^ >foo : (x: Z) => Z -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Z > : ^ var b = { foo(x: A) { return x; } }; >b : { foo(x: A): A; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^ >{ foo(x: A) { return x; } } : { foo(x: A): A; } -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^ >foo : (x: A) => A -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : A > : ^ >x : A @@ -74,13 +74,13 @@ var b = { foo(x: A) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -91,13 +91,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -108,13 +108,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -125,13 +125,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -142,7 +142,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -150,7 +150,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: Z): Z; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -163,7 +163,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: A): A; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -171,7 +171,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: A): A; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -184,13 +184,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -201,13 +201,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -218,13 +218,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -235,13 +235,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -254,13 +254,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -271,13 +271,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -288,13 +288,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -307,13 +307,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: A): A; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -326,13 +326,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -343,13 +343,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -360,13 +360,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: Z): Z; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: Z): Z; } > : ^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: Z): Z; } @@ -379,13 +379,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: A): A; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: A): A; } @@ -398,13 +398,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.types index 99e93cceb1775..d16e9325a0f04 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.types @@ -11,7 +11,7 @@ class A { foo(x: T, y?: T): T { return null; } >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -24,7 +24,7 @@ class B { foo(x: T, y?: T): T { return null; } >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -37,7 +37,7 @@ class C { foo(x: T, y?: T): T { return null; } >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -47,7 +47,7 @@ class C { interface I { foo(x: T, y?: T): T; >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -57,7 +57,7 @@ interface I { interface I2 { foo(x: T, y?: T): T; >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -66,9 +66,9 @@ interface I2 { var a: { foo(x: T, y?: T): T } >a : { foo(x: T, y?: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^ ^^^ ^^^ >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -76,11 +76,11 @@ var a: { foo(x: T, y?: T): T } var b = { foo(x: T, y?: T) { return x; } }; >b : { foo(x: T, y?: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ >{ foo(x: T, y?: T) { return x; } } : { foo(x: T, y?: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ >foo : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^ >x : T > : ^ >y : T @@ -90,13 +90,13 @@ var b = { foo(x: T, y?: T) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -107,13 +107,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -124,13 +124,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -141,13 +141,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -158,7 +158,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: T): T; } @@ -166,7 +166,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T, y?: T): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: T): T; } @@ -179,7 +179,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: T): T; } @@ -187,7 +187,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T, y?: T): T; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: T): T; } @@ -200,13 +200,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -217,13 +217,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -234,13 +234,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -251,13 +251,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // no error, bug? >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: T): T; } @@ -270,13 +270,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -287,13 +287,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -304,13 +304,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: T): T; } @@ -323,13 +323,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: T): T; } @@ -342,13 +342,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -359,13 +359,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -376,13 +376,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: T): T; } @@ -395,13 +395,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T, y?: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: T): T; } @@ -414,13 +414,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.types index 9cb971b432cc5..a312edfd97cba 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.types @@ -11,7 +11,7 @@ class A { foo(x: T, y?: U): T { return null; } >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -24,7 +24,7 @@ class B { foo(x: T, y?: U): T { return null; } >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -37,7 +37,7 @@ class C { foo(x: T, y?: U): T { return null; } >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -47,7 +47,7 @@ class C { interface I { foo(x: T, y?: U): T; >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -57,7 +57,7 @@ interface I { interface I2 { foo(x: T, y?: U): T; >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -66,9 +66,9 @@ interface I2 { var a: { foo(x: T, y?: U): T } >a : { foo(x: T, y?: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^^ ^^^ ^^^ >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -76,11 +76,11 @@ var a: { foo(x: T, y?: U): T } var b = { foo(x: T, y?: U) { return x; } }; >b : { foo(x: T, y?: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^^ ^^^^^^^ >{ foo(x: T, y?: U) { return x; } } : { foo(x: T, y?: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^^ ^^^^^^^ >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^ >x : T > : ^ >y : U @@ -90,13 +90,13 @@ var b = { foo(x: T, y?: U) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -107,13 +107,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -124,13 +124,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -141,13 +141,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -158,7 +158,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -166,7 +166,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T, y?: U): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -179,7 +179,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: U): T; } @@ -187,7 +187,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T, y?: U): T; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: U): T; } @@ -200,13 +200,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -217,13 +217,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -234,13 +234,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -251,13 +251,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // no error, bug? >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -270,13 +270,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -287,13 +287,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -304,13 +304,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -323,13 +323,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: U): T; } @@ -342,13 +342,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -359,13 +359,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -376,13 +376,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -395,13 +395,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y?: U): T; } @@ -414,13 +414,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.types b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.types index 27d81a7e18a02..83747d6245b4c 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.types @@ -11,7 +11,7 @@ class A { foo(x: T, y?: U): T { return null; } >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -24,7 +24,7 @@ class B { foo(x: T, y: U): T { return null; } >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -37,7 +37,7 @@ class C { foo(x: T, y?: U): T { return null; } >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -47,7 +47,7 @@ class C { interface I { foo(x: T, y?: U): T; >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -57,7 +57,7 @@ interface I { interface I2 { foo(x: T, y: U): T; >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -66,9 +66,9 @@ interface I2 { var a: { foo(x: T, y?: U): T } >a : { foo(x: T, y?: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^^ ^^^ ^^^ >foo : (x: T, y?: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -76,11 +76,11 @@ var a: { foo(x: T, y?: U): T } var b = { foo(x: T, y: U) { return x; } }; >b : { foo(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^ >{ foo(x: T, y: U) { return x; } } : { foo(x: T, y: U): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^ >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : U @@ -90,13 +90,13 @@ var b = { foo(x: T, y: U) { return x; } }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -107,13 +107,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -124,13 +124,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -141,13 +141,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -158,7 +158,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -166,7 +166,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo(x: T, y?: U): T; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -179,7 +179,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -187,7 +187,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo(x: T, y: U): T; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -200,13 +200,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -217,13 +217,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -234,13 +234,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -251,13 +251,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // no error, bug? >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -270,13 +270,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -287,13 +287,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -304,13 +304,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -323,13 +323,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -342,13 +342,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -359,13 +359,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -376,13 +376,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo(x: T, y?: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y?: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { foo(x: T, y?: U): T; } @@ -395,13 +395,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo(x: T, y: U): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo(x: T, y: U): T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { foo(x: T, y: U): T; } @@ -414,13 +414,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.types index 79312a32b1894..ab2f3030fc7b2 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.types @@ -37,17 +37,17 @@ interface I2 { var a: { new>(x: T): string } >a : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ var b = { new(x: T) { return ''; } }; // not a construct signature, function called new >b : { "new"(x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ new(x: T) { return ''; } } : { "new"(x: T): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >new : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -55,13 +55,13 @@ var b = { new(x: T) { return ''; } }; // not a construct signa function foo1b(x: B>); >foo1b : { (x: B>): any; (x: B): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo1b(x: B>); // error >foo1b : { (x: B): any; (x: B>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^ @@ -72,13 +72,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -89,13 +89,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -106,7 +106,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => string @@ -114,7 +114,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => string @@ -127,7 +127,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): string; } @@ -135,7 +135,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): string; } @@ -148,13 +148,13 @@ function foo4(x: any) { } function foo8(x: B>); >foo8 : { (x: B>): any; (x: I): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -165,13 +165,13 @@ function foo8(x: any) { } function foo9(x: B>); >foo9 : { (x: B>): any; (x: C): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo9(x: C); // error, types are structurally equal >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -182,13 +182,13 @@ function foo9(x: any) { } function foo10(x: B>); >foo10 : { (x: B>): any; (x: new (x: T) => string): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => string @@ -201,13 +201,13 @@ function foo10(x: any) { } function foo11(x: B>); >foo11 : { (x: B>): any; (x: { "new"(x: T): string; }): any; } -> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): string; } @@ -220,13 +220,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -237,13 +237,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -254,13 +254,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T) => string): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => string @@ -273,13 +273,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T): string; }): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): string; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.types index 905751c8f68d7..c905edcf1fc65 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.types @@ -56,7 +56,7 @@ interface I2 { var a: { new>(x: T, y: U): string } >a : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -64,11 +64,11 @@ var a: { new>(x: T, y: U): string } var b = { new(x: T, y: U) { return ''; } }; // not a construct signature, function called new >b : { "new"(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >{ new(x: T, y: U) { return ''; } } : { "new"(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >new : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : U @@ -78,13 +78,13 @@ var b = { new(x: T, y: U) { return ''; } }; // no function foo1b(x: B, Array>); >foo1b : { (x: B, Array>): any; (x: B): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo1b(x: B, Array>); // error >foo1b : { (x: B): any; (x: B, Array>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ @@ -95,13 +95,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -112,13 +112,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -129,7 +129,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T, y: U) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -137,7 +137,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T, y: U) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -150,7 +150,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T, y: U): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } @@ -158,7 +158,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T, y: U): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } @@ -171,13 +171,13 @@ function foo4(x: any) { } function foo5c(x: C); >foo5c : { (x: C): any; (x: D): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo5c(x: D); // ok >foo5c : { (x: C): any; (x: D): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D > : ^^^^^^^^^^^^^^^^^ @@ -188,13 +188,13 @@ function foo5c(x: any) { } function foo6c(x: C); >foo6c : { (x: C): any; (x: D): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo6c(x: D); // ok >foo6c : { (x: C): any; (x: D): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D > : ^^^^^^^^^^^^^^ @@ -205,13 +205,13 @@ function foo6c(x: any) { } function foo8(x: B, Array>); >foo8 : { (x: B, Array>): any; (x: I): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -222,13 +222,13 @@ function foo8(x: any) { } function foo9(x: B, Array>); >foo9 : { (x: B, Array>): any; (x: C): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo9(x: C); // error, types are structurally equal >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -239,13 +239,13 @@ function foo9(x: any) { } function foo10(x: B, Array>); >foo10 : { (x: B, Array>): any; (x: new (x: T, y: U) => string): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -258,13 +258,13 @@ function foo10(x: any) { } function foo11(x: B, Array>); >foo11 : { (x: B, Array>): any; (x: { "new"(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } @@ -277,13 +277,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -294,13 +294,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -311,13 +311,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T, y: U) => string): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -330,13 +330,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.types index 36a1ed3c64469..174bc7d9fce98 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.types @@ -83,7 +83,7 @@ interface I2 { var a: { new(x: T, y: U): string } >a : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -91,11 +91,11 @@ var a: { new(x: T, y: U): string } var b = { new(x: T, y: U) { return ''; } }; // not a construct signature, function called new >b : { "new"(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >{ new(x: T, y: U) { return ''; } } : { "new"(x: T, y: U): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ >new : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : U @@ -105,13 +105,13 @@ var b = { new(x: T, y: U) { return ''; } }; // not a function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^ @@ -122,13 +122,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -139,13 +139,13 @@ function foo1c(x: any) { } function foo2(x: I, Five>); >foo2 : { (x: I, Five>): any; (x: I, Five>): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo2(x: I, Five>); // error >foo2 : { (x: I, Five>): any; (x: I, Five>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -156,7 +156,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T, y: U) => string): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -164,7 +164,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T, y: U) => string): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -177,7 +177,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T, y: U): string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } @@ -185,7 +185,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T, y: U): string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } @@ -198,13 +198,13 @@ function foo4(x: any) { } function foo5c(x: C); >foo5c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ function foo5c(x: D, Four>); // error >foo5c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D, Four> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -215,13 +215,13 @@ function foo5c(x: any) { } function foo6c(x: C); >foo6c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ function foo6c(x: D, Four>); // error >foo6c : { (x: C): any; (x: D, Four>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D, Four> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -232,13 +232,13 @@ function foo6c(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I, Five>): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo8(x: I, Five>); // error >foo8 : { (x: B): any; (x: I, Five>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -249,13 +249,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -266,13 +266,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: T, y: U) => string): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -285,13 +285,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } @@ -304,13 +304,13 @@ function foo11(x: any) { } function foo12(x: I, Five>); >foo12 : { (x: I, Five>): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I, Five>): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -321,13 +321,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^ @@ -338,13 +338,13 @@ function foo12b(x: any) { } function foo13(x: I, Five>); >foo13 : { (x: I, Five>): any; (x: new (x: T, y: U) => string): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I, Five>): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y: U) => string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y: U) => string @@ -357,13 +357,13 @@ function foo13(x: any) { } function foo14(x: I, Five>); >foo14 : { (x: I, Five>): any; (x: { "new"(x: T, y: U): string; }): any; } -> : ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, Five> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I, Five>): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): string; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.types index 479623a8d955e..52d1954f7b810 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.types @@ -37,29 +37,29 @@ interface I2 { var a: { new(x: T): T } >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var b = { new(x: T): T { return null; } }; // not a construct signature, function called new >b : { "new"(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >{ new(x: T): T { return null; } } : { "new"(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^ ^^^ >new : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -70,13 +70,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -87,13 +87,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -104,7 +104,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T) => T): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -112,7 +112,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T) => T): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -125,7 +125,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T): T; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): T; } @@ -133,7 +133,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T): T; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): T; } @@ -146,7 +146,7 @@ function foo4(x: any) { } function foo5(x: typeof a): number; >foo5 : { (x: typeof a): number; (x: { "new"(x: T): T; }): string; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -154,7 +154,7 @@ function foo5(x: typeof a): number; function foo5(x: typeof b): string; // ok >foo5 : { (x: new (x: T) => T): number; (x: typeof b): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : { "new"(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): T; } @@ -167,13 +167,13 @@ function foo5(x: any): any { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -184,13 +184,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // error since types are structurally equal >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -201,13 +201,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: T) => T): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -220,13 +220,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): T; } @@ -239,13 +239,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -256,13 +256,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -273,13 +273,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T) => T): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -292,13 +292,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T): T; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): T; } @@ -311,13 +311,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.types index 9e0b1df1d4fad..4e4ed4af11718 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.types @@ -37,29 +37,29 @@ interface I2 { var a: { new(x: T): T } >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ var b = { new(x: T) { return null; } }; // not a construct signature, function called new >b : { "new"(x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >{ new(x: T) { return null; } } : { "new"(x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >new : (x: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : T > : ^ function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^ @@ -70,13 +70,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -87,13 +87,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^ @@ -104,7 +104,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T) => T): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -112,7 +112,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T) => T): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -125,7 +125,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T): any; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): any; } @@ -133,7 +133,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T): any; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): any; } @@ -146,13 +146,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^ @@ -163,13 +163,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo9(x: C); // error since types are structurally equal >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -180,13 +180,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: T) => T): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -199,13 +199,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: T): any; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): any; } @@ -218,13 +218,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -235,13 +235,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -252,13 +252,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T) => T): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T @@ -271,13 +271,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T): any; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T): any; } @@ -290,13 +290,13 @@ function foo14(x: any) { } function foo15(x: I2); >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo15(x: C); // ok >foo15 : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.types index 94c65a8660ac3..5ddcca616600f 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.types @@ -35,17 +35,17 @@ interface I2 { var a: { new (x: Z): C; } >a : new (x: Z) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ +> : ^^^^^ ^^ ^^ ^^^^^^^^^^^^ ^^^^^ >x : Z > : ^ var b = { new(x: A) { return x; } }; >b : { "new"(x: A): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >{ new(x: A) { return x; } } : { "new"(x: A): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >new : (x: A) => A -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : A > : ^ >x : A @@ -53,13 +53,13 @@ var b = { new(x: A) { return x; } }; function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -70,13 +70,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -87,13 +87,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -104,7 +104,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: Z) => C): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: Z) => C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => C @@ -112,7 +112,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: Z) => C): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Z) => C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => C @@ -125,7 +125,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: A): A; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): A; } @@ -133,7 +133,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: A): A; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): A; } @@ -146,13 +146,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // BUG 832086 >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -163,13 +163,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C>): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C>); // error >foo9 : { (x: B): any; (x: C>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -180,13 +180,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: Z) => C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Z) => C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => C @@ -199,13 +199,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: A): A; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): A; } @@ -218,13 +218,13 @@ function foo11(x: any) { } function foo12(x: I, number, Date, string>); >foo12 : { (x: I, number, Date, string>): any; (x: C, number, Date>): any; } -> : ^^^^^^^ ^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I, number, Date, string> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo12(x: C, number, Date>); // ok >foo12 : { (x: I, number, Date, string>): any; (x: C, number, Date>): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C, number, Date> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -235,13 +235,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // BUG 832086 >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -252,13 +252,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: Z) => C): any; } -> : ^^^^^^^ ^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Z) => C > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => C @@ -271,13 +271,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: A): A; }): any; } -> : ^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: A): A; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): A; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.types index 58ed8cc43ccd1..3a17952a55ac3 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.types @@ -35,17 +35,17 @@ interface I2 { var a: { new(x: Z): B } >a : new (x: Z) => B -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^ ^^^^^ >x : Z > : ^ var b = { new(x: A) { return new C(x); } }; >b : { "new"(x: A): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ >{ new(x: A) { return new C(x); } } : { "new"(x: A): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ >new : (x: A) => C -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : A > : ^ >new C(x) : C @@ -57,13 +57,13 @@ var b = { new(x: A) { return new C(x); } }; function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -74,13 +74,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -91,13 +91,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -108,7 +108,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: Z) => B): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: Z) => B > : ^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => B @@ -116,7 +116,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: Z) => B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Z) => B > : ^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => B @@ -129,7 +129,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: A): C; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: A): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): C; } @@ -137,7 +137,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: A): C; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: A): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): C; } @@ -150,13 +150,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I); // BUG 832086 >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -167,13 +167,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -184,13 +184,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: Z) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // BUG 832086 >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Z) => B > : ^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => B @@ -203,13 +203,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: A): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: A): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): C; } @@ -222,13 +222,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -239,13 +239,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // BUG 832086 >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -256,13 +256,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: Z) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // BUG 832086 >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: Z) => B > : ^^^^^^^^^^^^^^^^^^^^^ >a : new (x: Z) => B @@ -275,13 +275,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: A): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: A): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: A): C; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.types index 341d3b53fd711..eccadf1f2db74 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.types @@ -45,7 +45,7 @@ interface I2 { var a: { new(x: T, y?: T): B } >a : new (x: T, y?: T) => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -53,11 +53,11 @@ var a: { new(x: T, y?: T): B } var b = { new(x: T, y?: T) { return new C(x, y); } }; // not a construct signature, function called new >b : { "new"(x: T, y?: T): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ >{ new(x: T, y?: T) { return new C(x, y); } } : { "new"(x: T, y?: T): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ >new : (x: T, y?: T) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^^^^^ >x : T > : ^ >y : T @@ -73,13 +73,13 @@ var b = { new(x: T, y?: T) { return new C(x, y); } }; // not a construct s function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^ @@ -90,13 +90,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -107,13 +107,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^ @@ -124,7 +124,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T, y?: T) => B): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T, y?: T) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: T) => B @@ -132,7 +132,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T, y?: T) => B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: T) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: T) => B @@ -145,7 +145,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T, y?: T): C; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T, y?: T): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: T): C; } @@ -153,7 +153,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T, y?: T): C; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y?: T): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: T): C; } @@ -166,13 +166,13 @@ function foo4(x: any) { } function foo8(x: B): string; >foo8 : { (x: B): string; (x: I): number; } -> : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo8(x: I): number; // BUG 832086 >foo8 : { (x: B): string; (x: I): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : I > : ^^^^^^^^^ @@ -183,13 +183,13 @@ function foo8(x: any): any { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo9(x: C); // error, differ only by return type >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -200,13 +200,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: T, y?: T) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo10(x: typeof a); // BUG 832086 >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: T) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: T) => B @@ -219,13 +219,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: T, y?: T): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y?: T): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: T): C; } @@ -238,13 +238,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -255,13 +255,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // BUG 832086 >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -272,13 +272,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T, y?: T) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo13(x: typeof a); // BUG 832086 >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: T) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: T) => B @@ -291,13 +291,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T, y?: T): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y?: T): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: T): C; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.types index 660d6cd9ce64b..4495d75067f1f 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.types @@ -45,7 +45,7 @@ interface I2 { var a: { new(x: T, y?: U): B } >a : new (x: T, y?: U) => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -53,11 +53,11 @@ var a: { new(x: T, y?: U): B } var b = { new(x: T, y?: U) { return new C(x, y); } }; // not a construct signature, function called new >b : { "new"(x: T, y?: U): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^ >{ new(x: T, y?: U) { return new C(x, y); } } : { "new"(x: T, y?: U): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^ >new : (x: T, y?: U) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^ >x : T > : ^ >y : U @@ -73,13 +73,13 @@ var b = { new(x: T, y?: U) { return new C(x, y); } }; // not a const function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -90,13 +90,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -107,13 +107,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -124,7 +124,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T, y?: U) => B): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -132,7 +132,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T, y?: U) => B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -145,7 +145,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T, y?: U): C; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T, y?: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: U): C; } @@ -153,7 +153,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T, y?: U): C; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y?: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: U): C; } @@ -166,13 +166,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // BUG 832086 >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -183,13 +183,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -200,13 +200,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: T, y?: U) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // BUG 832086 >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -219,13 +219,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: T, y?: U): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y?: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: U): C; } @@ -238,13 +238,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // BUG 832086 >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -255,13 +255,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // ok >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -272,13 +272,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T, y?: U) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // BUG 832086 >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -291,13 +291,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T, y?: U): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y?: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y?: U): C; } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.types b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.types index 6b10529be8688..4a439bf4b0973 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.types +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.types @@ -45,7 +45,7 @@ interface I2 { var a: { new (x: T, y?: U): B }; >a : new (x: T, y?: U) => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^^ ^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -53,11 +53,11 @@ var a: { new (x: T, y?: U): B }; var b = { new(x: T, y: U) { return new C(x, y); } }; // not a construct signature, function called new >b : { "new"(x: T, y: U): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ >{ new(x: T, y: U) { return new C(x, y); } } : { "new"(x: T, y: U): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ >new : (x: T, y: U) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ >x : T > : ^ >y : U @@ -73,13 +73,13 @@ var b = { new(x: T, y: U) { return new C(x, y); } }; // not a constr function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ @@ -90,13 +90,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -107,13 +107,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -124,7 +124,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: new (x: T, y?: U) => B): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -132,7 +132,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: new (x: T, y?: U) => B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -145,7 +145,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { "new"(x: T, y: U): C; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { "new"(x: T, y: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): C; } @@ -153,7 +153,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { "new"(x: T, y: U): C; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): C; } @@ -166,13 +166,13 @@ function foo4(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo8(x: I); // BUG 832086 >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ @@ -183,13 +183,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo9(x: C); // error, differ only by return type >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -200,13 +200,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: new (x: T, y?: U) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo10(x: typeof a); // BUG 832086 >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -219,13 +219,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { "new"(x: T, y: U): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^^^^^^^^^^^^^^^^^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): C; } @@ -238,13 +238,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -255,13 +255,13 @@ function foo12(x: any) { } function foo12b(x: I2); >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I2 > : ^^ function foo12b(x: C); // BUG 832086 >foo12b : { (x: I2): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^^^^^^^^ @@ -272,13 +272,13 @@ function foo12b(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: new (x: T, y?: U) => B): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo13(x: typeof a); // BUG 832086 >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : new (x: T, y?: U) => B > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T, y?: U) => B @@ -291,13 +291,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { "new"(x: T, y: U): C; }): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^^^^^^^^^^^^^^^^^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { "new"(x: T, y: U): C; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { "new"(x: T, y: U): C; } diff --git a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.types b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.types index 5396c4b55f954..f1dbb867dce43 100644 --- a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.types +++ b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.types @@ -72,13 +72,13 @@ var b: { [x: number]: string; } = { 0: '' }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -89,13 +89,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -106,13 +106,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -123,13 +123,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -140,7 +140,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: string; } @@ -148,7 +148,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { [x: number]: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: string; } @@ -161,7 +161,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -169,7 +169,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { [x: number]: string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -182,13 +182,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -199,13 +199,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -216,13 +216,13 @@ function foo5b(x: any) { } function foo5c(x: A); >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5c(x: PA); // error >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -233,13 +233,13 @@ function foo5c(x: any) { } function foo5d(x: A); >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5d(x: PB); // error >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -250,13 +250,13 @@ function foo5d(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -267,13 +267,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: string; } @@ -286,13 +286,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -303,13 +303,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -320,13 +320,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: string; } @@ -339,13 +339,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -358,13 +358,13 @@ function foo11(x: any) { } function foo11b(x: B); >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11b(x: PA); // error >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -375,13 +375,13 @@ function foo11b(x: any) { } function foo11c(x: B); >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11c(x: PB); // error >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -392,13 +392,13 @@ function foo11c(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -409,13 +409,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: string; } @@ -428,13 +428,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -447,13 +447,13 @@ function foo14(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: PA); // error >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -464,13 +464,13 @@ function foo15(x: any) { } function foo16(x: I); >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo16(x: PB); // error >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.types b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.types index e3725c3afc649..b8231cd4849f4 100644 --- a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.types +++ b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.types @@ -78,7 +78,7 @@ var b: { [x: number]: Derived; } = { 0: null }; >x : number > : ^^^^^^ >{ 0: null } : { 0: Derived; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^ >0 : Derived > : ^^^^^^^ >null : Derived @@ -86,13 +86,13 @@ var b: { [x: number]: Derived; } = { 0: null }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -103,13 +103,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -120,13 +120,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -137,13 +137,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -154,7 +154,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { [x: number]: Base; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: Base; } @@ -162,7 +162,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { [x: number]: Base; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: Base; } @@ -175,7 +175,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { [x: number]: Derived; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: number]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: Derived; } @@ -183,7 +183,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { [x: number]: Derived; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: Derived; } @@ -196,13 +196,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -213,13 +213,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^ @@ -230,13 +230,13 @@ function foo5b(x: any) { } function foo5c(x: A); >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5c(x: PA); // error >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -247,13 +247,13 @@ function foo5c(x: any) { } function foo5d(x: A); >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5d(x: PB); // ok >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -264,13 +264,13 @@ function foo5d(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -281,13 +281,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { [x: number]: Base; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: Base; } @@ -300,13 +300,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -317,13 +317,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -334,13 +334,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { [x: number]: Base; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: Base; } @@ -353,13 +353,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { [x: number]: Derived; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: Derived; } @@ -372,13 +372,13 @@ function foo11(x: any) { } function foo11b(x: B); >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11b(x: PA); // ok >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -389,13 +389,13 @@ function foo11b(x: any) { } function foo11c(x: B); >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11c(x: PB); // error >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -406,13 +406,13 @@ function foo11c(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^ @@ -423,13 +423,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { [x: number]: Base; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: number]: Base; } @@ -442,13 +442,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { [x: number]: Derived; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: Derived; } @@ -461,13 +461,13 @@ function foo14(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: PA); // ok >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -478,13 +478,13 @@ function foo15(x: any) { } function foo16(x: I); >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo16(x: PB); // error >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.types b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.types index 62925cd0933b6..f53c345d2f425 100644 --- a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.types +++ b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.types @@ -72,13 +72,13 @@ var b: { [x: number]: string; } = { 0: '' }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -89,13 +89,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -106,13 +106,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -123,13 +123,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -140,7 +140,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -148,7 +148,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { [x: string]: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -161,7 +161,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -169,7 +169,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { [x: number]: string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -182,13 +182,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -199,13 +199,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -216,13 +216,13 @@ function foo5b(x: any) { } function foo5c(x: A); >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5c(x: PA); // error >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -233,13 +233,13 @@ function foo5c(x: any) { } function foo5d(x: A); >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5d(x: PB); // ok >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -250,13 +250,13 @@ function foo5d(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -267,13 +267,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -286,13 +286,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -303,13 +303,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -320,13 +320,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -339,13 +339,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // ok >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -358,13 +358,13 @@ function foo11(x: any) { } function foo11b(x: B); >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11b(x: PA); // ok >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -375,13 +375,13 @@ function foo11b(x: any) { } function foo11c(x: B); >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11c(x: PB); // error >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -392,13 +392,13 @@ function foo11c(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -409,13 +409,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -428,13 +428,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { [x: number]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: number]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: number]: string; } @@ -447,13 +447,13 @@ function foo14(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: PA); // ok >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -464,13 +464,13 @@ function foo15(x: any) { } function foo16(x: I); >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo16(x: PB); // error >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithOptionality.types b/tests/baselines/reference/objectTypesIdentityWithOptionality.types index 7fa9b08f973ca..59a4137388551 100644 --- a/tests/baselines/reference/objectTypesIdentityWithOptionality.types +++ b/tests/baselines/reference/objectTypesIdentityWithOptionality.types @@ -54,13 +54,13 @@ var b = { foo: '' }; function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -71,7 +71,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo?: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo?: string; } > : ^^^^^^^^^^^^^^^^^ >a : { foo?: string; } @@ -79,7 +79,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo?: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo?: string; } > : ^^^^^^^^^^^^^^^^^ >a : { foo?: string; } @@ -92,13 +92,13 @@ function foo3(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -109,13 +109,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo?: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // ok >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo?: string; } > : ^^^^^^^^^^^^^^^^^ >a : { foo?: string; } @@ -128,13 +128,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // ok >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -145,13 +145,13 @@ function foo8(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo?: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo?: string; } > : ^^^^^^^^^^^^^^^^^ >a : { foo?: string; } @@ -164,13 +164,13 @@ function foo10(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // ok >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -181,13 +181,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo?: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo?: string; } > : ^^^^^^^^^^^^^^^^^ >a : { foo?: string; } @@ -200,13 +200,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // ok >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } diff --git a/tests/baselines/reference/objectTypesIdentityWithPrivates.types b/tests/baselines/reference/objectTypesIdentityWithPrivates.types index fe65a7d4406fc..4422464c62359 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPrivates.types +++ b/tests/baselines/reference/objectTypesIdentityWithPrivates.types @@ -68,13 +68,13 @@ var b = { foo: '' }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -85,13 +85,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -102,13 +102,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -119,13 +119,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -136,7 +136,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -144,7 +144,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -157,7 +157,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -165,7 +165,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo: string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -178,13 +178,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // no error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -195,13 +195,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // no error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -212,13 +212,13 @@ function foo5b(x: any) { } function foo5c(x: A); >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5c(x: PA); // error >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -229,13 +229,13 @@ function foo5c(x: any) { } function foo5d(x: A); >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5d(x: PB); // no error >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -246,13 +246,13 @@ function foo5d(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // no error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -263,13 +263,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // no error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -282,13 +282,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // no error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -299,13 +299,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // no error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -316,13 +316,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // no error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -335,13 +335,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // no error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -354,13 +354,13 @@ function foo11(x: any) { } function foo11b(x: B); >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11b(x: PA); // no error >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -371,13 +371,13 @@ function foo11b(x: any) { } function foo11c(x: B); >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11c(x: PB); // error >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -388,13 +388,13 @@ function foo11c(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // no error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -405,13 +405,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -424,13 +424,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -443,13 +443,13 @@ function foo14(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: PA); // no error >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -460,13 +460,13 @@ function foo15(x: any) { } function foo16(x: I); >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo16(x: PB); // no error >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithPrivates2.types b/tests/baselines/reference/objectTypesIdentityWithPrivates2.types index 8a75fa863e4bc..f3921e9907604 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPrivates2.types +++ b/tests/baselines/reference/objectTypesIdentityWithPrivates2.types @@ -21,13 +21,13 @@ class D extends C { function foo1(x: C); >foo1 : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1(x: C); // ok >foo1 : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -38,13 +38,13 @@ function foo1(x: any) { } function foo2(x: D); >foo2 : { (x: D): any; (x: D): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : D > : ^^^^^^^^^ function foo2(x: D); // ok >foo2 : { (x: D): any; (x: D): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D > : ^^^^^^^^^ @@ -55,13 +55,13 @@ function foo2(x: any) { } function foo3(x: C); >foo3 : { (x: C): any; (x: D): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo3(x: D); // ok >foo3 : { (x: C): any; (x: D): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : D > : ^^^^^^^^^ @@ -72,13 +72,13 @@ function foo3(x: any) { } function foo4(x: C): number; >foo4 : { (x: C): number; (x: D): string; } -> : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo4(x: D): string; // BUG 831926 >foo4 : { (x: C): number; (x: D): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : D > : ^^^^^^^^^ @@ -113,13 +113,13 @@ var r = foo4(new D()); function foo5(x: C): number; >foo5 : { (x: C): number; (x: C): string; } -> : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo5(x: C): string; // error >foo5 : { (x: C): number; (x: C): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : C > : ^^^^^^^^^ @@ -130,13 +130,13 @@ function foo5(x: any): any { } function foo6(x: D): number; >foo6 : { (x: D): number; (x: D): string; } -> : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : D > : ^^^^^^^^^ function foo6(x: D): string; // error >foo6 : { (x: D): number; (x: D): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : D > : ^^^^^^^^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithPublics.types b/tests/baselines/reference/objectTypesIdentityWithPublics.types index 59e0e93e04d8c..81d5f14a53c41 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPublics.types +++ b/tests/baselines/reference/objectTypesIdentityWithPublics.types @@ -54,13 +54,13 @@ var b = { foo: '' }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -71,13 +71,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -88,13 +88,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -105,13 +105,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -122,7 +122,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { foo: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -130,7 +130,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { foo: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -143,7 +143,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { foo: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -151,7 +151,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { foo: string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -164,13 +164,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -181,13 +181,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -198,13 +198,13 @@ function foo5b(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -215,13 +215,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -234,13 +234,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -251,13 +251,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -268,13 +268,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -287,13 +287,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } @@ -306,13 +306,13 @@ function foo11(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -323,13 +323,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >a : { foo: string; } @@ -342,13 +342,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { foo: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { foo: string; } > : ^^^^^^^^^^^^^^^^ >b : { foo: string; } diff --git a/tests/baselines/reference/objectTypesIdentityWithStringIndexers.types b/tests/baselines/reference/objectTypesIdentityWithStringIndexers.types index 8fc9c25f4b91c..f7efb496ad344 100644 --- a/tests/baselines/reference/objectTypesIdentityWithStringIndexers.types +++ b/tests/baselines/reference/objectTypesIdentityWithStringIndexers.types @@ -72,13 +72,13 @@ var b: { [x: string]: string; } = { foo: '' }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -89,13 +89,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -106,13 +106,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -123,13 +123,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -140,7 +140,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -148,7 +148,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { [x: string]: string; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -161,7 +161,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: string; } @@ -169,7 +169,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { [x: string]: string; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: string; } @@ -182,13 +182,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // error >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -199,13 +199,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // error >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -216,13 +216,13 @@ function foo5b(x: any) { } function foo5c(x: A); >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5c(x: PA); // error >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -233,13 +233,13 @@ function foo5c(x: any) { } function foo5d(x: A); >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5d(x: PB); // error >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -250,13 +250,13 @@ function foo5d(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // error >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -267,13 +267,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -286,13 +286,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -303,13 +303,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // error >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -320,13 +320,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // error >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -339,13 +339,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: string; } @@ -358,13 +358,13 @@ function foo11(x: any) { } function foo11b(x: B); >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11b(x: PA); // error >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -375,13 +375,13 @@ function foo11b(x: any) { } function foo11c(x: B); >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11c(x: PB); // error >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -392,13 +392,13 @@ function foo11c(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -409,13 +409,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // error >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: string; } @@ -428,13 +428,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { [x: string]: string; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: string; } @@ -447,13 +447,13 @@ function foo14(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: PA); // error >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -464,13 +464,13 @@ function foo15(x: any) { } function foo16(x: I); >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo16(x: PB); // error >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ diff --git a/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.types b/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.types index 764b8bf0e76e3..261b3481faffc 100644 --- a/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.types +++ b/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.types @@ -78,7 +78,7 @@ var b: { [x: string]: Derived; } = { foo: null }; >x : string > : ^^^^^^ >{ foo: null } : { foo: Derived; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : Derived > : ^^^^^^^ >null : Derived @@ -86,13 +86,13 @@ var b: { [x: string]: Derived; } = { foo: null }; function foo1(x: A); >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo1(x: A); // error >foo1 : { (x: A): any; (x: A): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : A > : ^ @@ -103,13 +103,13 @@ function foo1(x: any) { } function foo1b(x: B); >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo1b(x: B); // error >foo1b : { (x: B): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -120,13 +120,13 @@ function foo1b(x: any) { } function foo1c(x: C); >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ function foo1c(x: C); // error >foo1c : { (x: C): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^ @@ -137,13 +137,13 @@ function foo1c(x: any) { } function foo2(x: I); >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo2(x: I); // error >foo2 : { (x: I): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -154,7 +154,7 @@ function foo2(x: any) { } function foo3(x: typeof a); >foo3 : { (x: typeof a): any; (x: { [x: string]: Base; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: string]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: Base; } @@ -162,7 +162,7 @@ function foo3(x: typeof a); function foo3(x: typeof a); // error >foo3 : { (x: { [x: string]: Base; }): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: Base; } @@ -175,7 +175,7 @@ function foo3(x: any) { } function foo4(x: typeof b); >foo4 : { (x: typeof b): any; (x: { [x: string]: Derived; }): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [x: string]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: Derived; } @@ -183,7 +183,7 @@ function foo4(x: typeof b); function foo4(x: typeof b); // error >foo4 : { (x: { [x: string]: Derived; }): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: Derived; } @@ -196,13 +196,13 @@ function foo4(x: any) { } function foo5(x: A); >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5(x: B); // ok >foo5 : { (x: A): any; (x: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : B > : ^ @@ -213,13 +213,13 @@ function foo5(x: any) { } function foo5b(x: A); >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5b(x: C); // ok >foo5b : { (x: A): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^ @@ -230,13 +230,13 @@ function foo5b(x: any) { } function foo5c(x: A); >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5c(x: PA); // error >foo5c : { (x: A): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -247,13 +247,13 @@ function foo5c(x: any) { } function foo5d(x: A); >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo5d(x: PB); // ok >foo5d : { (x: A): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -264,13 +264,13 @@ function foo5d(x: any) { } function foo6(x: A); >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo6(x: I); // ok >foo6 : { (x: A): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -281,13 +281,13 @@ function foo6(x: any) { } function foo7(x: A); >foo7 : { (x: A): any; (x: { [x: string]: Base; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ function foo7(x: typeof a); // error >foo7 : { (x: A): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: Base; } @@ -300,13 +300,13 @@ function foo7(x: any) { } function foo8(x: B); >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo8(x: I); // error >foo8 : { (x: B): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -317,13 +317,13 @@ function foo8(x: any) { } function foo9(x: B); >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo9(x: C); // ok >foo9 : { (x: B): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^ @@ -334,13 +334,13 @@ function foo9(x: any) { } function foo10(x: B); >foo10 : { (x: B): any; (x: { [x: string]: Base; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo10(x: typeof a); // ok >foo10 : { (x: B): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: Base; } @@ -353,13 +353,13 @@ function foo10(x: any) { } function foo11(x: B); >foo11 : { (x: B): any; (x: { [x: string]: Derived; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11(x: typeof b); // error >foo11 : { (x: B): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: Derived; } @@ -372,13 +372,13 @@ function foo11(x: any) { } function foo11b(x: B); >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11b(x: PA); // ok >foo11b : { (x: B): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -389,13 +389,13 @@ function foo11b(x: any) { } function foo11c(x: B); >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : B > : ^ function foo11c(x: PB); // error >foo11c : { (x: B): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ @@ -406,13 +406,13 @@ function foo11c(x: any) { } function foo12(x: I); >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo12(x: C); // error >foo12 : { (x: I): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^^^^^^^^^^ @@ -423,13 +423,13 @@ function foo12(x: any) { } function foo13(x: I); >foo13 : { (x: I): any; (x: { [x: string]: Base; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo13(x: typeof a); // ok >foo13 : { (x: I): any; (x: typeof a): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Base; } > : ^^^^^^^^^^^^^^^^^^^^^^ >a : { [x: string]: Base; } @@ -442,13 +442,13 @@ function foo13(x: any) { } function foo14(x: I); >foo14 : { (x: I): any; (x: { [x: string]: Derived; }): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo14(x: typeof b); // error >foo14 : { (x: I): any; (x: typeof b): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : { [x: string]: Derived; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >b : { [x: string]: Derived; } @@ -461,13 +461,13 @@ function foo14(x: any) { } function foo15(x: I); >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo15(x: PA); // ok >foo15 : { (x: I): any; (x: PA): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PA > : ^^ @@ -478,13 +478,13 @@ function foo15(x: any) { } function foo16(x: I); >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : I > : ^ function foo16(x: PB); // error >foo16 : { (x: I): any; (x: PB): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : PB > : ^^ diff --git a/tests/baselines/reference/observableInferenceCanBeMade.types b/tests/baselines/reference/observableInferenceCanBeMade.types index 0e4c61f56a921..1639de3cfef5b 100644 --- a/tests/baselines/reference/observableInferenceCanBeMade.types +++ b/tests/baselines/reference/observableInferenceCanBeMade.types @@ -5,13 +5,13 @@ declare function of(a: T): Observable; >of : (a: T) => Observable -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function from>(input: O): Observable>; >from : >(input: O) => Observable> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >input : O > : ^ @@ -22,9 +22,9 @@ type ObservedValueOf = O extends ObservableInput ? T : never; interface Subscribable { subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): void; >subscribe : (next?: (value: T) => void, error?: (error: any) => void, complete?: () => void) => void -> : ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >next : ((value: T) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : T > : ^ >error : ((error: any) => void) | undefined @@ -44,9 +44,9 @@ declare class Observable implements Subscribable { subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): void; >subscribe : (next?: (value: T) => void, error?: (error: any) => void, complete?: () => void) => void -> : ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >next : ((value: T) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : T > : ^ >error : ((error: any) => void) | undefined @@ -58,7 +58,7 @@ declare class Observable implements Subscribable { function asObservable(input: string | ObservableInput): Observable { >asObservable : (input: string | ObservableInput) => Observable -> : ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : string | ObservableInput > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/omitTypeHelperModifiers01.types b/tests/baselines/reference/omitTypeHelperModifiers01.types index cec92928ddb84..995500e6f5db9 100644 --- a/tests/baselines/reference/omitTypeHelperModifiers01.types +++ b/tests/baselines/reference/omitTypeHelperModifiers01.types @@ -29,7 +29,7 @@ type B = Omit; function f(x: B) { >f : (x: B) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : B > : ^ diff --git a/tests/baselines/reference/omitTypeTestErrors01.types b/tests/baselines/reference/omitTypeTestErrors01.types index c6988db2a4f29..046c03304d543 100644 --- a/tests/baselines/reference/omitTypeTestErrors01.types +++ b/tests/baselines/reference/omitTypeTestErrors01.types @@ -25,7 +25,7 @@ export type Baz = Omit; export function getBarC(bar: Bar) { >getBarC : (bar: Bar) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >bar : Bar > : ^^^ @@ -40,7 +40,7 @@ export function getBarC(bar: Bar) { export function getBazB(baz: Baz) { >getBazB : (baz: Baz) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >baz : Baz > : ^^^ diff --git a/tests/baselines/reference/omitTypeTests01.types b/tests/baselines/reference/omitTypeTests01.types index 556d6068a7987..64da12ed814e5 100644 --- a/tests/baselines/reference/omitTypeTests01.types +++ b/tests/baselines/reference/omitTypeTests01.types @@ -25,7 +25,7 @@ export type Baz = Omit; export function getBarA(bar: Bar) { >getBarA : (bar: Bar) => string -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >bar : Bar > : ^^^ @@ -40,7 +40,7 @@ export function getBarA(bar: Bar) { export function getBazA(baz: Baz) { >getBazA : (baz: Baz) => string -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^ >baz : Baz > : ^^^ diff --git a/tests/baselines/reference/operationsAvailableOnPromisedType.types b/tests/baselines/reference/operationsAvailableOnPromisedType.types index 2429691029092..2afbe68e5a794 100644 --- a/tests/baselines/reference/operationsAvailableOnPromisedType.types +++ b/tests/baselines/reference/operationsAvailableOnPromisedType.types @@ -3,7 +3,7 @@ === operationsAvailableOnPromisedType.ts === async function fn( >fn : (a: number, b: Promise, c: Promise, d: Promise<{ prop: string; }>, e: Promise<() => void>, f: Promise<() => void> | (() => void), g: Promise<{ new (): any; }>) => Promise -> : ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ a: number, >a : number diff --git a/tests/baselines/reference/optionalAccessorsInInterface1.types b/tests/baselines/reference/optionalAccessorsInInterface1.types index f7c3fdacd3e8e..4b841d768a032 100644 --- a/tests/baselines/reference/optionalAccessorsInInterface1.types +++ b/tests/baselines/reference/optionalAccessorsInInterface1.types @@ -14,7 +14,7 @@ interface MyPropertyDescriptor { declare function defineMyProperty(o: any, p: string, attributes: MyPropertyDescriptor): any; >defineMyProperty : (o: any, p: string, attributes: MyPropertyDescriptor) => any -> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >o : any >p : string > : ^^^^^^ @@ -51,7 +51,7 @@ interface MyPropertyDescriptor2 { declare function defineMyProperty2(o: any, p: string, attributes: MyPropertyDescriptor2): any; >defineMyProperty2 : (o: any, p: string, attributes: MyPropertyDescriptor2) => any -> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >o : any >p : string > : ^^^^^^ diff --git a/tests/baselines/reference/optionalBindingParameters3.types b/tests/baselines/reference/optionalBindingParameters3.types index fb6294b627bcb..65d9a2ef38b53 100644 --- a/tests/baselines/reference/optionalBindingParameters3.types +++ b/tests/baselines/reference/optionalBindingParameters3.types @@ -11,7 +11,7 @@ */ function f({ a = "a" }) {} >f : ({ a }?: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >a : string > : ^^^^^^ >"a" : "a" diff --git a/tests/baselines/reference/optionalChainingInference.types b/tests/baselines/reference/optionalChainingInference.types index acfa990e66835..e11c1efc12b02 100644 --- a/tests/baselines/reference/optionalChainingInference.types +++ b/tests/baselines/reference/optionalChainingInference.types @@ -4,9 +4,9 @@ // https://github.com/microsoft/TypeScript/issues/34579 declare function unbox(box: { value: T | undefined }): T; >unbox : (box: { value: T | undefined; }) => T -> : ^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >box : { value: T | undefined; } -> : ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ >value : T > : ^ diff --git a/tests/baselines/reference/optionalFunctionArgAssignability.types b/tests/baselines/reference/optionalFunctionArgAssignability.types index 258e3b333a9c1..9df4dc7355b79 100644 --- a/tests/baselines/reference/optionalFunctionArgAssignability.types +++ b/tests/baselines/reference/optionalFunctionArgAssignability.types @@ -4,46 +4,46 @@ interface Promise { then(onFulfill?: (value: T) => U, onReject?: (reason: any) => U): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (onFulfill?: (value: T) => U, onReject?: (reason: any) => U): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >onFulfill : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >onReject : (reason: any) => U -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >reason : any > : ^^^ } var a = function then(onFulfill?: (value: string) => U, onReject?: (reason: any) => U): Promise { return null }; >a : (onFulfill?: (value: string) => U, onReject?: (reason: any) => U) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >function then(onFulfill?: (value: string) => U, onReject?: (reason: any) => U): Promise { return null } : (onFulfill?: (value: string) => U, onReject?: (reason: any) => U) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >then : (onFulfill?: (value: string) => U, onReject?: (reason: any) => U) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >onFulfill : (value: string) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : string > : ^^^^^^ >onReject : (reason: any) => U -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >reason : any > : ^^^ var b = function then(onFulFill?: (value: number) => U, onReject?: (reason: any) => U): Promise { return null }; >b : (onFulFill?: (value: number) => U, onReject?: (reason: any) => U) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >function then(onFulFill?: (value: number) => U, onReject?: (reason: any) => U): Promise { return null } : (onFulFill?: (value: number) => U, onReject?: (reason: any) => U) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >then : (onFulFill?: (value: number) => U, onReject?: (reason: any) => U) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >onFulFill : (value: number) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : number > : ^^^^^^ >onReject : (reason: any) => U -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >reason : any > : ^^^ diff --git a/tests/baselines/reference/optionalMethods.types b/tests/baselines/reference/optionalMethods.types index d54e84ee0bc9a..5ebd46d720b7b 100644 --- a/tests/baselines/reference/optionalMethods.types +++ b/tests/baselines/reference/optionalMethods.types @@ -21,7 +21,7 @@ interface Foo { function test1(x: Foo) { >test1 : (x: Foo) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Foo > : ^^^ @@ -162,7 +162,7 @@ class Bar { function test2(x: Bar) { >test2 : (x: Bar) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Bar > : ^^^ diff --git a/tests/baselines/reference/optionalParamAssignmentCompat.types b/tests/baselines/reference/optionalParamAssignmentCompat.types index 07eb59d0106c6..e08af962e0e9f 100644 --- a/tests/baselines/reference/optionalParamAssignmentCompat.types +++ b/tests/baselines/reference/optionalParamAssignmentCompat.types @@ -15,7 +15,7 @@ interface I2 { m1(p1?: string): I1; >m1 : (p1?: string) => I1 -> : ^^^^^^ ^^^^^^^ +> : ^^^^^^ ^^^^^ >p1 : string > : ^^^^^^ } diff --git a/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.types b/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.types index 7fa8f58686b9d..4c6dcbc92a732 100644 --- a/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.types +++ b/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.types @@ -350,7 +350,7 @@ interface Foo { function performFoo({ bar }: Foo = {}) { >performFoo : ({ bar }?: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >bar : number | undefined > : ^^^^^^^^^^^^^^^^^^ >{} : {} @@ -379,7 +379,7 @@ performFoo(); function performFoo2({ bar = null }: Foo = {}) { >performFoo2 : ({ bar }?: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >bar : number > : ^^^^^^ >{} : {} diff --git a/tests/baselines/reference/optionalParameterRetainsNull.types b/tests/baselines/reference/optionalParameterRetainsNull.types index 9781edf06aef7..302b94c20ffd1 100644 --- a/tests/baselines/reference/optionalParameterRetainsNull.types +++ b/tests/baselines/reference/optionalParameterRetainsNull.types @@ -9,13 +9,13 @@ interface Bar { bar: number; foo: object | null; } let a = { >a : { test(a: K, b?: Bar[K] | null): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ >{ test (a: K, b?: Bar[K] | null) { }} : { test(a: K, b?: Bar[K] | null): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ test (a: K, b?: Bar[K] | null) { } >test : (a: K, b?: Bar[K] | null) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >a : K > : ^ >b : Bar[K] | null | undefined diff --git a/tests/baselines/reference/overEagerReturnTypeSpecialization.types b/tests/baselines/reference/overEagerReturnTypeSpecialization.types index 175f75f50a64f..b0e322ea09d48 100644 --- a/tests/baselines/reference/overEagerReturnTypeSpecialization.types +++ b/tests/baselines/reference/overEagerReturnTypeSpecialization.types @@ -6,9 +6,9 @@ interface I1 { func(callback: (value: T) => U): I1; >func : (callback: (value: T) => U) => I1 -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/overload1.types b/tests/baselines/reference/overload1.types index 51c26c1c15350..593c1fbda1d9b 100644 --- a/tests/baselines/reference/overload1.types +++ b/tests/baselines/reference/overload1.types @@ -55,13 +55,13 @@ module O { g(a:A):C; >g : { (n1: number, n2: number): number; (n: number): string; (a: A): C; (c: C): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ >a : A > : ^ g(c:C):string; >g : { (n1: number, n2: number): number; (n: number): string; (a: A): C; (c: C): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >c : C > : ^ diff --git a/tests/baselines/reference/overload2.types b/tests/baselines/reference/overload2.types index 3d3e8f16cc19b..5a34105404dd5 100644 --- a/tests/baselines/reference/overload2.types +++ b/tests/baselines/reference/overload2.types @@ -11,13 +11,13 @@ enum B { } function foo(a: A); >foo : { (a: A): any; (b: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >a : A > : ^ function foo(b: B); >foo : { (a: A): any; (b: B): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >b : B > : ^ @@ -35,13 +35,13 @@ class C { } function foo1(a: A); >foo1 : { (a: A): any; (c: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >a : A > : ^ function foo1(c: C); >foo1 : { (a: A): any; (c: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >c : C > : ^ diff --git a/tests/baselines/reference/overloadAssignmentCompat.types b/tests/baselines/reference/overloadAssignmentCompat.types index cf669e30f9f5b..77d390f6f5b3a 100644 --- a/tests/baselines/reference/overloadAssignmentCompat.types +++ b/tests/baselines/reference/overloadAssignmentCompat.types @@ -14,7 +14,7 @@ function attr(name: string): string; function attr(name: string, value: string): Accessor; >attr : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >name : string > : ^^^^^^ >value : string @@ -22,7 +22,7 @@ function attr(name: string, value: string): Accessor; function attr(map: any): Accessor; >attr : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >map : any > : ^^^ @@ -72,7 +72,7 @@ function attr2(name: string): string; function attr2(name: string, value: string): Accessor; >attr2 : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >name : string > : ^^^^^^ >value : string @@ -80,7 +80,7 @@ function attr2(name: string, value: string): Accessor; function attr2(map: any): Accessor; >attr2 : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >map : any > : ^^^ diff --git a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.types b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.types index ab93ba4ef2e7e..843ed0c5d26ff 100644 --- a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.types +++ b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.types @@ -20,13 +20,13 @@ interface Opt4 { interface A { a(o: Opt1): Opt1; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >o : Opt1 > : ^^^^ a(o: Opt2): Opt2; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >o : Opt2 > : ^^^^ @@ -49,13 +49,13 @@ interface A { interface A { a(o: Opt3): Opt3; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ >o : Opt3 > : ^^^^ a(o: Opt4): Opt4; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >o : Opt4 > : ^^^^ diff --git a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.types b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.types index c272529d2d357..4b221e24aaaf4 100644 --- a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.types +++ b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.types @@ -21,13 +21,13 @@ interface Opt4 { interface A { a(o: Opt1): Opt1; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >o : Opt1 > : ^^^^ a(o: Opt2): Opt2; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >o : Opt2 > : ^^^^ @@ -52,13 +52,13 @@ interface A { interface A { a(o: Opt3): Opt3; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ >o : Opt3 > : ^^^^ a(o: Opt4): Opt4; >a : { (o: Opt1): Opt1; (o: Opt2): Opt2; (o: Opt3): Opt3; (o: Opt4): Opt4; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >o : Opt4 > : ^^^^ diff --git a/tests/baselines/reference/overloadCrash.types b/tests/baselines/reference/overloadCrash.types index 010fafcb638f3..a555415913fff 100644 --- a/tests/baselines/reference/overloadCrash.types +++ b/tests/baselines/reference/overloadCrash.types @@ -25,13 +25,13 @@ interface I3 {a:number; b:number; c:number; d:number;}; declare function foo(...n:I1[]); >foo : { (...n: I1[]): any; (n1: I2, n3: I2): any; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : I1[] > : ^^^^ declare function foo(n1:I2, n3:I2); >foo : { (...n: I1[]): any; (n1: I2, n3: I2): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >n1 : I2 > : ^^ >n3 : I2 diff --git a/tests/baselines/reference/overloadEquivalenceWithStatics.types b/tests/baselines/reference/overloadEquivalenceWithStatics.types index 8d77c6fec96fe..bf078a0cdaa23 100644 --- a/tests/baselines/reference/overloadEquivalenceWithStatics.types +++ b/tests/baselines/reference/overloadEquivalenceWithStatics.types @@ -7,13 +7,13 @@ class A1 { static B(v: A1): A1; // 1 >B : { (v: A1): A1; (v: S_1): A1; } -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >v : A1 > : ^^^^^ static B(v: S): A1; // 2 : Error Duplicate signature >B : { (v: A1): A1; (v: S): A1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >v : S > : ^ diff --git a/tests/baselines/reference/overloadGenericFunctionWithRestArgs.types b/tests/baselines/reference/overloadGenericFunctionWithRestArgs.types index cae4c387bff31..07cdf1087c53a 100644 --- a/tests/baselines/reference/overloadGenericFunctionWithRestArgs.types +++ b/tests/baselines/reference/overloadGenericFunctionWithRestArgs.types @@ -15,11 +15,11 @@ class A{ GetEnumerator: () => B; >GetEnumerator : () => B -> : ^^^^^^^ ^ +> : ^^^^^^ } function Choice(...v_args: T[]): A; >Choice : (...v_args: T[]) => A -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >v_args : T[] > : ^^^ diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks1.types b/tests/baselines/reference/overloadOnConstConstraintChecks1.types index 3393ba4c404e7..c1cfdf8e8be67 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks1.types +++ b/tests/baselines/reference/overloadOnConstConstraintChecks1.types @@ -34,25 +34,25 @@ class Derived3 extends Base { biz() { } } interface MyDoc { // Document createElement(tagName: string): Base; >createElement : { (tagName: string): Base; (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : string > : ^^^^^^ createElement(tagName: 'canvas'): Derived1; >createElement : { (tagName: string): Base; (tagName: 'canvas'): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "canvas" > : ^^^^^^^^ createElement(tagName: 'div'): Derived2; >createElement : { (tagName: string): Base; (tagName: "canvas"): Derived1; (tagName: 'div'): Derived2; (tagName: "span"): Derived3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "div" > : ^^^^^ createElement(tagName: 'span'): Derived3; >createElement : { (tagName: string): Base; (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: 'span'): Derived3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >tagName : "span" > : ^^^^^^ @@ -65,25 +65,25 @@ class D implements MyDoc { createElement(tagName:string): Base; >createElement : { (tagName: string): Base; (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : string > : ^^^^^^ createElement(tagName: 'canvas'): Derived1; >createElement : { (tagName: string): Base; (tagName: 'canvas'): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "canvas" > : ^^^^^^^^ createElement(tagName: 'div'): Derived2; >createElement : { (tagName: string): Base; (tagName: "canvas"): Derived1; (tagName: 'div'): Derived2; (tagName: "span"): Derived3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "div" > : ^^^^^ createElement(tagName: 'span'): Derived3; >createElement : { (tagName: string): Base; (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: 'span'): Derived3; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >tagName : "span" > : ^^^^^^ diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks2.types b/tests/baselines/reference/overloadOnConstConstraintChecks2.types index 58b999063363d..f8f7b3dc50141 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks2.types +++ b/tests/baselines/reference/overloadOnConstConstraintChecks2.types @@ -23,19 +23,19 @@ class C extends A { } function foo(name: 'hi'): B; >foo : { (name: 'hi'): B; (name: "bye"): C; (name: string): A; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >name : "hi" > : ^^^^ function foo(name: 'bye'): C; >foo : { (name: "hi"): B; (name: 'bye'): C; (name: string): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >name : "bye" > : ^^^^^ function foo(name: string): A; >foo : { (name: "hi"): B; (name: "bye"): C; (name: string): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >name : string > : ^^^^^^ diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks3.types b/tests/baselines/reference/overloadOnConstConstraintChecks3.types index 0949be55fa660..3ddf0a89b7d2d 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks3.types +++ b/tests/baselines/reference/overloadOnConstConstraintChecks3.types @@ -27,19 +27,19 @@ class C extends A { } function foo(name: 'hi'): B; >foo : { (name: 'hi'): B; (name: "bye"): C; (name: string): A; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >name : "hi" > : ^^^^ function foo(name: 'bye'): C; >foo : { (name: "hi"): B; (name: 'bye'): C; (name: string): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >name : "bye" > : ^^^^^ function foo(name: string): A; >foo : { (name: "hi"): B; (name: "bye"): C; (name: string): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >name : string > : ^^^^^^ diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks4.types b/tests/baselines/reference/overloadOnConstConstraintChecks4.types index b4d3d23c2259e..babd22a31938c 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks4.types +++ b/tests/baselines/reference/overloadOnConstConstraintChecks4.types @@ -33,19 +33,19 @@ class C extends A { } function foo(name: 'hi'): B; >foo : { (name: 'hi'): B; (name: "bye"): C; (name: string): A; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >name : "hi" > : ^^^^ function foo(name: 'bye'): C; >foo : { (name: "hi"): B; (name: 'bye'): C; (name: string): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >name : "bye" > : ^^^^^ function foo(name: string): A; >foo : { (name: "hi"): B; (name: "bye"): C; (name: string): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >name : string > : ^^^^^^ diff --git a/tests/baselines/reference/overloadOnConstantsInvalidOverload1.types b/tests/baselines/reference/overloadOnConstantsInvalidOverload1.types index f055ae76c2738..439cd9664f0ff 100644 --- a/tests/baselines/reference/overloadOnConstantsInvalidOverload1.types +++ b/tests/baselines/reference/overloadOnConstantsInvalidOverload1.types @@ -33,7 +33,7 @@ class Derived3 extends Base { biz() { } } function foo(name: "SPAN"): Derived1; >foo : (name: "SPAN") => Derived1 -> : ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >name : "SPAN" > : ^^^^^^ diff --git a/tests/baselines/reference/overloadOnGenericArity.types b/tests/baselines/reference/overloadOnGenericArity.types index 65e82aeffbdbc..fc7cdbb33c068 100644 --- a/tests/baselines/reference/overloadOnGenericArity.types +++ b/tests/baselines/reference/overloadOnGenericArity.types @@ -10,7 +10,7 @@ interface Test { then(p: string): Date; // Error: Overloads cannot differ only by return type >then : { (p: string): string; (p: string): Date; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >p : string > : ^^^^^^ } diff --git a/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.types b/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.types index 0e0775ce5a268..546b0a7ea9907 100644 --- a/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.types +++ b/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.types @@ -36,13 +36,13 @@ class X2 { x: string; } function f(a: X1): A; >f : { (a: X1): A; (a: X): B; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ >a : X1 > : ^^ function f(a: X): B; >f : { (a: X1): A; (a: X): B; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >a : X > : ^^^^ diff --git a/tests/baselines/reference/overloadResolution.types b/tests/baselines/reference/overloadResolution.types index 8f2a1e21b4a0a..6e448acc31a15 100644 --- a/tests/baselines/reference/overloadResolution.types +++ b/tests/baselines/reference/overloadResolution.types @@ -97,7 +97,7 @@ function fn2(s: string, n: number): number; function fn2(n: number, t: T): T; >fn2 : { (s: string, n: number): number; (n: number, t: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >n : number > : ^^^^^^ >t : T @@ -163,13 +163,13 @@ fn2('', 0); // OK // Generic overloads with differing arity called without type arguments function fn3(n: T): string; >fn3 : { (n: T): string; (s: string, t: T_1, u: U): U; (v: V, u: U_1, t: T_2): number; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ function fn3(s: string, t: T, u: U): U; >fn3 : { (n: T_1): string; (s: string, t: T, u: U): U; (v: V, u: U_1, t: T_2): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : string > : ^^^^^^ >t : T @@ -179,7 +179,7 @@ function fn3(s: string, t: T, u: U): U; function fn3(v: V, u: U, t: T): number; >fn3 : { (n: T_1): string; (s: string, t: T_2, u: U_1): U_1; (v: V, u: U, t: T): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >v : V > : ^ >u : U @@ -282,7 +282,7 @@ fn3(); // Error // Generic overloads with constraints called with type arguments that satisfy the constraints function fn4(n: T, m: U); >fn4 : { (n: T, m: U): any; (n: T_1, m: U_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ >m : U @@ -290,7 +290,7 @@ function fn4(n: T, m: U); function fn4(n: T, m: U); >fn4 : { (n: T_1, m: U_1): any; (n: T, m: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >m : U diff --git a/tests/baselines/reference/overloadResolutionWithAny.types b/tests/baselines/reference/overloadResolutionWithAny.types index 34e5aca2ade8d..8718275fb80b9 100644 --- a/tests/baselines/reference/overloadResolutionWithAny.types +++ b/tests/baselines/reference/overloadResolutionWithAny.types @@ -42,7 +42,7 @@ func(x); // string var func2: { >func2 : { (s: string, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegExp; (s: any, t: any): string; } -> : ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^ ^^^ ^^^ (s: string, t: string): number; >s : string diff --git a/tests/baselines/reference/overloadRet.types b/tests/baselines/reference/overloadRet.types index 4fbee86fd5b66..898f45697e47e 100644 --- a/tests/baselines/reference/overloadRet.types +++ b/tests/baselines/reference/overloadRet.types @@ -30,7 +30,7 @@ interface I { h(n:number):I; >h : { (n: number): I; (b: boolean): number; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >n : number > : ^^^^^^ diff --git a/tests/baselines/reference/overloadReturnTypes.types b/tests/baselines/reference/overloadReturnTypes.types index 3abe161ce8448..5d4385f56185f 100644 --- a/tests/baselines/reference/overloadReturnTypes.types +++ b/tests/baselines/reference/overloadReturnTypes.types @@ -13,7 +13,7 @@ function attr(name: string): string; function attr(name: string, value: string): Accessor; >attr : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >name : string > : ^^^^^^ >value : string @@ -21,7 +21,7 @@ function attr(name: string, value: string): Accessor; function attr(map: any): Accessor; >attr : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >map : any function attr(nameOrMap: any, value?: string): any { @@ -68,7 +68,7 @@ interface IFace { attr(name: string, value: string): Accessor; >attr : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >name : string > : ^^^^^^ >value : string @@ -76,7 +76,7 @@ interface IFace { attr(map: any): Accessor; >attr : { (name: string): string; (name: string, value: string): Accessor; (map: any): Accessor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >map : any } diff --git a/tests/baselines/reference/overloadTag3.types b/tests/baselines/reference/overloadTag3.types index a393d8e5c78ae..5eb822465cb34 100644 --- a/tests/baselines/reference/overloadTag3.types +++ b/tests/baselines/reference/overloadTag3.types @@ -19,7 +19,7 @@ export class Foo { */ bar(value) { } >bar : (value: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/overloadedConstructorFixesInferencesAppropriately.types b/tests/baselines/reference/overloadedConstructorFixesInferencesAppropriately.types index a67ccab9d08e5..02c58a71078a7 100644 --- a/tests/baselines/reference/overloadedConstructorFixesInferencesAppropriately.types +++ b/tests/baselines/reference/overloadedConstructorFixesInferencesAppropriately.types @@ -18,11 +18,11 @@ interface ErrorResult { interface AsyncLoaderProps { readonly asyncLoad: () => Box; >asyncLoad : () => Box -> : ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ readonly children: (result: Exclude) => string; >children : (result: Exclude) => string -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >result : Exclude > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } @@ -47,7 +47,7 @@ class AsyncLoader { function load(): Box<{ success: true } | ErrorResult> { >load : () => Box<{ success: true; } | ErrorResult> -> : ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >success : true > : ^^^^ >true : true diff --git a/tests/baselines/reference/overloadedStaticMethodSpecialization.types b/tests/baselines/reference/overloadedStaticMethodSpecialization.types index 75215ebd486a5..aeff4d279212a 100644 --- a/tests/baselines/reference/overloadedStaticMethodSpecialization.types +++ b/tests/baselines/reference/overloadedStaticMethodSpecialization.types @@ -7,13 +7,13 @@ class A { static B(v: A): A; >B : { (v: A): A; (v: S_1): A; } -> : ^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >v : A > : ^^^^ static B(v: S): A; >B : { (v: A): A; (v: S): A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >v : S > : ^ diff --git a/tests/baselines/reference/overloadingOnConstants1.types b/tests/baselines/reference/overloadingOnConstants1.types index 4dff34a838682..77e96a58b1f55 100644 --- a/tests/baselines/reference/overloadingOnConstants1.types +++ b/tests/baselines/reference/overloadingOnConstants1.types @@ -34,25 +34,25 @@ class Derived3 extends Base { biz() { } } interface Document2 { createElement(tagName: 'canvas'): Derived1; >createElement : { (tagName: 'canvas'): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "canvas" > : ^^^^^^^^ createElement(tagName: 'div'): Derived2; >createElement : { (tagName: "canvas"): Derived1; (tagName: 'div'): Derived2; (tagName: "span"): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "div" > : ^^^^^ createElement(tagName: 'span'): Derived3; >createElement : { (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: 'span'): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "span" > : ^^^^^^ createElement(tagName: string): Base; >createElement : { (tagName: "canvas"): Derived1; (tagName: "div"): Derived2; (tagName: "span"): Derived3; (tagName: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >tagName : string > : ^^^^^^ } diff --git a/tests/baselines/reference/overloadingOnConstants2.types b/tests/baselines/reference/overloadingOnConstants2.types index a8f2c40a583d6..2f4612224b5b7 100644 --- a/tests/baselines/reference/overloadingOnConstants2.types +++ b/tests/baselines/reference/overloadingOnConstants2.types @@ -29,7 +29,7 @@ class E { } function foo(x: "hi", items: string[]): D; >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } -> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : "hi" > : ^^^^ >items : string[] @@ -37,7 +37,7 @@ function foo(x: "hi", items: string[]): D; function foo(x: "bye", items: string[]): E; >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >x : "bye" > : ^^^^^ >items : string[] @@ -93,7 +93,7 @@ var c = foo("um", []); // error //function bar(x: "hi", items: string[]): D; function bar(x: "bye", items: string[]): E; >bar : { (x: "bye", items: string[]): E; (x: string, items: string[]): C; } -> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : "bye" > : ^^^^^ >items : string[] @@ -101,7 +101,7 @@ function bar(x: "bye", items: string[]): E; function bar(x: string, items: string[]): C; >bar : { (x: "bye", items: string[]): E; (x: string, items: string[]): C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ >items : string[] diff --git a/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.types b/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.types index 703f1efba799e..e60f826a8e34c 100644 --- a/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.types +++ b/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.types @@ -30,25 +30,25 @@ class G { declare function foo(arg: (x: D) => number): string; >foo : { (arg: (x: D) => number): string; (arg: (x: C) => any): string; (arg: (x: B) => any): number; } -> : ^^^^^^^^ ^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : (x: D) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : D > : ^ declare function foo(arg: (x: C) => any): string; >foo : { (arg: (x: D) => number): string; (arg: (x: C) => any): string; (arg: (x: B) => any): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : (x: C) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : C > : ^ declare function foo(arg: (x: B) => any): number; >foo : { (arg: (x: D) => number): string; (arg: (x: C) => any): string; (arg: (x: B) => any): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >arg : (x: B) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : B > : ^ diff --git a/tests/baselines/reference/overloadsWithConstraints.types b/tests/baselines/reference/overloadsWithConstraints.types index 9e579f0424a55..235b6c283e053 100644 --- a/tests/baselines/reference/overloadsWithConstraints.types +++ b/tests/baselines/reference/overloadsWithConstraints.types @@ -3,13 +3,13 @@ === overloadsWithConstraints.ts === declare function f(x: T): T; >f : { (x: T): T; (x: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function f(x: T): T >f : { (x: T_1): T_1; (x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : T > : ^ diff --git a/tests/baselines/reference/overloadsWithinClasses.types b/tests/baselines/reference/overloadsWithinClasses.types index 7a1c661cd5e61..2a2d25e4b8521 100644 --- a/tests/baselines/reference/overloadsWithinClasses.types +++ b/tests/baselines/reference/overloadsWithinClasses.types @@ -45,7 +45,7 @@ class X { public attr(name:string, value:string):X; >attr : { (name: string): string; (name: string, value: string): X; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >name : string > : ^^^^^^ >value : string diff --git a/tests/baselines/reference/override19.types b/tests/baselines/reference/override19.types index cd5355da10fba..0836540fe483f 100644 --- a/tests/baselines/reference/override19.types +++ b/tests/baselines/reference/override19.types @@ -9,7 +9,7 @@ type Foo = abstract new(...args: any) => any; declare function CreateMixin(Context: C, Base: T): T & { >CreateMixin : (Context: C, Base: T) => T & { new (...args: any[]): { context: InstanceType; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >Context : C > : ^ >Base : T diff --git a/tests/baselines/reference/overrideBaseIntersectionMethod.types b/tests/baselines/reference/overrideBaseIntersectionMethod.types index 774d1aff6b9af..623e4a863de7c 100644 --- a/tests/baselines/reference/overrideBaseIntersectionMethod.types +++ b/tests/baselines/reference/overrideBaseIntersectionMethod.types @@ -11,9 +11,9 @@ type Constructor = new (...args: any[]) => T; const WithLocation = >(Base: T) => class extends Base { >WithLocation : >(Base: T) => { new (...args: any[]): (Anonymous class); prototype: WithLocation.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>(Base: T) => class extends Base { getLocation(): [number, number] { const [x,y] = super.getLocation(); return [this.x | x, this.y | y]; }} : >(Base: T) => { new (...args: any[]): (Anonymous class); prototype: WithLocation.(Anonymous class); } & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Base : T > : ^ >class extends Base { getLocation(): [number, number] { const [x,y] = super.getLocation(); return [this.x | x, this.y | y]; }} : { new (...args: any[]): (Anonymous class); prototype: WithLocation.(Anonymous class); } & T diff --git a/tests/baselines/reference/paramTagTypeResolution.types b/tests/baselines/reference/paramTagTypeResolution.types index 220494f2d5f88..3b6009d5e4246 100644 --- a/tests/baselines/reference/paramTagTypeResolution.types +++ b/tests/baselines/reference/paramTagTypeResolution.types @@ -29,15 +29,15 @@ f(1, n => { }) */ module.exports = function (x, k) { return k(x) } >module.exports = function (x, k) { return k(x) } : (x: T, k: (t: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >module.exports : (x: T, k: (t: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >module : { exports: (x: T, k: (t: T) => void) => void; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >exports : (x: T, k: (t: T) => void) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function (x, k) { return k(x) } : (x: T, k: (t: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >k : (t: T) => void diff --git a/tests/baselines/reference/paramTagTypeResolution2.types b/tests/baselines/reference/paramTagTypeResolution2.types index b74c16f91e65b..86688a68e33cc 100644 --- a/tests/baselines/reference/paramTagTypeResolution2.types +++ b/tests/baselines/reference/paramTagTypeResolution2.types @@ -8,7 +8,7 @@ */ function f(a, b) { >f : (a: T, b: { [K in keyof T]: (value: T[K]) => void; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >a : T > : ^ >b : { [K in keyof T]: (value: T[K]) => void; } diff --git a/tests/baselines/reference/parameterInitializerBeforeDestructuringEmit.types b/tests/baselines/reference/parameterInitializerBeforeDestructuringEmit.types index ebe660e415215..b4b32a153bd41 100644 --- a/tests/baselines/reference/parameterInitializerBeforeDestructuringEmit.types +++ b/tests/baselines/reference/parameterInitializerBeforeDestructuringEmit.types @@ -11,7 +11,7 @@ interface Foo { function foobar({ bar = {}, ...opts }: Foo = {}) { >foobar : ({ bar, ...opts }?: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >bar : any > : ^^^ >{} : {} diff --git a/tests/baselines/reference/parameterNamesInTypeParameterList.types b/tests/baselines/reference/parameterNamesInTypeParameterList.types index 4a567fb85c39b..be448ef781161 100644 --- a/tests/baselines/reference/parameterNamesInTypeParameterList.types +++ b/tests/baselines/reference/parameterNamesInTypeParameterList.types @@ -3,7 +3,7 @@ === parameterNamesInTypeParameterList.ts === function f0(a: T) { >f0 : (a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >a : T @@ -20,7 +20,7 @@ function f0(a: T) { function f1({a}: {a:T}) { >f1 : ({ a }: { a: T; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >a : T @@ -39,7 +39,7 @@ function f1({a}: {a:T}) { function f2([a]: T[]) { >f2 : ([a]: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >a : T @@ -60,7 +60,7 @@ class A { m0(a: T) { >m0 : (a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >a : T @@ -76,7 +76,7 @@ class A { } m1({a}: {a:T}) { >m1 : ({ a }: { a: T; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >a : T @@ -94,7 +94,7 @@ class A { } m2([a]: T[]) { >m2 : ([a]: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >a : T diff --git a/tests/baselines/reference/parameterReferenceInInitializer1.types b/tests/baselines/reference/parameterReferenceInInitializer1.types index d97fca34ed7ed..a5bc42d0f654b 100644 --- a/tests/baselines/reference/parameterReferenceInInitializer1.types +++ b/tests/baselines/reference/parameterReferenceInInitializer1.types @@ -3,11 +3,11 @@ === parameterReferenceInInitializer1.ts === function fn(y: Y, set: (y: Y, x: number) => void): a { >fn : (y: Y, set: (y: Y, x: number) => void) => a -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ >y : Y > : ^ >set : (y: Y, x: number) => void -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >y : Y > : ^ >x : number diff --git a/tests/baselines/reference/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.types b/tests/baselines/reference/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.types index bfe7df798cb39..95548307533a9 100644 --- a/tests/baselines/reference/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.types +++ b/tests/baselines/reference/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.types @@ -11,7 +11,7 @@ type Lower = { [K in keyof T]: T[K] }; export function appendToOptionalArray< >appendToOptionalArray : (object: { [x in K]?: Lower[]; }, key: K, value: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ K extends string | number | symbol, T diff --git a/tests/baselines/reference/parenthesizedContexualTyping1.types b/tests/baselines/reference/parenthesizedContexualTyping1.types index 2d97618b44161..1462da174cce9 100644 --- a/tests/baselines/reference/parenthesizedContexualTyping1.types +++ b/tests/baselines/reference/parenthesizedContexualTyping1.types @@ -3,9 +3,9 @@ === parenthesizedContexualTyping1.ts === function fun(g: (x: T) => T, x: T): T; >fun : { (g: (x: T) => T, x: T): T; (g: (x: T_1) => T_1, h: (y: T_1) => T_1, x: T_1): T_1; } -> : ^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >g : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >x : T @@ -13,13 +13,13 @@ function fun(g: (x: T) => T, x: T): T; function fun(g: (x: T) => T, h: (y: T) => T, x: T): T; >fun : { (g: (x: T_1) => T_1, x: T_1): T_1; (g: (x: T) => T, h: (y: T) => T, x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >g : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >h : (y: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >y : T > : ^ >x : T @@ -29,7 +29,7 @@ function fun(g: (x: T) => T, x: T): T { >fun : { (g: (x: T_1) => T_1, x: T_1): T_1; (g: (x: T_2) => T_2, h: (y: T_2) => T_2, x: T_2): T_2; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >g : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/parenthesizedContexualTyping2.types b/tests/baselines/reference/parenthesizedContexualTyping2.types index 145c22e23703d..46b38edd053fb 100644 --- a/tests/baselines/reference/parenthesizedContexualTyping2.types +++ b/tests/baselines/reference/parenthesizedContexualTyping2.types @@ -11,7 +11,7 @@ type FuncType = (x: (p: T) => T) => typeof x; >FuncType : FuncType > : ^^^^^^^^ >x : (p: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : T > : ^ >x : (p: T) => T @@ -19,7 +19,7 @@ type FuncType = (x: (p: T) => T) => typeof x; function fun(f: FuncType, x: T): T; >fun : { (f: FuncType, x: T): T; (f: FuncType, g: FuncType, x: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f : FuncType > : ^^^^^^^^ >x : T @@ -27,7 +27,7 @@ function fun(f: FuncType, x: T): T; function fun(f: FuncType, g: FuncType, x: T): T; >fun : { (f: FuncType, x: T_1): T_1; (f: FuncType, g: FuncType, x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >f : FuncType > : ^^^^^^^^ >g : FuncType diff --git a/tests/baselines/reference/parenthesizedContexualTyping3.types b/tests/baselines/reference/parenthesizedContexualTyping3.types index b63d65e2deae4..485854ffdb0a3 100644 --- a/tests/baselines/reference/parenthesizedContexualTyping3.types +++ b/tests/baselines/reference/parenthesizedContexualTyping3.types @@ -8,11 +8,11 @@ */ function tempFun(tempStrs: TemplateStringsArray, g: (x: T) => T, x: T): T; >tempFun : { (tempStrs: TemplateStringsArray, g: (x: T) => T, x: T): T; (tempStrs: TemplateStringsArray, g: (x: T_1) => T_1, h: (y: T_1) => T_1, x: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tempStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >g : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >x : T @@ -20,15 +20,15 @@ function tempFun(tempStrs: TemplateStringsArray, g: (x: T) => T, x: T): T; function tempFun(tempStrs: TemplateStringsArray, g: (x: T) => T, h: (y: T) => T, x: T): T; >tempFun : { (tempStrs: TemplateStringsArray, g: (x: T_1) => T_1, x: T_1): T_1; (tempStrs: TemplateStringsArray, g: (x: T) => T, h: (y: T) => T, x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >tempStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >g : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >h : (y: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >y : T > : ^ >x : T @@ -40,7 +40,7 @@ function tempFun(tempStrs: TemplateStringsArray, g: (x: T) => T, x: T): T { >tempStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >g : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.types b/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.types index bc8c174472d77..5a6dbb461a506 100644 --- a/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.types +++ b/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.types @@ -3,8 +3,8 @@ === parseArrowFunctionWithFunctionReturnType.ts === const fn = (): (() => T) => null as any; >fn : () => (() => T) -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >(): (() => T) => null as any : () => (() => T) -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >null as any : any diff --git a/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.types b/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.types index 81d2c8feb363e..28027258dadf0 100644 --- a/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.types +++ b/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.types @@ -13,7 +13,7 @@ declare const a: Bar; function foo(_x: T) {} >foo : (_x: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^^^^ >_x : T > : ^ diff --git a/tests/baselines/reference/parseShortform.types b/tests/baselines/reference/parseShortform.types index f94d86236092f..3f60ee2956e03 100644 --- a/tests/baselines/reference/parseShortform.types +++ b/tests/baselines/reference/parseShortform.types @@ -4,7 +4,7 @@ interface I { w: { >w : { (): boolean; [s: string]: { x: any; y: any; }; [n: number]: { x: any; y: any; }; z: I; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^ z: I; >z : I diff --git a/tests/baselines/reference/parserArgumentList1.types b/tests/baselines/reference/parserArgumentList1.types index 578d6fc6f96d3..a6dce58d04a31 100644 --- a/tests/baselines/reference/parserArgumentList1.types +++ b/tests/baselines/reference/parserArgumentList1.types @@ -3,7 +3,7 @@ === parserArgumentList1.ts === export function removeClass (node:HTMLElement, className:string) { >removeClass : (node: HTMLElement, className: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ >node : HTMLElement > : ^^^^^^^^^^^ >className : string diff --git a/tests/baselines/reference/parserClassDeclaration25.types b/tests/baselines/reference/parserClassDeclaration25.types index 8efdda9462003..82714a0f891b4 100644 --- a/tests/baselines/reference/parserClassDeclaration25.types +++ b/tests/baselines/reference/parserClassDeclaration25.types @@ -4,7 +4,7 @@ interface IList { data(): T; >data : () => T -> : ^^^^^^^ +> : ^^^^^^ next(): string; >next : () => string @@ -16,7 +16,7 @@ class List implements IList { data(): U; >data : () => U -> : ^^^^^^^ +> : ^^^^^^ next(): string; >next : () => string diff --git a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types index 99c9591e2f276..df493c886f834 100644 --- a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types +++ b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types @@ -8,11 +8,11 @@ interface I { f1(): T; >f1 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ f2?(): T; >f2 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ (): void; new (): void; diff --git a/tests/baselines/reference/parserOverloadOnConstants1.types b/tests/baselines/reference/parserOverloadOnConstants1.types index a90611613ee96..56dfd64307de3 100644 --- a/tests/baselines/reference/parserOverloadOnConstants1.types +++ b/tests/baselines/reference/parserOverloadOnConstants1.types @@ -4,25 +4,25 @@ interface Document { createElement(tagName: string): HTMLElement; >createElement : { (tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; (tagName: K_1, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K_1]; (tagName: string, options?: ElementCreationOptions): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : string > : ^^^^^^ createElement(tagName: 'canvas'): HTMLCanvasElement; >createElement : { (tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; (tagName: K_1, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K_1]; (tagName: string, options?: ElementCreationOptions): HTMLElement; (tagName: string): HTMLElement; (tagName: 'canvas'): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "canvas" > : ^^^^^^^^ createElement(tagName: 'div'): HTMLDivElement; >createElement : { (tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; (tagName: K_1, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K_1]; (tagName: string, options?: ElementCreationOptions): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: 'div'): HTMLDivElement; (tagName: "span"): HTMLSpanElement; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "div" > : ^^^^^ createElement(tagName: 'span'): HTMLSpanElement; >createElement : { (tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; (tagName: K_1, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K_1]; (tagName: string, options?: ElementCreationOptions): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: 'span'): HTMLSpanElement; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >tagName : "span" > : ^^^^^^ } diff --git a/tests/baselines/reference/parserRealSource1.types b/tests/baselines/reference/parserRealSource1.types index 9d7be7d523e4b..b6401908d6f04 100644 --- a/tests/baselines/reference/parserRealSource1.types +++ b/tests/baselines/reference/parserRealSource1.types @@ -463,7 +463,7 @@ module TypeScript { export function timeFunction(logger: ILogger, funcDescription: string, func: () =>any): any { >timeFunction : (logger: ILogger, funcDescription: string, func: () => any) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >logger : ILogger > : ^^^^^^^ >funcDescription : string diff --git a/tests/baselines/reference/parserRealSource10.types b/tests/baselines/reference/parserRealSource10.types index d0f47936c5e28..b185f8edab1a3 100644 --- a/tests/baselines/reference/parserRealSource10.types +++ b/tests/baselines/reference/parserRealSource10.types @@ -886,7 +886,7 @@ module TypeScript { function setTokenInfo(tokenId: TokenID, reservation: number, binopPrecedence: number, >setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tokenId : TokenID > : ^^^^^^^ >reservation : number @@ -6465,7 +6465,7 @@ module TypeScript { export function lookupToken(tokenId: TokenID): TokenInfo { >lookupToken : (tokenId: TokenID) => TokenInfo -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >tokenId : TokenID > : ^^^^^^^ @@ -6650,7 +6650,7 @@ module TypeScript { public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ if (this.tokenId <= TokenID.LimKeyword) { >this.tokenId <= TokenID.LimKeyword : boolean @@ -6828,7 +6828,7 @@ module TypeScript { public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return TokenClass.Literal; >TokenClass.Literal : TokenClass.Literal @@ -6878,7 +6878,7 @@ module TypeScript { public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return TokenClass.Literal; >TokenClass.Literal : TokenClass.Literal @@ -6928,7 +6928,7 @@ module TypeScript { } public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return TokenClass.Identifier; >TokenClass.Identifier : TokenClass.Identifier @@ -6976,7 +6976,7 @@ module TypeScript { public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return TokenClass.Whitespace; >TokenClass.Whitespace : TokenClass.Whitespace @@ -7032,7 +7032,7 @@ module TypeScript { public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return TokenClass.Comment; >TokenClass.Comment : TokenClass.Comment @@ -7088,7 +7088,7 @@ module TypeScript { public classification(): TokenClass { >classification : () => TokenClass -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return TokenClass.Literal; >TokenClass.Literal : TokenClass.Literal diff --git a/tests/baselines/reference/parserRealSource11.types b/tests/baselines/reference/parserRealSource11.types index 8d00fd1ba1475..b557e90f070f8 100644 --- a/tests/baselines/reference/parserRealSource11.types +++ b/tests/baselines/reference/parserRealSource11.types @@ -1098,7 +1098,7 @@ module TypeScript { public netFreeUses(container: Symbol, freeUses: StringHashTable) { >netFreeUses : (container: Symbol, freeUses: StringHashTable) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >container : Symbol > : ^^^^^^ >freeUses : StringHashTable @@ -1537,7 +1537,7 @@ module TypeScript { public append(ast: AST) { >append : (ast: AST) => this -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ @@ -1572,7 +1572,7 @@ module TypeScript { public appendAll(ast: AST) { >appendAll : (ast: AST) => this -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ @@ -2065,7 +2065,7 @@ module TypeScript { public static fromToken(token: Token): Identifier { >fromToken : (token: Token) => Identifier -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ >token : Token > : ^^^^^ @@ -6593,7 +6593,7 @@ module TypeScript { public getAliasName(aliasAST?: AST = this.alias) : string { >getAliasName : (aliasAST?: AST) => string -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >aliasAST : AST > : ^^^ >this.alias : AST @@ -7484,7 +7484,7 @@ module TypeScript { public addCloRef(id: Identifier, sym: Symbol): number { >addCloRef : (id: Identifier, sym: Symbol) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ ^^^^^ >id : Identifier > : ^^^^^^^^^^ >sym : Symbol @@ -7626,7 +7626,7 @@ module TypeScript { public addJumpRef(sym: Symbol): void { >addJumpRef : (sym: Symbol) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >sym : Symbol > : ^^^^^^ @@ -7763,9 +7763,9 @@ module TypeScript { var controlFlowPrefix = (ast: AST, parent: AST, walker: IAstWalker) => { >controlFlowPrefix : (ast: AST, parent: AST, walker: IAstWalker) => AST -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(ast: AST, parent: AST, walker: IAstWalker) => { ast.addToControlFlow(walker.state); return ast; } : (ast: AST, parent: AST, walker: IAstWalker) => AST -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >ast : AST > : ^^^ >parent : AST @@ -10527,7 +10527,7 @@ module TypeScript { public setResolvedTarget(parser: Parser, stmt: Statement): boolean { >setResolvedTarget : (parser: Parser, stmt: Statement) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >parser : Parser > : ^^^^^^ >stmt : Statement diff --git a/tests/baselines/reference/parserRealSource12.types b/tests/baselines/reference/parserRealSource12.types index e2051730a4ee3..26237763e3a68 100644 --- a/tests/baselines/reference/parserRealSource12.types +++ b/tests/baselines/reference/parserRealSource12.types @@ -355,7 +355,7 @@ module TypeScript { public walk(ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): AST { >walk : (ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any) => AST -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ >ast : AST > : ^^^ >pre : IAstWalkCallback @@ -396,7 +396,7 @@ module TypeScript { public getWalker(pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): IAstWalker { >getWalker : (pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any) => IAstWalker -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >pre : IAstWalkCallback > : ^^^^^^^^^^^^^^^^ >post : IAstWalkCallback @@ -427,7 +427,7 @@ module TypeScript { private getSlowWalker(pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): IAstWalker { >getSlowWalker : (pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any) => IAstWalker -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >pre : IAstWalkCallback > : ^^^^^^^^^^^^^^^^ >post : IAstWalkCallback @@ -3100,7 +3100,7 @@ module TypeScript { export function getAstWalkerFactory(): AstWalkerFactory { >getAstWalkerFactory : () => AstWalkerFactory -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ if (!globalAstWalkerFactory) { >!globalAstWalkerFactory : boolean @@ -3129,7 +3129,7 @@ module TypeScript { export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void { >walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ASTList > : ^^^^^^^ >parent : AST @@ -3142,7 +3142,7 @@ module TypeScript { export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void { >walkListChildren : (preAst: ASTList, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ASTList > : ^^^^^^^ >parent : AST @@ -3313,7 +3313,7 @@ module TypeScript { export function walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalker): void { >walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : UnaryExpression > : ^^^^^^^^^^^^^^^ >parent : AST @@ -3393,7 +3393,7 @@ module TypeScript { export function walkBinaryExpressionChildren(preAst: BinaryExpression, parent: AST, walker: IAstWalker): void { >walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : BinaryExpression > : ^^^^^^^^^^^^^^^^ >parent : AST @@ -3587,7 +3587,7 @@ module TypeScript { export function walkTypeReferenceChildren(preAst: TypeReference, parent: AST, walker: IAstWalker): void { >walkTypeReferenceChildren : (preAst: TypeReference, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : TypeReference > : ^^^^^^^^^^^^^ >parent : AST @@ -3633,7 +3633,7 @@ module TypeScript { export function walkCallExpressionChildren(preAst: CallExpression, parent: AST, walker: IAstWalker): void { >walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : CallExpression > : ^^^^^^^^^^^^^^ >parent : AST @@ -3789,7 +3789,7 @@ module TypeScript { export function walkTrinaryExpressionChildren(preAst: ConditionalExpression, parent: AST, walker: IAstWalker): void { >walkTrinaryExpressionChildren : (preAst: ConditionalExpression, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ConditionalExpression > : ^^^^^^^^^^^^^^^^^^^^^ >parent : AST @@ -3931,7 +3931,7 @@ module TypeScript { export function walkFuncDeclChildren(preAst: FuncDecl, parent: AST, walker: IAstWalker): void { >walkFuncDeclChildren : (preAst: FuncDecl, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : FuncDecl > : ^^^^^^^^ >parent : AST @@ -4171,7 +4171,7 @@ module TypeScript { export function walkBoundDeclChildren(preAst: BoundDecl, parent: AST, walker: IAstWalker): void { >walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : BoundDecl > : ^^^^^^^^^ >parent : AST @@ -4303,7 +4303,7 @@ module TypeScript { export function walkReturnStatementChildren(preAst: ReturnStatement, parent: AST, walker: IAstWalker): void { >walkReturnStatementChildren : (preAst: ReturnStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ReturnStatement > : ^^^^^^^^^^^^^^^ >parent : AST @@ -4349,7 +4349,7 @@ module TypeScript { export function walkForStatementChildren(preAst: ForStatement, parent: AST, walker: IAstWalker): void { >walkForStatementChildren : (preAst: ForStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ForStatement > : ^^^^^^^^^^^^ >parent : AST @@ -4536,7 +4536,7 @@ module TypeScript { export function walkForInStatementChildren(preAst: ForInStatement, parent: AST, walker: IAstWalker): void { >walkForInStatementChildren : (preAst: ForInStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ForInStatement > : ^^^^^^^^^^^^^^ >parent : AST @@ -4660,7 +4660,7 @@ module TypeScript { export function walkIfStatementChildren(preAst: IfStatement, parent: AST, walker: IAstWalker): void { >walkIfStatementChildren : (preAst: IfStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : IfStatement > : ^^^^^^^^^^^ >parent : AST @@ -4794,7 +4794,7 @@ module TypeScript { export function walkWhileStatementChildren(preAst: WhileStatement, parent: AST, walker: IAstWalker): void { >walkWhileStatementChildren : (preAst: WhileStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : WhileStatement > : ^^^^^^^^^^^^^^ >parent : AST @@ -4880,7 +4880,7 @@ module TypeScript { export function walkDoWhileStatementChildren(preAst: DoWhileStatement, parent: AST, walker: IAstWalker): void { >walkDoWhileStatementChildren : (preAst: DoWhileStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : DoWhileStatement > : ^^^^^^^^^^^^^^^^ >parent : AST @@ -4966,7 +4966,7 @@ module TypeScript { export function walkBlockChildren(preAst: Block, parent: AST, walker: IAstWalker): void { >walkBlockChildren : (preAst: Block, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : Block > : ^^^^^ >parent : AST @@ -5014,7 +5014,7 @@ module TypeScript { export function walkCaseStatementChildren(preAst: CaseStatement, parent: AST, walker: IAstWalker): void { >walkCaseStatementChildren : (preAst: CaseStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : CaseStatement > : ^^^^^^^^^^^^^ >parent : AST @@ -5109,7 +5109,7 @@ module TypeScript { export function walkSwitchStatementChildren(preAst: SwitchStatement, parent: AST, walker: IAstWalker): void { >walkSwitchStatementChildren : (preAst: SwitchStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : SwitchStatement > : ^^^^^^^^^^^^^^^ >parent : AST @@ -5206,7 +5206,7 @@ module TypeScript { export function walkTryChildren(preAst: Try, parent: AST, walker: IAstWalker): void { >walkTryChildren : (preAst: Try, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : Try > : ^^^ >parent : AST @@ -5252,7 +5252,7 @@ module TypeScript { export function walkTryCatchChildren(preAst: TryCatch, parent: AST, walker: IAstWalker): void { >walkTryCatchChildren : (preAst: TryCatch, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : TryCatch > : ^^^^^^^^ >parent : AST @@ -5351,7 +5351,7 @@ module TypeScript { export function walkTryFinallyChildren(preAst: TryFinally, parent: AST, walker: IAstWalker): void { >walkTryFinallyChildren : (preAst: TryFinally, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : TryFinally > : ^^^^^^^^^^ >parent : AST @@ -5446,7 +5446,7 @@ module TypeScript { export function walkFinallyChildren(preAst: Finally, parent: AST, walker: IAstWalker): void { >walkFinallyChildren : (preAst: Finally, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : Finally > : ^^^^^^^ >parent : AST @@ -5492,7 +5492,7 @@ module TypeScript { export function walkCatchChildren(preAst: Catch, parent: AST, walker: IAstWalker): void { >walkCatchChildren : (preAst: Catch, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : Catch > : ^^^^^ >parent : AST @@ -5589,7 +5589,7 @@ module TypeScript { export function walkRecordChildren(preAst: NamedDeclaration, parent: AST, walker: IAstWalker): void { >walkRecordChildren : (preAst: NamedDeclaration, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : NamedDeclaration > : ^^^^^^^^^^^^^^^^ >parent : AST @@ -5678,7 +5678,7 @@ module TypeScript { export function walkNamedTypeChildren(preAst: TypeDeclaration, parent: AST, walker: IAstWalker): void { >walkNamedTypeChildren : (preAst: TypeDeclaration, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : TypeDeclaration > : ^^^^^^^^^^^^^^^ >parent : AST @@ -5701,7 +5701,7 @@ module TypeScript { export function walkClassDeclChildren(preAst: ClassDeclaration, parent: AST, walker: IAstWalker): void { >walkClassDeclChildren : (preAst: ClassDeclaration, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ClassDeclaration > : ^^^^^^^^^^^^^^^^ >parent : AST @@ -5822,7 +5822,7 @@ module TypeScript { export function walkScriptChildren(preAst: Script, parent: AST, walker: IAstWalker): void { >walkScriptChildren : (preAst: Script, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : Script > : ^^^^^^ >parent : AST @@ -5870,7 +5870,7 @@ module TypeScript { export function walkTypeDeclChildren(preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker): void { >walkTypeDeclChildren : (preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : InterfaceDeclaration > : ^^^^^^^^^^^^^^^^^^^^ >parent : AST @@ -5992,7 +5992,7 @@ module TypeScript { export function walkModuleDeclChildren(preAst: ModuleDeclaration, parent: AST, walker: IAstWalker): void { >walkModuleDeclChildren : (preAst: ModuleDeclaration, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ModuleDeclaration > : ^^^^^^^^^^^^^^^^^ >parent : AST @@ -6015,7 +6015,7 @@ module TypeScript { export function walkImportDeclChildren(preAst: ImportDeclaration, parent: AST, walker: IAstWalker): void { >walkImportDeclChildren : (preAst: ImportDeclaration, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : ImportDeclaration > : ^^^^^^^^^^^^^^^^^ >parent : AST @@ -6097,7 +6097,7 @@ module TypeScript { export function walkWithStatementChildren(preAst: WithStatement, parent: AST, walker: IAstWalker): void { >walkWithStatementChildren : (preAst: WithStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : WithStatement > : ^^^^^^^^^^^^^ >parent : AST @@ -6190,7 +6190,7 @@ module TypeScript { export function walkLabelChildren(preAst: Label, parent: AST, walker: IAstWalker): void { >walkLabelChildren : (preAst: Label, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : Label > : ^^^^^ >parent : AST @@ -6203,7 +6203,7 @@ module TypeScript { export function walkLabeledStatementChildren(preAst: LabeledStatement, parent: AST, walker: IAstWalker): void { >walkLabeledStatementChildren : (preAst: LabeledStatement, parent: AST, walker: IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >preAst : LabeledStatement > : ^^^^^^^^^^^^^^^^ >parent : AST diff --git a/tests/baselines/reference/parserRealSource13.types b/tests/baselines/reference/parserRealSource13.types index b2b2c58f81ded..9a56a0fe765f3 100644 --- a/tests/baselines/reference/parserRealSource13.types +++ b/tests/baselines/reference/parserRealSource13.types @@ -872,7 +872,7 @@ module TypeScript.AstWalkerWithDetailCallback { export function walk(script: Script, callback: AstWalkerDetailCallback): void { >walk : (script: Script, callback: AstWalkerDetailCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >script : Script > : ^^^^^^ >callback : AstWalkerDetailCallback @@ -981,7 +981,7 @@ module TypeScript.AstWalkerWithDetailCallback { function AstWalkerCallback(pre: boolean, ast: AST, callback: AstWalkerDetailCallback): boolean { >AstWalkerCallback : (pre: boolean, ast: AST, callback: AstWalkerDetailCallback) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >pre : boolean > : ^^^^^^^ >ast : AST diff --git a/tests/baselines/reference/parserRealSource14.types b/tests/baselines/reference/parserRealSource14.types index a65d30dc2a526..dc52a1569d974 100644 --- a/tests/baselines/reference/parserRealSource14.types +++ b/tests/baselines/reference/parserRealSource14.types @@ -174,7 +174,7 @@ module TypeScript { public clone(): AstPath { >clone : () => AstPath -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var clone = new AstPath(); >clone : AstPath @@ -6947,7 +6947,7 @@ module TypeScript { /// export function getAstPathToPosition(script: TypeScript.AST, pos: number, options = GetAstPathOptions.Default): TypeScript.AstPath { >getAstPathToPosition : (script: TypeScript.AST, pos: number, options?: GetAstPathOptions) => TypeScript.AstPath -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >script : TypeScript.AST > : ^^^^^^^^^^^^^^ >TypeScript : any @@ -6967,9 +6967,9 @@ module TypeScript { var lookInComments = (comments: TypeScript.Comment[]) => { >lookInComments : (comments: TypeScript.Comment[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >(comments: TypeScript.Comment[]) => { if (comments && comments.length > 0) { for (var i = 0; i < comments.length; i++) { var minChar = comments[i].minChar; var limChar = comments[i].limChar; if (!comments[i].isBlockComment) { limChar++; // For single line comments, include 1 more character (for the newline) } if (pos >= minChar && pos < limChar) { ctx.path.push(comments[i]); } } } } : (comments: TypeScript.Comment[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >comments : TypeScript.Comment[] > : ^^^^^^^^^^^^^^^^^^^^ >TypeScript : any @@ -7607,13 +7607,13 @@ module TypeScript { /// export function walkAST(ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalker) => void ): void { >walkAST : (ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalker) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >ast : TypeScript.AST > : ^^^^^^^^^^^^^^ >TypeScript : any > : ^^^ >callback : (path: AstPath, walker: TypeScript.IAstWalker) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >path : AstPath > : ^^^^^^^ >walker : TypeScript.IAstWalker diff --git a/tests/baselines/reference/parserRealSource2.types b/tests/baselines/reference/parserRealSource2.types index ce1899f32c4a9..03c9b4a312802 100644 --- a/tests/baselines/reference/parserRealSource2.types +++ b/tests/baselines/reference/parserRealSource2.types @@ -1613,25 +1613,25 @@ module TypeScript { export function ToDeclFlags(fncFlags: FncFlags) : DeclFlags; >ToDeclFlags : { (fncFlags: FncFlags): DeclFlags; (varFlags: VarFlags): DeclFlags; (symFlags: SymbolFlags): DeclFlags; (moduleFlags: ModuleFlags): DeclFlags; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fncFlags : FncFlags > : ^^^^^^^^ export function ToDeclFlags(varFlags: VarFlags) : DeclFlags; >ToDeclFlags : { (fncFlags: FncFlags): DeclFlags; (varFlags: VarFlags): DeclFlags; (symFlags: SymbolFlags): DeclFlags; (moduleFlags: ModuleFlags): DeclFlags; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >varFlags : VarFlags > : ^^^^^^^^ export function ToDeclFlags(symFlags: SymbolFlags): DeclFlags; >ToDeclFlags : { (fncFlags: FncFlags): DeclFlags; (varFlags: VarFlags): DeclFlags; (symFlags: SymbolFlags): DeclFlags; (moduleFlags: ModuleFlags): DeclFlags; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >symFlags : SymbolFlags > : ^^^^^^^^^^^ export function ToDeclFlags(moduleFlags: ModuleFlags): DeclFlags; >ToDeclFlags : { (fncFlags: FncFlags): DeclFlags; (varFlags: VarFlags): DeclFlags; (symFlags: SymbolFlags): DeclFlags; (moduleFlags: ModuleFlags): DeclFlags; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >moduleFlags : ModuleFlags > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/parserRealSource6.types b/tests/baselines/reference/parserRealSource6.types index 5d89a5c8162ad..47bd52ac3c402 100644 --- a/tests/baselines/reference/parserRealSource6.types +++ b/tests/baselines/reference/parserRealSource6.types @@ -508,7 +508,7 @@ module TypeScript { export function pushTypeCollectionScope(container: Symbol, >pushTypeCollectionScope : (container: Symbol, valueMembers: ScopedMembers, ambientValueMembers: ScopedMembers, enclosedTypes: ScopedMembers, ambientEnclosedTypes: ScopedMembers, context: TypeCollectionContext, thisType: Type, classType: Type, moduleDecl: ModuleDeclaration) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >container : Symbol > : ^^^^^^ @@ -631,7 +631,7 @@ module TypeScript { export function popTypeCollectionScope(context: TypeCollectionContext) { >popTypeCollectionScope : (context: TypeCollectionContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >context : TypeCollectionContext > : ^^^^^^^^^^^^^^^^^^^^^ @@ -1371,7 +1371,7 @@ module TypeScript { // export function findEnclosingScopeAt(logger: ILogger, script: Script, text: ISourceText, pos: number, isMemberCompletion: boolean): EnclosingScopeContext { >findEnclosingScopeAt : (logger: ILogger, script: Script, text: ISourceText, pos: number, isMemberCompletion: boolean) => EnclosingScopeContext -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >logger : ILogger > : ^^^^^^^ >script : Script diff --git a/tests/baselines/reference/parserRealSource7.types b/tests/baselines/reference/parserRealSource7.types index f625b7f3de5fb..3c04c6c195531 100644 --- a/tests/baselines/reference/parserRealSource7.types +++ b/tests/baselines/reference/parserRealSource7.types @@ -748,7 +748,7 @@ module TypeScript { function findTypeSymbolInScopeChain(name: string, scopeChain: ScopeChain): Symbol { >findTypeSymbolInScopeChain : (name: string, scopeChain: ScopeChain) => Symbol -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >name : string > : ^^^^^^ >scopeChain : ScopeChain @@ -816,7 +816,7 @@ module TypeScript { function findSymbolFromAlias(alias: AST, context: IAliasScopeContext): Symbol { >findSymbolFromAlias : (alias: AST, context: IAliasScopeContext) => Symbol -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >alias : AST > : ^^^ >context : IAliasScopeContext diff --git a/tests/baselines/reference/parserRealSource8.types b/tests/baselines/reference/parserRealSource8.types index bcf7b7b7140e1..f195e0065f894 100644 --- a/tests/baselines/reference/parserRealSource8.types +++ b/tests/baselines/reference/parserRealSource8.types @@ -30,7 +30,7 @@ module TypeScript { export function pushAssignScope(scope: SymbolScope, >pushAssignScope : (scope: SymbolScope, context: AssignScopeContext, type: Type, classType: Type, fnc: FuncDecl) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >scope : SymbolScope > : ^^^^^^^^^^^ @@ -117,7 +117,7 @@ module TypeScript { export function popAssignScope(context: AssignScopeContext) { >popAssignScope : (context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >context : AssignScopeContext > : ^^^^^^^^^^^^^^^^^^ @@ -144,7 +144,7 @@ module TypeScript { export function instanceCompare(a: Symbol, b: Symbol) { >instanceCompare : (a: Symbol, b: Symbol) => Symbol -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^ >a : Symbol > : ^^^^^^ >b : Symbol @@ -187,7 +187,7 @@ module TypeScript { export function instanceFilterStop(s: Symbol) { >instanceFilterStop : (s: Symbol) => any -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >s : Symbol > : ^^^^^^ @@ -208,7 +208,7 @@ module TypeScript { constructor (public select: (a: Symbol, b: Symbol) =>Symbol, >select : (a: Symbol, b: Symbol) => Symbol -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : Symbol > : ^^^^^^ >b : Symbol @@ -216,7 +216,7 @@ module TypeScript { public stop: (s: Symbol) =>boolean) { } >stop : (s: Symbol) => boolean -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : Symbol > : ^^^^^^ @@ -241,7 +241,7 @@ module TypeScript { public update(b: Symbol): boolean { >update : (b: Symbol) => boolean -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : Symbol > : ^^^^^^ @@ -317,7 +317,7 @@ module TypeScript { export function preAssignModuleScopes(ast: AST, context: AssignScopeContext) { >preAssignModuleScopes : (ast: AST, context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ >context : AssignScopeContext @@ -614,7 +614,7 @@ module TypeScript { export function preAssignClassScopes(ast: AST, context: AssignScopeContext) { >preAssignClassScopes : (ast: AST, context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ >context : AssignScopeContext @@ -934,7 +934,7 @@ module TypeScript { export function preAssignInterfaceScopes(ast: AST, context: AssignScopeContext) { >preAssignInterfaceScopes : (ast: AST, context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ >context : AssignScopeContext @@ -1118,7 +1118,7 @@ module TypeScript { export function preAssignWithScopes(ast: AST, context: AssignScopeContext) { >preAssignWithScopes : (ast: AST, context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ >context : AssignScopeContext @@ -1347,7 +1347,7 @@ module TypeScript { export function preAssignFuncDeclScopes(ast: AST, context: AssignScopeContext) { >preAssignFuncDeclScopes : (ast: AST, context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ >context : AssignScopeContext @@ -3288,7 +3288,7 @@ module TypeScript { export function preAssignCatchScopes(ast: AST, context: AssignScopeContext) { >preAssignCatchScopes : (ast: AST, context: AssignScopeContext) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >ast : AST > : ^^^ >context : AssignScopeContext diff --git a/tests/baselines/reference/parserRealSource9.types b/tests/baselines/reference/parserRealSource9.types index 40d8b0f193064..5ddf83a322bee 100644 --- a/tests/baselines/reference/parserRealSource9.types +++ b/tests/baselines/reference/parserRealSource9.types @@ -1363,7 +1363,7 @@ module TypeScript { public bindSymbol(scope: SymbolScope, symbol: Symbol) { >bindSymbol : (scope: SymbolScope, symbol: Symbol) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >scope : SymbolScope > : ^^^^^^^^^^^ >symbol : Symbol diff --git a/tests/baselines/reference/parserharness.types b/tests/baselines/reference/parserharness.types index 6a31c91210e46..9d542fa991765 100644 --- a/tests/baselines/reference/parserharness.types +++ b/tests/baselines/reference/parserharness.types @@ -255,7 +255,7 @@ declare module process { export function on(event: string, listener: Function); >on : (event: string, listener: Function) => any -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ >event : string > : ^^^^^^ >listener : Function @@ -367,9 +367,9 @@ module Harness { export var throwAssertError = (error: Error) => { >throwAssertError : (error: Error) => never -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ >(error: Error) => { throw error; } : (error: Error) => never -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ >error : Error > : ^^^^^ @@ -705,7 +705,7 @@ module Harness { export function compilerWarning(result: Compiler.CompilerResult, line: number, column: number, desc: string) { >compilerWarning : (result: Compiler.CompilerResult, line: number, column: number, desc: string) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >result : Compiler.CompilerResult > : ^^^^^^^^^^^^^^^^^^^^^^^ >Compiler : any @@ -1421,13 +1421,13 @@ module Harness { scenarioStart: (scenario: IScenarioMetadata) => void; >scenarioStart : (scenario: IScenarioMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >scenario : IScenarioMetadata > : ^^^^^^^^^^^^^^^^^ scenarioEnd: (scenario: IScenarioMetadata, error?: Error) => void; >scenarioEnd : (scenario: IScenarioMetadata, error?: Error) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >scenario : IScenarioMetadata > : ^^^^^^^^^^^^^^^^^ >error : Error @@ -1435,31 +1435,31 @@ module Harness { testStart: (test: ITestMetadata) => void; >testStart : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ pass: (test: ITestMetadata) => void; >pass : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ bug: (test: ITestMetadata) => void; >bug : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ fail: (test: ITestMetadata) => void; >fail : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ error: (test: ITestMetadata, error: Error) => void; >error : (test: ITestMetadata, error: Error) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ >error : Error @@ -1473,7 +1473,7 @@ module Harness { verify: (test: ITestMetadata, passed: boolean, actual: any, expected: any, message: string) => void; >verify : (test: ITestMetadata, passed: boolean, actual: any, expected: any, message: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ >passed : boolean @@ -1506,13 +1506,13 @@ module Harness { public scenarioStart(scenario: IScenarioMetadata) { } >scenarioStart : (scenario: IScenarioMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >scenario : IScenarioMetadata > : ^^^^^^^^^^^^^^^^^ public scenarioEnd(scenario: IScenarioMetadata, error?: Error) { } >scenarioEnd : (scenario: IScenarioMetadata, error?: Error) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >scenario : IScenarioMetadata > : ^^^^^^^^^^^^^^^^^ >error : Error @@ -1520,31 +1520,31 @@ module Harness { public testStart(test: ITestMetadata) { } >testStart : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ public pass(test: ITestMetadata) { } >pass : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ public bug(test: ITestMetadata) { } >bug : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ public fail(test: ITestMetadata) { } >fail : (test: ITestMetadata) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ public error(test: ITestMetadata, error: Error) { } >error : (test: ITestMetadata, error: Error) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ >error : Error @@ -1558,7 +1558,7 @@ module Harness { public verify(test: ITestMetadata, passed: boolean, actual: any, expected: any, message: string) { } >verify : (test: ITestMetadata, passed: boolean, actual: any, expected: any, message: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ >test : ITestMetadata > : ^^^^^^^^^^^^^ >passed : boolean @@ -1580,7 +1580,7 @@ module Harness { export function registerLogger(logger: ILogger) { >registerLogger : (logger: ILogger) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >logger : ILogger > : ^^^^^^^ @@ -1720,7 +1720,7 @@ module Harness { public addChild(child: Runnable): void { >addChild : (child: Runnable) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >child : Runnable > : ^^^^^^^^ @@ -1747,9 +1747,9 @@ module Harness { */ public call(fn: (done?: IDone) => void , done: IDone) { >call : (fn: (done?: IDone) => void, done: IDone) => boolean -> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ >fn : (done?: IDone) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >done : IDone > : ^^^^^ >done : IDone @@ -1865,13 +1865,13 @@ module Harness { public run(done: IDone) { } >run : (done: IDone) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >done : IDone > : ^^^^^ public runBlock(done: IDone) { >runBlock : (done: IDone) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ >done : IDone > : ^^^^^ @@ -1896,7 +1896,7 @@ module Harness { public runChild(index: number, done: IDone) { >runChild : (index: number, done: IDone) => boolean -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ >index : number > : ^^^^^^ >done : IDone @@ -1943,7 +1943,7 @@ module Harness { static errorHandlerStack: { (e: Error): void; }[] = []; >errorHandlerStack : ((e: Error) => void)[] -> : ^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >e : Error > : ^^^^^ >[] : undefined[] @@ -1951,7 +1951,7 @@ module Harness { static pushGlobalErrorHandler(done: IDone) { >pushGlobalErrorHandler : (done: IDone) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >done : IDone > : ^^^^^ @@ -1997,7 +1997,7 @@ module Harness { static handleError(e: Error) { >handleError : (e: Error) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >e : Error > : ^^^^^ @@ -2109,7 +2109,7 @@ module Harness { public addChild(child: Runnable): void { >addChild : (child: Runnable) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >child : Runnable > : ^^^^^^^^ @@ -2125,7 +2125,7 @@ module Harness { /** Run the test case block and fail the test if it raised an error. If no error is raised, the test passes. */ public run(done: IDone) { >run : (done: IDone) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >done : IDone > : ^^^^^ @@ -2367,7 +2367,7 @@ module Harness { /** Run the block, and if the block doesn't raise an error, run the children. */ public run(done: IDone) { >run : (done: IDone) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >done : IDone > : ^^^^^ @@ -2582,7 +2582,7 @@ module Harness { */ public runChildren(done: IDone, index = 0) { >runChildren : (done: IDone, index?: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >done : IDone > : ^^^^^ >index : number @@ -3671,13 +3671,13 @@ module Harness { export var benchmarks: { new (): Benchmark; }[] = []; >benchmarks : (new () => Benchmark)[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var timeFunction: ( >timeFunction : (benchmark: Benchmark, description?: string, name?: string, f?: (bench?: { (): void; }) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^ benchmark: Benchmark, >benchmark : Benchmark @@ -3701,11 +3701,11 @@ module Harness { timeFunction = function ( >timeFunction = function ( benchmark: Benchmark, description: string = benchmark.description, name: string = '', f = benchmark.bench ): void { var t = new Timer(); t.start(); var subBenchmark = function (name, f): void { timeFunction(benchmark, description, name, f); } f.call(benchmark, subBenchmark); t.end(); benchmark.addTimingFor(name, t.time); } : (benchmark: Benchmark, description?: string, name?: string, f?: (bench?: () => void) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >timeFunction : (benchmark: Benchmark, description?: string, name?: string, f?: (bench?: () => void) => void) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function ( benchmark: Benchmark, description: string = benchmark.description, name: string = '', f = benchmark.bench ): void { var t = new Timer(); t.start(); var subBenchmark = function (name, f): void { timeFunction(benchmark, description, name, f); } f.call(benchmark, subBenchmark); t.end(); benchmark.addTimingFor(name, t.time); } : (benchmark: Benchmark, description?: string, name?: string, f?: (bench?: () => void) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ benchmark: Benchmark, >benchmark : Benchmark @@ -4447,7 +4447,7 @@ module Harness { public toArray(): { filename: string; file: WriterAggregator; }[] { >toArray : () => { filename: string; file: WriterAggregator; }[] -> : ^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >filename : string > : ^^^^^^ >file : WriterAggregator @@ -4455,7 +4455,7 @@ module Harness { var result: { filename: string; file: WriterAggregator; }[] = []; >result : { filename: string; file: WriterAggregator; }[] -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >filename : string > : ^^^^^^ >file : WriterAggregator @@ -5120,7 +5120,7 @@ module Harness { public isSubtypeOf(other: Type) { >isSubtypeOf : (other: Type) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ >other : Type > : ^^^^ @@ -5500,7 +5500,7 @@ module Harness { public isAssignmentCompatibleWith(other: Type) { >isAssignmentCompatibleWith : (other: Type) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ >other : Type > : ^^^^ @@ -7420,7 +7420,7 @@ module Harness { */ export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compilationContext?: Harness.Compiler.CompilationContext, references?: TypeScript.IFileReference[]): string { >generateDeclFile : (code: string, verifyNoDeclFile: boolean, unitName?: string, compilationContext?: Harness.Compiler.CompilationContext, references?: TypeScript.IFileReference[]) => string -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >code : string > : ^^^^^^ >verifyNoDeclFile : boolean @@ -7885,7 +7885,7 @@ module Harness { /** @param fileResults an array of strings for the filename and an ITextWriter with its code */ constructor(public fileResults: { filename: string; file: WriterAggregator; }[], errorLines: string[], public scripts: TypeScript.Script[]) { >fileResults : { filename: string; file: WriterAggregator; }[] -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >filename : string > : ^^^^^^ >file : WriterAggregator @@ -8728,11 +8728,11 @@ module Harness { export function compileFile(path: string, callback: (res: CompilerResult) => void , settingsCallback?: (settings?: TypeScript.CompilationSettings) => void , context?: CompilationContext, references?: TypeScript.IFileReference[]) { >compileFile : (path: string, callback: (res: CompilerResult) => void, settingsCallback?: (settings?: TypeScript.CompilationSettings) => void, context?: CompilationContext, references?: TypeScript.IFileReference[]) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >path : string > : ^^^^^^ >callback : (res: CompilerResult) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >res : CompilerResult > : ^^^^^^^^^^^^^^ >settingsCallback : (settings?: TypeScript.CompilationSettings) => void @@ -8809,13 +8809,13 @@ module Harness { export function compileUnit(code: string, filename: string, callback: (res: CompilerResult) => void , settingsCallback?: (settings?: TypeScript.CompilationSettings) => void , context?: CompilationContext, references?: TypeScript.IFileReference[]) { >compileUnit : (code: string, filename: string, callback: (res: CompilerResult) => void, settingsCallback?: (settings?: TypeScript.CompilationSettings) => void, context?: CompilationContext, references?: TypeScript.IFileReference[]) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >code : string > : ^^^^^^ >filename : string > : ^^^^^^ >callback : (res: CompilerResult) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >res : CompilerResult > : ^^^^^^^^^^^^^^ >settingsCallback : (settings?: TypeScript.CompilationSettings) => void @@ -9037,13 +9037,13 @@ module Harness { export function compileUnits(units: TestCaseParser.TestUnitData[], callback: (res: Compiler.CompilerResult) => void , settingsCallback?: () => void ) { >compileUnits : (units: TestCaseParser.TestUnitData[], callback: (res: Compiler.CompilerResult) => void, settingsCallback?: () => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >units : TestCaseParser.TestUnitData[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >TestCaseParser : any > : ^^^ >callback : (res: Compiler.CompilerResult) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >res : CompilerResult > : ^^^^^^^^^^^^^^ >Compiler : any @@ -9168,7 +9168,7 @@ module Harness { export function emitToOutfile(outfile: WriterAggregator) { >emitToOutfile : (outfile: WriterAggregator) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >outfile : WriterAggregator > : ^^^^^^^^^^^^^^^^ @@ -9212,13 +9212,13 @@ module Harness { export function compileString(code: string, unitName: string, callback: (res: Compiler.CompilerResult) => void , context?: CompilationContext, references?: TypeScript.IFileReference[]) { >compileString : (code: string, unitName: string, callback: (res: Compiler.CompilerResult) => void, context?: CompilationContext, references?: TypeScript.IFileReference[]) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >code : string > : ^^^^^^ >unitName : string > : ^^^^^^ >callback : (res: Compiler.CompilerResult) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >res : CompilerResult > : ^^^^^^^^^^^^^^ >Compiler : any @@ -9447,7 +9447,7 @@ module Harness { */ export function defineCompilationContextForTest(filename: string, dependencies: TestCaseParser.TestUnitData[]): CompilationContext { >defineCompilationContextForTest : (filename: string, dependencies: TestCaseParser.TestUnitData[]) => CompilationContext -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >filename : string > : ^^^^^^ >dependencies : TestCaseParser.TestUnitData[] @@ -9691,7 +9691,7 @@ module Harness { function extractCompilerSettings(content: string): CompilerSetting[] { >extractCompilerSettings : (content: string) => CompilerSetting[] -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >content : string > : ^^^^^^ @@ -9762,7 +9762,7 @@ module Harness { /** Given a test file containing // @Filename directives, return an array of named units of code to be added to an existing compiler instance */ export function makeUnitsFromTest(code: string, filename: string): { settings: CompilerSetting[]; testUnitData: TestUnitData[]; } { >makeUnitsFromTest : (code: string, filename: string) => { settings: CompilerSetting[]; testUnitData: TestUnitData[]; } -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >code : string > : ^^^^^^ >filename : string @@ -12767,11 +12767,11 @@ module Harness { export function runCollateral(path: string, callback: (error: Error, result: any) => void ) { >runCollateral : (path: string, callback: (error: Error, result: any) => void) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >path : string > : ^^^^^^ >callback : (error: Error, result: any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >error : Error > : ^^^^^ >result : any @@ -12820,11 +12820,11 @@ module Harness { export function runJSString(code: string, callback: (error: Error, result: any) => void ) { >runJSString : (code: string, callback: (error: Error, result: any) => void) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >code : string > : ^^^^^^ >callback : (error: Error, result: any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >error : Error > : ^^^^^ >result : any @@ -12977,13 +12977,13 @@ module Harness { export function runString(code: string, unitName: string, callback: (error: Error, result: any) => void ) { >runString : (code: string, unitName: string, callback: (error: Error, result: any) => void) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >code : string > : ^^^^^^ >unitName : string > : ^^^^^^ >callback : (error: Error, result: any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >error : Error > : ^^^^^ >result : any @@ -13557,7 +13557,7 @@ module Harness { function compareToBaseline(actual: string, relativeFilename: string, opts: BaselineOptions) { >compareToBaseline : (actual: string, relativeFilename: string, opts: BaselineOptions) => { expected: string; actual: string; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >actual : string > : ^^^^^^ >relativeFilename : string @@ -13895,7 +13895,7 @@ module Harness { export function runBaseline( >runBaseline : (descriptionForDescribe: string, relativeFilename: string, generateContent: () => string, runImmediately?: boolean, opts?: BaselineOptions) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ descriptionForDescribe: string, >descriptionForDescribe : string diff --git a/tests/baselines/reference/partialTypeNarrowedToByTypeGuard.types b/tests/baselines/reference/partialTypeNarrowedToByTypeGuard.types index d0872d193d320..97997bc3a9645 100644 --- a/tests/baselines/reference/partialTypeNarrowedToByTypeGuard.types +++ b/tests/baselines/reference/partialTypeNarrowedToByTypeGuard.types @@ -30,7 +30,7 @@ type PartialUser = Partial; function isUser(obj: Obj): obj is PartialUser { >isUser : (obj: Obj) => obj is Partial -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : Obj > : ^^^ @@ -41,7 +41,7 @@ function isUser(obj: Obj): obj is PartialUser { function getUserName(obj: Obj) { >getUserName : (obj: Obj) => string | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >obj : Obj > : ^^^ diff --git a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.types b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.types index e811c5d598824..48731403ee8fc 100644 --- a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.types +++ b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.types @@ -23,9 +23,9 @@ class D extends C { declare function testError(a: (t: T, t1: T) => void): T >testError : (a: (t: T, t1: T) => void) => T -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >a : (t: T, t1: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >t : T > : ^ >t1 : T @@ -38,7 +38,7 @@ testError((t1: D, t2, t3) => {}) >testError : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1: D, t2, t3) => {} : (t1: D, t2: any, t3: any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t1 : D > : ^ >t2 : any @@ -52,7 +52,7 @@ testError((t1, t2: D, t3) => {}) >testError : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1, t2: D, t3) => {} : (t1: any, t2: D, t3: any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >t1 : any > : ^^^ >t2 : D @@ -66,7 +66,7 @@ testError((t1, t2, t3: D) => {}) >testError : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1, t2, t3: D) => {} : (t1: any, t2: any, t3: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t1 : any > : ^^^ >t2 : any diff --git a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.types b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.types index 09d32613c72c0..e31c44781452e 100644 --- a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.types +++ b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.types @@ -23,9 +23,9 @@ class D extends C { declare function test(a: (t: T, t1: T) => void): T >test : (a: (t: T, t1: T) => void) => T -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >a : (t: T, t1: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >t : T > : ^ >t1 : T @@ -33,9 +33,9 @@ declare function test(a: (t: T, t1: T) => void): T declare function testRest(a: (t: T, t1: T, ...ts: T[]) => void): T >testRest : (a: (t: T, t1: T, ...ts: T[]) => void) => T -> : ^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >a : (t: T, t1: T, ...ts: T[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ >t : T > : ^ >t1 : T @@ -51,7 +51,7 @@ test((t1: D, t2) => { t2.test2 }) >test : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1: D, t2) => { t2.test2 } : (t1: D, t2: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^ >t1 : D > : ^ >t2 : D @@ -69,7 +69,7 @@ test((t1, t2: D) => { t2.test2 }) >test : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1, t2: D) => { t2.test2 } : (t1: D, t2: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >t1 : D > : ^ >t2 : D @@ -97,7 +97,7 @@ test((t1: D) => {}) >test : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1: D) => {} : (t1: D) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >t1 : D > : ^ @@ -108,7 +108,7 @@ test((...ts: D[]) => {}) >test : (a: (t: T, t1: T) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(...ts: D[]) => {} : (...ts: D[]) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >ts : D[] > : ^^^ @@ -119,7 +119,7 @@ testRest((t1: D) => {}) >testRest : (a: (t: T, t1: T, ...ts: T[]) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1: D) => {} : (t1: D) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >t1 : D > : ^ @@ -143,7 +143,7 @@ testRest((t1: D, t2, t3) => {}) >testRest : (a: (t: T, t1: T, ...ts: T[]) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1: D, t2, t3) => {} : (t1: D, t2: D, t3: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >t1 : D > : ^ >t2 : D @@ -157,7 +157,7 @@ testRest((t1, t2: D, t3) => {}) >testRest : (a: (t: T, t1: T, ...ts: T[]) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t1, t2: D, t3) => {} : (t1: D, t2: D, t3: D) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >t1 : D > : ^ >t2 : D @@ -171,7 +171,7 @@ testRest((t2: D, ...t3) => {}) >testRest : (a: (t: T, t1: T, ...ts: T[]) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t2: D, ...t3) => {} : (t2: D, t1: D, ...ts: D[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t2 : D > : ^ >t3 : [t1: D, ...ts: D[]] @@ -183,7 +183,7 @@ testRest((t2, ...t3: D[]) => {}) >testRest : (a: (t: T, t1: T, ...ts: T[]) => void) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(t2, ...t3: D[]) => {} : (t2: C, ...t3: D[]) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >t2 : C > : ^ >t3 : D[] diff --git a/tests/baselines/reference/partiallyDiscriminantedUnions.types b/tests/baselines/reference/partiallyDiscriminantedUnions.types index 5b326e384b07f..b2d9cf053a1ef 100644 --- a/tests/baselines/reference/partiallyDiscriminantedUnions.types +++ b/tests/baselines/reference/partiallyDiscriminantedUnions.types @@ -103,7 +103,7 @@ type Shapes = Shape | Array; function isShape(s : Shapes): s is Shape { >isShape : (s: Shapes) => s is Shape -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^ >s : Shapes > : ^^^^^^ @@ -124,7 +124,7 @@ function isShape(s : Shapes): s is Shape { function fail(s: Shapes) { >fail : (s: Shapes) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >s : Shapes > : ^^^^^^ diff --git a/tests/baselines/reference/partiallyNamedTuples.types b/tests/baselines/reference/partiallyNamedTuples.types index 33ace19005fac..33ab47eef5fa1 100644 --- a/tests/baselines/reference/partiallyNamedTuples.types +++ b/tests/baselines/reference/partiallyNamedTuples.types @@ -119,11 +119,11 @@ type AddMixedConditionalNumberPrimitive = AddMixedConditional; declare function test( >test : (arg: [...{ [K in keyof T]: { type: T[K]; }; }]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ arg: [ >arg : [...{ [K in keyof T]: { type: T[K]; }; }] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...{ [K in keyof T]: { diff --git a/tests/baselines/reference/partiallyNamedTuples2.types b/tests/baselines/reference/partiallyNamedTuples2.types index 5382c37f45cd8..08f5f58854761 100644 --- a/tests/baselines/reference/partiallyNamedTuples2.types +++ b/tests/baselines/reference/partiallyNamedTuples2.types @@ -5,7 +5,7 @@ interface MultiKeyMap { get>(...key: Key): GetResult; >get : >(...key: Key) => GetResult -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : Key > : ^^^ } diff --git a/tests/baselines/reference/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.types b/tests/baselines/reference/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.types index d4f3f4902b5a6..8c5f66ad1bdea 100644 --- a/tests/baselines/reference/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.types +++ b/tests/baselines/reference/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.types @@ -14,9 +14,9 @@ export declare type ThenArg = T extends any ? any : T extends PromiseLike { filter(callback: (newValue: T, oldValue: T) => boolean): InterfaceA; >filter : (callback: (newValue: T, oldValue: T) => boolean) => InterfaceA -> : ^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ >callback : (newValue: T, oldValue: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >newValue : T > : ^ >oldValue : T @@ -24,109 +24,109 @@ export interface InterfaceA { map(callback: (value: T) => D): InterfaceA; >map : (callback: (value: T) => D) => InterfaceA -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (value: T) => D -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ await>(): InterfaceA; >await : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitLatest>(): InterfaceA; >awaitLatest : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered>(): InterfaceA; >awaitOrdered : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered2>(): InterfaceA; >awaitOrdered2 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered3>(): InterfaceA; >awaitOrdered3 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered4>(): InterfaceA; >awaitOrdered4 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered5>(): InterfaceA; >awaitOrdered5 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered6>(): InterfaceA; >awaitOrdered6 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered7>(): InterfaceA; >awaitOrdered7 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered8>(): InterfaceA; >awaitOrdered8 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered9>(): InterfaceA; >awaitOrdered9 : >() => InterfaceA -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ } export interface InterfaceB extends InterfaceA { map(callback: (value: T) => D): InterfaceB; >map : (callback: (value: T) => D) => InterfaceB -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (value: T) => D -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ await>(): InterfaceB; >await : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitLatest>(): InterfaceB; >awaitLatest : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered>(): InterfaceB; >awaitOrdered : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered2>(): InterfaceB; >awaitOrdered2 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered3>(): InterfaceB; >awaitOrdered3 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered4>(): InterfaceB; >awaitOrdered4 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered5>(): InterfaceB; >awaitOrdered5 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered6>(): InterfaceB; >awaitOrdered6 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered7>(): InterfaceB; >awaitOrdered7 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered8>(): InterfaceB; >awaitOrdered8 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ awaitOrdered9>(): InterfaceB; >awaitOrdered9 : >() => InterfaceB -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ } export class A implements InterfaceB { @@ -135,9 +135,9 @@ export class A implements InterfaceB { public filter(callback: (newValue: T, oldValue: T) => boolean): B { >filter : (callback: (newValue: T, oldValue: T) => boolean) => B -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ >callback : (newValue: T, oldValue: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >newValue : T > : ^ >oldValue : T @@ -151,9 +151,9 @@ export class A implements InterfaceB { public map(callback: (value: T) => D): B { >map : (callback: (value: T) => D) => B -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (value: T) => D -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -165,7 +165,7 @@ export class A implements InterfaceB { public await>(): B { >await : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -175,7 +175,7 @@ export class A implements InterfaceB { public awaitOrdered>(): B { >awaitOrdered : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -185,7 +185,7 @@ export class A implements InterfaceB { public awaitOrdered2>(): B { >awaitOrdered2 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -195,7 +195,7 @@ export class A implements InterfaceB { public awaitOrdered3>(): B { >awaitOrdered3 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -205,7 +205,7 @@ export class A implements InterfaceB { public awaitOrdered4>(): B { >awaitOrdered4 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -215,7 +215,7 @@ export class A implements InterfaceB { public awaitOrdered5>(): B { >awaitOrdered5 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -225,7 +225,7 @@ export class A implements InterfaceB { public awaitOrdered6>(): B { >awaitOrdered6 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -235,7 +235,7 @@ export class A implements InterfaceB { public awaitOrdered7>(): B { >awaitOrdered7 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -245,7 +245,7 @@ export class A implements InterfaceB { public awaitOrdered8>(): B { >awaitOrdered8 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -255,7 +255,7 @@ export class A implements InterfaceB { public awaitOrdered9>(): B { >awaitOrdered9 : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any @@ -265,7 +265,7 @@ export class A implements InterfaceB { public awaitLatest>(): B { >awaitLatest : >() => B -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ return undefined as any; >undefined as any : any diff --git a/tests/baselines/reference/potentiallyUncalledDecorators.types b/tests/baselines/reference/potentiallyUncalledDecorators.types index 96903c91b7bc4..8643417fe5672 100644 --- a/tests/baselines/reference/potentiallyUncalledDecorators.types +++ b/tests/baselines/reference/potentiallyUncalledDecorators.types @@ -84,23 +84,23 @@ interface OmniDecorator extends MethodDecorator, ClassDecorator, PropertyDecorat declare function noArgs(): OmniDecorator; >noArgs : () => OmniDecorator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function allRest(...args: any[]): OmniDecorator; >allRest : (...args: any[]) => OmniDecorator -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : any[] > : ^^^^^ declare function oneOptional(x?: any): OmniDecorator; >oneOptional : (x?: any) => OmniDecorator -> : ^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : any > : ^^^ declare function twoOptional(x?: any, y?: any): OmniDecorator; >twoOptional : (x?: any, y?: any) => OmniDecorator -> : ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : any > : ^^^ >y : any @@ -108,7 +108,7 @@ declare function twoOptional(x?: any, y?: any): OmniDecorator; declare function threeOptional(x?: any, y?: any, z?: any): OmniDecorator; >threeOptional : (x?: any, y?: any, z?: any) => OmniDecorator -> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >x : any > : ^^^ >y : any @@ -118,7 +118,7 @@ declare function threeOptional(x?: any, y?: any, z?: any): OmniDecorator; declare function oneOptionalWithRest(x?: any, ...args: any[]): OmniDecorator; >oneOptionalWithRest : (x?: any, ...args: any[]) => OmniDecorator -> : ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^ ^^^^^ >x : any > : ^^^ >args : any[] diff --git a/tests/baselines/reference/prespecializedGenericMembers1.types b/tests/baselines/reference/prespecializedGenericMembers1.types index 5c0503609bb3e..cbb9a5c022849 100644 --- a/tests/baselines/reference/prespecializedGenericMembers1.types +++ b/tests/baselines/reference/prespecializedGenericMembers1.types @@ -20,7 +20,7 @@ export class CatBag { constructor(cats: { barry: Cat; }) { >cats : { barry: Cat; } -> : ^^^^^^^^^^^^ ^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ >barry : Cat > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/primitiveConstraints1.types b/tests/baselines/reference/primitiveConstraints1.types index 062b02283aedd..ef733683a7ca6 100644 --- a/tests/baselines/reference/primitiveConstraints1.types +++ b/tests/baselines/reference/primitiveConstraints1.types @@ -3,7 +3,7 @@ === primitiveConstraints1.ts === function foo1(t: T, u: U) { } >foo1 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -21,7 +21,7 @@ foo1('hm', 1); // no error function foo2(t: T, u: U) { } >foo2 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/primitiveConstraints2.types b/tests/baselines/reference/primitiveConstraints2.types index 9f4e17224b097..9705e2f4e994c 100644 --- a/tests/baselines/reference/primitiveConstraints2.types +++ b/tests/baselines/reference/primitiveConstraints2.types @@ -7,7 +7,7 @@ class C { public bar2(x: T, y: U): T { >bar2 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/primitiveUnionDetection.types b/tests/baselines/reference/primitiveUnionDetection.types index 3cfc2ff35ad45..dd996dcd2841e 100644 --- a/tests/baselines/reference/primitiveUnionDetection.types +++ b/tests/baselines/reference/primitiveUnionDetection.types @@ -9,7 +9,7 @@ type Kind = "one" | "two" | "three"; declare function getInterfaceFromString(options?: { type?: T } & { type?: Kind }): T; >getInterfaceFromString : (options?: { type?: T; } & { type?: Kind; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >options : ({ type?: T | undefined; } & { type?: Kind | undefined; }) | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >type : T | undefined diff --git a/tests/baselines/reference/primtiveTypesAreIdentical.types b/tests/baselines/reference/primtiveTypesAreIdentical.types index f4f415015be4f..c07ab80509232 100644 --- a/tests/baselines/reference/primtiveTypesAreIdentical.types +++ b/tests/baselines/reference/primtiveTypesAreIdentical.types @@ -100,13 +100,13 @@ enum E { A } function foo6(x: E); >foo6 : { (x: E): any; (x: E): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : E > : ^ function foo6(x: E); >foo6 : { (x: E): any; (x: E): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : E > : ^ diff --git a/tests/baselines/reference/privacyCannotNameAccessorDeclFile.types b/tests/baselines/reference/privacyCannotNameAccessorDeclFile.types index f6c8d5882c432..c92098be7150c 100644 --- a/tests/baselines/reference/privacyCannotNameAccessorDeclFile.types +++ b/tests/baselines/reference/privacyCannotNameAccessorDeclFile.types @@ -379,7 +379,7 @@ declare module "GlobalWidgets" { } export function createWidget3(): Widget3; >createWidget3 : () => Widget3 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ export module SpecializedGlobalWidget { >SpecializedGlobalWidget : typeof SpecializedGlobalWidget @@ -395,7 +395,7 @@ declare module "GlobalWidgets" { } function createWidget4(): Widget4; >createWidget4 : () => Widget4 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.types b/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.types index 1acb4c4dbfb12..b2e0c541b9869 100644 --- a/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.types +++ b/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.types @@ -422,7 +422,7 @@ declare module "GlobalWidgets" { } export function createWidget3(): Widget3; >createWidget3 : () => Widget3 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ export module SpecializedGlobalWidget { >SpecializedGlobalWidget : typeof SpecializedGlobalWidget @@ -438,7 +438,7 @@ declare module "GlobalWidgets" { } function createWidget4(): Widget4; >createWidget4 : () => Widget4 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/privacyCheckAnonymousFunctionParameter.types b/tests/baselines/reference/privacyCheckAnonymousFunctionParameter.types index 44b9d2a3d2d5a..b3c360e4d54a4 100644 --- a/tests/baselines/reference/privacyCheckAnonymousFunctionParameter.types +++ b/tests/baselines/reference/privacyCheckAnonymousFunctionParameter.types @@ -16,9 +16,9 @@ module Query { export function fromDoWhile(doWhile: (test: Iterator) => boolean): Iterator { >fromDoWhile : (doWhile: (test: Iterator) => boolean) => Iterator -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^ >doWhile : (test: Iterator) => boolean -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >test : Iterator > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/privacyCheckAnonymousFunctionParameter2.types b/tests/baselines/reference/privacyCheckAnonymousFunctionParameter2.types index f8a67d5d7c9de..9745896dea88e 100644 --- a/tests/baselines/reference/privacyCheckAnonymousFunctionParameter2.types +++ b/tests/baselines/reference/privacyCheckAnonymousFunctionParameter2.types @@ -17,9 +17,9 @@ module Q { export function foo(x: (a: Iterator) => number) { >foo : (x: (a: Iterator) => number) => (a: Iterator) => number -> : ^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ ^^^^^ >x : (a: Iterator) => number -> : ^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^ ^^^^^ >a : Iterator > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.types b/tests/baselines/reference/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.types index 1df0702448ac7..5c805658748c1 100644 --- a/tests/baselines/reference/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.types +++ b/tests/baselines/reference/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.types @@ -4,9 +4,9 @@ export interface A { f1(callback: (p: T) => any); >f1 : (callback: (p: T) => any) => any -> : ^^^^^^^^^^^ ^ ^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^ >callback : (p: T) => any -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ } diff --git a/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types b/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types index e8160241b6199..f57a095f28b3f 100644 --- a/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types +++ b/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types @@ -9,7 +9,7 @@ interface Foo { } var Foo: new () => Foo.A>; >Foo : new () => Foo.A> -> : ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^ >Foo : any > : ^^^ diff --git a/tests/baselines/reference/privacyCheckOnTypeParameterReferenceInConstructorParameter.types b/tests/baselines/reference/privacyCheckOnTypeParameterReferenceInConstructorParameter.types index fb9149ee8cdee..65bb1624a7487 100644 --- a/tests/baselines/reference/privacyCheckOnTypeParameterReferenceInConstructorParameter.types +++ b/tests/baselines/reference/privacyCheckOnTypeParameterReferenceInConstructorParameter.types @@ -7,7 +7,7 @@ export class A{ constructor(callback: (self: A) => void) { >callback : (self: A) => void -> : ^^^^^^^^ ^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >self : A > : ^^^^^ diff --git a/tests/baselines/reference/privacyFunc.types b/tests/baselines/reference/privacyFunc.types index 90831cf829a6a..98ed1877a70c2 100644 --- a/tests/baselines/reference/privacyFunc.types +++ b/tests/baselines/reference/privacyFunc.types @@ -38,28 +38,28 @@ module m1 { private f1_private(m1_c3_f1_arg: C1_public) { >f1_private : (m1_c3_f1_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f1_arg : C1_public > : ^^^^^^^^^ } public f2_public(m1_c3_f2_arg: C1_public) { >f2_public : (m1_c3_f2_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f2_arg : C1_public > : ^^^^^^^^^ } private f3_private(m1_c3_f3_arg: C2_private) { >f3_private : (m1_c3_f3_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f3_arg : C2_private > : ^^^^^^^^^^ } public f4_public(m1_c3_f4_arg: C2_private) { // error >f4_public : (m1_c3_f4_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f4_arg : C2_private > : ^^^^^^^^^^ } @@ -110,7 +110,7 @@ module m1 { private f9_private(): C1_public { >f9_private : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -121,7 +121,7 @@ module m1 { public f10_public(): C1_public { >f10_public : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -132,7 +132,7 @@ module m1 { private f11_private(): C2_private { >f11_private : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -143,7 +143,7 @@ module m1 { public f12_public(): C2_private { // error >f12_public : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); //error >new C2_private() : C2_private @@ -170,28 +170,28 @@ module m1 { } private f1_private(m1_c4_f1_arg: C1_public) { >f1_private : (m1_c4_f1_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f1_arg : C1_public > : ^^^^^^^^^ } public f2_public(m1_c4_f2_arg: C1_public) { >f2_public : (m1_c4_f2_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f2_arg : C1_public > : ^^^^^^^^^ } private f3_private(m1_c4_f3_arg: C2_private) { >f3_private : (m1_c4_f3_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f3_arg : C2_private > : ^^^^^^^^^^ } public f4_public(m1_c4_f4_arg: C2_private) { >f4_public : (m1_c4_f4_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f4_arg : C2_private > : ^^^^^^^^^^ } @@ -244,7 +244,7 @@ module m1 { private f9_private(): C1_public { >f9_private : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -255,7 +255,7 @@ module m1 { public f10_public(): C1_public { >f10_public : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -266,7 +266,7 @@ module m1 { private f11_private(): C2_private { >f11_private : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -277,7 +277,7 @@ module m1 { public f12_public(): C2_private { >f12_public : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -328,28 +328,28 @@ module m1 { function f1_public(m1_f1_arg: C1_public) { >f1_public : (m1_f1_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f1_arg : C1_public > : ^^^^^^^^^ } export function f2_public(m1_f2_arg: C1_public) { >f2_public : (m1_f2_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f2_arg : C1_public > : ^^^^^^^^^ } function f3_public(m1_f3_arg: C2_private) { >f3_public : (m1_f3_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f3_arg : C2_private > : ^^^^^^^^^^ } export function f4_public(m1_f4_arg: C2_private) { // error >f4_public : (m1_f4_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f4_arg : C2_private > : ^^^^^^^^^^ } @@ -402,7 +402,7 @@ module m1 { function f9_private(): C1_public { >f9_private : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -413,7 +413,7 @@ module m1 { export function f10_public(): C1_public { >f10_public : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -424,7 +424,7 @@ module m1 { function f11_private(): C2_private { >f11_private : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -435,7 +435,7 @@ module m1 { export function f12_public(): C2_private { // error >f12_public : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); //error >new C2_private() : C2_private @@ -463,14 +463,14 @@ class C7_public { } private f1_private(c7_f1_arg: C6_public) { >f1_private : (c7_f1_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c7_f1_arg : C6_public > : ^^^^^^^^^ } public f2_public(c7_f2_arg: C6_public) { >f2_public : (c7_f2_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c7_f2_arg : C6_public > : ^^^^^^^^^ } @@ -499,7 +499,7 @@ class C7_public { private f9_private(): C6_public { >f9_private : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -510,7 +510,7 @@ class C7_public { public f10_public(): C6_public { >f10_public : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -533,7 +533,7 @@ class C9_public { function f4_public(f4_arg: C6_public) { >f4_public : (f4_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >f4_arg : C6_public > : ^^^^^^^^^ } @@ -554,7 +554,7 @@ function f6_public() { function f10_public(): C6_public { >f10_public : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public diff --git a/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.types b/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.types index 96f32ae0fb28b..e84cbde3d7e55 100644 --- a/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.types +++ b/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.types @@ -770,7 +770,7 @@ declare module "GlobalWidgets" { } export function createWidget3(): Widget3; >createWidget3 : () => Widget3 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ export module SpecializedGlobalWidget { >SpecializedGlobalWidget : typeof SpecializedGlobalWidget @@ -786,7 +786,7 @@ declare module "GlobalWidgets" { } function createWidget4(): Widget4; >createWidget4 : () => Widget4 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.types b/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.types index 6e1c62b8780a0..be15fe4428c71 100644 --- a/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.types +++ b/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.types @@ -493,7 +493,7 @@ declare module "GlobalWidgets" { } export function createWidget3(): Widget3; >createWidget3 : () => Widget3 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ export module SpecializedGlobalWidget { >SpecializedGlobalWidget : typeof SpecializedGlobalWidget @@ -509,7 +509,7 @@ declare module "GlobalWidgets" { } function createWidget4(): Widget4; >createWidget4 : () => Widget4 -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/privacyFunctionParameterDeclFile.types b/tests/baselines/reference/privacyFunctionParameterDeclFile.types index bad4beefc72fd..44b7421d08a48 100644 --- a/tests/baselines/reference/privacyFunctionParameterDeclFile.types +++ b/tests/baselines/reference/privacyFunctionParameterDeclFile.types @@ -22,7 +22,7 @@ export interface publicInterfaceWithPrivateParmeterTypes { myMethod(param: privateClass): void; // Error >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -38,7 +38,7 @@ export interface publicInterfaceWithPublicParmeterTypes { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -54,7 +54,7 @@ interface privateInterfaceWithPrivateParmeterTypes { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -70,7 +70,7 @@ interface privateInterfaceWithPublicParmeterTypes { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -81,25 +81,25 @@ export class publicClassWithWithPrivateParmeterTypes { static myPublicStaticMethod(param: privateClass) { // Error >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { // Error >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -119,25 +119,25 @@ export class publicClassWithWithPublicParmeterTypes { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -157,25 +157,25 @@ class privateClassWithWithPrivateParmeterTypes { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -195,25 +195,25 @@ class privateClassWithWithPublicParmeterTypes { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -229,50 +229,50 @@ class privateClassWithWithPublicParmeterTypes { export function publicFunctionWithPrivateParmeterTypes(param: privateClass) { // Error >publicFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } export function publicFunctionWithPublicParmeterTypes(param: publicClass) { >publicFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } function privateFunctionWithPrivateParmeterTypes(param: privateClass) { >privateFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } function privateFunctionWithPublicParmeterTypes(param: publicClass) { >privateFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } export declare function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; // Error >publicAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >publicAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >privateAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >privateAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ @@ -291,7 +291,7 @@ export interface publicInterfaceWithPrivateModuleParameterTypes { myMethod(param: privateModule.publicClass): void; // Error >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -303,7 +303,7 @@ export class publicClassWithPrivateModuleParameterTypes { static myPublicStaticMethod(param: privateModule.publicClass) { // Error >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -311,7 +311,7 @@ export class publicClassWithPrivateModuleParameterTypes { } myPublicMethod(param: privateModule.publicClass) { // Error >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -334,7 +334,7 @@ export class publicClassWithPrivateModuleParameterTypes { } export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { // Error >publicFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -342,7 +342,7 @@ export function publicFunctionWithPrivateModuleParameterTypes(param: privateModu } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; // Error >publicAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -363,7 +363,7 @@ interface privateInterfaceWithPrivateModuleParameterTypes { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -375,7 +375,7 @@ class privateClassWithPrivateModuleParameterTypes { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -383,7 +383,7 @@ class privateClassWithPrivateModuleParameterTypes { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -406,7 +406,7 @@ class privateClassWithPrivateModuleParameterTypes { } function privateFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >privateFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -414,7 +414,7 @@ function privateFunctionWithPrivateModuleParameterTypes(param: privateModule.pub } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >privateAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -446,7 +446,7 @@ export module publicModule { myMethod(param: privateClass): void; // Error >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -462,7 +462,7 @@ export module publicModule { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -478,7 +478,7 @@ export module publicModule { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -494,7 +494,7 @@ export module publicModule { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -505,25 +505,25 @@ export module publicModule { static myPublicStaticMethod(param: privateClass) { // Error >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { // Error >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -543,25 +543,25 @@ export module publicModule { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -581,25 +581,25 @@ export module publicModule { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -619,25 +619,25 @@ export module publicModule { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -653,50 +653,50 @@ export module publicModule { export function publicFunctionWithPrivateParmeterTypes(param: privateClass) { // Error >publicFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } export function publicFunctionWithPublicParmeterTypes(param: publicClass) { >publicFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } function privateFunctionWithPrivateParmeterTypes(param: privateClass) { >privateFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } function privateFunctionWithPublicParmeterTypes(param: publicClass) { >privateFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } export declare function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; // Error >publicAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >publicAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >privateAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >privateAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ @@ -715,7 +715,7 @@ export module publicModule { myMethod(param: privateModule.publicClass): void; // Error >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -727,7 +727,7 @@ export module publicModule { static myPublicStaticMethod(param: privateModule.publicClass) { // Error >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -735,7 +735,7 @@ export module publicModule { } myPublicMethod(param: privateModule.publicClass) { // Error >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -758,7 +758,7 @@ export module publicModule { } export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { // Error >publicFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -766,7 +766,7 @@ export module publicModule { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; // Error >publicAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -787,7 +787,7 @@ export module publicModule { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -799,7 +799,7 @@ export module publicModule { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -807,7 +807,7 @@ export module publicModule { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -830,7 +830,7 @@ export module publicModule { } function privateFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >privateFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -838,7 +838,7 @@ export module publicModule { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >privateAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -871,7 +871,7 @@ module privateModule { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -887,7 +887,7 @@ module privateModule { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -903,7 +903,7 @@ module privateModule { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -919,7 +919,7 @@ module privateModule { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -930,25 +930,25 @@ module privateModule { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -968,25 +968,25 @@ module privateModule { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1006,25 +1006,25 @@ module privateModule { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1044,25 +1044,25 @@ module privateModule { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1078,50 +1078,50 @@ module privateModule { export function publicFunctionWithPrivateParmeterTypes(param: privateClass) { >publicFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } export function publicFunctionWithPublicParmeterTypes(param: publicClass) { >publicFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } function privateFunctionWithPrivateParmeterTypes(param: privateClass) { >privateFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } function privateFunctionWithPublicParmeterTypes(param: publicClass) { >privateFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } export declare function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >publicAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >publicAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >privateAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >privateAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ @@ -1140,7 +1140,7 @@ module privateModule { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1152,7 +1152,7 @@ module privateModule { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1160,7 +1160,7 @@ module privateModule { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1183,7 +1183,7 @@ module privateModule { } export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >publicFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1191,7 +1191,7 @@ module privateModule { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >publicAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1212,7 +1212,7 @@ module privateModule { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1224,7 +1224,7 @@ module privateModule { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1232,7 +1232,7 @@ module privateModule { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1255,7 +1255,7 @@ module privateModule { } function privateFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >privateFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1263,7 +1263,7 @@ module privateModule { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >privateAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1286,7 +1286,7 @@ interface publicInterfaceWithPublicParmeterTypesInGlobal { myMethod(param: publicClassInGlobal): void; >myMethod : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ } @@ -1296,25 +1296,25 @@ class publicClassWithWithPublicParmeterTypesInGlobal { static myPublicStaticMethod(param: publicClassInGlobal) { >myPublicStaticMethod : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClassInGlobal) { >myPrivateStaticMethod : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ } myPublicMethod(param: publicClassInGlobal) { >myPublicMethod : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ } private myPrivateMethod(param: publicClassInGlobal) { >myPrivateMethod : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ } @@ -1329,13 +1329,13 @@ class publicClassWithWithPublicParmeterTypesInGlobal { } function publicFunctionWithPublicParmeterTypesInGlobal(param: publicClassInGlobal) { >publicFunctionWithPublicParmeterTypesInGlobal : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ } declare function publicAmbientFunctionWithPublicParmeterTypesInGlobal(param: publicClassInGlobal): void; >publicAmbientFunctionWithPublicParmeterTypesInGlobal : (param: publicClassInGlobal) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClassInGlobal > : ^^^^^^^^^^^^^^^^^^^ @@ -1378,7 +1378,7 @@ module publicModuleInGlobal { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1394,7 +1394,7 @@ module publicModuleInGlobal { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1410,7 +1410,7 @@ module publicModuleInGlobal { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1426,7 +1426,7 @@ module publicModuleInGlobal { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1437,25 +1437,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1475,25 +1475,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1513,25 +1513,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1551,25 +1551,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1585,50 +1585,50 @@ module publicModuleInGlobal { export function publicFunctionWithPrivateParmeterTypes(param: privateClass) { >publicFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } export function publicFunctionWithPublicParmeterTypes(param: publicClass) { >publicFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } function privateFunctionWithPrivateParmeterTypes(param: privateClass) { >privateFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } function privateFunctionWithPublicParmeterTypes(param: publicClass) { >privateFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } export declare function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >publicAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >publicAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >privateAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >privateAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ @@ -1647,7 +1647,7 @@ module publicModuleInGlobal { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1659,7 +1659,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1667,7 +1667,7 @@ module publicModuleInGlobal { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1690,7 +1690,7 @@ module publicModuleInGlobal { } export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >publicFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1698,7 +1698,7 @@ module publicModuleInGlobal { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >publicAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1719,7 +1719,7 @@ module publicModuleInGlobal { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1731,7 +1731,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1739,7 +1739,7 @@ module publicModuleInGlobal { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1762,7 +1762,7 @@ module publicModuleInGlobal { } function privateFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >privateFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1770,7 +1770,7 @@ module publicModuleInGlobal { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >privateAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ >privateModule : any @@ -1788,7 +1788,7 @@ module publicModuleInGlobal { myMethod(param: privateClass): void; // Error >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1804,7 +1804,7 @@ module publicModuleInGlobal { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1820,7 +1820,7 @@ module publicModuleInGlobal { myMethod(param: privateClass): void; >myMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1836,7 +1836,7 @@ module publicModuleInGlobal { myMethod(param: publicClass): void; >myMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1847,25 +1847,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateClass) { // Error >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { // Error >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1885,25 +1885,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1923,25 +1923,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateClass) { >myPublicStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private static myPrivateStaticMethod(param: privateClass) { >myPrivateStaticMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } myPublicMethod(param: privateClass) { >myPublicMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } private myPrivateMethod(param: privateClass) { >myPrivateMethod : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } @@ -1961,25 +1961,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: publicClass) { >myPublicStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private static myPrivateStaticMethod(param: publicClass) { >myPrivateStaticMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } myPublicMethod(param: publicClass) { >myPublicMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } private myPrivateMethod(param: publicClass) { >myPrivateMethod : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } @@ -1995,50 +1995,50 @@ module publicModuleInGlobal { export function publicFunctionWithPrivateParmeterTypes(param: privateClass) { // Error >publicFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } export function publicFunctionWithPublicParmeterTypes(param: publicClass) { >publicFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } function privateFunctionWithPrivateParmeterTypes(param: privateClass) { >privateFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateClass > : ^^^^^^^^^^^^ } function privateFunctionWithPublicParmeterTypes(param: publicClass) { >privateFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : publicClass > : ^^^^^^^^^^^ } export declare function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; // Error >publicAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >publicAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void; >privateAmbientFunctionWithPrivateParmeterTypes : (param: privateClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateClass > : ^^^^^^^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(param: publicClass): void; >privateAmbientFunctionWithPublicParmeterTypes : (param: publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : publicClass > : ^^^^^^^^^^^ @@ -2057,7 +2057,7 @@ module publicModuleInGlobal { myMethod(param: privateModule.publicClass): void; // Error >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2069,7 +2069,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateModule.publicClass) { // Error >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2077,7 +2077,7 @@ module publicModuleInGlobal { } myPublicMethod(param: privateModule.publicClass) { // Error >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2100,7 +2100,7 @@ module publicModuleInGlobal { } export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { // Error >publicFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2108,7 +2108,7 @@ module publicModuleInGlobal { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; // Error >publicAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2129,7 +2129,7 @@ module publicModuleInGlobal { myMethod(param: privateModule.publicClass): void; >myMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2141,7 +2141,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(param: privateModule.publicClass) { >myPublicStaticMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2149,7 +2149,7 @@ module publicModuleInGlobal { } myPublicMethod(param: privateModule.publicClass) { >myPublicMethod : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2172,7 +2172,7 @@ module publicModuleInGlobal { } function privateFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass) { >privateFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any @@ -2180,7 +2180,7 @@ module publicModuleInGlobal { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void; >privateAmbientFunctionWithPrivateModuleParameterTypes : (param: privateModule.publicClass) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : privateModule.publicClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any diff --git a/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.types b/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.types index 22902e2782689..0ec7b5788321d 100644 --- a/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.types +++ b/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.types @@ -20,7 +20,7 @@ export interface publicInterfaceWithPrivateParmeterTypes { myMethod(): privateClass; // Error >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicParmeterTypes { @@ -32,7 +32,7 @@ export interface publicInterfaceWithPublicParmeterTypes { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateParmeterTypes { @@ -44,7 +44,7 @@ interface privateInterfaceWithPrivateParmeterTypes { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicParmeterTypes { @@ -56,7 +56,7 @@ interface privateInterfaceWithPublicParmeterTypes { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export class publicClassWithWithPrivateParmeterTypes { @@ -65,25 +65,25 @@ export class publicClassWithWithPrivateParmeterTypes { static myPublicStaticMethod(): privateClass { // Error >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { // Error >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -135,25 +135,25 @@ export class publicClassWithWithPublicParmeterTypes { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -205,25 +205,25 @@ class privateClassWithWithPrivateParmeterTypes { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -275,25 +275,25 @@ class privateClassWithWithPublicParmeterTypes { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -341,25 +341,25 @@ class privateClassWithWithPublicParmeterTypes { export function publicFunctionWithPrivateParmeterTypes(): privateClass { // Error >publicFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } export function publicFunctionWithPublicParmeterTypes(): publicClass { >publicFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPrivateParmeterTypes(): privateClass { >privateFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPublicParmeterTypes(): publicClass { >privateFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -406,19 +406,19 @@ function privateFunctionWithPublicParmeterTypes1() { export declare function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass; // Error >publicAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(): publicClass; >publicAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(): privateClass; >privateAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(): publicClass; >privateAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export interface publicInterfaceWithPrivateModuleParameterTypes { new (): privateModule.publicClass; // Error @@ -437,7 +437,7 @@ export interface publicInterfaceWithPrivateModuleParameterTypes { myMethod(): privateModule.publicClass; // Error >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -447,7 +447,7 @@ export class publicClassWithPrivateModuleParameterTypes { static myPublicStaticMethod(): privateModule.publicClass { // Error >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -455,7 +455,7 @@ export class publicClassWithPrivateModuleParameterTypes { } myPublicMethod(): privateModule.publicClass { // Error >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -492,7 +492,7 @@ export class publicClassWithPrivateModuleParameterTypes { } export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { // Error >publicFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -514,7 +514,7 @@ export function publicFunctionWithPrivateModuleParameterTypes1() { // Error } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; // Error >publicAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -535,7 +535,7 @@ interface privateInterfaceWithPrivateModuleParameterTypes { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -545,7 +545,7 @@ class privateClassWithPrivateModuleParameterTypes { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -553,7 +553,7 @@ class privateClassWithPrivateModuleParameterTypes { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -590,7 +590,7 @@ class privateClassWithPrivateModuleParameterTypes { } function privateFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >privateFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -612,7 +612,7 @@ function privateFunctionWithPrivateModuleParameterTypes1() { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >privateAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -639,7 +639,7 @@ export module publicModule { myMethod(): privateClass; // Error >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicParmeterTypes { @@ -651,7 +651,7 @@ export module publicModule { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateParmeterTypes { @@ -663,7 +663,7 @@ export module publicModule { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicParmeterTypes { @@ -675,7 +675,7 @@ export module publicModule { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export class publicClassWithWithPrivateParmeterTypes { @@ -684,25 +684,25 @@ export module publicModule { static myPublicStaticMethod(): privateClass { // Error >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { // Error >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -754,25 +754,25 @@ export module publicModule { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -824,25 +824,25 @@ export module publicModule { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -894,25 +894,25 @@ export module publicModule { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -960,25 +960,25 @@ export module publicModule { export function publicFunctionWithPrivateParmeterTypes(): privateClass { // Error >publicFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } export function publicFunctionWithPublicParmeterTypes(): publicClass { >publicFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPrivateParmeterTypes(): privateClass { >privateFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPublicParmeterTypes(): publicClass { >privateFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1025,19 +1025,19 @@ export module publicModule { export declare function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass; // Error >publicAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(): publicClass; >publicAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(): privateClass; >privateAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(): publicClass; >privateAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export interface publicInterfaceWithPrivateModuleParameterTypes { new (): privateModule.publicClass; // Error @@ -1056,7 +1056,7 @@ export module publicModule { myMethod(): privateModule.publicClass; // Error >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -1066,7 +1066,7 @@ export module publicModule { static myPublicStaticMethod(): privateModule.publicClass { // Error >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1074,7 +1074,7 @@ export module publicModule { } myPublicMethod(): privateModule.publicClass { // Error >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1111,7 +1111,7 @@ export module publicModule { } export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { // Error >publicFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1133,7 +1133,7 @@ export module publicModule { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; // Error >publicAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1154,7 +1154,7 @@ export module publicModule { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -1164,7 +1164,7 @@ export module publicModule { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1172,7 +1172,7 @@ export module publicModule { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1209,7 +1209,7 @@ export module publicModule { } function privateFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >privateFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1231,7 +1231,7 @@ export module publicModule { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >privateAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -1259,7 +1259,7 @@ module privateModule { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicParmeterTypes { @@ -1271,7 +1271,7 @@ module privateModule { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateParmeterTypes { @@ -1283,7 +1283,7 @@ module privateModule { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicParmeterTypes { @@ -1295,7 +1295,7 @@ module privateModule { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export class publicClassWithWithPrivateParmeterTypes { @@ -1304,25 +1304,25 @@ module privateModule { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1374,25 +1374,25 @@ module privateModule { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1444,25 +1444,25 @@ module privateModule { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1514,25 +1514,25 @@ module privateModule { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1580,25 +1580,25 @@ module privateModule { export function publicFunctionWithPrivateParmeterTypes(): privateClass { >publicFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } export function publicFunctionWithPublicParmeterTypes(): publicClass { >publicFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPrivateParmeterTypes(): privateClass { >privateFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPublicParmeterTypes(): publicClass { >privateFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1645,19 +1645,19 @@ module privateModule { export declare function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass; >publicAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(): publicClass; >publicAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(): privateClass; >privateAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(): publicClass; >privateAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export interface publicInterfaceWithPrivateModuleParameterTypes { new (): privateModule.publicClass; @@ -1676,7 +1676,7 @@ module privateModule { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -1686,7 +1686,7 @@ module privateModule { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1694,7 +1694,7 @@ module privateModule { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1731,7 +1731,7 @@ module privateModule { } export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >publicFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1753,7 +1753,7 @@ module privateModule { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >publicAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1774,7 +1774,7 @@ module privateModule { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -1784,7 +1784,7 @@ module privateModule { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1792,7 +1792,7 @@ module privateModule { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1829,7 +1829,7 @@ module privateModule { } function privateFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >privateFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -1851,7 +1851,7 @@ module privateModule { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >privateAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -1870,7 +1870,7 @@ interface publicInterfaceWithPublicParmeterTypesInGlobal { myMethod(): publicClassInGlobal; >myMethod : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } class publicClassWithWithPublicParmeterTypesInGlobal { >publicClassWithWithPublicParmeterTypesInGlobal : publicClassWithWithPublicParmeterTypesInGlobal @@ -1878,25 +1878,25 @@ class publicClassWithWithPublicParmeterTypesInGlobal { static myPublicStaticMethod(): publicClassInGlobal { >myPublicStaticMethod : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClassInGlobal { >myPrivateStaticMethod : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClassInGlobal { >myPublicMethod : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClassInGlobal { >myPrivateMethod : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1943,7 +1943,7 @@ class publicClassWithWithPublicParmeterTypesInGlobal { } function publicFunctionWithPublicParmeterTypesInGlobal(): publicClassInGlobal { >publicFunctionWithPublicParmeterTypesInGlobal : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -1959,7 +1959,7 @@ function publicFunctionWithPublicParmeterTypesInGlobal1() { } declare function publicAmbientFunctionWithPublicParmeterTypesInGlobal(): publicClassInGlobal; >publicAmbientFunctionWithPublicParmeterTypesInGlobal : () => publicClassInGlobal -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ module publicModuleInGlobal { >publicModuleInGlobal : typeof publicModuleInGlobal @@ -1998,7 +1998,7 @@ module publicModuleInGlobal { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicParmeterTypes { @@ -2010,7 +2010,7 @@ module publicModuleInGlobal { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateParmeterTypes { @@ -2022,7 +2022,7 @@ module publicModuleInGlobal { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicParmeterTypes { @@ -2034,7 +2034,7 @@ module publicModuleInGlobal { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export class publicClassWithWithPrivateParmeterTypes { @@ -2043,25 +2043,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2113,25 +2113,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2183,25 +2183,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2253,25 +2253,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2319,25 +2319,25 @@ module publicModuleInGlobal { export function publicFunctionWithPrivateParmeterTypes(): privateClass { >publicFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } export function publicFunctionWithPublicParmeterTypes(): publicClass { >publicFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPrivateParmeterTypes(): privateClass { >privateFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPublicParmeterTypes(): publicClass { >privateFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2384,19 +2384,19 @@ module publicModuleInGlobal { export declare function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass; >publicAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(): publicClass; >publicAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(): privateClass; >privateAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(): publicClass; >privateAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export interface publicInterfaceWithPrivateModuleParameterTypes { new (): privateModule.publicClass; @@ -2415,7 +2415,7 @@ module publicModuleInGlobal { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -2425,7 +2425,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2433,7 +2433,7 @@ module publicModuleInGlobal { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2470,7 +2470,7 @@ module publicModuleInGlobal { } export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >publicFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2492,7 +2492,7 @@ module publicModuleInGlobal { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >publicAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2513,7 +2513,7 @@ module publicModuleInGlobal { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -2523,7 +2523,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2531,7 +2531,7 @@ module publicModuleInGlobal { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2568,7 +2568,7 @@ module publicModuleInGlobal { } function privateFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >privateFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -2590,7 +2590,7 @@ module publicModuleInGlobal { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >privateAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -2604,7 +2604,7 @@ module publicModuleInGlobal { myMethod(): privateClass; // Error >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicParmeterTypes { @@ -2616,7 +2616,7 @@ module publicModuleInGlobal { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateParmeterTypes { @@ -2628,7 +2628,7 @@ module publicModuleInGlobal { myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicParmeterTypes { @@ -2640,7 +2640,7 @@ module publicModuleInGlobal { myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export class publicClassWithWithPrivateParmeterTypes { @@ -2649,25 +2649,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateClass { // Error >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { // Error >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2719,25 +2719,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2789,25 +2789,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateClass { >myPublicStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): privateClass { >myPrivateStaticMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): privateClass { >myPublicMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): privateClass { >myPrivateMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2859,25 +2859,25 @@ module publicModuleInGlobal { static myPublicStaticMethod(): publicClass { >myPublicStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private static myPrivateStaticMethod(): publicClass { >myPrivateStaticMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } myPublicMethod(): publicClass { >myPublicMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } private myPrivateMethod(): publicClass { >myPrivateMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2925,25 +2925,25 @@ module publicModuleInGlobal { export function publicFunctionWithPrivateParmeterTypes(): privateClass { // Error >publicFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } export function publicFunctionWithPublicParmeterTypes(): publicClass { >publicFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPrivateParmeterTypes(): privateClass { >privateFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } function privateFunctionWithPublicParmeterTypes(): publicClass { >privateFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return null; } @@ -2990,19 +2990,19 @@ module publicModuleInGlobal { export declare function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass; // Error >publicAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export declare function publicAmbientFunctionWithPublicParmeterTypes(): publicClass; >publicAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPrivateParmeterTypes(): privateClass; >privateAmbientFunctionWithPrivateParmeterTypes : () => privateClass -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ declare function privateAmbientFunctionWithPublicParmeterTypes(): publicClass; >privateAmbientFunctionWithPublicParmeterTypes : () => publicClass -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ export interface publicInterfaceWithPrivateModuleParameterTypes { new (): privateModule.publicClass; // Error @@ -3021,7 +3021,7 @@ module publicModuleInGlobal { myMethod(): privateModule.publicClass; // Error >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -3031,7 +3031,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateModule.publicClass { // Error >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3039,7 +3039,7 @@ module publicModuleInGlobal { } myPublicMethod(): privateModule.publicClass { // Error >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3076,7 +3076,7 @@ module publicModuleInGlobal { } export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { // Error >publicFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3098,7 +3098,7 @@ module publicModuleInGlobal { } export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; // Error >publicAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3119,7 +3119,7 @@ module publicModuleInGlobal { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } @@ -3129,7 +3129,7 @@ module publicModuleInGlobal { static myPublicStaticMethod(): privateModule.publicClass { >myPublicStaticMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3137,7 +3137,7 @@ module publicModuleInGlobal { } myPublicMethod(): privateModule.publicClass { >myPublicMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3174,7 +3174,7 @@ module publicModuleInGlobal { } function privateFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass { >privateFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ @@ -3196,7 +3196,7 @@ module publicModuleInGlobal { } declare function privateAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass; >privateAmbientFunctionWithPrivateModuleParameterTypes : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >privateModule : any > : ^^^ } diff --git a/tests/baselines/reference/privacyGloFunc.types b/tests/baselines/reference/privacyGloFunc.types index 2a4b8a3f283fd..97eac33bfa3a6 100644 --- a/tests/baselines/reference/privacyGloFunc.types +++ b/tests/baselines/reference/privacyGloFunc.types @@ -38,28 +38,28 @@ export module m1 { private f1_private(m1_c3_f1_arg: C1_public) { >f1_private : (m1_c3_f1_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f1_arg : C1_public > : ^^^^^^^^^ } public f2_public(m1_c3_f2_arg: C1_public) { >f2_public : (m1_c3_f2_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f2_arg : C1_public > : ^^^^^^^^^ } private f3_private(m1_c3_f3_arg: C2_private) { >f3_private : (m1_c3_f3_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f3_arg : C2_private > : ^^^^^^^^^^ } public f4_public(m1_c3_f4_arg: C2_private) { // error >f4_public : (m1_c3_f4_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c3_f4_arg : C2_private > : ^^^^^^^^^^ } @@ -110,7 +110,7 @@ export module m1 { private f9_private(): C1_public { >f9_private : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -121,7 +121,7 @@ export module m1 { public f10_public(): C1_public { >f10_public : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -132,7 +132,7 @@ export module m1 { private f11_private(): C2_private { >f11_private : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -143,7 +143,7 @@ export module m1 { public f12_public(): C2_private { // error >f12_public : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); //error >new C2_private() : C2_private @@ -170,28 +170,28 @@ export module m1 { } private f1_private(m1_c4_f1_arg: C1_public) { >f1_private : (m1_c4_f1_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f1_arg : C1_public > : ^^^^^^^^^ } public f2_public(m1_c4_f2_arg: C1_public) { >f2_public : (m1_c4_f2_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f2_arg : C1_public > : ^^^^^^^^^ } private f3_private(m1_c4_f3_arg: C2_private) { >f3_private : (m1_c4_f3_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f3_arg : C2_private > : ^^^^^^^^^^ } public f4_public(m1_c4_f4_arg: C2_private) { >f4_public : (m1_c4_f4_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m1_c4_f4_arg : C2_private > : ^^^^^^^^^^ } @@ -244,7 +244,7 @@ export module m1 { private f9_private(): C1_public { >f9_private : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -255,7 +255,7 @@ export module m1 { public f10_public(): C1_public { >f10_public : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -266,7 +266,7 @@ export module m1 { private f11_private(): C2_private { >f11_private : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -277,7 +277,7 @@ export module m1 { public f12_public(): C2_private { >f12_public : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -328,28 +328,28 @@ export module m1 { function f1_public(m1_f1_arg: C1_public) { >f1_public : (m1_f1_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f1_arg : C1_public > : ^^^^^^^^^ } export function f2_public(m1_f2_arg: C1_public) { >f2_public : (m1_f2_arg: C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f2_arg : C1_public > : ^^^^^^^^^ } function f3_public(m1_f3_arg: C2_private) { >f3_public : (m1_f3_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f3_arg : C2_private > : ^^^^^^^^^^ } export function f4_public(m1_f4_arg: C2_private) { // error >f4_public : (m1_f4_arg: C2_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m1_f4_arg : C2_private > : ^^^^^^^^^^ } @@ -402,7 +402,7 @@ export module m1 { function f9_private(): C1_public { >f9_private : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -413,7 +413,7 @@ export module m1 { export function f10_public(): C1_public { >f10_public : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C1_public(); >new C1_public() : C1_public @@ -424,7 +424,7 @@ export module m1 { function f11_private(): C2_private { >f11_private : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); >new C2_private() : C2_private @@ -435,7 +435,7 @@ export module m1 { export function f12_public(): C2_private { // error >f12_public : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C2_private(); //error >new C2_private() : C2_private @@ -482,14 +482,14 @@ module m2 { private f1_private(m2_c3_f1_arg: m2_C1_public) { >f1_private : (m2_c3_f1_arg: m2_C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m2_c3_f1_arg : m2_C1_public > : ^^^^^^^^^^^^ } public f2_public(m2_c3_f2_arg: m2_C1_public) { >f2_public : (m2_c3_f2_arg: m2_C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m2_c3_f2_arg : m2_C1_public > : ^^^^^^^^^^^^ } @@ -554,7 +554,7 @@ module m2 { private f9_private(): m2_C1_public { >f9_private : () => m2_C1_public -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new m2_C1_public(); >new m2_C1_public() : m2_C1_public @@ -565,7 +565,7 @@ module m2 { public f10_public(): m2_C1_public { >f10_public : () => m2_C1_public -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new m2_C1_public(); >new m2_C1_public() : m2_C1_public @@ -615,14 +615,14 @@ module m2 { private f1_private(m2_c4_f1_arg: m2_C1_public) { >f1_private : (m2_c4_f1_arg: m2_C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m2_c4_f1_arg : m2_C1_public > : ^^^^^^^^^^^^ } public f2_public(m2_c4_f2_arg: m2_C1_public) { >f2_public : (m2_c4_f2_arg: m2_C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ >m2_c4_f2_arg : m2_C1_public > : ^^^^^^^^^^^^ } @@ -689,7 +689,7 @@ module m2 { private f9_private(): m2_C1_public { >f9_private : () => m2_C1_public -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new m2_C1_public(); >new m2_C1_public() : m2_C1_public @@ -700,7 +700,7 @@ module m2 { public f10_public(): m2_C1_public { >f10_public : () => m2_C1_public -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new m2_C1_public(); >new m2_C1_public() : m2_C1_public @@ -773,14 +773,14 @@ module m2 { function f1_public(m2_f1_arg: m2_C1_public) { >f1_public : (m2_f1_arg: m2_C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m2_f1_arg : m2_C1_public > : ^^^^^^^^^^^^ } export function f2_public(m2_f2_arg: m2_C1_public) { >f2_public : (m2_f2_arg: m2_C1_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >m2_f2_arg : m2_C1_public > : ^^^^^^^^^^^^ } @@ -847,7 +847,7 @@ module m2 { function f9_private(): m2_C1_public { >f9_private : () => m2_C1_public -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new m2_C1_public(); >new m2_C1_public() : m2_C1_public @@ -858,7 +858,7 @@ module m2 { export function f10_public(): m2_C1_public { >f10_public : () => m2_C1_public -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new m2_C1_public(); >new m2_C1_public() : m2_C1_public @@ -922,28 +922,28 @@ export class C7_public { } private f1_private(c7_f1_arg: C6_public) { >f1_private : (c7_f1_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c7_f1_arg : C6_public > : ^^^^^^^^^ } public f2_public(c7_f2_arg: C6_public) { >f2_public : (c7_f2_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c7_f2_arg : C6_public > : ^^^^^^^^^ } private f3_private(c7_f3_arg: C5_private) { >f3_private : (c7_f3_arg: C5_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c7_f3_arg : C5_private > : ^^^^^^^^^^ } public f4_public(c7_f4_arg: C5_private) { //error >f4_public : (c7_f4_arg: C5_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c7_f4_arg : C5_private > : ^^^^^^^^^^ } @@ -994,7 +994,7 @@ export class C7_public { private f9_private(): C6_public { >f9_private : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -1005,7 +1005,7 @@ export class C7_public { public f10_public(): C6_public { >f10_public : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -1016,7 +1016,7 @@ export class C7_public { private f11_private(): C5_private { >f11_private : () => C5_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C5_private(); >new C5_private() : C5_private @@ -1027,7 +1027,7 @@ export class C7_public { public f12_public(): C5_private { //error >f12_public : () => C5_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C5_private(); //error >new C5_private() : C5_private @@ -1055,28 +1055,28 @@ class C8_private { private f1_private(c8_f1_arg: C6_public) { >f1_private : (c8_f1_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c8_f1_arg : C6_public > : ^^^^^^^^^ } public f2_public(c8_f2_arg: C6_public) { >f2_public : (c8_f2_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c8_f2_arg : C6_public > : ^^^^^^^^^ } private f3_private(c8_f3_arg: C5_private) { >f3_private : (c8_f3_arg: C5_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c8_f3_arg : C5_private > : ^^^^^^^^^^ } public f4_public(c8_f4_arg: C5_private) { >f4_public : (c8_f4_arg: C5_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >c8_f4_arg : C5_private > : ^^^^^^^^^^ } @@ -1127,7 +1127,7 @@ class C8_private { private f9_private(): C6_public { >f9_private : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -1138,7 +1138,7 @@ class C8_private { public f10_public(): C6_public { >f10_public : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -1149,7 +1149,7 @@ class C8_private { private f11_private(): C5_private { >f11_private : () => C5_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C5_private(); >new C5_private() : C5_private @@ -1160,7 +1160,7 @@ class C8_private { public f12_public(): C5_private { >f12_public : () => C5_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C5_private(); >new C5_private() : C5_private @@ -1212,28 +1212,28 @@ class C12_private { function f1_private(f1_arg: C5_private) { >f1_private : (f1_arg: C5_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >f1_arg : C5_private > : ^^^^^^^^^^ } export function f2_public(f2_arg: C5_private) { // error >f2_public : (f2_arg: C5_private) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >f2_arg : C5_private > : ^^^^^^^^^^ } function f3_private(f3_arg: C6_public) { >f3_private : (f3_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >f3_arg : C6_public > : ^^^^^^^^^ } export function f4_public(f4_arg: C6_public) { >f4_public : (f4_arg: C6_public) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >f4_arg : C6_public > : ^^^^^^^^^ } @@ -1284,7 +1284,7 @@ export function f8_public() { function f9_private(): C6_public { >f9_private : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -1295,7 +1295,7 @@ function f9_private(): C6_public { export function f10_public(): C6_public { >f10_public : () => C6_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C6_public(); >new C6_public() : C6_public @@ -1306,7 +1306,7 @@ export function f10_public(): C6_public { function f11_private(): C5_private { >f11_private : () => C5_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C5_private(); >new C5_private() : C5_private @@ -1317,7 +1317,7 @@ function f11_private(): C5_private { export function f12_public(): C5_private { //error >f12_public : () => C5_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ return new C5_private(); //error >new C5_private() : C5_private diff --git a/tests/baselines/reference/privacyGloImport.types b/tests/baselines/reference/privacyGloImport.types index 346b15c5b2d66..9fcd7f19e0722 100644 --- a/tests/baselines/reference/privacyGloImport.types +++ b/tests/baselines/reference/privacyGloImport.types @@ -347,7 +347,7 @@ declare module "glo_M2_public" { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -366,7 +366,7 @@ declare module "use_glo_M1_public" { export var use_glo_M1_public_v1_public: { new (): use_glo_M1_public.c1; }; >use_glo_M1_public_v1_public : new () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -378,13 +378,13 @@ declare module "use_glo_M1_public" { export var use_glo_M1_public_v3_public: ()=> use_glo_M1_public.c1; >use_glo_M1_public_v3_public : () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M1_public : any > : ^^^ var use_glo_M1_public_v1_private: { new (): use_glo_M1_public.c1; }; >use_glo_M1_public_v1_private : new () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -396,7 +396,7 @@ declare module "use_glo_M1_public" { var use_glo_M1_public_v3_private: () => use_glo_M1_public.c1; >use_glo_M1_public_v3_private : () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -406,7 +406,7 @@ declare module "use_glo_M1_public" { export var use_glo_M2_public_v1_public: { new (): use_glo_M2_public.c1; }; >use_glo_M2_public_v1_public : new () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M2_public : any > : ^^^ @@ -418,13 +418,13 @@ declare module "use_glo_M1_public" { export var use_glo_M2_public_v3_public: () => use_glo_M2_public.c1; >use_glo_M2_public_v3_public : () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M2_public : any > : ^^^ var use_glo_M2_public_v1_private: { new (): use_glo_M2_public.c1; }; >use_glo_M2_public_v1_private : new () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M2_public : any > : ^^^ @@ -436,7 +436,7 @@ declare module "use_glo_M1_public" { var use_glo_M2_public_v3_private: () => use_glo_M2_public.c1; >use_glo_M2_public_v3_private : () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M2_public : any > : ^^^ diff --git a/tests/baselines/reference/privacyGloImportParseErrors.types b/tests/baselines/reference/privacyGloImportParseErrors.types index 9b545e3d11942..c6ce20ae105d4 100644 --- a/tests/baselines/reference/privacyGloImportParseErrors.types +++ b/tests/baselines/reference/privacyGloImportParseErrors.types @@ -77,7 +77,7 @@ module m1 { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -98,7 +98,7 @@ module m1 { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -542,7 +542,7 @@ declare module "glo_M2_public" { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -561,7 +561,7 @@ declare module "use_glo_M1_public" { export var use_glo_M1_public_v1_public: { new (): use_glo_M1_public.c1; }; >use_glo_M1_public_v1_public : new () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -573,13 +573,13 @@ declare module "use_glo_M1_public" { export var use_glo_M1_public_v3_public: ()=> use_glo_M1_public.c1; >use_glo_M1_public_v3_public : () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M1_public : any > : ^^^ var use_glo_M1_public_v1_private: { new (): use_glo_M1_public.c1; }; >use_glo_M1_public_v1_private : new () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -591,7 +591,7 @@ declare module "use_glo_M1_public" { var use_glo_M1_public_v3_private: () => use_glo_M1_public.c1; >use_glo_M1_public_v3_private : () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -601,7 +601,7 @@ declare module "use_glo_M1_public" { export var use_glo_M2_public_v1_public: { new (): use_glo_M2_public.c1; }; >use_glo_M2_public_v1_public : new () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M2_public : any > : ^^^ @@ -613,13 +613,13 @@ declare module "use_glo_M1_public" { export var use_glo_M2_public_v3_public: () => use_glo_M2_public.c1; >use_glo_M2_public_v3_public : () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M2_public : any > : ^^^ var use_glo_M2_public_v1_private: { new (): use_glo_M2_public.c1; }; >use_glo_M2_public_v1_private : new () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M2_public : any > : ^^^ @@ -631,7 +631,7 @@ declare module "use_glo_M1_public" { var use_glo_M2_public_v3_private: () => use_glo_M2_public.c1; >use_glo_M2_public_v3_private : () => use_glo_M2_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M2_public : any > : ^^^ diff --git a/tests/baselines/reference/privacyGloInterface.types b/tests/baselines/reference/privacyGloInterface.types index 26d92da2dbf6c..f5cba3a7ab1eb 100644 --- a/tests/baselines/reference/privacyGloInterface.types +++ b/tests/baselines/reference/privacyGloInterface.types @@ -74,23 +74,23 @@ module m1 { f1(a1: C1_public); >f1 : (a1: C1_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C1_public > : ^^^^^^^^^ f2(a1: C2_private); >f2 : (a1: C2_private) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C2_private > : ^^^^^^^^^^ f3(): C1_public; >f3 : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C2_private; >f4 : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ } @@ -147,23 +147,23 @@ module m1 { f1(a1: C1_public); >f1 : (a1: C1_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C1_public > : ^^^^^^^^^ f2(a1: C2_private); >f2 : (a1: C2_private) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C2_private > : ^^^^^^^^^^ f3(): C1_public; >f3 : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C2_private; >f4 : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ } } @@ -206,13 +206,13 @@ interface C7_public { f1(a1: C5_public); >f1 : (a1: C5_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C5_public > : ^^^^^^^^^ f3(): C5_public; >f3 : () => C5_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ } module m3 { diff --git a/tests/baselines/reference/privacyImportParseErrors.types b/tests/baselines/reference/privacyImportParseErrors.types index c885a8869ebaf..6e2f15b99bac9 100644 --- a/tests/baselines/reference/privacyImportParseErrors.types +++ b/tests/baselines/reference/privacyImportParseErrors.types @@ -77,7 +77,7 @@ export module m1 { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -98,7 +98,7 @@ export module m1 { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -575,7 +575,7 @@ module m2 { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -596,7 +596,7 @@ module m2 { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -1041,7 +1041,7 @@ export declare module "glo_M2_public" { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -1091,7 +1091,7 @@ export declare module "glo_M4_private" { } export var v1: { new (): c1; }; >v1 : new () => c1 -> : ^^^^^^^^^^^^ +> : ^^^^^^^^^^ export var v2: c1; >v2 : c1 @@ -1506,7 +1506,7 @@ export declare module "use_glo_M1_public" { export var use_glo_M1_public_v1_public: { new (): use_glo_M1_public.c1; }; >use_glo_M1_public_v1_public : new () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -1516,13 +1516,13 @@ export declare module "use_glo_M1_public" { export var use_glo_M1_public_v3_public: () => use_glo_M1_public.c1; >use_glo_M1_public_v3_public : () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M1_public : any > : ^^^ var use_glo_M1_public_v1_private: { new (): use_glo_M1_public.c1; }; >use_glo_M1_public_v1_private : new () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -1532,7 +1532,7 @@ export declare module "use_glo_M1_public" { var use_glo_M1_public_v3_private: () => use_glo_M1_public.c1; >use_glo_M1_public_v3_private : () => use_glo_M1_public.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M1_public : any > : ^^^ @@ -1610,7 +1610,7 @@ declare module "use_glo_M3_private" { export var use_glo_M3_private_v1_public: { new (): use_glo_M3_private.c1; }; >use_glo_M3_private_v1_public : new () => use_glo_M3_private.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M3_private : any > : ^^^ @@ -1620,13 +1620,13 @@ declare module "use_glo_M3_private" { export var use_glo_M3_private_v3_public: () => use_glo_M3_private.c1; >use_glo_M3_private_v3_public : () => use_glo_M3_private.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M3_private : any > : ^^^ var use_glo_M3_private_v1_private: { new (): use_glo_M3_private.c1; }; >use_glo_M3_private_v1_private : new () => use_glo_M3_private.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >use_glo_M3_private : any > : ^^^ @@ -1636,7 +1636,7 @@ declare module "use_glo_M3_private" { var use_glo_M3_private_v3_private: () => use_glo_M3_private.c1; >use_glo_M3_private_v3_private : () => use_glo_M3_private.c1 -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >use_glo_M3_private : any > : ^^^ diff --git a/tests/baselines/reference/privacyInterface.types b/tests/baselines/reference/privacyInterface.types index c948465162476..7ebee28745a5d 100644 --- a/tests/baselines/reference/privacyInterface.types +++ b/tests/baselines/reference/privacyInterface.types @@ -74,23 +74,23 @@ export module m1 { f1(a1: C1_public); >f1 : (a1: C1_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C1_public > : ^^^^^^^^^ f2(a1: C2_private); >f2 : (a1: C2_private) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C2_private > : ^^^^^^^^^^ f3(): C1_public; >f3 : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C2_private; >f4 : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ } @@ -147,23 +147,23 @@ export module m1 { f1(a1: C1_public); >f1 : (a1: C1_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C1_public > : ^^^^^^^^^ f2(a1: C2_private); >f2 : (a1: C2_private) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C2_private > : ^^^^^^^^^^ f3(): C1_public; >f3 : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C2_private; >f4 : () => C2_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ } } @@ -242,7 +242,7 @@ module m2 { f1(a1: C1_public); >f1 : (a1: C1_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C1_public > : ^^^^^^^^^ @@ -254,7 +254,7 @@ module m2 { f3(): C1_public; >f3 : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C2_private; >f4 : () => C2_private @@ -315,7 +315,7 @@ module m2 { f1(a1: C1_public); >f1 : (a1: C1_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C1_public > : ^^^^^^^^^ @@ -327,7 +327,7 @@ module m2 { f3(): C1_public; >f3 : () => C1_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C2_private; >f4 : () => C2_private @@ -405,23 +405,23 @@ export interface C7_public { f1(a1: C5_public); >f1 : (a1: C5_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C5_public > : ^^^^^^^^^ f2(a1: C6_private); >f2 : (a1: C6_private) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C6_private > : ^^^^^^^^^^ f3(): C5_public; >f3 : () => C5_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C6_private; >f4 : () => C6_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ } @@ -478,23 +478,23 @@ interface C8_private { f1(a1: C5_public); >f1 : (a1: C5_public) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C5_public > : ^^^^^^^^^ f2(a1: C6_private); >f2 : (a1: C6_private) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >a1 : C6_private > : ^^^^^^^^^^ f3(): C5_public; >f3 : () => C5_public -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ f4(): C6_private; >f4 : () => C6_private -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/privacyTypeParameterOfFunction.types b/tests/baselines/reference/privacyTypeParameterOfFunction.types index 67e9f078a73c1..601a8ea6ae295 100644 --- a/tests/baselines/reference/privacyTypeParameterOfFunction.types +++ b/tests/baselines/reference/privacyTypeParameterOfFunction.types @@ -21,7 +21,7 @@ export interface publicInterfaceWithPrivateTypeParameters { // TypeParameter_0_of_method_from_exported_interface_has_or_is_using_private_type_1 myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { @@ -29,7 +29,7 @@ export interface publicInterfaceWithPublicTypeParameters { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { @@ -37,7 +37,7 @@ interface privateInterfaceWithPrivateTypeParameters { (): privateClass; myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPublicTypeParameters { @@ -45,7 +45,7 @@ interface privateInterfaceWithPublicTypeParameters { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export class publicClassWithWithPrivateTypeParameters { @@ -164,7 +164,7 @@ export interface publicInterfaceWithPublicTypeParametersWithoutExtends { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { @@ -172,7 +172,7 @@ interface privateInterfaceWithPublicTypeParametersWithoutExtends { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } export class publicClassWithWithPublicTypeParametersWithoutExtends { diff --git a/tests/baselines/reference/privacyTypeParameterOfFunctionDeclFile.types b/tests/baselines/reference/privacyTypeParameterOfFunctionDeclFile.types index a5f60946d4485..bd92ea08beeda 100644 --- a/tests/baselines/reference/privacyTypeParameterOfFunctionDeclFile.types +++ b/tests/baselines/reference/privacyTypeParameterOfFunctionDeclFile.types @@ -16,7 +16,7 @@ export interface publicInterfaceWithPrivateTypeParameters { (): privateClass; // Error myMethod(): privateClass; // Error >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { @@ -24,7 +24,7 @@ export interface publicInterfaceWithPublicTypeParameters { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { @@ -32,7 +32,7 @@ interface privateInterfaceWithPrivateTypeParameters { (): privateClass; myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPublicTypeParameters { @@ -40,7 +40,7 @@ interface privateInterfaceWithPublicTypeParameters { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export class publicClassWithWithPrivateTypeParameters { @@ -156,7 +156,7 @@ export interface publicInterfaceWithPublicTypeParametersWithoutExtends { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { @@ -164,7 +164,7 @@ interface privateInterfaceWithPublicTypeParametersWithoutExtends { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } export class publicClassWithWithPublicTypeParametersWithoutExtends { @@ -235,7 +235,7 @@ export interface publicInterfaceWithPrivatModuleTypeParameters { myMethod(): privateModule.publicClass; // Error >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any > : ^^^ >privateModule : any @@ -281,7 +281,7 @@ interface privateInterfaceWithPrivatModuleTypeParameters { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any > : ^^^ >privateModule : any @@ -331,7 +331,7 @@ export module publicModule { (): privateClass; // Error myMethod(): privateClass; // Error >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { @@ -339,7 +339,7 @@ export module publicModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { @@ -347,7 +347,7 @@ export module publicModule { (): privateClass; myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPublicTypeParameters { @@ -355,7 +355,7 @@ export module publicModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export class publicClassWithWithPrivateTypeParameters { @@ -471,7 +471,7 @@ export module publicModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { @@ -479,7 +479,7 @@ export module publicModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } export class publicClassWithWithPublicTypeParametersWithoutExtends { @@ -550,7 +550,7 @@ export module publicModule { myMethod(): privateModule.publicClass; // Error >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any > : ^^^ >privateModule : any @@ -596,7 +596,7 @@ export module publicModule { myMethod(): privateModule.publicClass; >myMethod : () => privateModule.publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >privateModule : any > : ^^^ >privateModule : any @@ -647,7 +647,7 @@ module privateModule { (): privateClass; myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { @@ -655,7 +655,7 @@ module privateModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { @@ -663,7 +663,7 @@ module privateModule { (): privateClass; myMethod(): privateClass; >myMethod : () => privateClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } interface privateInterfaceWithPublicTypeParameters { @@ -671,7 +671,7 @@ module privateModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } export class publicClassWithWithPrivateTypeParameters { @@ -787,7 +787,7 @@ module privateModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { @@ -795,7 +795,7 @@ module privateModule { (): publicClass; myMethod(): publicClass; >myMethod : () => publicClass -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ } export class publicClassWithWithPublicTypeParametersWithoutExtends { diff --git a/tests/baselines/reference/privacyTypeParametersOfClass.types b/tests/baselines/reference/privacyTypeParametersOfClass.types index ef487b45f7237..032dd82584d67 100644 --- a/tests/baselines/reference/privacyTypeParametersOfClass.types +++ b/tests/baselines/reference/privacyTypeParametersOfClass.types @@ -18,7 +18,7 @@ export class publicClassWithPrivateTypeParameters { myMethod(val: T): T { // Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -34,7 +34,7 @@ export class publicClassWithPublicTypeParameters { myMethod(val: T): T { // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -50,7 +50,7 @@ class privateClassWithPrivateTypeParameters { myMethod(val: T): T { // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -66,7 +66,7 @@ class privateClassWithPublicTypeParameters { myMethod(val: T): T { // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -82,7 +82,7 @@ export class publicClassWithPublicTypeParametersWithoutExtends { myMethod(val: T): T { // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -98,7 +98,7 @@ class privateClassWithPublicTypeParametersWithoutExtends { myMethod(val: T): T { // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ diff --git a/tests/baselines/reference/privacyTypeParametersOfClassDeclFile.types b/tests/baselines/reference/privacyTypeParametersOfClassDeclFile.types index a7cce2dcc4e40..f3fe65472970e 100644 --- a/tests/baselines/reference/privacyTypeParametersOfClassDeclFile.types +++ b/tests/baselines/reference/privacyTypeParametersOfClassDeclFile.types @@ -17,7 +17,7 @@ export class publicClassWithPrivateTypeParameters { // E myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -33,7 +33,7 @@ export class publicClassWithPublicTypeParameters { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -49,7 +49,7 @@ class privateClassWithPrivateTypeParameters { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -65,7 +65,7 @@ class privateClassWithPublicTypeParameters { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -81,7 +81,7 @@ export class publicClassWithPublicTypeParametersWithoutExtends { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -97,7 +97,7 @@ class privateClassWithPublicTypeParametersWithoutExtends { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -115,7 +115,7 @@ export class publicClassWithTypeParametersFromPrivateModulemyMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -133,7 +133,7 @@ class privateClassWithTypeParametersFromPrivateModulemyMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -163,7 +163,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -179,7 +179,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -195,7 +195,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -211,7 +211,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -227,7 +227,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -243,7 +243,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -261,7 +261,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -279,7 +279,7 @@ export module publicModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -310,7 +310,7 @@ module privateModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -326,7 +326,7 @@ module privateModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -342,7 +342,7 @@ module privateModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -358,7 +358,7 @@ module privateModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -374,7 +374,7 @@ module privateModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -390,7 +390,7 @@ module privateModule { myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ diff --git a/tests/baselines/reference/privacyTypeParametersOfInterface.types b/tests/baselines/reference/privacyTypeParametersOfInterface.types index 7ad5312faca4d..48316a659e2f9 100644 --- a/tests/baselines/reference/privacyTypeParametersOfInterface.types +++ b/tests/baselines/reference/privacyTypeParametersOfInterface.types @@ -25,135 +25,135 @@ export class publicClassT { export interface publicInterfaceWithPrivateTypeParameters { myMethod(val: T): T; // Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; // error >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; // error >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; // error >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; //error >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; // no error >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { myMethod(val: T): T; // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; // No error >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; // error >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; // error >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; //error >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; // no error >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { myMethod(val: T): T; // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; // No error >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; // No error >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; // No error >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; //No error >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; // no error >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParameters { myMethod(val: T): T; // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; // No error >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; // No error >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; // No error >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; //No error >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; // no error >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; // No error >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; // No Error >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; // No error >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/privacyTypeParametersOfInterfaceDeclFile.types b/tests/baselines/reference/privacyTypeParametersOfInterfaceDeclFile.types index 83e0256370371..0428f7e3b0889 100644 --- a/tests/baselines/reference/privacyTypeParametersOfInterfaceDeclFile.types +++ b/tests/baselines/reference/privacyTypeParametersOfInterfaceDeclFile.types @@ -24,137 +24,137 @@ export class publicClassT { export interface publicInterfaceWithPrivateTypeParameters { // Error myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassT; >myMethod1 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassT; >myMethod2 : () => privateClassT -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassT; >myMethod3 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassT; >myMethod4 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassT; >myMethod0 : () => publicClassT -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } @@ -195,137 +195,137 @@ export module publicModule { export interface publicInterfaceWithPrivateTypeParameters { // Error myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPublicModuleT; >myMethod0 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPublicModuleT; >myMethod1 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPublicModuleT; >myMethod2 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPublicModuleT; >myMethod3 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPublicModuleT; >myMethod4 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPublicModuleT >myMethod0 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPublicModuleT; >myMethod1 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPublicModuleT; >myMethod2 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPublicModuleT; >myMethod3 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPublicModuleT; >myMethod4 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPublicModuleT; >myMethod0 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPublicModuleT; >myMethod1 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPublicModuleT; >myMethod2 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPublicModuleT; >myMethod3 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPublicModuleT; >myMethod4 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPublicModuleT; >myMethod0 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPublicModuleT; >myMethod1 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPublicModuleT; >myMethod2 : () => privateClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPublicModuleT; >myMethod3 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPublicModuleT; >myMethod4 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPublicModuleT; >myMethod0 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPublicModuleT; >myMethod0 : () => publicClassInPublicModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } export interface publicInterfaceWithPrivateModuleTypeParameterConstraints { // Error @@ -366,136 +366,136 @@ module privateModule { export interface publicInterfaceWithPrivateTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPrivateModuleT; >myMethod0 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPrivateModuleT; >myMethod1 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPrivateModuleT; >myMethod2 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPrivateModuleT; >myMethod3 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPrivateModuleT; >myMethod4 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPrivateModuleT >myMethod0 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPrivateModuleT; >myMethod1 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPrivateModuleT; >myMethod2 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPrivateModuleT; >myMethod3 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPrivateModuleT; >myMethod4 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPrivateTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPrivateModuleT; >myMethod0 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPrivateModuleT; >myMethod1 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPrivateModuleT; >myMethod2 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPrivateModuleT; >myMethod3 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPrivateModuleT; >myMethod4 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParameters { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPrivateModuleT; >myMethod0 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ myMethod1(): privateClassInPrivateModuleT; >myMethod1 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod2(): privateClassInPrivateModuleT; >myMethod2 : () => privateClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod3(): publicClassInPrivateModuleT; >myMethod3 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ myMethod4(): publicClassInPrivateModuleT; >myMethod4 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ } export interface publicInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPrivateModuleT; >myMethod0 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } interface privateInterfaceWithPublicTypeParametersWithoutExtends { myMethod(val: T): T; >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ myMethod0(): publicClassInPrivateModuleT; >myMethod0 : () => publicClassInPrivateModuleT -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/privateIdentifierChain.1.types b/tests/baselines/reference/privateIdentifierChain.1.types index 36d91b717ae8c..e33153a60ad81 100644 --- a/tests/baselines/reference/privateIdentifierChain.1.types +++ b/tests/baselines/reference/privateIdentifierChain.1.types @@ -15,7 +15,7 @@ class A { getA(): A { >getA : () => A -> : ^^^^^^^ +> : ^^^^^^ return new A(); >new A() : A diff --git a/tests/baselines/reference/privateInstanceVisibility.types b/tests/baselines/reference/privateInstanceVisibility.types index 42bc24ab08529..311d9bb64fd3d 100644 --- a/tests/baselines/reference/privateInstanceVisibility.types +++ b/tests/baselines/reference/privateInstanceVisibility.types @@ -69,7 +69,7 @@ class C { clone(other: C) { >clone : (other: C) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >other : C > : ^ diff --git a/tests/baselines/reference/privateNameAccessorssDerivedClasses.types b/tests/baselines/reference/privateNameAccessorssDerivedClasses.types index 9656a57764542..399a63ad1bcb8 100644 --- a/tests/baselines/reference/privateNameAccessorssDerivedClasses.types +++ b/tests/baselines/reference/privateNameAccessorssDerivedClasses.types @@ -13,7 +13,7 @@ class Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ @@ -40,7 +40,7 @@ class Derived extends Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/privateNameAndObjectRestSpread.types b/tests/baselines/reference/privateNameAndObjectRestSpread.types index b541af233c79b..811e68a9c320b 100644 --- a/tests/baselines/reference/privateNameAndObjectRestSpread.types +++ b/tests/baselines/reference/privateNameAndObjectRestSpread.types @@ -19,7 +19,7 @@ class C { method(other: C) { >method : (other: C) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >other : C > : ^ diff --git a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).types b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).types index a3b6405830584..37322c86d48e7 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).types +++ b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).types @@ -3,7 +3,7 @@ === privateNameComputedPropertyName2.ts === let getX: (a: A) => number; >getX : (a: A) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -25,11 +25,11 @@ class A { >getX = (a: A) => a.#x, "_" : "_" > : ^^^ >getX = (a: A) => a.#x : (a: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >getX : (a: A) => number > : ^^^^^^^^^^^^^^^^ >(a: A) => a.#x : (a: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >a : A > : ^ >a.#x : number diff --git a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).types b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).types index a3b6405830584..37322c86d48e7 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).types +++ b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).types @@ -3,7 +3,7 @@ === privateNameComputedPropertyName2.ts === let getX: (a: A) => number; >getX : (a: A) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -25,11 +25,11 @@ class A { >getX = (a: A) => a.#x, "_" : "_" > : ^^^ >getX = (a: A) => a.#x : (a: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >getX : (a: A) => number > : ^^^^^^^^^^^^^^^^ >(a: A) => a.#x : (a: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >a : A > : ^ >a.#x : number diff --git a/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).types b/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).types index a3b6405830584..37322c86d48e7 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).types +++ b/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).types @@ -3,7 +3,7 @@ === privateNameComputedPropertyName2.ts === let getX: (a: A) => number; >getX : (a: A) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -25,11 +25,11 @@ class A { >getX = (a: A) => a.#x, "_" : "_" > : ^^^ >getX = (a: A) => a.#x : (a: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >getX : (a: A) => number > : ^^^^^^^^^^^^^^^^ >(a: A) => a.#x : (a: A) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >a : A > : ^ >a.#x : number diff --git a/tests/baselines/reference/privateNameEmitHelpers.types b/tests/baselines/reference/privateNameEmitHelpers.types index 0e7cd16873f4b..ed46f7827ac01 100644 --- a/tests/baselines/reference/privateNameEmitHelpers.types +++ b/tests/baselines/reference/privateNameEmitHelpers.types @@ -42,7 +42,7 @@ export class C { // these are pre-TS4.3 versions of emit helpers, which only supported private instance fields export declare function __classPrivateFieldGet(receiver: T, state: any): V; >__classPrivateFieldGet : (receiver: T, state: any) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >receiver : T > : ^ >state : any @@ -50,7 +50,7 @@ export declare function __classPrivateFieldGet(receiver: T, export declare function __classPrivateFieldSet(receiver: T, state: any, value: V): V; >__classPrivateFieldSet : (receiver: T, state: any, value: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >receiver : T > : ^ >state : any diff --git a/tests/baselines/reference/privateNameFieldDerivedClasses.types b/tests/baselines/reference/privateNameFieldDerivedClasses.types index dbb993979356e..607e556d6634f 100644 --- a/tests/baselines/reference/privateNameFieldDerivedClasses.types +++ b/tests/baselines/reference/privateNameFieldDerivedClasses.types @@ -13,7 +13,7 @@ class Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ @@ -40,7 +40,7 @@ class Derived extends Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).types b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).types index fc503b991b013..4a158340eda29 100644 --- a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).types +++ b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).types @@ -230,7 +230,7 @@ class A { } static test(_a: A) { >test : (_a: A) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >_a : A > : ^ diff --git a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).types b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).types index fc503b991b013..4a158340eda29 100644 --- a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).types +++ b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).types @@ -230,7 +230,7 @@ class A { } static test(_a: A) { >test : (_a: A) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >_a : A > : ^ diff --git a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).types b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).types index fc503b991b013..4a158340eda29 100644 --- a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).types +++ b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).types @@ -230,7 +230,7 @@ class A { } static test(_a: A) { >test : (_a: A) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >_a : A > : ^ diff --git a/tests/baselines/reference/privateNameInInExpression(target=es2022).types b/tests/baselines/reference/privateNameInInExpression(target=es2022).types index 27b7202b2888b..f31df0b880ac8 100644 --- a/tests/baselines/reference/privateNameInInExpression(target=es2022).types +++ b/tests/baselines/reference/privateNameInInExpression(target=es2022).types @@ -192,7 +192,7 @@ class Foo { } flow(u: unknown, n: never, fb: Foo | Bar, fs: FooSub, b: Bar, fsb: FooSub | Bar, fsfb: Foo | FooSub | Bar) { >flow : (u: unknown, n: never, fb: Foo | Bar, fs: FooSub, b: Bar, fsb: FooSub | Bar, fsfb: Foo | FooSub | Bar) => void -> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >u : unknown > : ^^^^^^^ >n : never @@ -451,7 +451,7 @@ class Bar { notFoo = true } function badSyntax(v: Foo) { >badSyntax : (v: Foo) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >v : Foo > : ^^^ diff --git a/tests/baselines/reference/privateNameInInExpression(target=esnext).types b/tests/baselines/reference/privateNameInInExpression(target=esnext).types index 27b7202b2888b..f31df0b880ac8 100644 --- a/tests/baselines/reference/privateNameInInExpression(target=esnext).types +++ b/tests/baselines/reference/privateNameInInExpression(target=esnext).types @@ -192,7 +192,7 @@ class Foo { } flow(u: unknown, n: never, fb: Foo | Bar, fs: FooSub, b: Bar, fsb: FooSub | Bar, fsfb: Foo | FooSub | Bar) { >flow : (u: unknown, n: never, fb: Foo | Bar, fs: FooSub, b: Bar, fsb: FooSub | Bar, fsfb: Foo | FooSub | Bar) => void -> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >u : unknown > : ^^^^^^^ >n : never @@ -451,7 +451,7 @@ class Bar { notFoo = true } function badSyntax(v: Foo) { >badSyntax : (v: Foo) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >v : Foo > : ^^^ diff --git a/tests/baselines/reference/privateNameInInExpressionTransform(target=es2020).types b/tests/baselines/reference/privateNameInInExpressionTransform(target=es2020).types index 444e6bbc816a8..2c63e2974d545 100644 --- a/tests/baselines/reference/privateNameInInExpressionTransform(target=es2020).types +++ b/tests/baselines/reference/privateNameInInExpressionTransform(target=es2020).types @@ -205,7 +205,7 @@ class Bar { function syntaxError(v: Foo) { >syntaxError : (v: Foo) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >v : Foo > : ^^^ diff --git a/tests/baselines/reference/privateNameInInExpressionTransform(target=es2022).types b/tests/baselines/reference/privateNameInInExpressionTransform(target=es2022).types index 444e6bbc816a8..2c63e2974d545 100644 --- a/tests/baselines/reference/privateNameInInExpressionTransform(target=es2022).types +++ b/tests/baselines/reference/privateNameInInExpressionTransform(target=es2022).types @@ -205,7 +205,7 @@ class Bar { function syntaxError(v: Foo) { >syntaxError : (v: Foo) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >v : Foo > : ^^^ diff --git a/tests/baselines/reference/privateNameInInExpressionTransform(target=esnext).types b/tests/baselines/reference/privateNameInInExpressionTransform(target=esnext).types index 444e6bbc816a8..2c63e2974d545 100644 --- a/tests/baselines/reference/privateNameInInExpressionTransform(target=esnext).types +++ b/tests/baselines/reference/privateNameInInExpressionTransform(target=esnext).types @@ -205,7 +205,7 @@ class Bar { function syntaxError(v: Foo) { >syntaxError : (v: Foo) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >v : Foo > : ^^^ diff --git a/tests/baselines/reference/privateNameInLhsReceiverExpression.types b/tests/baselines/reference/privateNameInLhsReceiverExpression.types index eed0def9481df..3e55915ab9bac 100644 --- a/tests/baselines/reference/privateNameInLhsReceiverExpression.types +++ b/tests/baselines/reference/privateNameInLhsReceiverExpression.types @@ -13,7 +13,7 @@ class Test { static something(obj: { [key: string]: Test }) { >something : (obj: { [key: string]: Test; }) => void -> : ^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : { [key: string]: Test; } > : ^^^^^^^^^^^^^^^^^^^^^^^^ >key : string diff --git a/tests/baselines/reference/privateNameMethodsDerivedClasses.types b/tests/baselines/reference/privateNameMethodsDerivedClasses.types index dc263650c11b2..c9c209df1d3e1 100644 --- a/tests/baselines/reference/privateNameMethodsDerivedClasses.types +++ b/tests/baselines/reference/privateNameMethodsDerivedClasses.types @@ -13,7 +13,7 @@ class Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ @@ -42,7 +42,7 @@ class Derived extends Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.types b/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.types index 652dbe0d6b0f8..e275cf6b995be 100644 --- a/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.types +++ b/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.types @@ -24,7 +24,7 @@ class Base { testBase(x: Base) { >testBase : (x: Base) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Base > : ^^^^ diff --git a/tests/baselines/reference/privateNameNestedClassFieldShadowing.types b/tests/baselines/reference/privateNameNestedClassFieldShadowing.types index a748e684541bd..9bb13ec19770f 100644 --- a/tests/baselines/reference/privateNameNestedClassFieldShadowing.types +++ b/tests/baselines/reference/privateNameNestedClassFieldShadowing.types @@ -20,7 +20,7 @@ class Base { testBase(x: Base) { >testBase : (x: Base) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Base > : ^^^^ diff --git a/tests/baselines/reference/privateNameNestedClassMethodShadowing.types b/tests/baselines/reference/privateNameNestedClassMethodShadowing.types index aafa19f114cf9..3bc6ffa24fb6b 100644 --- a/tests/baselines/reference/privateNameNestedClassMethodShadowing.types +++ b/tests/baselines/reference/privateNameNestedClassMethodShadowing.types @@ -20,7 +20,7 @@ class Base { testBase(x: Base) { >testBase : (x: Base) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Base > : ^^^^ diff --git a/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.types b/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.types index abccd5e7dbb53..47c1db42fa786 100644 --- a/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.types +++ b/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.types @@ -13,7 +13,7 @@ class Base { static method(x: typeof Derived) { >method : (x: typeof Derived) => void -> : ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : typeof Derived > : ^^^^^^^^^^^^^^ >Derived : typeof Derived @@ -42,7 +42,7 @@ class Derived extends Base { static method(x: typeof Derived) { >method : (x: typeof Derived) => void -> : ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : typeof Derived > : ^^^^^^^^^^^^^^ >Derived : typeof Derived diff --git a/tests/baselines/reference/privateNameStaticEmitHelpers.types b/tests/baselines/reference/privateNameStaticEmitHelpers.types index 6d4c6a2e5f554..a48c2000a5735 100644 --- a/tests/baselines/reference/privateNameStaticEmitHelpers.types +++ b/tests/baselines/reference/privateNameStaticEmitHelpers.types @@ -38,7 +38,7 @@ export class S { // these are pre-TS4.3 versions of emit helpers, which only supported private instance fields export declare function __classPrivateFieldGet(receiver: T, state: any): V; >__classPrivateFieldGet : (receiver: T, state: any) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >receiver : T > : ^ >state : any @@ -46,7 +46,7 @@ export declare function __classPrivateFieldGet(receiver: T, export declare function __classPrivateFieldSet(receiver: T, state: any, value: V): V; >__classPrivateFieldSet : (receiver: T, state: any, value: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >receiver : T > : ^ >state : any diff --git a/tests/baselines/reference/privateNameStaticFieldDerivedClasses.types b/tests/baselines/reference/privateNameStaticFieldDerivedClasses.types index 772e8229617df..afc1345dd1e99 100644 --- a/tests/baselines/reference/privateNameStaticFieldDerivedClasses.types +++ b/tests/baselines/reference/privateNameStaticFieldDerivedClasses.types @@ -13,7 +13,7 @@ class Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ @@ -48,7 +48,7 @@ class Derived extends Base { static method(x: Derived) { >method : (x: Derived) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).types b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).types index b3b15eb25d054..4a8033989d04f 100644 --- a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).types +++ b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).types @@ -228,7 +228,7 @@ class A { } static test(_a: typeof A) { >test : (_a: typeof A) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >_a : typeof A > : ^^^^^^^^ >A : typeof A diff --git a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).types b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).types index b3b15eb25d054..4a8033989d04f 100644 --- a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).types +++ b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).types @@ -228,7 +228,7 @@ class A { } static test(_a: typeof A) { >test : (_a: typeof A) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >_a : typeof A > : ^^^^^^^^ >A : typeof A diff --git a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).types b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).types index b3b15eb25d054..4a8033989d04f 100644 --- a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).types +++ b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).types @@ -228,7 +228,7 @@ class A { } static test(_a: typeof A) { >test : (_a: typeof A) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >_a : typeof A > : ^^^^^^^^ >A : typeof A diff --git a/tests/baselines/reference/privateNamesAndDecorators.types b/tests/baselines/reference/privateNamesAndDecorators.types index 6b317839d7c8e..21a9bc23a902f 100644 --- a/tests/baselines/reference/privateNamesAndDecorators.types +++ b/tests/baselines/reference/privateNamesAndDecorators.types @@ -3,7 +3,7 @@ === privateNamesAndDecorators.ts === declare function dec(target: T): T; >dec : (target: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >target : T > : ^ diff --git a/tests/baselines/reference/privateNamesAndGenericClasses-2.types b/tests/baselines/reference/privateNamesAndGenericClasses-2.types index 36736be7530ab..bd2a63d18f9f8 100644 --- a/tests/baselines/reference/privateNamesAndGenericClasses-2.types +++ b/tests/baselines/reference/privateNamesAndGenericClasses-2.types @@ -11,7 +11,7 @@ class C { #bar(): T { >#bar : () => T -> : ^^^^^^^ +> : ^^^^^^ return this.#foo; >this.#foo : T diff --git a/tests/baselines/reference/privateNamesInGenericClasses.types b/tests/baselines/reference/privateNamesInGenericClasses.types index da6195b2796cb..de8e925dab928 100644 --- a/tests/baselines/reference/privateNamesInGenericClasses.types +++ b/tests/baselines/reference/privateNamesInGenericClasses.types @@ -11,7 +11,7 @@ class C { #method(): T { return this.#foo; } >#method : () => T -> : ^^^^^^^ +> : ^^^^^^ >this.#foo : T > : ^ >this : this @@ -41,7 +41,7 @@ class C { bar(x: C) { return x.#foo; } // OK >bar : (x: C) => T -> : ^^^^^ ^ ^^^^^^ +> : ^^^^ ^^^^^^ >x : C > : ^^^^ >x.#foo : T @@ -51,7 +51,7 @@ class C { bar2(x: C) { return x.#method(); } // OK >bar2 : (x: C) => T -> : ^^^^^ ^ ^^^^^^ +> : ^^^^ ^^^^^^ >x : C > : ^^^^ >x.#method() : T @@ -63,7 +63,7 @@ class C { bar3(x: C) { return x.#prop; } // OK >bar3 : (x: C) => T -> : ^^^^^ ^ ^^^^^^ +> : ^^^^ ^^^^^^ >x : C > : ^^^^ >x.#prop : T @@ -73,7 +73,7 @@ class C { baz(x: C) { return x.#foo; } // OK >baz : (x: C) => number -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^^^^^^^^^ >x.#foo : number @@ -83,7 +83,7 @@ class C { baz2(x: C) { return x.#method; } // OK >baz2 : (x: C) => () => number -> : ^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ >x.#method : () => number @@ -93,7 +93,7 @@ class C { baz3(x: C) { return x.#prop; } // OK >baz3 : (x: C) => number -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^^^^^^^^^ >x.#prop : number @@ -103,7 +103,7 @@ class C { quux(x: C) { return x.#foo; } // OK >quux : (x: C) => string -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^^^^^^^^^ >x.#foo : string @@ -113,7 +113,7 @@ class C { quux2(x: C) { return x.#method; }// OK >quux2 : (x: C) => () => string -> : ^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^ >x : C > : ^^^^^^^^^ >x.#method : () => string @@ -123,7 +123,7 @@ class C { quux3(x: C) { return x.#prop; } // OK >quux3 : (x: C) => string -> : ^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : C > : ^^^^^^^^^ >x.#prop : string diff --git a/tests/baselines/reference/privateNamesInNestedClasses-1.types b/tests/baselines/reference/privateNamesInNestedClasses-1.types index bc8b393f733a5..a877a2ff4981a 100644 --- a/tests/baselines/reference/privateNamesInNestedClasses-1.types +++ b/tests/baselines/reference/privateNamesInNestedClasses-1.types @@ -45,7 +45,7 @@ class A { } baz (a: A) { >baz : (a: A) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : A > : ^ diff --git a/tests/baselines/reference/privateNamesInterfaceExtendingClass.types b/tests/baselines/reference/privateNamesInterfaceExtendingClass.types index 758ceddebf1fb..7009430b53fbc 100644 --- a/tests/baselines/reference/privateNamesInterfaceExtendingClass.types +++ b/tests/baselines/reference/privateNamesInterfaceExtendingClass.types @@ -11,7 +11,7 @@ class C { func(x: I) { >func : (x: I) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : I > : ^ @@ -30,7 +30,7 @@ interface I extends C {} function func(x: I) { >func : (x: I) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : I > : ^ diff --git a/tests/baselines/reference/privateNamesUnique-3.types b/tests/baselines/reference/privateNamesUnique-3.types index 4a2c5b3da6add..f504f26649cc6 100644 --- a/tests/baselines/reference/privateNamesUnique-3.types +++ b/tests/baselines/reference/privateNamesUnique-3.types @@ -33,7 +33,7 @@ class B { test(x: B) { >test : (x: B) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : B > : ^ diff --git a/tests/baselines/reference/privatePropertyUsingObjectType.types b/tests/baselines/reference/privatePropertyUsingObjectType.types index 915aaf25f2be5..30fd7f31628ea 100644 --- a/tests/baselines/reference/privatePropertyUsingObjectType.types +++ b/tests/baselines/reference/privatePropertyUsingObjectType.types @@ -7,7 +7,7 @@ export class FilterManager { private _filterProviders: { index: IFilterProvider; }; >_filterProviders : { index: IFilterProvider; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >index : IFilterProvider > : ^^^^^^^^^^^^^^^ @@ -19,13 +19,13 @@ export class FilterManager { private _filterProviders3: { (index: number): IFilterProvider; }; >_filterProviders3 : (index: number) => IFilterProvider -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ private _filterProviders4: (index: number) => IFilterProvider; >_filterProviders4 : (index: number) => IFilterProvider -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ } diff --git a/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.types b/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.types index cdce72475b998..accaa49437558 100644 --- a/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.types +++ b/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.types @@ -115,7 +115,7 @@ let { priv: a, prot: b, privateMethod: pm } = k; // error function f({ priv, prot, privateMethod }: K) { >f : ({ priv, prot, privateMethod }: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >priv : any > : ^^^ >prot : any diff --git a/tests/baselines/reference/promiseChaining.types b/tests/baselines/reference/promiseChaining.types index e6542e537ecee..dcb1360792827 100644 --- a/tests/baselines/reference/promiseChaining.types +++ b/tests/baselines/reference/promiseChaining.types @@ -11,9 +11,9 @@ class Chain { then(cb: (x: T) => S): Chain { >then : (cb: (x: T) => S) => Chain -> : ^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^ >cb : (x: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/promiseChaining1.types b/tests/baselines/reference/promiseChaining1.types index 89c152f81b807..b5b6dad5a28fd 100644 --- a/tests/baselines/reference/promiseChaining1.types +++ b/tests/baselines/reference/promiseChaining1.types @@ -14,9 +14,9 @@ class Chain2 { then(cb: (x: T) => S): Chain2 { >then : (cb: (x: T) => S) => Chain2 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >cb : (x: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/promiseChaining2.types b/tests/baselines/reference/promiseChaining2.types index 66e39e6e8807a..421e71a07ae30 100644 --- a/tests/baselines/reference/promiseChaining2.types +++ b/tests/baselines/reference/promiseChaining2.types @@ -14,9 +14,9 @@ class Chain2 { then(cb: (x: T) => S): Chain2 { >then : (cb: (x: T) => S) => Chain2 -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >cb : (x: T) => S -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/promiseEmptyTupleNoException.types b/tests/baselines/reference/promiseEmptyTupleNoException.types index 4591e1929a153..9c0e7f373135d 100644 --- a/tests/baselines/reference/promiseEmptyTupleNoException.types +++ b/tests/baselines/reference/promiseEmptyTupleNoException.types @@ -3,7 +3,7 @@ === promiseEmptyTupleNoException.ts === export async function get(): Promise<[]> { >get : () => Promise<[]> -> : ^^^^^^^^^^^^^ +> : ^^^^^^ let emails = []; >emails : any[] diff --git a/tests/baselines/reference/promiseIdentity.types b/tests/baselines/reference/promiseIdentity.types index 404a67a7f5e0a..8fd1f960ff017 100644 --- a/tests/baselines/reference/promiseIdentity.types +++ b/tests/baselines/reference/promiseIdentity.types @@ -4,18 +4,18 @@ export interface IPromise { then(callback: (x: T) => IPromise): IPromise; >then : (callback: (x: T) => IPromise) => IPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } interface Promise { then(callback: (x: T) => Promise): Promise; >then : (callback: (x: T) => Promise) => Promise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -31,18 +31,18 @@ var x: Promise; interface IPromise2 { then(callback: (x: T) => IPromise2): IPromise2; >then : (callback: (x: T) => IPromise2) => IPromise2 -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise2 -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } interface Promise2 { then(callback: (x: V) => Promise2): Promise2; // Uses V instead of T in callback's parameter >then : (callback: (x: V) => Promise2) => Promise2 -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: V) => Promise2 -> : ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : V > : ^ } diff --git a/tests/baselines/reference/promiseIdentity2.types b/tests/baselines/reference/promiseIdentity2.types index 7e918205e194a..985b5d393d23d 100644 --- a/tests/baselines/reference/promiseIdentity2.types +++ b/tests/baselines/reference/promiseIdentity2.types @@ -4,18 +4,18 @@ export interface IPromise { then(callback: (x: T) => IPromise): IPromise; >then : (callback: (x: T) => IPromise) => IPromise -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } export interface Promise { then(callback: (x: T) => Promise): Promise; >then : (callback: (x: T) => Promise) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/promiseIdentityWithAny.types b/tests/baselines/reference/promiseIdentityWithAny.types index d7882124e6274..d76b2f6d182c3 100644 --- a/tests/baselines/reference/promiseIdentityWithAny.types +++ b/tests/baselines/reference/promiseIdentityWithAny.types @@ -4,18 +4,18 @@ export interface IPromise { then(callback: (x: T) => IPromise): IPromise; >then : (callback: (x: T) => IPromise) => IPromise -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } export interface Promise { then(callback: (x: T) => Promise): Promise; >then : (callback: (x: T) => Promise) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/promiseIdentityWithAny2.types b/tests/baselines/reference/promiseIdentityWithAny2.types index de206df73f789..a73ac95304e78 100644 --- a/tests/baselines/reference/promiseIdentityWithAny2.types +++ b/tests/baselines/reference/promiseIdentityWithAny2.types @@ -4,18 +4,18 @@ export interface IPromise { then(callback: (x: T) => IPromise): IPromise; >then : (callback: (x: T) => IPromise) => IPromise -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } interface Promise { then(callback: (x: T) => Promise): Promise; >then : (callback: (x: T) => Promise) => Promise -> : ^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >callback : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -33,18 +33,18 @@ var x: Promise; interface IPromise2 { then(callback: (x: T) => IPromise2): IPromise2; >then : (callback: (x: T) => IPromise2) => IPromise2 -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise2 -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } interface Promise2 { then(callback: (x: T) => Promise2): Promise2; // Uses string instead of any! >then : (callback: (x: T) => Promise2) => Promise2 -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => Promise2 -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/promiseIdentityWithConstraints.types b/tests/baselines/reference/promiseIdentityWithConstraints.types index 9c069131ddc06..2e298ffb1a0fc 100644 --- a/tests/baselines/reference/promiseIdentityWithConstraints.types +++ b/tests/baselines/reference/promiseIdentityWithConstraints.types @@ -4,18 +4,18 @@ export interface IPromise { then(callback: (x: T) => IPromise): IPromise; >then : (callback: (x: T) => IPromise) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^ ^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } export interface Promise { then(callback: (x: T) => Promise): Promise; >then : (callback: (x: T) => Promise) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >callback : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/promisePermutations.types b/tests/baselines/reference/promisePermutations.types index 30ecafa27bac0..48a88fd1bca12 100644 --- a/tests/baselines/reference/promisePermutations.types +++ b/tests/baselines/reference/promisePermutations.types @@ -11,13 +11,13 @@ Symbol count: 28,000 / 28,000 (nearest 500) interface Promise { then(success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U_1, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_2, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -27,13 +27,13 @@ interface Promise { then(success?: (value: T) => Promise, error?: (error: any) => U, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_2, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -43,13 +43,13 @@ interface Promise { then(success?: (value: T) => U, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U_2, progress?: (progress: any) => void): Promise; (success?: (value: T) => U, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -59,13 +59,13 @@ interface Promise { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U_2, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -75,9 +75,9 @@ interface Promise { done(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any @@ -93,13 +93,13 @@ interface Promise { interface IPromise { then(success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_1, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -109,13 +109,13 @@ interface IPromise { then(success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -125,13 +125,13 @@ interface IPromise { then(success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -141,13 +141,13 @@ interface IPromise { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -157,9 +157,9 @@ interface IPromise { done? (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any @@ -174,39 +174,39 @@ interface IPromise { declare function testFunction(): IPromise; >testFunction : () => IPromise -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ declare function testFunctionP(): Promise; >testFunctionP : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ declare function testFunction2(): IPromise<{ x: number }>; >testFunction2 : () => IPromise<{ x: number; }> -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : number > : ^^^^^^ declare function testFunction2P(): Promise<{ x: number }>; >testFunction2P : () => Promise<{ x: number; }> -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >x : number > : ^^^^^^ declare function testFunction3(x: number): IPromise; >testFunction3 : (x: number) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ declare function testFunction3P(x: number): Promise; >testFunction3P : (x: number) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ declare function testFunction4(x: number, y?: string): IPromise; >testFunction4 : (x: number, y?: string) => IPromise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -214,7 +214,7 @@ declare function testFunction4(x: number, y?: string): IPromise; declare function testFunction4P(x: number, y?: string): Promise; >testFunction4P : (x: number, y?: string) => Promise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -222,7 +222,7 @@ declare function testFunction4P(x: number, y?: string): Promise; declare function testFunction5(x: number, cb: (a: string) => string): IPromise; >testFunction5 : (x: number, cb: (a: string) => string) => IPromise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: string) => string @@ -232,7 +232,7 @@ declare function testFunction5(x: number, cb: (a: string) => string): IPromise string): Promise; >testFunction5P : (x: number, cb: (a: string) => string) => Promise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: string) => string @@ -242,129 +242,129 @@ declare function testFunction5P(x: number, cb: (a: string) => string): Promise(a: T) => T): IPromise; >testFunction6 : (x: number, cb: (a: T) => T) => IPromise -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction6P(x: number, cb: (a: T) => T): Promise; >testFunction6P : (x: number, cb: (a: T) => T) => Promise -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction7(cb: (a: T) => T): IPromise; >testFunction7 : (cb: (a: T) => T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction7P(cb: (a: T) => T): Promise; >testFunction7P : (cb: (a: T) => T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction8(x: T, cb: (a: T) => T): IPromise; >testFunction8 : (x: T, cb: (a: T) => T) => IPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >cb : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function testFunction8P(x: T, cb: (a: T) => T): Promise; >testFunction8P : (x: T, cb: (a: T) => T) => Promise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >cb : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function testFunction9(x: T, cb: (a: U) => U): IPromise; >testFunction9 : (x: T, cb: (a: U) => U) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction9P(x: T, cb: (a: U) => U): Promise; >testFunction9P : (x: T, cb: (a: U) => U) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction10(cb: (a: U) => U): IPromise; >testFunction10 : (cb: (a: U) => U) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction10P(cb: (a: U) => U): Promise; >testFunction10P : (cb: (a: U) => U) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction11(x: number): IPromise; >testFunction11 : { (x: number): IPromise; (x: string): IPromise; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ declare function testFunction11(x: string): IPromise; >testFunction11 : { (x: number): IPromise; (x: string): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ declare function testFunction11P(x: number): Promise; >testFunction11P : { (x: number): Promise; (x: string): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ declare function testFunction11P(x: string): Promise; >testFunction11P : { (x: number): Promise; (x: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ declare function testFunction12(x: T): IPromise; >testFunction12 : { (x: T): IPromise; (x: T_1, y: T_1): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function testFunction12(x: T, y: T): IPromise; >testFunction12 : { (x: T_1): IPromise; (x: T, y: T): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ >y : T @@ -372,13 +372,13 @@ declare function testFunction12(x: T, y: T): IPromise; declare function testFunction12P(x: T): IPromise; >testFunction12P : { (x: T): IPromise; (x: T_1, y: T_1): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function testFunction12P(x: T, y: T): Promise; >testFunction12P : { (x: T_1): IPromise; (x: T, y: T): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ >y : T @@ -832,13 +832,13 @@ var r4: IPromise; var sIPromise: (x: any) => IPromise; >sIPromise : (x: any) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ var sPromise: (x: any) => Promise; >sPromise : (x: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ @@ -1404,13 +1404,13 @@ var r8: IPromise; var nIPromise: (x: any) => IPromise; >nIPromise : (x: any) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ var nPromise: (x: any) => Promise; >nPromise : (x: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ diff --git a/tests/baselines/reference/promisePermutations2.types b/tests/baselines/reference/promisePermutations2.types index 4b60228ab36d2..5621e511e1ff5 100644 --- a/tests/baselines/reference/promisePermutations2.types +++ b/tests/baselines/reference/promisePermutations2.types @@ -13,13 +13,13 @@ Symbol count: 27,000 / 27,000 (nearest 500) interface Promise { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -29,9 +29,9 @@ interface Promise { done(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any @@ -47,13 +47,13 @@ interface Promise { interface IPromise { then(success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_1, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -63,13 +63,13 @@ interface IPromise { then(success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_2, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -79,13 +79,13 @@ interface IPromise { then(success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => IPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -95,13 +95,13 @@ interface IPromise { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : { (success?: (value: T) => IPromise, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => IPromise, error?: (error: any) => U_2, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U_3, error?: (error: any) => IPromise, progress?: (progress: any) => void): IPromise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -111,9 +111,9 @@ interface IPromise { done? (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any @@ -128,39 +128,39 @@ interface IPromise { declare function testFunction(): IPromise; >testFunction : () => IPromise -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ declare function testFunctionP(): Promise; >testFunctionP : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ declare function testFunction2(): IPromise<{ x: number }>; >testFunction2 : () => IPromise<{ x: number; }> -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : number > : ^^^^^^ declare function testFunction2P(): Promise<{ x: number }>; >testFunction2P : () => Promise<{ x: number; }> -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >x : number > : ^^^^^^ declare function testFunction3(x: number): IPromise; >testFunction3 : (x: number) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ declare function testFunction3P(x: number): Promise; >testFunction3P : (x: number) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ declare function testFunction4(x: number, y?: string): IPromise; >testFunction4 : (x: number, y?: string) => IPromise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -168,7 +168,7 @@ declare function testFunction4(x: number, y?: string): IPromise; declare function testFunction4P(x: number, y?: string): Promise; >testFunction4P : (x: number, y?: string) => Promise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -176,7 +176,7 @@ declare function testFunction4P(x: number, y?: string): Promise; declare function testFunction5(x: number, cb: (a: string) => string): IPromise; >testFunction5 : (x: number, cb: (a: string) => string) => IPromise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: string) => string @@ -186,7 +186,7 @@ declare function testFunction5(x: number, cb: (a: string) => string): IPromise string): Promise; >testFunction5P : (x: number, cb: (a: string) => string) => Promise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: string) => string @@ -196,129 +196,129 @@ declare function testFunction5P(x: number, cb: (a: string) => string): Promise(a: T) => T): IPromise; >testFunction6 : (x: number, cb: (a: T) => T) => IPromise -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction6P(x: number, cb: (a: T) => T): Promise; >testFunction6P : (x: number, cb: (a: T) => T) => Promise -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction7(cb: (a: T) => T): IPromise; >testFunction7 : (cb: (a: T) => T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction7P(cb: (a: T) => T): Promise; >testFunction7P : (cb: (a: T) => T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction8(x: T, cb: (a: T) => T): IPromise; >testFunction8 : (x: T, cb: (a: T) => T) => IPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >cb : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function testFunction8P(x: T, cb: (a: T) => T): Promise; >testFunction8P : (x: T, cb: (a: T) => T) => Promise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >cb : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function testFunction9(x: T, cb: (a: U) => U): IPromise; >testFunction9 : (x: T, cb: (a: U) => U) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction9P(x: T, cb: (a: U) => U): Promise; >testFunction9P : (x: T, cb: (a: U) => U) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction10(cb: (a: U) => U): IPromise; >testFunction10 : (cb: (a: U) => U) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction10P(cb: (a: U) => U): Promise; >testFunction10P : (cb: (a: U) => U) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction11(x: number): IPromise; >testFunction11 : { (x: number): IPromise; (x: string): IPromise; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ declare function testFunction11(x: string): IPromise; >testFunction11 : { (x: number): IPromise; (x: string): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ declare function testFunction11P(x: number): Promise; >testFunction11P : { (x: number): Promise; (x: string): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ declare function testFunction11P(x: string): Promise; >testFunction11P : { (x: number): Promise; (x: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ declare function testFunction12(x: T): IPromise; >testFunction12 : { (x: T): IPromise; (x: T_1, y: T_1): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function testFunction12(x: T, y: T): IPromise; >testFunction12 : { (x: T_1): IPromise; (x: T, y: T): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ >y : T @@ -326,13 +326,13 @@ declare function testFunction12(x: T, y: T): IPromise; declare function testFunction12P(x: T): IPromise; >testFunction12P : { (x: T): IPromise; (x: T_1, y: T_1): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function testFunction12P(x: T, y: T): Promise; >testFunction12P : { (x: T_1): IPromise; (x: T, y: T): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ >y : T @@ -786,13 +786,13 @@ var r4: IPromise; var sIPromise: (x: any) => IPromise; >sIPromise : (x: any) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ var sPromise: (x: any) => Promise; >sPromise : (x: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ @@ -1358,13 +1358,13 @@ var r8: IPromise; var nIPromise: (x: any) => IPromise; >nIPromise : (x: any) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ var nPromise: (x: any) => Promise; >nPromise : (x: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ diff --git a/tests/baselines/reference/promisePermutations3.types b/tests/baselines/reference/promisePermutations3.types index 2009f63de4147..8f75e05b3ab75 100644 --- a/tests/baselines/reference/promisePermutations3.types +++ b/tests/baselines/reference/promisePermutations3.types @@ -13,13 +13,13 @@ Symbol count: 27,500 / 27,500 (nearest 500) interface Promise { then(success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U_1, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_2, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -29,13 +29,13 @@ interface Promise { then(success?: (value: T) => Promise, error?: (error: any) => U, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_2, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -45,13 +45,13 @@ interface Promise { then(success?: (value: T) => U, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U_2, progress?: (progress: any) => void): Promise; (success?: (value: T) => U, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => U_3, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -61,13 +61,13 @@ interface Promise { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => Promise, error?: (error: any) => U_2, progress?: (progress: any) => void): Promise; (success?: (value: T) => U_3, error?: (error: any) => Promise, progress?: (progress: any) => void): Promise; (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -77,9 +77,9 @@ interface Promise { done(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any @@ -95,13 +95,13 @@ interface Promise { interface IPromise { then(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise; >then : (success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void) => IPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => U -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ >progress : (progress: any) => void @@ -111,9 +111,9 @@ interface IPromise { done? (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; >done : (success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: T) => any -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ >error : (error: any) => any @@ -128,39 +128,39 @@ interface IPromise { declare function testFunction(): IPromise; >testFunction : () => IPromise -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ declare function testFunctionP(): Promise; >testFunctionP : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ declare function testFunction2(): IPromise<{ x: number }>; >testFunction2 : () => IPromise<{ x: number; }> -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : number > : ^^^^^^ declare function testFunction2P(): Promise<{ x: number }>; >testFunction2P : () => Promise<{ x: number; }> -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >x : number > : ^^^^^^ declare function testFunction3(x: number): IPromise; >testFunction3 : (x: number) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ declare function testFunction3P(x: number): Promise; >testFunction3P : (x: number) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ declare function testFunction4(x: number, y?: string): IPromise; >testFunction4 : (x: number, y?: string) => IPromise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -168,7 +168,7 @@ declare function testFunction4(x: number, y?: string): IPromise; declare function testFunction4P(x: number, y?: string): Promise; >testFunction4P : (x: number, y?: string) => Promise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >y : string @@ -176,7 +176,7 @@ declare function testFunction4P(x: number, y?: string): Promise; declare function testFunction5(x: number, cb: (a: string) => string): IPromise; >testFunction5 : (x: number, cb: (a: string) => string) => IPromise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: string) => string @@ -186,7 +186,7 @@ declare function testFunction5(x: number, cb: (a: string) => string): IPromise string): Promise; >testFunction5P : (x: number, cb: (a: string) => string) => Promise -> : ^^^^ ^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: string) => string @@ -196,129 +196,129 @@ declare function testFunction5P(x: number, cb: (a: string) => string): Promise(a: T) => T): IPromise; >testFunction6 : (x: number, cb: (a: T) => T) => IPromise -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction6P(x: number, cb: (a: T) => T): Promise; >testFunction6P : (x: number, cb: (a: T) => T) => Promise -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : number > : ^^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction7(cb: (a: T) => T): IPromise; >testFunction7 : (cb: (a: T) => T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction7P(cb: (a: T) => T): Promise; >testFunction7P : (cb: (a: T) => T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ declare function testFunction8(x: T, cb: (a: T) => T): IPromise; >testFunction8 : (x: T, cb: (a: T) => T) => IPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >cb : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function testFunction8P(x: T, cb: (a: T) => T): Promise; >testFunction8P : (x: T, cb: (a: T) => T) => Promise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >cb : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ declare function testFunction9(x: T, cb: (a: U) => U): IPromise; >testFunction9 : (x: T, cb: (a: U) => U) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction9P(x: T, cb: (a: U) => U): Promise; >testFunction9P : (x: T, cb: (a: U) => U) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction10(cb: (a: U) => U): IPromise; >testFunction10 : (cb: (a: U) => U) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction10P(cb: (a: U) => U): Promise; >testFunction10P : (cb: (a: U) => U) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >cb : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ declare function testFunction11(x: number): IPromise; >testFunction11 : { (x: number): IPromise; (x: string): IPromise; } -> : ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ declare function testFunction11(x: string): IPromise; >testFunction11 : { (x: number): IPromise; (x: string): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ declare function testFunction11P(x: number): Promise; >testFunction11P : { (x: number): Promise; (x: string): Promise; } -> : ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ declare function testFunction11P(x: string): Promise; >testFunction11P : { (x: number): Promise; (x: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ declare function testFunction12(x: T): IPromise; >testFunction12 : { (x: T): IPromise; (x: T_1, y: T_1): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function testFunction12(x: T, y: T): IPromise; >testFunction12 : { (x: T_1): IPromise; (x: T, y: T): IPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ >y : T @@ -326,13 +326,13 @@ declare function testFunction12(x: T, y: T): IPromise; declare function testFunction12P(x: T): IPromise; >testFunction12P : { (x: T): IPromise; (x: T_1, y: T_1): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ declare function testFunction12P(x: T, y: T): Promise; >testFunction12P : { (x: T_1): IPromise; (x: T, y: T): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : T > : ^ >y : T @@ -786,13 +786,13 @@ var r4: IPromise; var sIPromise: (x: any) => IPromise; >sIPromise : (x: any) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ var sPromise: (x: any) => Promise; >sPromise : (x: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ @@ -1358,13 +1358,13 @@ var r8: IPromise; var nIPromise: (x: any) => IPromise; >nIPromise : (x: any) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ var nPromise: (x: any) => Promise; >nPromise : (x: any) => Promise -> : ^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : any > : ^^^ diff --git a/tests/baselines/reference/promiseTest.types b/tests/baselines/reference/promiseTest.types index 450fd971f93ee..8d338ac0ae490 100644 --- a/tests/baselines/reference/promiseTest.types +++ b/tests/baselines/reference/promiseTest.types @@ -4,17 +4,17 @@ interface Promise { then(success?: (value: T) => Promise): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise): Promise; (success?: (value: T) => B): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ then(success?: (value: T) => B): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => Promise): Promise; (success?: (value: T) => B): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => B -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/promiseTypeInference.types b/tests/baselines/reference/promiseTypeInference.types index 7d746208866e4..9084f3c5b9855 100644 --- a/tests/baselines/reference/promiseTypeInference.types +++ b/tests/baselines/reference/promiseTypeInference.types @@ -7,30 +7,30 @@ declare class CPromise { then(success?: (value: T) => CPromise): CPromise; >then : (success?: (value: T) => CPromise) => CPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >success : (value: T) => CPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } interface IPromise { then(success?: (value: T) => IPromise): IPromise; >then : (success?: (value: T) => IPromise) => IPromise -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >success : (value: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } declare function load(name: string): CPromise; >load : (name: string) => CPromise -> : ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >name : string > : ^^^^^^ declare function convert(s: string): IPromise; >convert : (s: string) => IPromise -> : ^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : string > : ^^^^^^ diff --git a/tests/baselines/reference/promiseVoidErrorCallback.types b/tests/baselines/reference/promiseVoidErrorCallback.types index b9a87693983cc..8f296209be08a 100644 --- a/tests/baselines/reference/promiseVoidErrorCallback.types +++ b/tests/baselines/reference/promiseVoidErrorCallback.types @@ -21,7 +21,7 @@ interface T3 { function f1(): Promise { >f1 : () => Promise -> : ^^^^^^^^^^^^^ ^^ +> : ^^^^^^ return Promise.resolve({ __t1: "foo_t1" }); >Promise.resolve({ __t1: "foo_t1" }) : Promise<{ __t1: string; }> @@ -42,7 +42,7 @@ function f1(): Promise { function f2(x: T1): T2 { >f2 : (x: T1) => T2 -> : ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T1 > : ^^ @@ -85,7 +85,7 @@ var x3 = f1() >f2 : (x: T1) => T2 > : ^^^^^^^^^^^^^ >(e: Error) => { throw e;} : (e: Error) => never -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^ >e : Error > : ^^^^^ @@ -98,7 +98,7 @@ var x3 = f1() >then : (onfulfilled?: (value: T2) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike) => Promise > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T2) => { return { __t3: x.__t2 + "bar" };} : (x: T2) => { __t3: string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T2 > : ^^ diff --git a/tests/baselines/reference/promises.types b/tests/baselines/reference/promises.types index be10d9fd71c7c..b8877e1001535 100644 --- a/tests/baselines/reference/promises.types +++ b/tests/baselines/reference/promises.types @@ -4,17 +4,17 @@ interface Promise { then(success?: (value: T) => U): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => U): Promise; (success?: (value: T) => Promise): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ then(success?: (value: T) => Promise): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (success?: (value: T) => U_1): Promise; (success?: (value: T) => Promise): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >success : (value: T) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/promisesWithConstraints.types b/tests/baselines/reference/promisesWithConstraints.types index 92e6e26938922..e7cd15714788f 100644 --- a/tests/baselines/reference/promisesWithConstraints.types +++ b/tests/baselines/reference/promisesWithConstraints.types @@ -4,9 +4,9 @@ interface Promise { then(cb: (x: T) => Promise): Promise; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (cb: (x: T) => Promise): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -17,11 +17,11 @@ interface CPromise { then(cb: (x: T) => Promise): Promise; >then : (cb: (x: T) => Promise) => Promise -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >x : any > : ^^^ >cb : (x: T) => Promise -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/propTypeValidatorInference.types b/tests/baselines/reference/propTypeValidatorInference.types index c61b0964ef734..33b68f9928a96 100644 --- a/tests/baselines/reference/propTypeValidatorInference.types +++ b/tests/baselines/reference/propTypeValidatorInference.types @@ -100,13 +100,13 @@ export const number: Requireable; export function shape

>(type: P): Requireable>; >shape :

>(type: P) => Requireable> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >type : P > : ^ export function oneOfType>(types: T[]): Requireable>>; >oneOfType : >(types: T[]) => Requireable>> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >types : T[] > : ^^^ diff --git a/tests/baselines/reference/propagationOfPromiseInitialization.types b/tests/baselines/reference/propagationOfPromiseInitialization.types index 2b0ec7633557a..cd3c81da5f825 100644 --- a/tests/baselines/reference/propagationOfPromiseInitialization.types +++ b/tests/baselines/reference/propagationOfPromiseInitialization.types @@ -4,13 +4,13 @@ interface IPromise { then(successCallback: (promiseValue: T) => TResult, errorCallback?: (reason: any) => TResult): IPromise; >then : (successCallback: (promiseValue: T) => TResult, errorCallback?: (reason: any) => TResult) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >successCallback : (promiseValue: T) => TResult -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >promiseValue : T > : ^ >errorCallback : (reason: any) => TResult -> : ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >reason : any } diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.types b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.types index 259aa51fd5595..fe3112105dce8 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.types +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.types @@ -103,7 +103,7 @@ var r2b = i.foo['getDate'](); var a: { >a : () => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ (): T; } @@ -137,15 +137,15 @@ var r3b = a()['getDate'](); var b = { >b : { foo: (x: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >{ foo: (x: T) => { var a = x['getDate'](); // number return a + x.getDate(); }} : { foo: (x: T) => number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ foo: (x: T) => { >foo : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >(x: T) => { var a = x['getDate'](); // number return a + x.getDate(); } : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.types b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.types index a762607ca59e7..f80d72b4ece34 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.types +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.types @@ -71,7 +71,7 @@ class C { g(x: U) { >g : (x: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : U > : ^ @@ -197,7 +197,7 @@ var r2b = i.foo['foo'](); var a: { >a : { (): U; (x: U_1): U_1; (x: U_2, y: T_2): U_2; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (): U; (x: U): U; @@ -290,15 +290,15 @@ var r3d = a(aB, aB)['foo'](); var b = { >b : { foo: (x: U, y: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >{ foo: (x: U, y: T) => { var a = x['foo'](); // should be string return a + x.foo(); }} : { foo: (x: U, y: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ foo: (x: U, y: T) => { >foo : (x: U, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >(x: U, y: T) => { var a = x['foo'](); // should be string return a + x.foo(); } : (x: U, y: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ >x : U > : ^ >y : T diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.types b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.types index dd83b31c82f0d..ff00efe120ef3 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.types +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.types @@ -72,7 +72,7 @@ class C { g(x: U) { >g : (x: U) => string -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : U > : ^ @@ -184,7 +184,7 @@ var r2b = i.foo['foo'](); var a: { >a : { (): T; (x: U_1): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (): T; (x: U): U; @@ -258,15 +258,15 @@ var r3d = a(new B())['foo'](); // valid call to an invalid function, U is inferr var b = { >b : { foo: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >{ foo: (x: T) => { // BUG 823818 var a = x['foo'](); // should be string return a + x.foo(); }} : { foo: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ foo: (x: T) => { >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >(x: T) => { // BUG 823818 var a = x['foo'](); // should be string return a + x.foo(); } : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.types b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.types index a13dc297ef4bf..6da81e8e24646 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.types +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.types @@ -100,7 +100,7 @@ var r2b = i.foo['notHere'](); var a: { >a : () => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ (): T; } @@ -136,13 +136,13 @@ var b = { >b : any > : ^^^ >{ foo: (x: T): T => { var a = x['notHere'](); // should be string return a + x.notHere(); }, bar: b.foo().notHere()} : { foo: (x: T) => T; bar: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ foo: (x: T): T => { >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >(x: T): T => { var a = x['notHere'](); // should be string return a + x.notHere(); } : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.types b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.types index 5a9ddd4b6ce63..cab7c11cea4d8 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.types +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.types @@ -137,7 +137,7 @@ var r2b = i.foo['foo'](); var a: { >a : () => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (): U; } @@ -174,13 +174,13 @@ var b = { >b : any > : ^^^ >{ foo: (x: U): U => { var a = x['foo'](); // should be string return a + x.notHere(); }, // BUG 794164 bar: b.foo(1).notHere()} : { foo: (x: U) => U; bar: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ foo: (x: U): U => { >foo : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >(x: U): U => { var a = x['foo'](); // should be string return a + x.notHere(); } : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.types b/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.types index fb910d5e5136a..ff1189f8c132a 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.types +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.types @@ -100,7 +100,7 @@ var r2b = i.foo['toString'](); var a: { >a : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ (): T; } @@ -134,15 +134,15 @@ var r3b: string = a()['toString'](); var b = { >b : { foo: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >{ foo: (x: T) => { var a = x['toString'](); // should be string return a + x.toString(); }} : { foo: (x: T) => string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ foo: (x: T) => { >foo : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >(x: T) => { var a = x['toString'](); // should be string return a + x.toString(); } : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/protectedMembers.types b/tests/baselines/reference/protectedMembers.types index dfb22f86aae97..c3a6580069b5b 100644 --- a/tests/baselines/reference/protectedMembers.types +++ b/tests/baselines/reference/protectedMembers.types @@ -293,7 +293,7 @@ class C extends A { static foo(a: A, b: B, c: C, d: D, e: E) { >foo : (a: A, b: B, c: C, d: D, e: E) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/protectedMembersThisParameter.types b/tests/baselines/reference/protectedMembersThisParameter.types index 1820d1e6594ca..a5139f21c6313 100644 --- a/tests/baselines/reference/protectedMembersThisParameter.types +++ b/tests/baselines/reference/protectedMembersThisParameter.types @@ -37,9 +37,9 @@ class MessageWrapper { let f = function(this: T) { >f : (this: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >function(this: T) { m.secret(); // should error } : (this: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >this : T > : ^ @@ -95,7 +95,7 @@ class Z { function bA(this: T, arg: B) { >bA : (this: T, arg: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : T > : ^ >arg : B @@ -133,7 +133,7 @@ function bA(this: T, arg: B) { } function bB(this: T, arg: B) { >bB : (this: T, arg: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : T > : ^ >arg : B @@ -181,7 +181,7 @@ function bB(this: T, arg: B) { } function bC(this: T, arg: B) { >bC : (this: T, arg: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : T > : ^ >arg : B @@ -229,7 +229,7 @@ function bC(this: T, arg: B) { } function bZ(this: T, arg: B) { >bZ : (this: T, arg: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : T > : ^ >arg : B @@ -267,7 +267,7 @@ function bZ(this: T, arg: B) { } function bString(this: T, arg: B) { >bString : (this: T, arg: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : T > : ^ >arg : B @@ -305,7 +305,7 @@ function bString(this: T, arg: B) { } function bAny(this: T, arg: B) { >bAny : (this: T, arg: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : T > : ^ >arg : B @@ -342,7 +342,7 @@ class D { derived1(arg: D1) { >derived1 : (arg: D1) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : D1 > : ^^ @@ -368,7 +368,7 @@ class D { } derived1ThisD(this: D, arg: D1) { >derived1ThisD : (this: D, arg: D1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : D > : ^ >arg : D1 @@ -396,7 +396,7 @@ class D { } derived1ThisD1(this: D1, arg: D1) { >derived1ThisD1 : (this: D1, arg: D1) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : D1 > : ^^ >arg : D1 @@ -425,7 +425,7 @@ class D { derived2(arg: D2) { >derived2 : (arg: D2) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : D2 > : ^^ @@ -451,7 +451,7 @@ class D { } derived2ThisD(this: D, arg: D2) { >derived2ThisD : (this: D, arg: D2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : D > : ^ >arg : D2 @@ -479,7 +479,7 @@ class D { } derived2ThisD2(this: D2, arg: D2) { >derived2ThisD2 : (this: D2, arg: D2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^^^ >this : D2 > : ^^ >arg : D2 diff --git a/tests/baselines/reference/prototypePropertyAssignmentMergeWithInterfaceMethod.types b/tests/baselines/reference/prototypePropertyAssignmentMergeWithInterfaceMethod.types index 80f861cc53c1d..493a295b1d1f6 100644 --- a/tests/baselines/reference/prototypePropertyAssignmentMergeWithInterfaceMethod.types +++ b/tests/baselines/reference/prototypePropertyAssignmentMergeWithInterfaceMethod.types @@ -6,7 +6,7 @@ declare namespace lf { export interface Transaction { attach(query: query.Builder): Promise> >attach : (query: query.Builder) => Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >query : query.Builder > : ^^^^^^^^^^^^^ >query : any @@ -14,7 +14,7 @@ declare namespace lf { begin(scope: Array): Promise >begin : (scope: Array) => Promise -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >scope : schema.Table[] > : ^^^^^^^^^^^^^^ >schema : any @@ -22,11 +22,11 @@ declare namespace lf { commit(): Promise >commit : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ exec(queries: Array): Promise>> >exec : (queries: Array) => Promise>> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >queries : query.Builder[] > : ^^^^^^^^^^^^^^^ >query : any @@ -34,7 +34,7 @@ declare namespace lf { rollback(): Promise >rollback : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ stats(): TransactionStats >stats : () => TransactionStats @@ -60,7 +60,7 @@ lf.Transaction = function() {}; */ lf.Transaction.prototype.begin = function(scope) {}; >lf.Transaction.prototype.begin = function(scope) {} : (scope: Array) => IThenable -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >lf.Transaction.prototype.begin : any > : ^^^ >lf.Transaction.prototype : any @@ -76,7 +76,7 @@ lf.Transaction.prototype.begin = function(scope) {}; >begin : any > : ^^^ >function(scope) {} : (scope: Array) => IThenable -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ >scope : lf.schema.Table[] > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.types b/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.types index d629bdf5c74d4..38cf1f8c5b2d1 100644 --- a/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.types +++ b/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.types @@ -60,7 +60,7 @@ class B { foo(this: A, a: A, b: B) { >foo : (this: A, a: A, b: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >this : A > : ^ >a : A @@ -145,7 +145,7 @@ class B { function bar(this: A, a: A, b: B) { >bar : (this: A, a: A, b: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >this : A > : ^ >a : A diff --git a/tests/baselines/reference/qualify.types b/tests/baselines/reference/qualify.types index 21cc3191a672b..dca5625b5fe8d 100644 --- a/tests/baselines/reference/qualify.types +++ b/tests/baselines/reference/qualify.types @@ -139,7 +139,7 @@ module Everest { var v4:()=>K1.I3=v1; >v4 : () => K1.I3 -> : ^^^^^^^^ +> : ^^^^^^ >K1 : any > : ^^^ >v1 : I4 @@ -147,7 +147,7 @@ module Everest { var v5:(k:K1.I3)=>void=v1; >v5 : (k: K1.I3) => void -> : ^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >k : K1.I3 > : ^^^^^ >K1 : any @@ -157,7 +157,7 @@ module Everest { var v6:{k:K1.I3;}=v1; >v6 : { k: K1.I3; } -> : ^^^^^^^ ^^^ +> : ^^^^^ ^^^ >k : K1.I3 > : ^^^^^ >K1 : any diff --git a/tests/baselines/reference/quickIntersectionCheckCorrectlyCachesErrors.types b/tests/baselines/reference/quickIntersectionCheckCorrectlyCachesErrors.types index ac973b5175304..7a03a206f38b8 100644 --- a/tests/baselines/reference/quickIntersectionCheckCorrectlyCachesErrors.types +++ b/tests/baselines/reference/quickIntersectionCheckCorrectlyCachesErrors.types @@ -14,13 +14,13 @@ interface F

{ } declare function g(C: F): string; >g : (C: F) => string -> : ^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >C : F > : ^^^^^^^^^^ export function wu(CC: F) { >wu : (CC: F) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >o : object > : ^^^^^^ >CC : F diff --git a/tests/baselines/reference/quickinfoTypeAtReturnPositionsInaccurate.types b/tests/baselines/reference/quickinfoTypeAtReturnPositionsInaccurate.types index b4720da96c543..293f1bbdb1109 100644 --- a/tests/baselines/reference/quickinfoTypeAtReturnPositionsInaccurate.types +++ b/tests/baselines/reference/quickinfoTypeAtReturnPositionsInaccurate.types @@ -11,7 +11,7 @@ class NumClass { public get(): T { >get : () => T -> : ^^^^^^^ +> : ^^^^^^ return this.value; >this.value : T @@ -36,7 +36,7 @@ class StrClass { public get(): T { >get : () => T -> : ^^^^^^^ +> : ^^^^^^ return this.value; >this.value : T @@ -53,9 +53,9 @@ class StrClass { const isNumClass = | StrClass> ( >isNumClass : | StrClass>(item: Item) => item is Extract> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | StrClass> ( item: Item ): item is Extract> => { return (item instanceof NumClass); } : | StrClass>(item: Item) => item is Extract> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ item: Item >item : Item @@ -93,7 +93,7 @@ class SimpleStore | StrClass public get(entryId: EntryId): Entries[EntryId] { >get : (entryId: EntryId) => Entries[EntryId] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >entryId : EntryId > : ^^^^^^^ @@ -182,7 +182,7 @@ class ComplexStore { public get( >get : (sliceId: SliceId, sliceKey: SliceKey) => Slices[SliceId][SliceKey] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ sliceId: SliceId, sliceKey: SliceKey >sliceId : SliceId @@ -248,7 +248,7 @@ class ComplexStore { public get2( >get2 : (sliceId: SliceId, sliceKey: SliceKey) => Slices[SliceId][SliceKey] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ sliceId: SliceId, sliceKey: SliceKey >sliceId : SliceId @@ -310,7 +310,7 @@ class ComplexStore { interface BuilderProgram { getProgram(): Program; >getProgram : () => Program -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } interface Program { state: any; @@ -319,13 +319,13 @@ interface Program { } declare function isBuilderProgram(program: Program | T): program is T; >isBuilderProgram : (program: Program | T) => program is T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >program : Program | T > : ^^^^^^^^^^^ export function listFiles(program: Program | T) { >listFiles : (program: Program | T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >program : Program | T > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/ramdaToolsNoInfinite2.types b/tests/baselines/reference/ramdaToolsNoInfinite2.types index 057e805a3f445..46bd72a1bf2d9 100644 --- a/tests/baselines/reference/ramdaToolsNoInfinite2.types +++ b/tests/baselines/reference/ramdaToolsNoInfinite2.types @@ -564,7 +564,7 @@ declare module "Number/_Internal" { 'string': { >'string' : { all: Format; '+': Format; '-': Format; '0': Format; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^ 'all': Format; >'all' : "-40" | "-39" | "-38" | "-37" | "-36" | "-35" | "-34" | "-33" | "-32" | "-31" | "-30" | "-29" | "-28" | "-27" | "-26" | "-25" | "-24" | "-23" | "-22" | "-21" | "-20" | "-19" | "-18" | "-17" | "-16" | "-15" | "-14" | "-13" | "-12" | "-11" | "-10" | "-9" | "-8" | "-7" | "-6" | "-5" | "-4" | "-3" | "-2" | "-1" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" @@ -585,7 +585,7 @@ declare module "Number/_Internal" { }; 'number': { >'number' : { all: Format; '+': Format; '-': Format; '0': Format; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^ 'all': Format; >'all' : 0 | 1 | 3 | 5 | 40 | -40 | 39 | -39 | 38 | -38 | 37 | -37 | 36 | -36 | 35 | -35 | 34 | -34 | 33 | -33 | 32 | -32 | 31 | -31 | 30 | -30 | 29 | -29 | 28 | -28 | 27 | -27 | 26 | -26 | 25 | -25 | 24 | -24 | 23 | -23 | 22 | -22 | 21 | -21 | 20 | -20 | 19 | -19 | 18 | -18 | 17 | -17 | 16 | -16 | 15 | -15 | 14 | -14 | 13 | -13 | 12 | -12 | 11 | -11 | 10 | -10 | 9 | -9 | 8 | -8 | 7 | -7 | 6 | -6 | -5 | 4 | -4 | -3 | 2 | -2 | -1 diff --git a/tests/baselines/reference/reachabilityChecks4.types b/tests/baselines/reference/reachabilityChecks4.types index 3a1310745349f..a117d34b038fd 100644 --- a/tests/baselines/reference/reachabilityChecks4.types +++ b/tests/baselines/reference/reachabilityChecks4.types @@ -115,7 +115,7 @@ interface Transition { function f2(transition: Transition): any { >f2 : (transition: Transition) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >transition : Transition > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/reachabilityChecks7.types b/tests/baselines/reference/reachabilityChecks7.types index feb4496a94ff2..cfc0270e755c3 100644 --- a/tests/baselines/reference/reachabilityChecks7.types +++ b/tests/baselines/reference/reachabilityChecks7.types @@ -17,7 +17,7 @@ let x = async function() { // async function with which promised type is void - return can be omitted async function f2(): Promise { >f2 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } @@ -36,7 +36,7 @@ async function f3(x) { async function f4(): Promise { >f4 : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/reactHOCSpreadprops.types b/tests/baselines/reference/reactHOCSpreadprops.types index 14388946d44b9..692f8becf6cb6 100644 --- a/tests/baselines/reference/reactHOCSpreadprops.types +++ b/tests/baselines/reference/reactHOCSpreadprops.types @@ -14,7 +14,7 @@ import React = require("react"); function f

(App: React.ComponentClass

| React.StatelessComponent

): void { >f :

(App: React.ComponentClass

| React.StatelessComponent

) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >App : React.ComponentClass | React.StatelessComponent

> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >React : any diff --git a/tests/baselines/reference/reactImportDropped.types b/tests/baselines/reference/reactImportDropped.types index b178b1621cbd1..32ceb844453fa 100644 --- a/tests/baselines/reference/reactImportDropped.types +++ b/tests/baselines/reference/reactImportDropped.types @@ -15,7 +15,7 @@ declare namespace React { function createClass(spec: any): ClassicComponentClass; >createClass : (spec: any) => ClassicComponentClass -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >spec : any interface ClassicComponentClass { diff --git a/tests/baselines/reference/reactReadonlyHOCAssignabilityReal.types b/tests/baselines/reference/reactReadonlyHOCAssignabilityReal.types index 0bef37e416e73..4f9ee46c2c6a9 100644 --- a/tests/baselines/reference/reactReadonlyHOCAssignabilityReal.types +++ b/tests/baselines/reference/reactReadonlyHOCAssignabilityReal.types @@ -14,7 +14,7 @@ import * as React from "react"; function myHigherOrderComponent

(Inner: React.ComponentClass

): React.ComponentClass

{ >myHigherOrderComponent :

(Inner: React.ComponentClass

) => React.ComponentClass

-> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >Inner : React.ComponentClass

(args: P[]): P; >noSpread :

(args: P[]) => P -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : P[] > : ^^^ declare function spread

(...args: P[]): P; >spread :

(...args: P[]) => P -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : P[] > : ^^^ @@ -872,7 +872,7 @@ spread(`1.${'2' as string}.3`, `1.${'2' as string}.4`); function ft1(t: T, u: Uppercase, u1: Uppercase<`1.${T}.3`>, u2: Uppercase<`1.${T}.4`>) { >ft1 : (t: T, u: Uppercase, u1: Uppercase<`1.${T}.3`>, u2: Uppercase<`1.${T}.4`>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >t : T > : ^ >u : Uppercase diff --git a/tests/baselines/reference/templateLiteralTypes4.types b/tests/baselines/reference/templateLiteralTypes4.types index 129641c30419e..4628a2c26844d 100644 --- a/tests/baselines/reference/templateLiteralTypes4.types +++ b/tests/baselines/reference/templateLiteralTypes4.types @@ -614,7 +614,7 @@ interface TypedObjectMembers { // get/set a field by name get(key: K): FieldType["type"]>; >get : (key: K) => FieldType["type"]> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >key : K > : ^ >name : K @@ -622,24 +622,24 @@ interface TypedObjectMembers { set(key: K, value: FieldType["type"]>): void; >set : (key: K, value: FieldType["type"]>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >key : K > : ^ >value : FieldType["type"]> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >name : K > : ^ // get/set a field by index getIndex>(index: I): FieldType["type"]>; >getIndex : >>(index: I) => FieldType["type"]> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >index : I > : ^ setIndex>(index: I, value: FieldType["type"]>): void; >setIndex : >>(index: I, value: FieldType["type"]>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >index : I > : ^ >value : FieldType["type"]> @@ -758,7 +758,7 @@ p.setIndex(2, 3); // error, 2 is not a valid index // function inference declare function f1(s: `**${T}**`): T; >f1 : (s: `**${T}**`) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >s : `**${T}**` > : ^^^^^^^^^^ @@ -772,7 +772,7 @@ f1("**123**"); // "123" declare function f2(s: `**${T}**`): T; >f2 : (s: `**${T}**`) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >s : `**${T}**` > : ^^^^^^^^^^ @@ -786,7 +786,7 @@ f2("**123**"); // 123 declare function f3(s: `**${T}**`): T; >f3 : (s: `**${T}**`) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >s : `**${T}**` > : ^^^^^^^^^^ @@ -800,7 +800,7 @@ f3("**123**"); // 123n declare function f4(s: `**${T}**`): T; >f4 : (s: `**${T}**`) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >s : `**${T}**` > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/templateLiteralTypes5.types b/tests/baselines/reference/templateLiteralTypes5.types index 600b2a493ca4e..7c41c15313c7c 100644 --- a/tests/baselines/reference/templateLiteralTypes5.types +++ b/tests/baselines/reference/templateLiteralTypes5.types @@ -13,7 +13,7 @@ interface TypeMap { } declare const f: (x: `${T0}`) => TypeMap[T0]; >f : (x: `${T0}`) => TypeMap[T0] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T0 > : ^^ @@ -43,7 +43,7 @@ const f2: F2 = f function f3(x: T3) { >f3 : (x: T3) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T3 > : ^^ diff --git a/tests/baselines/reference/templateLiteralTypes6.types b/tests/baselines/reference/templateLiteralTypes6.types index 847d6671715bd..23dc08683447e 100644 --- a/tests/baselines/reference/templateLiteralTypes6.types +++ b/tests/baselines/reference/templateLiteralTypes6.types @@ -27,7 +27,7 @@ type Keyof = keyof T & string; declare function f1< >f1 : , Event extends Keyof>(eventPath: `${Scope}:${Event}`) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ Scope extends Keyof, Event extends Keyof, @@ -37,7 +37,7 @@ declare function f1< function f2< >f2 : , Event extends Keyof>(scope: Scope, event: Event) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ Scope extends Keyof, Event extends Keyof, diff --git a/tests/baselines/reference/templateLiteralTypes7.types b/tests/baselines/reference/templateLiteralTypes7.types index 49f6fbb42b261..6c07b7b473147 100644 --- a/tests/baselines/reference/templateLiteralTypes7.types +++ b/tests/baselines/reference/templateLiteralTypes7.types @@ -23,7 +23,7 @@ interface NMap { declare const g: (x: `${T}`) => NMap[T] >g : (x: `${T}`) => NMap[T] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : `${T}` > : ^^^^^^ diff --git a/tests/baselines/reference/templateLiteralTypesPatterns.types b/tests/baselines/reference/templateLiteralTypesPatterns.types index 2555f7e7b36c1..80eb5468c1a88 100644 --- a/tests/baselines/reference/templateLiteralTypesPatterns.types +++ b/tests/baselines/reference/templateLiteralTypesPatterns.types @@ -25,7 +25,7 @@ type Protocol = `${T}://${U}`; function download(hostSpec: Protocol<"http" | "https" | "ftp", string>) { } >download : (hostSpec: Protocol<"http" | "https" | "ftp", string>) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >hostSpec : `http://${string}` | `https://${string}` | `ftp://${string}` > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -104,7 +104,7 @@ type Pat = `${T}` declare function nullishes(x: Pat): void; >nullishes : (x: Pat) => void -> : ^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : "undefined" | "null" > : ^^^^^^^^^^^^^^^^^^^^ @@ -945,13 +945,13 @@ export abstract class BB { abstract get(id: Id): void; >get : (id: Id) => void -> : ^^^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^^^ >id : `${string}-${string}` > : ^^^^^^^^^^^^^^^^^^^^^ update(id: Id): void { >update : (id: Id) => void -> : ^^^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^^^ >id : `${string}-${string}` > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.types b/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.types index 5f47a8d13c58c..6e84cb879cc87 100644 --- a/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.types +++ b/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.types @@ -8,7 +8,7 @@ class TemplateStringsArray { function f(x: TemplateStringsArray, y: number, z: number) { >f : (x: TemplateStringsArray, y: number, z: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : number diff --git a/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode.types b/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode.types index 346c78d53506f..2e4d25fea6821 100644 --- a/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode.types +++ b/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode.types @@ -3,7 +3,7 @@ === templateStringsArrayTypeNotDefinedES5Mode.ts === function f(x: TemplateStringsArray, y: number, z: number) { >f : (x: TemplateStringsArray, y: number, z: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : number diff --git a/tests/baselines/reference/templateStringsArrayTypeRedefinedInES6Mode.types b/tests/baselines/reference/templateStringsArrayTypeRedefinedInES6Mode.types index 9508a43b3643d..806234e785a0a 100644 --- a/tests/baselines/reference/templateStringsArrayTypeRedefinedInES6Mode.types +++ b/tests/baselines/reference/templateStringsArrayTypeRedefinedInES6Mode.types @@ -8,7 +8,7 @@ class TemplateStringsArray { function f(x: TemplateStringsArray, y: number, z: number) { >f : (x: TemplateStringsArray, y: number, z: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : number diff --git a/tests/baselines/reference/testTypings.types b/tests/baselines/reference/testTypings.types index e04d93403738a..137102a4e3398 100644 --- a/tests/baselines/reference/testTypings.types +++ b/tests/baselines/reference/testTypings.types @@ -4,14 +4,14 @@ interface IComparable { compareTo(other: T); >compareTo : (other: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >other : T > : ^ } declare function sort>(items: U[]): U[]; >sort : >(items: U[]) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >items : U[] > : ^^^ diff --git a/tests/baselines/reference/thisBinding.types b/tests/baselines/reference/thisBinding.types index 98be93d569527..50077710e6ad2 100644 --- a/tests/baselines/reference/thisBinding.types +++ b/tests/baselines/reference/thisBinding.types @@ -23,7 +23,7 @@ module M { f(x:I) { >f : (x: I) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : I > : ^ diff --git a/tests/baselines/reference/thisConditionalOnMethodReturnOfGenericInstance.types b/tests/baselines/reference/thisConditionalOnMethodReturnOfGenericInstance.types index 736d26489b72a..629411cba7c4c 100644 --- a/tests/baselines/reference/thisConditionalOnMethodReturnOfGenericInstance.types +++ b/tests/baselines/reference/thisConditionalOnMethodReturnOfGenericInstance.types @@ -18,7 +18,7 @@ class B extends A { method(): string | (this extends C ? undefined : null) { >method : () => string | (this extends C ? undefined : null) -> : ^^^^^^ ^ +> : ^^^^^^ return ""; >"" : "" diff --git a/tests/baselines/reference/thisInGenericStaticMembers.types b/tests/baselines/reference/thisInGenericStaticMembers.types index dd38682183328..98b61c525c605 100644 --- a/tests/baselines/reference/thisInGenericStaticMembers.types +++ b/tests/baselines/reference/thisInGenericStaticMembers.types @@ -9,7 +9,7 @@ class A { static one(source:T, value: number): T { >one : (source: T, value: number) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >source : T > : ^ >value : number @@ -22,7 +22,7 @@ class A { static two(source: T): T { >two : (source: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >source : T > : ^ @@ -48,7 +48,7 @@ class B { static one(source: B, value: number): B { >one : (source: B, value: number) => B -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >source : B > : ^ >value : number @@ -61,7 +61,7 @@ class B { static two(source: B): B { >two : (source: B) => B -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >source : B > : ^ diff --git a/tests/baselines/reference/thisInInvalidContexts.types b/tests/baselines/reference/thisInInvalidContexts.types index 2f8e0916e1da6..2ef9312c40e13 100644 --- a/tests/baselines/reference/thisInInvalidContexts.types +++ b/tests/baselines/reference/thisInInvalidContexts.types @@ -74,7 +74,7 @@ module M { //'this' as a type argument function genericFunc(x: T) { } >genericFunc : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/thisInInvalidContextsExternalModule.types b/tests/baselines/reference/thisInInvalidContextsExternalModule.types index 891b95c5566f8..db4d01a3636f1 100644 --- a/tests/baselines/reference/thisInInvalidContextsExternalModule.types +++ b/tests/baselines/reference/thisInInvalidContextsExternalModule.types @@ -74,7 +74,7 @@ module M { //'this' as a type argument function genericFunc(x: T) { } >genericFunc : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/thisInPropertyBoundDeclarations.types b/tests/baselines/reference/thisInPropertyBoundDeclarations.types index a96f7b96270c3..d0af2e9937ac4 100644 --- a/tests/baselines/reference/thisInPropertyBoundDeclarations.types +++ b/tests/baselines/reference/thisInPropertyBoundDeclarations.types @@ -13,11 +13,11 @@ class Bug { >func : Function[] > : ^^^^^^^^^^ >[ (that: Bug, name: string) => { that.foo(name); } ] : ((that: Bug, name: string) => void)[] -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ (that: Bug, name: string) => { >(that: Bug, name: string) => { that.foo(name); } : (that: Bug, name: string) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >that : Bug > : ^^^ >name : string diff --git a/tests/baselines/reference/thisInTupleTypeParameterConstraints.types b/tests/baselines/reference/thisInTupleTypeParameterConstraints.types index 63f9c52dbb978..b29f0325e9ed6 100644 --- a/tests/baselines/reference/thisInTupleTypeParameterConstraints.types +++ b/tests/baselines/reference/thisInTupleTypeParameterConstraints.types @@ -41,7 +41,7 @@ interface Array { declare function f number]>(a: T): void; >f : number]>(a: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^ >x : number > : ^^^^^^ >a : T diff --git a/tests/baselines/reference/thisIndexOnExistingReadonlyFieldIsNotNever.types b/tests/baselines/reference/thisIndexOnExistingReadonlyFieldIsNotNever.types index 9590ae8c29c4e..ef790840a4cfe 100644 --- a/tests/baselines/reference/thisIndexOnExistingReadonlyFieldIsNotNever.types +++ b/tests/baselines/reference/thisIndexOnExistingReadonlyFieldIsNotNever.types @@ -18,7 +18,7 @@ declare class Component { interface CoachMarkAnchorProps { anchorRef?: (anchor: C) => void; >anchorRef : ((anchor: C) => void) | undefined -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >anchor : C > : ^ } @@ -32,7 +32,7 @@ class CoachMarkAnchorDecorator { decorateComponent

(anchor: P) { >decorateComponent :

(anchor: P) => typeof CoachMarkAnchor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >anchor : P > : ^ @@ -46,9 +46,9 @@ class CoachMarkAnchorDecorator { private _onAnchorRef = (anchor: AnchorType

) => { >_onAnchorRef : (anchor: AnchorType

) => void -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >(anchor: AnchorType

) => { const anchorRef = this.props.anchorRef; if (anchorRef) { anchorRef(anchor); } } : (anchor: AnchorType

) => void -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >anchor : AnchorType

> : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/thisTypeAccessibility.types b/tests/baselines/reference/thisTypeAccessibility.types index 4a9e642bb01a5..5b76291e94ab4 100644 --- a/tests/baselines/reference/thisTypeAccessibility.types +++ b/tests/baselines/reference/thisTypeAccessibility.types @@ -93,7 +93,7 @@ class MyGenericClass { MyClass.prototype.extension1 = function (this: MyClass, p: number) { >MyClass.prototype.extension1 = function (this: MyClass, p: number) { this.p = p; this.pp = p; this.ppp = p; MyClass.sp = p; MyClass.spp = p; MyClass.sppp = p;} : (this: MyClass, p: number) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^ >MyClass.prototype.extension1 : (p: number) => void > : ^^^^^^^^^^^^^^^^^^^ >MyClass.prototype : MyClass @@ -105,7 +105,7 @@ MyClass.prototype.extension1 = function (this: MyClass, p: number) { >extension1 : (p: number) => void > : ^^^^^^^^^^^^^^^^^^^ >function (this: MyClass, p: number) { this.p = p; this.pp = p; this.ppp = p; MyClass.sp = p; MyClass.spp = p; MyClass.sppp = p;} : (this: MyClass, p: number) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^ >this : MyClass > : ^^^^^^^ >p : number @@ -186,7 +186,7 @@ MyClass.prototype.extension1 = function (this: MyClass, p: number) { MyClass.prototype.extension2 = function (this: T, p: number) { >MyClass.prototype.extension2 = function (this: T, p: number) { this.p = p; this.pp = p; this.ppp = p; MyClass.sp = p; MyClass.spp = p; MyClass.sppp = p;} : (this: T, p: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >MyClass.prototype.extension2 : (p: number) => void > : ^^^^^^^^^^^^^^^^^^^ >MyClass.prototype : MyClass @@ -198,7 +198,7 @@ MyClass.prototype.extension2 = function (this: T, p: number) >extension2 : (p: number) => void > : ^^^^^^^^^^^^^^^^^^^ >function (this: T, p: number) { this.p = p; this.pp = p; this.ppp = p; MyClass.sp = p; MyClass.spp = p; MyClass.sppp = p;} : (this: T, p: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >this : T > : ^ >p : number @@ -279,7 +279,7 @@ MyClass.prototype.extension2 = function (this: T, p: number) function extension3 (this: T, p: number) { >extension3 : (this: T, p: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >this : T > : ^ >p : number @@ -376,7 +376,7 @@ MyClass.prototype.extension3 = extension3; function extension4(this: MyGenericClass, p: T) { >extension4 : (this: MyGenericClass, p: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >this : MyGenericClass > : ^^^^^^^^^^^^^^^^^ >p : T diff --git a/tests/baselines/reference/thisTypeAndConstraints.types b/tests/baselines/reference/thisTypeAndConstraints.types index a04b3ffb30839..a22553ca57435 100644 --- a/tests/baselines/reference/thisTypeAndConstraints.types +++ b/tests/baselines/reference/thisTypeAndConstraints.types @@ -17,13 +17,13 @@ class A { function f(x: T) { >f : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ function g(x: U) { >g : (x: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : U > : ^ @@ -62,7 +62,7 @@ class B { foo(x: T) { >foo : (x: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : T > : ^ @@ -82,7 +82,7 @@ class B { } bar(x: U) { >bar : (x: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/thisTypeInFunctions.types b/tests/baselines/reference/thisTypeInFunctions.types index 2c834ddbdf365..0aaeabbb04219 100644 --- a/tests/baselines/reference/thisTypeInFunctions.types +++ b/tests/baselines/reference/thisTypeInFunctions.types @@ -40,7 +40,7 @@ class C { } explicitC(this: C, m: number): number { >explicitC : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -130,7 +130,7 @@ interface I { explicitInterface(this: I): number; >explicitInterface : (this: I) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : I > : ^ @@ -557,7 +557,7 @@ d.explicitThis(12); let reconstructed: { >reconstructed : { n: number; explicitThis(this: C, m: number): number; explicitC(this: C, m: number): number; explicitProperty: (this: { n: number; }, m: number) => number; explicitVoid(this: void, m: number): number; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ n: number, >n : number @@ -565,7 +565,7 @@ let reconstructed: { explicitThis(this: C, m: number): number, // note: this: this is not allowed in an object literal type. >explicitThis : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -573,7 +573,7 @@ let reconstructed: { explicitC(this: C, m: number): number, >explicitC : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -808,7 +808,7 @@ let specifiedLambdaToSpecified: (this: {y: number}, x: number) => number = speci let explicitCFunction: (this: C, m: number) => number; >explicitCFunction : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -838,7 +838,7 @@ c.explicitC = explicitCFunction; c.explicitC = function(this: C, m: number) { return this.n + m }; >c.explicitC = function(this: C, m: number) { return this.n + m } : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >c.explicitC : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : C @@ -846,7 +846,7 @@ c.explicitC = function(this: C, m: number) { return this.n + m }; >explicitC : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(this: C, m: number) { return this.n + m } : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >this : C > : ^ >m : number @@ -1056,7 +1056,7 @@ c.explicitThis = explicitCFunction; c.explicitThis = function(this: C, m: number) { return this.n + m }; >c.explicitThis = function(this: C, m: number) { return this.n + m } : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >c.explicitThis : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : C @@ -1064,7 +1064,7 @@ c.explicitThis = function(this: C, m: number) { return this.n + m }; >explicitThis : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(this: C, m: number) { return this.n + m } : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >this : C > : ^ >m : number @@ -1183,7 +1183,7 @@ c.explicitThis = function(this, m) { return this.n + m }; // this: superclass compatibility c.explicitC = function(this: B, m: number) { return this.n + m }; >c.explicitC = function(this: B, m: number) { return this.n + m } : (this: B, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >c.explicitC : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : C @@ -1191,7 +1191,7 @@ c.explicitC = function(this: B, m: number) { return this.n + m }; >explicitC : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(this: B, m: number) { return this.n + m } : (this: B, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >this : B > : ^ >m : number @@ -1247,7 +1247,7 @@ class Base1 { explicit(this: Base1): number { return this.x; } >explicit : (this: Base1) => number -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : Base1 > : ^^^^^ >this.x : number @@ -1259,7 +1259,7 @@ class Base1 { static explicitStatic(this: typeof Base1): number { return this.y; } >explicitStatic : (this: typeof Base1) => number -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : typeof Base1 > : ^^^^^^^^^^^^ >Base1 : typeof Base1 @@ -1307,7 +1307,7 @@ class Base2 { explicit(this: Base1): number { return this.x; } >explicit : (this: Base1) => number -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : Base1 > : ^^^^^ >this.x : number @@ -1459,7 +1459,7 @@ b1.explicit = d2.polymorphic // ok, 'x' and 'y' not in Base1: { x } ////// use this-type for construction with new //// function InterfaceThis(this: I) { >InterfaceThis : (this: I) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >this : I > : ^ @@ -1540,7 +1540,7 @@ let anyThis = new AnyThis(); //// type parameter inference //// declare var f: { >f : { (this: void, x: number): number; call(this: (...argArray: any[]) => U, ...argArray: any[]): U; } -> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^ (this: void, x: number): number, >this : void @@ -1550,9 +1550,9 @@ declare var f: { call(this: (...argArray: any[]) => U, ...argArray: any[]): U; >call : (this: (...argArray: any[]) => U, ...argArray: any[]) => U -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >this : (...argArray: any[]) => U -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >argArray : any[] > : ^^^^^ >argArray : any[] diff --git a/tests/baselines/reference/thisTypeInFunctions2.types b/tests/baselines/reference/thisTypeInFunctions2.types index 65cfbfda55250..6f71cd71d96af 100644 --- a/tests/baselines/reference/thisTypeInFunctions2.types +++ b/tests/baselines/reference/thisTypeInFunctions2.types @@ -50,19 +50,19 @@ interface SimpleInterface { } declare function extend1(args: IndexedWithThis): void; >extend1 : (args: IndexedWithThis) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >args : IndexedWithThis > : ^^^^^^^^^^^^^^^ declare function extend2(args: IndexedWithoutThis): void; >extend2 : (args: IndexedWithoutThis) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >args : IndexedWithoutThis > : ^^^^^^^^^^^^^^^^^^ declare function simple(arg: SimpleInterface): void; >simple : (arg: SimpleInterface) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : SimpleInterface > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/thisTypeInFunctions3.types b/tests/baselines/reference/thisTypeInFunctions3.types index 58d87468778d3..f3bd6b64be3b2 100644 --- a/tests/baselines/reference/thisTypeInFunctions3.types +++ b/tests/baselines/reference/thisTypeInFunctions3.types @@ -7,7 +7,7 @@ declare class Base { check(prop: TProp): boolean; >check : (prop: TProp) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >prop : TProp > : ^^^^^ } diff --git a/tests/baselines/reference/thisTypeInFunctions4.types b/tests/baselines/reference/thisTypeInFunctions4.types index c3d64d33c12bc..8e90af656cc07 100644 --- a/tests/baselines/reference/thisTypeInFunctions4.types +++ b/tests/baselines/reference/thisTypeInFunctions4.types @@ -28,7 +28,7 @@ declare function callsCallback(cb: (name: string)=>void) function problemFunction(this: CorrectObject | WrongObject): void { >problemFunction : (this: CorrectObject | WrongObject) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : WrongObject | CorrectObject > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/thisTypeInFunctionsNegative.types b/tests/baselines/reference/thisTypeInFunctionsNegative.types index 0928d1ca32a82..2bc27415cf5ab 100644 --- a/tests/baselines/reference/thisTypeInFunctionsNegative.types +++ b/tests/baselines/reference/thisTypeInFunctionsNegative.types @@ -49,7 +49,7 @@ class C { } explicitC(this: C, m: number): number { >explicitC : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -140,7 +140,7 @@ class D { } explicitD(this: D, m: number): number { >explicitD : (this: D, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : D > : ^ >m : number @@ -186,7 +186,7 @@ interface I { explicitInterface(this: I): number; >explicitInterface : (this: I) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : I > : ^ @@ -650,7 +650,7 @@ let specifiedToVoid: (this: void, x: number) => number = explicitStructural; let reconstructed: { >reconstructed : { n: number; explicitThis(this: C, m: number): number; explicitC(this: C, m: number): number; explicitProperty: (this: { n: number; }, m: number) => number; explicitVoid(this: void, m: number): number; } -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ n: number, >n : number @@ -658,7 +658,7 @@ let reconstructed: { explicitThis(this: C, m: number): number, // note: this: this is not allowed in an object literal type. >explicitThis : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -666,7 +666,7 @@ let reconstructed: { explicitC(this: C, m: number): number, >explicitC : (this: C, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >this : C > : ^ >m : number @@ -764,7 +764,7 @@ let explicitXProperty: (this: { x: number }, m: number) => number; // from differing object types c.explicitC = function(this: D, m: number) { return this.x + m }; >c.explicitC = function(this: D, m: number) { return this.x + m } : (this: D, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >c.explicitC : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : C @@ -772,7 +772,7 @@ c.explicitC = function(this: D, m: number) { return this.x + m }; >explicitC : (this: C, m: number) => number > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(this: D, m: number) { return this.x + m } : (this: D, m: number) => number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >this : D > : ^ >m : number @@ -952,7 +952,7 @@ class Base1 { explicit(this: Base1): number { return this.x; } >explicit : (this: Base1) => number -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : Base1 > : ^^^^^ >this.x : number @@ -964,7 +964,7 @@ class Base1 { static explicitStatic(this: typeof Base1): number { return this.x; } >explicitStatic : (this: typeof Base1) => number -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : typeof Base1 > : ^^^^^^^^^^^^ >Base1 : typeof Base1 @@ -1008,7 +1008,7 @@ class Base2 { explicit(this: Base1): number { return this.x; } >explicit : (this: Base1) => number -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : Base1 > : ^^^^^ >this.x : number @@ -1153,7 +1153,7 @@ var thisConstructorType: new (this: number) => number; function notFirst(a: number, this: C): number { return this.n; } >notFirst : (a: number, this: C) => number -> : ^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ ^^^^^ >a : number > : ^^^^^^ >this : C @@ -1168,7 +1168,7 @@ function notFirst(a: number, this: C): number { return this.n; } ///// parse errors ///// function modifiers(async this: C): number { return this.n; } >modifiers : (this: C) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : C > : ^ >this.n : number @@ -1180,7 +1180,7 @@ function modifiers(async this: C): number { return this.n; } function restParam(...this: C): number { return this.n; } >restParam : (...: any[], this: C) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ > : any[] > : ^^^^^ >this : C @@ -1194,7 +1194,7 @@ function restParam(...this: C): number { return this.n; } function optional(this?: C): number { return this.n; } >optional : (this: any, ?: C) => number -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >this : any > : ^^^ > : C @@ -1208,7 +1208,7 @@ function optional(this?: C): number { return this.n; } function decorated(@deco() this: C): number { return this.n; } >decorated : (this: C) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >deco() : any > : ^^^ >deco : any @@ -1224,7 +1224,7 @@ function decorated(@deco() this: C): number { return this.n; } function initializer(this: C = new C()): number { return this.n; } >initializer : (this: C, : any, C: any) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >this : C > : ^ > : any diff --git a/tests/baselines/reference/thisTypeInObjectLiterals2.types b/tests/baselines/reference/thisTypeInObjectLiterals2.types index 6876a98ee8f15..f7824293f0a99 100644 --- a/tests/baselines/reference/thisTypeInObjectLiterals2.types +++ b/tests/baselines/reference/thisTypeInObjectLiterals2.types @@ -450,7 +450,7 @@ let p4: Point | null | undefined = { declare function f1(p: Point): void; >f1 : (p: Point) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Point > : ^^^^^ @@ -537,7 +537,7 @@ f1({ declare function f2(p: Point | null | undefined): void; >f2 : (p: Point | null | undefined) => void -> : ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >p : Point | null | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -640,7 +640,7 @@ type ObjectDescriptor = { declare function makeObject(desc: ObjectDescriptor): D & M; >makeObject : (desc: ObjectDescriptor) => D & M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^ +> : ^ ^^ ^^^^^^^^ ^^^^^ >desc : ObjectDescriptor > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -727,7 +727,7 @@ type ObjectDescriptor2 = ThisType & { declare function makeObject2(desc: ObjectDescriptor): D & M; >makeObject2 : (desc: ObjectDescriptor) => D & M -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^ +> : ^ ^^ ^^^^^^^^ ^^^^^ >desc : ObjectDescriptor > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -808,11 +808,11 @@ type PropDesc = { get?(): T; >get : (() => T) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ set?(value: T): void; >set : ((value: T) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : T > : ^ } @@ -826,7 +826,7 @@ type PropDescMap = { declare function defineProp(obj: T, name: K, desc: PropDesc & ThisType): T & Record; >defineProp : (obj: T, name: K, desc: PropDesc & ThisType) => T & Record -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ >obj : T > : ^ >name : K @@ -836,7 +836,7 @@ declare function defineProp(obj: T, name: K, desc: PropD declare function defineProps(obj: T, descs: PropDescMap & ThisType): T & U; >defineProps : (obj: T, descs: PropDescMap & ThisType) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^ ^ +> : ^ ^^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >obj : T > : ^ >descs : PropDescMap & ThisType @@ -1068,11 +1068,11 @@ type Computed = { get?(): T; >get : (() => T) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^ set?(value: T): void; >set : ((value: T) => void) | undefined -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >value : T > : ^ } @@ -1083,7 +1083,7 @@ type VueOptions = ThisType & { data?: D | (() => D); >data : D | (() => D) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^ methods?: M; >methods : M | undefined @@ -1096,7 +1096,7 @@ type VueOptions = ThisType & { declare const Vue: new (options: VueOptions) => D & M & P; >Vue : new (options: VueOptions) => D & M & P -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^ ^^ ^^^^^^^^^^^ ^^^^^ >options : VueOptions > : ^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/thisTypeInTaggedTemplateCall.types b/tests/baselines/reference/thisTypeInTaggedTemplateCall.types index 41a6268f44e27..b8dee6ea9f3e6 100644 --- a/tests/baselines/reference/thisTypeInTaggedTemplateCall.types +++ b/tests/baselines/reference/thisTypeInTaggedTemplateCall.types @@ -7,9 +7,9 @@ class Foo { static m(this: new () => T, strings: TemplateStringsArray | string) { >m : (this: new () => T, strings: TemplateStringsArray | string) => T -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ >this : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ >strings : string | TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/thisTypeInTypePredicate.types b/tests/baselines/reference/thisTypeInTypePredicate.types index 701430637de6b..4f261958dbac7 100644 --- a/tests/baselines/reference/thisTypeInTypePredicate.types +++ b/tests/baselines/reference/thisTypeInTypePredicate.types @@ -3,7 +3,7 @@ === thisTypeInTypePredicate.ts === declare function filter(f: (this: void, x: any) => x is S): S[]; >filter : (f: (this: void, x: any) => x is S) => S[] -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : (this: void, x: any) => x is S > : ^^^^^^^ ^^^^^ ^^^^^^^^^^^ >this : void diff --git a/tests/baselines/reference/thisTypeOptionalCall.types b/tests/baselines/reference/thisTypeOptionalCall.types index 30284814fc00a..e8c9f40c477f8 100644 --- a/tests/baselines/reference/thisTypeOptionalCall.types +++ b/tests/baselines/reference/thisTypeOptionalCall.types @@ -3,11 +3,11 @@ === thisTypeOptionalCall.ts === function maybeBind(obj: T, fn: ((this: T, ...args: A) => R) | undefined): ((...args: A) => R) | undefined { >maybeBind : (obj: T, fn: ((this: T, ...args: A) => R) | undefined) => ((...args: A) => R) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^ >obj : T > : ^ >fn : ((this: T, ...args: A) => R) | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >this : T > : ^ >args : A diff --git a/tests/baselines/reference/throwInEnclosingStatements.types b/tests/baselines/reference/throwInEnclosingStatements.types index 8130e694fb491..9f60371c2c6a4 100644 --- a/tests/baselines/reference/throwInEnclosingStatements.types +++ b/tests/baselines/reference/throwInEnclosingStatements.types @@ -12,7 +12,7 @@ function fn(x) { (x: T) => { throw x; } >(x: T) => { throw x; } : (x: T) => never -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/throwStatements.types b/tests/baselines/reference/throwStatements.types index 3f691d4427af1..723cf69c64588 100644 --- a/tests/baselines/reference/throwStatements.types +++ b/tests/baselines/reference/throwStatements.types @@ -298,7 +298,7 @@ throw function () { return 'a string' }; throw (x:T) => 42; >(x:T) => 42 : (x: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >42 : 42 diff --git a/tests/baselines/reference/tooFewArgumentsInGenericFunctionTypedArgument.types b/tests/baselines/reference/tooFewArgumentsInGenericFunctionTypedArgument.types index 860ffd610ebc9..5885a8991850d 100644 --- a/tests/baselines/reference/tooFewArgumentsInGenericFunctionTypedArgument.types +++ b/tests/baselines/reference/tooFewArgumentsInGenericFunctionTypedArgument.types @@ -8,7 +8,7 @@ interface Collection { add(x: T, y: U): void; >add : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -16,7 +16,7 @@ interface Collection { remove(x: T, y: U): boolean; >remove : (x: T, y: U) => boolean -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -25,11 +25,11 @@ interface Collection { interface Combinators { map(c: Collection, f: (x: T, y: U) => V): Collection; >map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T_1, y: U_1) => any): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >c : Collection > : ^^^^^^^^^^^^^^^^ >f : (x: T, y: U) => V -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -37,11 +37,11 @@ interface Combinators { map(c: Collection, f: (x: T, y: U) => any): Collection; >map : { (c: Collection, f: (x: T_1, y: U_1) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^ ^^^ >c : Collection > : ^^^^^^^^^^^^^^^^ >f : (x: T, y: U) => any -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/topLevelBlockExpando.types b/tests/baselines/reference/topLevelBlockExpando.types index bb82ffa2e58b0..d89e017c4083f 100644 --- a/tests/baselines/reference/topLevelBlockExpando.types +++ b/tests/baselines/reference/topLevelBlockExpando.types @@ -83,7 +83,7 @@ interface Person { */ function doHumanThings(param) {} >doHumanThings : (param: Human) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : Human > : ^^^^^ diff --git a/tests/baselines/reference/trackedSymbolsNoCrash.types b/tests/baselines/reference/trackedSymbolsNoCrash.types index 811cff5557179..e0aba4b4adb23 100644 --- a/tests/baselines/reference/trackedSymbolsNoCrash.types +++ b/tests/baselines/reference/trackedSymbolsNoCrash.types @@ -1023,11 +1023,11 @@ import * as ast from "./ast"; export const isNodeOfType = >isNodeOfType : (nodeType: NodeType) => (node: ast.Node | null | undefined) => node is Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ (nodeType: NodeType) => >(nodeType: NodeType) => ( node: ast.Node | null | undefined, ): node is Extract => node?.kind === nodeType : (nodeType: NodeType) => (node: ast.Node | null | undefined) => node is Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >ast : any > : ^^^ >nodeType : NodeType @@ -1035,7 +1035,7 @@ export const isNodeOfType = ( >( node: ast.Node | null | undefined, ): node is Extract => node?.kind === nodeType : (node: ast.Node | null | undefined) => node is Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ node: ast.Node | null | undefined, >node : ast.Node | null | undefined diff --git a/tests/baselines/reference/transformNestedGeneratorsWithTry.types b/tests/baselines/reference/transformNestedGeneratorsWithTry.types index 03653c0642e77..51813976ffd70 100644 --- a/tests/baselines/reference/transformNestedGeneratorsWithTry.types +++ b/tests/baselines/reference/transformNestedGeneratorsWithTry.types @@ -8,16 +8,16 @@ import * as Bluebird from 'bluebird'; async function a(): Bluebird { >a : () => Bluebird -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ try { const b = async function b(): Bluebird { >b : () => Bluebird -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >async function b(): Bluebird { try { await Bluebird.resolve(); // -- remove this and it compiles } catch (error) { } } : () => Bluebird -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >b : () => Bluebird -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ try { await Bluebird.resolve(); // -- remove this and it compiles diff --git a/tests/baselines/reference/transitiveTypeArgumentInference1.types b/tests/baselines/reference/transitiveTypeArgumentInference1.types index 9a1c8ef8e6bd2..986017e7deac8 100644 --- a/tests/baselines/reference/transitiveTypeArgumentInference1.types +++ b/tests/baselines/reference/transitiveTypeArgumentInference1.types @@ -4,7 +4,7 @@ interface I1 { m(value: T): U; >m : (value: T) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2.types b/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2.types index d2b9d695f15f5..4def691542e8c 100644 --- a/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2.types +++ b/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2.types @@ -17,7 +17,7 @@ export class Wizard { >{ wizard: this as Wizard, ...props, } as WizardStepProps : WizardStepProps > : ^^^^^^^^^^^^^^^ >{ wizard: this as Wizard, ...props, } : { wizard: Wizard; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ wizard: this as Wizard, >wizard : Wizard diff --git a/tests/baselines/reference/truthinessCallExpressionCoercion.types b/tests/baselines/reference/truthinessCallExpressionCoercion.types index 4475a5ea6cba0..062b84d5498ad 100644 --- a/tests/baselines/reference/truthinessCallExpressionCoercion.types +++ b/tests/baselines/reference/truthinessCallExpressionCoercion.types @@ -265,7 +265,7 @@ class Foo { // Test for GH-35557 where ids were not assigned for a symbol. function A(stats: StatsBase) { >A : (stats: StatsBase) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >stats : StatsBase > : ^^^^^^^^^^^^^^ @@ -299,7 +299,7 @@ function A(stats: StatsBase) { function B(a: Nested, b: Nested) { >B : (a: Nested, b: Nested) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Nested > : ^^^^^^ >b : Nested diff --git a/tests/baselines/reference/truthinessPromiseCoercion.types b/tests/baselines/reference/truthinessPromiseCoercion.types index d52df4786038e..8a368db410cd8 100644 --- a/tests/baselines/reference/truthinessPromiseCoercion.types +++ b/tests/baselines/reference/truthinessPromiseCoercion.types @@ -11,13 +11,13 @@ declare const p2: null | Promise declare const obj: { p: Promise } >obj : { p: Promise; } -> : ^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^ >p : Promise > : ^^^^^^^^^^^^^^^^ declare function pf(): Promise >pf : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ async function f() { >f : () => Promise @@ -218,7 +218,7 @@ async function h() { async function i(): Promise { >i : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ if (pf()) { // error >pf() : Promise diff --git a/tests/baselines/reference/tslibReExportHelpers2.types b/tests/baselines/reference/tslibReExportHelpers2.types index 36b447621999f..fe1f35035cdc2 100644 --- a/tests/baselines/reference/tslibReExportHelpers2.types +++ b/tests/baselines/reference/tslibReExportHelpers2.types @@ -3,7 +3,7 @@ === /node_modules/tslib/index.d.ts === export declare function __classPrivateFieldGet( >__classPrivateFieldGet : { (receiver: T, state: { has(o: T): boolean; get(o: T): V | undefined; }, kind?: "f"): V; unknown, V_1>(receiver: T_1, state: T_1, kind: "f", f: { value: V_1; }): V_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ receiver: T, >receiver : T @@ -11,13 +11,13 @@ export declare function __classPrivateFieldGet( state: { has(o: T): boolean, get(o: T): V | undefined }, >state : { has(o: T): boolean; get(o: T): V | undefined; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ >has : (o: T) => boolean -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >o : T > : ^ >get : (o: T) => V | undefined -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >o : T > : ^ @@ -28,7 +28,7 @@ export declare function __classPrivateFieldGet( ): V; export declare function __classPrivateFieldGet unknown, V>( >__classPrivateFieldGet : { (receiver: T_1, state: { has(o: T_1): boolean; get(o: T_1): V_1; }, kind?: "f"): V_1; unknown, V>(receiver: T, state: T, kind: "f", f: { value: V; }): V; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^ >args : any[] > : ^^^^^ @@ -46,7 +46,7 @@ export declare function __classPrivateFieldGet f: { value: V } >f : { value: V; } -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >value : V > : ^ diff --git a/tests/baselines/reference/tsxAttributeResolution12.types b/tests/baselines/reference/tsxAttributeResolution12.types index 605b48ca6c262..f5b1844c81cc0 100644 --- a/tests/baselines/reference/tsxAttributeResolution12.types +++ b/tests/baselines/reference/tsxAttributeResolution12.types @@ -30,9 +30,9 @@ declare class Component { setState(f: (prevState: S, props: P) => S, callback?: () => any): void; >setState : { (f: (prevState: S, props: P) => S, callback?: () => any): void; (state: S, callback?: () => any): void; } -> : ^^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f : (prevState: S, props: P) => S -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >prevState : S > : ^ >props : P @@ -42,7 +42,7 @@ declare class Component { setState(state: S, callback?: () => any): void; >setState : { (f: (prevState: S, props: P) => S, callback?: () => any): void; (state: S, callback?: () => any): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >state : S > : ^ >callback : () => any @@ -56,7 +56,7 @@ declare class Component { render(): JSX.Element; >render : () => JSX.Element -> : ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >JSX : any > : ^^^ diff --git a/tests/baselines/reference/tsxAttributeResolution14.types b/tests/baselines/reference/tsxAttributeResolution14.types index 7041f5ed3e93a..9446e8c1dbaaa 100644 --- a/tests/baselines/reference/tsxAttributeResolution14.types +++ b/tests/baselines/reference/tsxAttributeResolution14.types @@ -26,7 +26,7 @@ interface IProps { function VerticalNavMenuItem(prop: IProps) { >VerticalNavMenuItem : (prop: IProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^ >prop : IProps > : ^^^^^^ diff --git a/tests/baselines/reference/tsxAttributeResolution5.types b/tests/baselines/reference/tsxAttributeResolution5.types index cb831ec64a491..529a6dbb5871e 100644 --- a/tests/baselines/reference/tsxAttributeResolution5.types +++ b/tests/baselines/reference/tsxAttributeResolution5.types @@ -27,7 +27,7 @@ interface Attribs2 { function make1 (obj: T) { >make1 : (obj: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >x : string > : ^^^^^^ >obj : T @@ -44,7 +44,7 @@ function make1 (obj: T) { function make2 (obj: T) { >make2 : (obj: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >x : number > : ^^^^^^ >obj : T @@ -61,7 +61,7 @@ function make2 (obj: T) { function make3 (obj: T) { >make3 : (obj: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >y : string > : ^^^^^^ >obj : T diff --git a/tests/baselines/reference/tsxAttributesHasInferrableIndex.types b/tests/baselines/reference/tsxAttributesHasInferrableIndex.types index 207b4d5afdac6..003433727f77c 100644 --- a/tests/baselines/reference/tsxAttributesHasInferrableIndex.types +++ b/tests/baselines/reference/tsxAttributesHasInferrableIndex.types @@ -12,7 +12,7 @@ interface Attributes { } function createElement(name: string, attributes: Attributes | undefined, ...contents: string[]) { >createElement : (name: string, attributes: Attributes | undefined, ...contents: string[]) => string -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >name : string > : ^^^^^^ >attributes : Attributes | undefined @@ -32,7 +32,7 @@ namespace createElement.JSX { function Button(attributes: Attributes | undefined, contents: string[]) { >Button : (attributes: Attributes | undefined, contents: string[]) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ >attributes : Attributes | undefined > : ^^^^^^^^^^^^^^^^^^^^^^ >contents : string[] diff --git a/tests/baselines/reference/tsxCorrectlyParseLessThanComparison1.types b/tests/baselines/reference/tsxCorrectlyParseLessThanComparison1.types index 27f09b24f133a..eb05328fe8019 100644 --- a/tests/baselines/reference/tsxCorrectlyParseLessThanComparison1.types +++ b/tests/baselines/reference/tsxCorrectlyParseLessThanComparison1.types @@ -41,7 +41,7 @@ export class ShortDetails extends React.Component<{ id: number }, {}> { public render(): JSX.Element { >render : () => JSX.Element -> : ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >JSX : any > : ^^^ diff --git a/tests/baselines/reference/tsxDeepAttributeAssignabilityError.types b/tests/baselines/reference/tsxDeepAttributeAssignabilityError.types index 308cb13cd7f5c..92e0116260fdd 100644 --- a/tests/baselines/reference/tsxDeepAttributeAssignabilityError.types +++ b/tests/baselines/reference/tsxDeepAttributeAssignabilityError.types @@ -23,7 +23,7 @@ interface MyInnerProps { export function MyComponent(_props: MyProps) { >MyComponent : (_props: MyProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >_props : MyProps > : ^^^^^^^ diff --git a/tests/baselines/reference/tsxDiscriminantPropertyInference.types b/tests/baselines/reference/tsxDiscriminantPropertyInference.types index 1f8243559702d..a40188f88b619 100644 --- a/tests/baselines/reference/tsxDiscriminantPropertyInference.types +++ b/tests/baselines/reference/tsxDiscriminantPropertyInference.types @@ -46,7 +46,7 @@ type Props = DiscriminatorTrue | DiscriminatorFalse; declare function Comp(props: DiscriminatorTrue | DiscriminatorFalse): JSX.Element; >Comp : (props: DiscriminatorTrue | DiscriminatorFalse) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : DiscriminatorTrue | DiscriminatorFalse > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/tsxGenericAttributesType1.types b/tests/baselines/reference/tsxGenericAttributesType1.types index b93ebad34017b..8e169b9f244e2 100644 --- a/tests/baselines/reference/tsxGenericAttributesType1.types +++ b/tests/baselines/reference/tsxGenericAttributesType1.types @@ -7,9 +7,9 @@ import React = require('react'); const decorator = function (Component: React.StatelessComponent): React.StatelessComponent { >decorator : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >function (Component: React.StatelessComponent): React.StatelessComponent { return (props) => } : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >Component : React.StatelessComponent > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >React : any @@ -35,9 +35,9 @@ const decorator = function (Component: React.StatelessComponent): React.St const decorator2 = function (Component: React.StatelessComponent): React.StatelessComponent { >decorator2 : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >function (Component: React.StatelessComponent): React.StatelessComponent { return (props) => } : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >Component : React.StatelessComponent @@ -69,9 +69,9 @@ const decorator2 = function (Component: React.Stateless const decorator3 = function (Component: React.StatelessComponent): React.StatelessComponent { >decorator3 : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >function (Component: React.StatelessComponent): React.StatelessComponent { return (props) => } : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >x : number diff --git a/tests/baselines/reference/tsxGenericAttributesType2.types b/tests/baselines/reference/tsxGenericAttributesType2.types index 54dd9edca03d5..cc6b8fc409cdf 100644 --- a/tests/baselines/reference/tsxGenericAttributesType2.types +++ b/tests/baselines/reference/tsxGenericAttributesType2.types @@ -7,9 +7,9 @@ import React = require('react'); const decorator4 = function (Component: React.StatelessComponent): React.StatelessComponent { >decorator4 : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >function (Component: React.StatelessComponent): React.StatelessComponent { return (props) => } : (Component: React.StatelessComponent) => React.StatelessComponent -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >Component : React.StatelessComponent diff --git a/tests/baselines/reference/tsxGenericAttributesType7.types b/tests/baselines/reference/tsxGenericAttributesType7.types index c4d0279fdd4d1..2e2b4d738353b 100644 --- a/tests/baselines/reference/tsxGenericAttributesType7.types +++ b/tests/baselines/reference/tsxGenericAttributesType7.types @@ -7,7 +7,7 @@ import React = require('react'); declare function Component(props: T) : JSX.Element; >Component : (props: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >props : T > : ^ >JSX : any @@ -15,9 +15,9 @@ declare function Component(props: T) : JSX.Element; const decorator = function (props: U) { >decorator : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >function (props: U) { return ;} : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : U > : ^ @@ -32,9 +32,9 @@ const decorator = function (props: U) { const decorator1 = function (props: U) { >decorator1 : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >function (props: U) { return ;} : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >x : string > : ^^^^^^ >props : U diff --git a/tests/baselines/reference/tsxGenericAttributesType8.types b/tests/baselines/reference/tsxGenericAttributesType8.types index 0a28a285f2611..565ff3fa1d52d 100644 --- a/tests/baselines/reference/tsxGenericAttributesType8.types +++ b/tests/baselines/reference/tsxGenericAttributesType8.types @@ -7,7 +7,7 @@ import React = require('react'); declare function Component(props: T) : JSX.Element; >Component : (props: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >props : T > : ^ >JSX : any @@ -15,9 +15,9 @@ declare function Component(props: T) : JSX.Element; const decorator = function (props: U) { >decorator : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >function (props: U) { return ;} : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : U > : ^ @@ -32,9 +32,9 @@ const decorator = function (props: U) { const decorator1 = function (props: U) { >decorator1 : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >function (props: U) { return ;} : (props: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >x : string > : ^^^^^^ >props : U diff --git a/tests/baselines/reference/tsxGenericAttributesType9.types b/tests/baselines/reference/tsxGenericAttributesType9.types index 25b9667c18b5a..9d0e11e2611e8 100644 --- a/tests/baselines/reference/tsxGenericAttributesType9.types +++ b/tests/baselines/reference/tsxGenericAttributesType9.types @@ -7,7 +7,7 @@ import React = require('react'); export function makeP

(Ctor: React.ComponentClass

) { >makeP :

(Ctor: React.ComponentClass

) => typeof (Anonymous class) -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Ctor : React.ComponentClass

> : ^^^^^^^^^^^^^^^^^^^^^^^ >React : any @@ -25,7 +25,7 @@ export function makeP

(Ctor: React.ComponentClass

) { public render(): JSX.Element { >render : () => JSX.Element -> : ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >JSX : any > : ^^^ diff --git a/tests/baselines/reference/tsxInferenceShouldNotYieldAnyOnUnions.types b/tests/baselines/reference/tsxInferenceShouldNotYieldAnyOnUnions.types index 3016c1d24893d..8ff0a14df7b36 100644 --- a/tests/baselines/reference/tsxInferenceShouldNotYieldAnyOnUnions.types +++ b/tests/baselines/reference/tsxInferenceShouldNotYieldAnyOnUnions.types @@ -18,14 +18,14 @@ interface PropsBase { interface PropsWithConvert extends PropsBase { convert: (t: T) => string; >convert : (t: T) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ } function ShouldInferFromData(props: Props): JSX.Element { >ShouldInferFromData : (props: Props) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >props : Props > : ^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/tsxLibraryManagedAttributes.types b/tests/baselines/reference/tsxLibraryManagedAttributes.types index 8dfa89499f0e2..8a06a0013af97 100644 --- a/tests/baselines/reference/tsxLibraryManagedAttributes.types +++ b/tests/baselines/reference/tsxLibraryManagedAttributes.types @@ -81,19 +81,19 @@ declare class ReactComponent { props: P & Readonly<{children: ReactNode[]}>; >props : P & Readonly<{ children: ReactNode[]; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >children : ReactNode[] > : ^^^^^^^^^^^ setState(s: Partial): S; >setState : (s: Partial) => S -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^ ^^^^^ >s : Partial > : ^^^^^^^^^^ render(): ReactNode; >render : () => ReactNode -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ } declare namespace JSX { diff --git a/tests/baselines/reference/tsxNotUsingApparentTypeOfSFC.types b/tests/baselines/reference/tsxNotUsingApparentTypeOfSFC.types index 378ba26c8fa18..f90fb46c06f6f 100644 --- a/tests/baselines/reference/tsxNotUsingApparentTypeOfSFC.types +++ b/tests/baselines/reference/tsxNotUsingApparentTypeOfSFC.types @@ -15,15 +15,15 @@ import React from 'react'; function test

(wrappedProps: P) { >test :

(wrappedProps: P) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >wrappedProps : P > : ^ let MySFC = function(props: P) { >MySFC : (props: P) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >function(props: P) { return <>hello; } : (props: P) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : P > : ^ diff --git a/tests/baselines/reference/tsxSpreadAttributesResolution13.types b/tests/baselines/reference/tsxSpreadAttributesResolution13.types index 685fe209cea83..8957629181868 100644 --- a/tests/baselines/reference/tsxSpreadAttributesResolution13.types +++ b/tests/baselines/reference/tsxSpreadAttributesResolution13.types @@ -17,7 +17,7 @@ interface ComponentProps { export default function Component(props: ComponentProps) { >Component : (props: ComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : ComponentProps > : ^^^^^^^^^^^^^^ @@ -66,7 +66,7 @@ interface AnotherComponentProps { function ChildComponent({ property1 }: AnotherComponentProps) { >ChildComponent : ({ property1 }: AnotherComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >property1 : string > : ^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadAttributesResolution14.types b/tests/baselines/reference/tsxSpreadAttributesResolution14.types index cbf6350ba8972..c2a74545190f7 100644 --- a/tests/baselines/reference/tsxSpreadAttributesResolution14.types +++ b/tests/baselines/reference/tsxSpreadAttributesResolution14.types @@ -17,7 +17,7 @@ interface ComponentProps { export default function Component(props: ComponentProps) { >Component : (props: ComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : ComponentProps > : ^^^^^^^^^^^^^^ @@ -47,7 +47,7 @@ interface AnotherComponentProps { function AnotherComponent({ property1 }: AnotherComponentProps) { >AnotherComponent : ({ property1 }: AnotherComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >property1 : string > : ^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadAttributesResolution15.types b/tests/baselines/reference/tsxSpreadAttributesResolution15.types index 247643391efe5..fc9863f0ab872 100644 --- a/tests/baselines/reference/tsxSpreadAttributesResolution15.types +++ b/tests/baselines/reference/tsxSpreadAttributesResolution15.types @@ -17,7 +17,7 @@ interface ComponentProps { export default function Component(props: ComponentProps) { >Component : (props: ComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : ComponentProps > : ^^^^^^^^^^^^^^ @@ -56,7 +56,7 @@ interface AnotherComponentProps { function AnotherComponent({ property1 }: AnotherComponentProps) { >AnotherComponent : ({ property1 }: AnotherComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >property1 : string > : ^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadAttributesResolution16.types b/tests/baselines/reference/tsxSpreadAttributesResolution16.types index 61781104bc1bf..635f9fc213bea 100644 --- a/tests/baselines/reference/tsxSpreadAttributesResolution16.types +++ b/tests/baselines/reference/tsxSpreadAttributesResolution16.types @@ -17,7 +17,7 @@ interface ComponentProps { export default function Component(props: ComponentProps) { >Component : (props: ComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ >props : ComponentProps > : ^^^^^^^^^^^^^^ @@ -53,7 +53,7 @@ interface AnotherComponentProps { function AnotherComponent({ property1 }: AnotherComponentProps) { >AnotherComponent : ({ property1 }: AnotherComponentProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >property1 : string > : ^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadChildren.types b/tests/baselines/reference/tsxSpreadChildren.types index 4c1c78d534ca9..219603f1619e5 100644 --- a/tests/baselines/reference/tsxSpreadChildren.types +++ b/tests/baselines/reference/tsxSpreadChildren.types @@ -66,7 +66,7 @@ function Todo(prop: { key: number, todo: string }) { } function TodoList({ todos }: TodoListProps) { >TodoList : ({ todos }: TodoListProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es2015).types b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es2015).types index dd9b245618335..06100e077cd5d 100644 --- a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es2015).types +++ b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es2015).types @@ -67,7 +67,7 @@ function Todo(prop: { key: number, todo: string }) { } function TodoList({ todos }: TodoListProps) { >TodoList : ({ todos }: TodoListProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ @@ -113,7 +113,7 @@ function TodoList({ todos }: TodoListProps) { } function TodoListNoError({ todos }: TodoListProps) { >TodoListNoError : ({ todos }: TodoListProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).types b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).types index dd9b245618335..06100e077cd5d 100644 --- a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).types +++ b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).types @@ -67,7 +67,7 @@ function Todo(prop: { key: number, todo: string }) { } function TodoList({ todos }: TodoListProps) { >TodoList : ({ todos }: TodoListProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ @@ -113,7 +113,7 @@ function TodoList({ todos }: TodoListProps) { } function TodoListNoError({ todos }: TodoListProps) { >TodoListNoError : ({ todos }: TodoListProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es2015).types b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es2015).types index 9e022b39df577..0a3c710374805 100644 --- a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es2015).types +++ b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es2015).types @@ -67,7 +67,7 @@ function Todo(prop: { key: number, todo: string }) { } function TodoList({ todos }: TodoListProps) { >TodoList : ({ todos }: TodoListProps) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ @@ -113,7 +113,7 @@ function TodoList({ todos }: TodoListProps) { } function TodoListNoError({ todos }: TodoListProps) { >TodoListNoError : ({ todos }: TodoListProps) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).types b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).types index 9e022b39df577..0a3c710374805 100644 --- a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).types +++ b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).types @@ -67,7 +67,7 @@ function Todo(prop: { key: number, todo: string }) { } function TodoList({ todos }: TodoListProps) { >TodoList : ({ todos }: TodoListProps) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ @@ -113,7 +113,7 @@ function TodoList({ todos }: TodoListProps) { } function TodoListNoError({ todos }: TodoListProps) { >TodoListNoError : ({ todos }: TodoListProps) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ >todos : TodoProp[] > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentOverload1.types b/tests/baselines/reference/tsxStatelessFunctionComponentOverload1.types index bc5e4ea5a6de3..bb5fd98b4cd51 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentOverload1.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentOverload1.types @@ -7,7 +7,7 @@ import React = require('react') declare function OneThing(k: {yxx: string}): JSX.Element; >OneThing : { (k: { yxx: string; }): JSX.Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; (l: { yy: number; yy1: string; yy2: boolean; }): JSX.Element; (l1: { data: string; "data-prop": boolean; }): JSX.Element; } -> : ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >k : { yxx: string; } > : ^^^^^^^ ^^^ >yxx : string @@ -17,7 +17,7 @@ declare function OneThing(k: {yxx: string}): JSX.Element; declare function OneThing(k: {yxx1: string, children: string}): JSX.Element; >OneThing : { (k: { yxx: string; }): JSX.Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; (l: { yy: number; yy1: string; yy2: boolean; }): JSX.Element; (l1: { data: string; "data-prop": boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >k : { yxx1: string; children: string; } > : ^^^^^^^^ ^^^^^^^^^^^^ ^^^ >yxx1 : string @@ -29,7 +29,7 @@ declare function OneThing(k: {yxx1: string, children: string}): JSX.Element; declare function OneThing(l: {yy: number, yy1: string}): JSX.Element; >OneThing : { (k: { yxx: string; }): JSX.Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; (l: { yy: number; yy1: string; yy2: boolean; }): JSX.Element; (l1: { data: string; "data-prop": boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >l : { yy: number; yy1: string; } > : ^^^^^^ ^^^^^^^ ^^^ >yy : number @@ -41,7 +41,7 @@ declare function OneThing(l: {yy: number, yy1: string}): JSX.Element; declare function OneThing(l: {yy: number, yy1: string, yy2: boolean}): JSX.Element; >OneThing : { (k: { yxx: string; }): JSX.Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; (l: { yy: number; yy1: string; yy2: boolean; }): JSX.Element; (l1: { data: string; "data-prop": boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >l : { yy: number; yy1: string; yy2: boolean; } > : ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^ >yy : number @@ -55,7 +55,7 @@ declare function OneThing(l: {yy: number, yy1: string, yy2: boolean}): JSX.Eleme declare function OneThing(l1: {data: string, "data-prop": boolean}): JSX.Element; >OneThing : { (k: { yxx: string; }): JSX.Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; (l: { yy: number; yy1: string; yy2: boolean; }): JSX.Element; (l1: { data: string; "data-prop": boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >l1 : { data: string; "data-prop": boolean; } > : ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^ >data : string @@ -129,7 +129,7 @@ const c5 = Hello declare function TestingOneThing({y1: string}): JSX.Element; >TestingOneThing : { ({ y1: string }: { y1: any; }): JSX.Element; (j: { "extra-data": string; yy?: string; }): JSX.Element; (n: { yy: number; direction?: number; }): JSX.Element; (n: { yy: string; name: string; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y1 : any > : ^^^ >string : any @@ -139,7 +139,7 @@ declare function TestingOneThing({y1: string}): JSX.Element; declare function TestingOneThing(j: {"extra-data": string, yy?: string}): JSX.Element; >TestingOneThing : { ({ y1: string }: { y1: any; }): JSX.Element; (j: { "extra-data": string; yy?: string; }): JSX.Element; (n: { yy: number; direction?: number; }): JSX.Element; (n: { yy: string; name: string; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >j : { "extra-data": string; yy?: string; } > : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ >"extra-data" : string @@ -151,7 +151,7 @@ declare function TestingOneThing(j: {"extra-data": string, yy?: string}): JSX.El declare function TestingOneThing(n: {yy: number, direction?: number}): JSX.Element; >TestingOneThing : { ({ y1: string }: { y1: any; }): JSX.Element; (j: { "extra-data": string; yy?: string; }): JSX.Element; (n: { yy: number; direction?: number; }): JSX.Element; (n: { yy: string; name: string; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >n : { yy: number; direction?: number; } > : ^^^^^^ ^^^^^^^^^^^^^^ ^^^ >yy : number @@ -163,7 +163,7 @@ declare function TestingOneThing(n: {yy: number, direction?: number}): JSX.Eleme declare function TestingOneThing(n: {yy: string, name: string}): JSX.Element; >TestingOneThing : { ({ y1: string }: { y1: any; }): JSX.Element; (j: { "extra-data": string; yy?: string; }): JSX.Element; (n: { yy: number; direction?: number; }): JSX.Element; (n: { yy: string; name: string; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >n : { yy: string; name: string; } > : ^^^^^^ ^^^^^^^^ ^^^ >yy : string @@ -243,7 +243,7 @@ const d5 = ; declare function TestingOptional(a: {y1?: string, y2?: number}): JSX.Element; >TestingOptional : { (a: { y1?: string; y2?: number; }): JSX.Element; (a: { y1: boolean; y2?: number; y3: boolean; }): JSX.Element; } -> : ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { y1?: string; y2?: number; } > : ^^^^^^^ ^^^^^^^ ^^^ >y1 : string @@ -255,7 +255,7 @@ declare function TestingOptional(a: {y1?: string, y2?: number}): JSX.Element; declare function TestingOptional(a: {y1: boolean, y2?: number, y3: boolean}): JSX.Element; >TestingOptional : { (a: { y1?: string; y2?: number; }): JSX.Element; (a: { y1: boolean; y2?: number; y3: boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >a : { y1: boolean; y2?: number; y3: boolean; } > : ^^^^^^ ^^^^^^^ ^^^^^^ ^^^ >y1 : boolean diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentOverload2.types b/tests/baselines/reference/tsxStatelessFunctionComponentOverload2.types index 0efb11b7967ae..ed728daf4be22 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentOverload2.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentOverload2.types @@ -7,13 +7,13 @@ import React = require('react') declare function OneThing(): JSX.Element; >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >JSX : any > : ^^^ declare function OneThing(l: {yy: number, yy1: string}): JSX.Element; >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >l : { yy: number; yy1: string; } > : ^^^^^^ ^^^^^^^ ^^^ >yy : number diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentOverload3.types b/tests/baselines/reference/tsxStatelessFunctionComponentOverload3.types index 831c661202935..b5d80fcfe05ec 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentOverload3.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentOverload3.types @@ -7,13 +7,13 @@ interface Context { } declare function ZeroThingOrTwoThing(): JSX.Element; >ZeroThingOrTwoThing : { (): JSX.Element; (l: { yy: number; yy1: string; }, context: Context): JSX.Element; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >JSX : any > : ^^^ declare function ZeroThingOrTwoThing(l: {yy: number, yy1: string}, context: Context): JSX.Element; >ZeroThingOrTwoThing : { (): JSX.Element; (l: { yy: number; yy1: string; }, context: Context): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >l : { yy: number; yy1: string; } > : ^^^^^^ ^^^^^^^ ^^^ >yy : number @@ -88,7 +88,7 @@ const two5 = ; // it is just any so declare function ThreeThing(l: {y1: string}): JSX.Element; >ThreeThing : { (l: { y1: string; }): JSX.Element; (l: { y2: string; }): JSX.Element; (l: { yy: number; yy1: string; }, context: Context, updater: any): JSX.Element; } -> : ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >l : { y1: string; } > : ^^^^^^ ^^^ >y1 : string @@ -98,7 +98,7 @@ declare function ThreeThing(l: {y1: string}): JSX.Element; declare function ThreeThing(l: {y2: string}): JSX.Element; >ThreeThing : { (l: { y1: string; }): JSX.Element; (l: { y2: string; }): JSX.Element; (l: { yy: number; yy1: string; }, context: Context, updater: any): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >l : { y2: string; } > : ^^^^^^ ^^^ >y2 : string @@ -108,7 +108,7 @@ declare function ThreeThing(l: {y2: string}): JSX.Element; declare function ThreeThing(l: {yy: number, yy1: string}, context: Context, updater: any): JSX.Element; >ThreeThing : { (l: { y1: string; }): JSX.Element; (l: { y2: string; }): JSX.Element; (l: { yy: number; yy1: string; }, context: Context, updater: any): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >l : { yy: number; yy1: string; } > : ^^^^^^ ^^^^^^^ ^^^ >yy : number diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentOverload4.types b/tests/baselines/reference/tsxStatelessFunctionComponentOverload4.types index 4064c7979cbcb..84d5ba82016b8 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentOverload4.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentOverload4.types @@ -7,13 +7,13 @@ import React = require('react') declare function OneThing(): JSX.Element; >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >JSX : any > : ^^^ declare function OneThing(l: {yy: number, yy1: string}): JSX.Element; >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >l : { yy: number; yy1: string; } > : ^^^^^^ ^^^^^^^ ^^^ >yy : number @@ -156,7 +156,7 @@ const c7 = ; // Should error as there is extra attribu declare function TestingOneThing(j: {"extra-data": string}): JSX.Element; >TestingOneThing : { (j: { "extra-data": string; }): JSX.Element; (n: { yy: string; direction?: number; }): JSX.Element; } -> : ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >j : { "extra-data": string; } > : ^^^^^^^^^^^^^^^^ ^^^ >"extra-data" : string @@ -166,7 +166,7 @@ declare function TestingOneThing(j: {"extra-data": string}): JSX.Element; declare function TestingOneThing(n: {yy: string, direction?: number}): JSX.Element; >TestingOneThing : { (j: { "extra-data": string; }): JSX.Element; (n: { yy: string; direction?: number; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >n : { yy: string; direction?: number; } > : ^^^^^^ ^^^^^^^^^^^^^^ ^^^ >yy : string @@ -201,7 +201,7 @@ const d2 = declare function TestingOptional(a: {y1?: string, y2?: number}): JSX.Element; >TestingOptional : { (a: { y1?: string; y2?: number; }): JSX.Element; (a: { y1?: string; y2?: number; children: JSX.Element; }): JSX.Element; (a: { y1: boolean; y2?: number; y3: boolean; }): JSX.Element; } -> : ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { y1?: string; y2?: number; } > : ^^^^^^^ ^^^^^^^ ^^^ >y1 : string @@ -213,9 +213,9 @@ declare function TestingOptional(a: {y1?: string, y2?: number}): JSX.Element; declare function TestingOptional(a: {y1?: string, y2?: number, children: JSX.Element}): JSX.Element; >TestingOptional : { (a: { y1?: string; y2?: number; }): JSX.Element; (a: { y1?: string; y2?: number; children: JSX.Element; }): JSX.Element; (a: { y1: boolean; y2?: number; y3: boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { y1?: string; y2?: number; children: JSX.Element; } -> : ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^ >y1 : string > : ^^^^^^ >y2 : number @@ -229,7 +229,7 @@ declare function TestingOptional(a: {y1?: string, y2?: number, children: JSX.Ele declare function TestingOptional(a: {y1: boolean, y2?: number, y3: boolean}): JSX.Element; >TestingOptional : { (a: { y1?: string; y2?: number; }): JSX.Element; (a: { y1?: string; y2?: number; children: JSX.Element; }): JSX.Element; (a: { y1: boolean; y2?: number; y3: boolean; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >a : { y1: boolean; y2?: number; y3: boolean; } > : ^^^^^^ ^^^^^^^ ^^^^^^ ^^^ >y1 : boolean diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentOverload5.types b/tests/baselines/reference/tsxStatelessFunctionComponentOverload5.types index d67df77ef919d..bee6e89815e1f 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentOverload5.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentOverload5.types @@ -87,7 +87,7 @@ let obj3: any; export function MainButton(buttonProps: ButtonProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: HyphenProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >buttonProps : ButtonProps > : ^^^^^^^^^^^ >JSX : any @@ -95,7 +95,7 @@ export function MainButton(buttonProps: ButtonProps): JSX.Element; export function MainButton(linkProps: LinkProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: HyphenProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >linkProps : LinkProps > : ^^^^^^^^^ >JSX : any @@ -103,7 +103,7 @@ export function MainButton(linkProps: LinkProps): JSX.Element; export function MainButton(hyphenProps: HyphenProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: HyphenProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >hyphenProps : HyphenProps > : ^^^^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentOverload6.types b/tests/baselines/reference/tsxStatelessFunctionComponentOverload6.types index f0e9d29e9ec19..fb58e02a15f94 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentOverload6.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentOverload6.types @@ -71,7 +71,7 @@ let obj2 = { export function MainButton(buttonProps: ButtonProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: HyphenProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >buttonProps : ButtonProps > : ^^^^^^^^^^^ >JSX : any @@ -79,7 +79,7 @@ export function MainButton(buttonProps: ButtonProps): JSX.Element; export function MainButton(linkProps: LinkProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: HyphenProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >linkProps : LinkProps > : ^^^^^^^^^ >JSX : any @@ -87,7 +87,7 @@ export function MainButton(linkProps: LinkProps): JSX.Element; export function MainButton(hyphenProps: HyphenProps): JSX.Element; >MainButton : { (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: HyphenProps): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >hyphenProps : HyphenProps > : ^^^^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter1.types b/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter1.types index 93910e5c9873c..efa12c67ebfa7 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter1.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter1.types @@ -13,7 +13,7 @@ interface MyComponentProp { function MyComponent(attr: T) { >MyComponent : (attr: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >attr : T > : ^ diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter2.types b/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter2.types index 139dc7c400b6b..e775d16dc9f10 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter2.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentWithDefaultTypeParameter2.types @@ -13,7 +13,7 @@ interface MyComponentProp { function MyComponent1(attr: T) { >MyComponent1 : (attr: T) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >attr : T > : ^ diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments1.types b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments1.types index b9ef0f19c9a8a..bd97d78a85c8c 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments1.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments1.types @@ -7,9 +7,9 @@ import React = require('react') declare function ComponentWithTwoAttributes(l: {key1: K, value: V}): JSX.Element; >ComponentWithTwoAttributes : (l: { key1: K; value: V; }) => JSX.Element -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >l : { key1: K; value: V; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^ >key1 : K > : ^ >value : V @@ -20,7 +20,7 @@ declare function ComponentWithTwoAttributes(l: {key1: K, value: V}): JSX.El // OK function Baz(key1: T, value: U) { >Baz : (key1: T, value: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >key1 : T > : ^ >value : U @@ -63,11 +63,11 @@ function Baz(key1: T, value: U) { declare function Link(l: {func: (arg: U)=>void}): JSX.Element; >Link : (l: { func: (arg: U) => void; }) => JSX.Element -> : ^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : { func: (arg: U) => void; } -> : ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^ >func : (arg: U) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : U > : ^ >JSX : any @@ -123,14 +123,14 @@ interface InferParamProp { selectHandler: (selectedVal: T) => void; >selectHandler : (selectedVal: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >selectedVal : T > : ^ } declare function InferParamComponent(attr: InferParamProp): JSX.Element; >InferParamComponent : (attr: InferParamProp) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >attr : InferParamProp > : ^^^^^^^^^^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments2.types b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments2.types index 06ad699135bad..e77b820664779 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments2.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments2.types @@ -7,9 +7,9 @@ import React = require('react') declare function ComponentSpecific1(l: {prop: U, "ignore-prop": string}): JSX.Element; >ComponentSpecific1 : (l: { prop: U; "ignore-prop": string; }) => JSX.Element -> : ^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : { prop: U; "ignore-prop": string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ >prop : U > : ^ >"ignore-prop" : string @@ -19,9 +19,9 @@ declare function ComponentSpecific1(l: {prop: U, "ignore-prop": string}): JSX declare function ComponentSpecific2(l: {prop: U}): JSX.Element; >ComponentSpecific2 : (l: { prop: U; }) => JSX.Element -> : ^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : { prop: U; } -> : ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >prop : U > : ^ >JSX : any @@ -30,7 +30,7 @@ declare function ComponentSpecific2(l: {prop: U}): JSX.Element; // Error function Bar(arg: T) { >Bar : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >prop : number > : ^^^^^^ >arg : T @@ -54,7 +54,7 @@ function Bar(arg: T) { // Error function Baz(arg: T) { >Baz : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >arg : T > : ^ @@ -71,11 +71,11 @@ function Baz(arg: T) { declare function Link(l: {func: (arg: U)=>void}): JSX.Element; >Link : (l: { func: (arg: U) => void; }) => JSX.Element -> : ^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : { func: (arg: U) => void; } -> : ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^ >func : (arg: U) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : U > : ^ >JSX : any @@ -112,14 +112,14 @@ interface InferParamProp { selectHandler: (selectedVal: T) => void; >selectHandler : (selectedVal: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >selectedVal : T > : ^ } declare function InferParamComponent(attr: InferParamProp): JSX.Element; >InferParamComponent : (attr: InferParamProp) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >attr : InferParamProp > : ^^^^^^^^^^^^^^^^^ >JSX : any diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments3.types b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments3.types index 6b3d0f3860883..77c6265c48725 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments3.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments3.types @@ -7,15 +7,15 @@ import React = require('react') declare function OverloadComponent(): JSX.Element; >OverloadComponent : { (): JSX.Element; (attr: { b: U_1; a?: string; "ignore-prop": boolean; }): JSX.Element; (attr: { b: U_2; a: T; }): JSX.Element; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >JSX : any > : ^^^ declare function OverloadComponent(attr: {b: U, a?: string, "ignore-prop": boolean}): JSX.Element; >OverloadComponent : { (): JSX.Element; (attr: { b: U; a?: string; "ignore-prop": boolean; }): JSX.Element; (attr: { b: U_2; a: T; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >attr : { b: U; a?: string; "ignore-prop": boolean; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ >b : U > : ^ >a : string @@ -27,9 +27,9 @@ declare function OverloadComponent(attr: {b: U, a?: string, "ignore-prop": bo declare function OverloadComponent(attr: {b: U, a: T}): JSX.Element; >OverloadComponent : { (): JSX.Element; (attr: { b: U_2; a?: string; "ignore-prop": boolean; }): JSX.Element; (attr: { b: U; a: T; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^ ^^^ >attr : { b: U; a: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >b : U > : ^ >a : T @@ -40,7 +40,7 @@ declare function OverloadComponent(attr: {b: U, a: T}): JSX.Element; // OK function Baz(arg1: T, arg2: U) { >Baz : (arg1: T, arg2: U) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >b : number > : ^^^^^^ >a : boolean @@ -139,11 +139,11 @@ function Baz(arg1: T, a declare function Link(l: {func: (arg: U)=>void}): JSX.Element; >Link : { (l: { func: (arg: U) => void; }): JSX.Element; (l: { func: (arg1: U_1, arg2: string) => void; }): JSX.Element; } -> : ^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >l : { func: (arg: U) => void; } -> : ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^ >func : (arg: U) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : U > : ^ >JSX : any @@ -151,11 +151,11 @@ declare function Link(l: {func: (arg: U)=>void}): JSX.Element; declare function Link(l: {func: (arg1:U, arg2: string)=>void}): JSX.Element; >Link : { (l: { func: (arg: U_1) => void; }): JSX.Element; (l: { func: (arg1: U, arg2: string) => void; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >l : { func: (arg1: U, arg2: string) => void; } -> : ^^^^^^^^ ^ ^^^ +> : ^^^^^^^^ ^^^ >func : (arg1: U, arg2: string) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >arg1 : U > : ^ >arg2 : string diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments4.types b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments4.types index f175a8dffe7eb..6c9677b55655c 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments4.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments4.types @@ -7,15 +7,15 @@ import React = require('react') declare function OverloadComponent(): JSX.Element; >OverloadComponent : { (): JSX.Element; (attr: { b: U_1; a: string; "ignore-prop": boolean; }): JSX.Element; (attr: { b: U_2; a: T; }): JSX.Element; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >JSX : any > : ^^^ declare function OverloadComponent(attr: {b: U, a: string, "ignore-prop": boolean}): JSX.Element; >OverloadComponent : { (): JSX.Element; (attr: { b: U; a: string; "ignore-prop": boolean; }): JSX.Element; (attr: { b: U_2; a: T; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >attr : { b: U; a: string; "ignore-prop": boolean; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ >b : U > : ^ >a : string @@ -27,9 +27,9 @@ declare function OverloadComponent(attr: {b: U, a: string, "ignore-prop": boo declare function OverloadComponent(attr: {b: U, a: T}): JSX.Element; >OverloadComponent : { (): JSX.Element; (attr: { b: U_2; a: string; "ignore-prop": boolean; }): JSX.Element; (attr: { b: U; a: T; }): JSX.Element; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^ ^^^ >attr : { b: U; a: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >b : U > : ^ >a : T @@ -40,7 +40,7 @@ declare function OverloadComponent(attr: {b: U, a: T}): JSX.Element; // Error function Baz(arg1: T, arg2: U) { >Baz : (arg1: T, arg2: U) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >b : number > : ^^^^^^ >a : boolean diff --git a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments5.types b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments5.types index 2af12a9d85291..67f9e4ad40eb7 100644 --- a/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments5.types +++ b/tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments5.types @@ -7,7 +7,7 @@ import React = require('react') declare function Component(l: U): JSX.Element; >Component : (l: U) => JSX.Element -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : U > : ^ >JSX : any @@ -15,7 +15,7 @@ declare function Component(l: U): JSX.Element; function createComponent(arg: T) { >createComponent : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >prop : number > : ^^^^^^ >arg : T @@ -46,9 +46,9 @@ function createComponent(arg: T) { declare function ComponentSpecific(l: { prop: U }): JSX.Element; >ComponentSpecific : (l: { prop: U; }) => JSX.Element -> : ^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : { prop: U; } -> : ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >prop : U > : ^ >JSX : any @@ -56,9 +56,9 @@ declare function ComponentSpecific(l: { prop: U }): JSX.Element; declare function ComponentSpecific1(l: { prop: U, "ignore-prop": number }): JSX.Element; >ComponentSpecific1 : (l: { prop: U; "ignore-prop": number; }) => JSX.Element -> : ^^^^^^^ ^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >l : { prop: U; "ignore-prop": number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ >prop : U > : ^ >"ignore-prop" : number @@ -68,7 +68,7 @@ declare function ComponentSpecific1(l: { prop: U, "ignore-prop": number }): J function Bar(arg: T) { >Bar : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >prop : number > : ^^^^^^ >arg : T diff --git a/tests/baselines/reference/tsxTypeArgumentPartialDefinitionStillErrors.types b/tests/baselines/reference/tsxTypeArgumentPartialDefinitionStillErrors.types index 48c3fd5a2296c..8444c00f25bcc 100644 --- a/tests/baselines/reference/tsxTypeArgumentPartialDefinitionStillErrors.types +++ b/tests/baselines/reference/tsxTypeArgumentPartialDefinitionStillErrors.types @@ -5,7 +5,7 @@ declare namespace JSX { interface Element { render(): Element | string | false; >render : () => Element | string | false -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >false : false > : ^^^^^ } @@ -13,7 +13,7 @@ declare namespace JSX { function SFC(props: Record) { >SFC : (props: Record) => string -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ >props : Record > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/tsxUnionMemberChecksFilterDataProps.types b/tests/baselines/reference/tsxUnionMemberChecksFilterDataProps.types index 6d8bc2bca142e..5722f39b270fc 100644 --- a/tests/baselines/reference/tsxUnionMemberChecksFilterDataProps.types +++ b/tests/baselines/reference/tsxUnionMemberChecksFilterDataProps.types @@ -16,7 +16,7 @@ import React, { ReactElement } from "react"; declare function NotHappy(props: ({ fixed?: boolean } | { value?: number })): ReactElement; >NotHappy : (props: ({ fixed?: boolean; } | { value?: number; })) => ReactElement -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : { fixed?: boolean; } | { value?: number; } > : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ >fixed : boolean @@ -26,7 +26,7 @@ declare function NotHappy(props: ({ fixed?: boolean } | { value?: number })): Re declare function Happy(props: { fixed?: boolean, value?: number }): ReactElement; >Happy : (props: { fixed?: boolean; value?: number; }) => ReactElement -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : { fixed?: boolean; value?: number; } > : ^^^^^^^^^^ ^^^^^^^^^^ ^^^ >fixed : boolean diff --git a/tests/baselines/reference/tsxUnionSpread.types b/tests/baselines/reference/tsxUnionSpread.types index bbf89a91e2419..3e14c631ecc41 100644 --- a/tests/baselines/reference/tsxUnionSpread.types +++ b/tests/baselines/reference/tsxUnionSpread.types @@ -25,7 +25,7 @@ export type AnimalInfo = CatInfo | DogInfo; function AnimalComponent(info: AnimalInfo): JSX.Element { >AnimalComponent : (info: AnimalInfo) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^ ^^^^^ >info : AnimalInfo > : ^^^^^^^^^^ >JSX : any @@ -39,7 +39,7 @@ function AnimalComponent(info: AnimalInfo): JSX.Element { function getProps(): AnimalInfo { >getProps : () => AnimalInfo -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ // this may be from server or whatever ... return { type: 'Cat', subType: 'Large' }; diff --git a/tests/baselines/reference/tupleTypeInference.types b/tests/baselines/reference/tupleTypeInference.types index 4181f245ab3d0..dc846aaee2e4b 100644 --- a/tests/baselines/reference/tupleTypeInference.types +++ b/tests/baselines/reference/tupleTypeInference.types @@ -8,25 +8,25 @@ declare var $q: IQService; interface IQService { all(x: [IPromise, IPromise, IPromise]): IPromise<[T1, T2, T3]>; >all : { (x: [IPromise, IPromise, IPromise]): IPromise<[T1, T2, T3]>; (x: [IPromise, IPromise]): IPromise<[T1_1, T2_1]>; (x: [IPromise]): IPromise<[T1_2]>; } -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : [IPromise, IPromise, IPromise] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ all(x: [IPromise, IPromise]): IPromise<[T1, T2]>; >all : { (x: [IPromise, IPromise, IPromise]): IPromise<[T1_1, T2_1, T3]>; (x: [IPromise, IPromise]): IPromise<[T1, T2]>; (x: [IPromise]): IPromise<[T1_2]>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^ ^^ ^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : [IPromise, IPromise] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ all(x: [IPromise]): IPromise<[T1]>; >all : { (x: [IPromise, IPromise, IPromise]): IPromise<[T1_1, T2, T3]>; (x: [IPromise, IPromise]): IPromise<[T1_2, T2_1]>; (x: [IPromise]): IPromise<[T1]>; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^ ^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >x : [IPromise] > : ^^^^^^^^^^^^^^ when(t?: T): IPromise; >when : (t?: T) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^ >t : T > : ^ } @@ -34,9 +34,9 @@ interface IQService { interface IPromise { then(callback: (t: T) => TResult): IPromise; >then : (callback: (t: T) => TResult) => IPromise -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >callback : (t: T) => TResult -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ } diff --git a/tests/baselines/reference/tupleTypeInference2.types b/tests/baselines/reference/tupleTypeInference2.types index 0218b2a74b918..9ed5553e0568f 100644 --- a/tests/baselines/reference/tupleTypeInference2.types +++ b/tests/baselines/reference/tupleTypeInference2.types @@ -9,7 +9,7 @@ type A = [R] | [R, string]; declare function f(x: A): T; >f : (x: A) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : A > : ^^^^ @@ -49,7 +49,7 @@ type B = [R] | [R, S]; declare function g(f: B): U; >g : (f: B) => U -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >f : B > : ^^^^^^^ @@ -71,7 +71,7 @@ type C = [R[]] | [R[], S]; declare function h(f: C): U; >h : (f: C) => U -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >f : C > : ^^^^^^^ @@ -95,7 +95,7 @@ type C2 = [R[]] | [R[], void]; declare function h2(f: C2): T; >h2 : (f: C2) => T -> : ^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : C2 > : ^^^^^ diff --git a/tests/baselines/reference/tupleTypes.types b/tests/baselines/reference/tupleTypes.types index 462db6133c80f..e8105f8b1e233 100644 --- a/tests/baselines/reference/tupleTypes.types +++ b/tests/baselines/reference/tupleTypes.types @@ -141,11 +141,11 @@ var tf: [string, (x: string) => number] = ["hello", x => x.length]; declare function ff(a: T, b: [T, (x: T) => U]): U; >ff : (a: T, b: [T, (x: T) => U]) => U -> : ^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : [T, (x: T) => U] -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^ >x : T > : ^ @@ -179,7 +179,7 @@ var ff1: number; function tuple2(item0: T0, item1: T1): [T0, T1]{ >tuple2 : (item0: T0, item1: T1) => [T0, T1] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >item0 : T0 > : ^^ >item1 : T1 diff --git a/tests/baselines/reference/twiceNestedKeyofIndexInference.types b/tests/baselines/reference/twiceNestedKeyofIndexInference.types index e673a2d96e738..e884aa3f6cc26 100644 --- a/tests/baselines/reference/twiceNestedKeyofIndexInference.types +++ b/tests/baselines/reference/twiceNestedKeyofIndexInference.types @@ -19,7 +19,7 @@ type Set2 = T extends any[] ? T : declare function set(source: T, path: [K1], value: T[K1]): Set1; >set : { (source: T, path: [K1], value: T[K1]): Set1; (source: T_1, path: [K1_1, K2], value: T_1[K1_1][K2]): Set2; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^ ^^ ^^^^^^^ ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >source : T > : ^ >path : [K1] @@ -29,7 +29,7 @@ declare function set(source: T, path: [K1], value: T[K1]) declare function set(source: T, path: [K1, K2], value: T[K1][K2]): Set2; >set : { (source: T_1, path: [K1_1], value: T_1[K1_1]): Set1; (source: T, path: [K1, K2], value: T[K1][K2]): Set2; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^ ^ ^^ ^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >source : T > : ^ >path : [K1, K2] diff --git a/tests/baselines/reference/twoMergedInterfacesWithDifferingOverloads.types b/tests/baselines/reference/twoMergedInterfacesWithDifferingOverloads.types index 43eb66ff96e96..094f36d5396e3 100644 --- a/tests/baselines/reference/twoMergedInterfacesWithDifferingOverloads.types +++ b/tests/baselines/reference/twoMergedInterfacesWithDifferingOverloads.types @@ -20,7 +20,7 @@ interface A { interface A { foo(x: Date): Date; >foo : { (x: number): number; (x: string): string; (x: Date): Date; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : Date > : ^^^^ } @@ -28,7 +28,7 @@ interface A { interface B { foo(x: T): number; >foo : { (x: T): number; (x: string): string; (x: T): Date; (x: Date): string; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -42,13 +42,13 @@ interface B { interface B { foo(x: T): Date; >foo : { (x: T): number; (x: string): string; (x: T): Date; (x: Date): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo(x: Date): string; >foo : { (x: T): number; (x: string): string; (x: T): Date; (x: Date): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : Date > : ^^^^ } @@ -75,7 +75,7 @@ var r = b.foo(true); // returns Date interface C { foo(x: T, y: U): string; >foo : { (x: T, y: U): string; (x: string, y: string): number; (x: W, y: W): W; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : U @@ -93,7 +93,7 @@ interface C { interface C { foo(x: W, y: W): W; >foo : { (x: T, y: U): string; (x: string, y: string): number; (x: W, y: W): W; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : W > : ^ >y : W @@ -132,7 +132,7 @@ interface D { foo(x: A, y: A): U; >foo : { (x: A, y: A): U; (x: W, y: W): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ >y : A @@ -142,7 +142,7 @@ interface D { interface D { foo(x: W, y: W): T; >foo : { (x: A, y: A): U; (x: W, y: W): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >x : W > : ^ >y : W diff --git a/tests/baselines/reference/typeAliasFunctionTypeSharedSymbol.types b/tests/baselines/reference/typeAliasFunctionTypeSharedSymbol.types index a1e048b635dfd..8b57f2bcd8a39 100644 --- a/tests/baselines/reference/typeAliasFunctionTypeSharedSymbol.types +++ b/tests/baselines/reference/typeAliasFunctionTypeSharedSymbol.types @@ -5,7 +5,7 @@ function Mixin(Base: TBase) { >Mixin : {}>(Base: TBase) => { new (...args: any[]): (Anonymous class); prototype: Mixin.(Anonymous class); } & TBase -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : any[] > : ^^^^^ >Base : TBase diff --git a/tests/baselines/reference/typeAliases.types b/tests/baselines/reference/typeAliases.types index 52fe4ae3ee2c3..71b1606fb699f 100644 --- a/tests/baselines/reference/typeAliases.types +++ b/tests/baselines/reference/typeAliases.types @@ -164,7 +164,7 @@ var x13_2: T13 declare function foo13(t1: T1, t2: T13): void; >foo13 : (t1: T1, t2: T13) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >t1 : T1 > : ^^ >t2 : I13 @@ -200,7 +200,7 @@ var x14: T14; declare function foo14_1(x: T14): void; >foo14_1 : (x: T14) => void -> : ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : string > : ^^^^^^ @@ -212,7 +212,7 @@ declare function foo14_2(x: "click"): void; declare function foo14_2(x: T14): void; >foo14_2 : { (x: "click"): void; (x: T14): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ @@ -236,7 +236,7 @@ declare function f15(a: string): boolean; declare function f15(a: Meters): string; >f15 : { (a: string): boolean; (a: Meters): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >a : number > : ^^^^^^ diff --git a/tests/baselines/reference/typeArgInference.types b/tests/baselines/reference/typeArgInference.types index 5fb482de083df..537d35ef73dc6 100644 --- a/tests/baselines/reference/typeArgInference.types +++ b/tests/baselines/reference/typeArgInference.types @@ -4,15 +4,15 @@ interface I { f(a1: { a: T; b: U }[], a2: { a: T; b: U }[]): { c: T; d: U }; >f : (a1: { a: T; b: U; }[], a2: { a: T; b: U; }[]) => { c: T; d: U; } -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >a1 : { a: T; b: U; }[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : U > : ^ >a2 : { a: T; b: U; }[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -24,9 +24,9 @@ interface I { g(...arg: { a: T; b: U }[][]): { c: T; d: U }; >g : (...arg: { a: T; b: U; }[][]) => { c: T; d: U; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^ >arg : { a: T; b: U; }[][] -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/typeArgInference2.types b/tests/baselines/reference/typeArgInference2.types index 0d13fc3ff39c2..23bd9bb757178 100644 --- a/tests/baselines/reference/typeArgInference2.types +++ b/tests/baselines/reference/typeArgInference2.types @@ -9,7 +9,7 @@ interface Item { declare function foo(x?: T, y?: T): T; >foo : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/typeArgInference2WithError.types b/tests/baselines/reference/typeArgInference2WithError.types index 99ce837eab3d2..9948097e7633d 100644 --- a/tests/baselines/reference/typeArgInference2WithError.types +++ b/tests/baselines/reference/typeArgInference2WithError.types @@ -9,7 +9,7 @@ interface Item { declare function foo(x?: T, y?: T): T; >foo : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/typeArgInferenceWithNull.types b/tests/baselines/reference/typeArgInferenceWithNull.types index 597aef5b07756..a119111c6e5f4 100644 --- a/tests/baselines/reference/typeArgInferenceWithNull.types +++ b/tests/baselines/reference/typeArgInferenceWithNull.types @@ -5,7 +5,7 @@ function fn4(n: T) { } >fn4 : (n: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >n : T > : ^ @@ -17,7 +17,7 @@ fn4(null); function fn5(n: T) { } >fn5 : (n: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : string > : ^^^^^^ >n : T @@ -35,13 +35,13 @@ fn5({ x: null }); function fn6(n: T, fun: (x: T) => void, n2: T) { } >fn6 : (n: T, fun: (x: T) => void, n2: T) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ >x : string > : ^^^^^^ >n : T > : ^ >fun : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >n2 : T diff --git a/tests/baselines/reference/typeArgumentConstraintResolution1.types b/tests/baselines/reference/typeArgumentConstraintResolution1.types index be617d6c7b559..0c68a1a5a61e8 100644 --- a/tests/baselines/reference/typeArgumentConstraintResolution1.types +++ b/tests/baselines/reference/typeArgumentConstraintResolution1.types @@ -3,7 +3,7 @@ === typeArgumentConstraintResolution1.ts === function foo1(test: T); >foo1 : { (test: T): any; (test: string): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >test : T > : ^ @@ -31,13 +31,13 @@ foo1(""); // should error function foo2(test: T): T; >foo2 : { (test: T): T; (test: string): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >test : T > : ^ function foo2(test: string): T; >foo2 : { (test: T_1): T_1; (test: string): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >test : string > : ^^^^^^ diff --git a/tests/baselines/reference/typeArgumentInference.types b/tests/baselines/reference/typeArgumentInference.types index d2cff8324b0c8..535638613abc6 100644 --- a/tests/baselines/reference/typeArgumentInference.types +++ b/tests/baselines/reference/typeArgumentInference.types @@ -58,7 +58,7 @@ noGenericParams<{}>(''); // Generic call with multiple type parameters and only one used in parameter type annotation function someGenerics1(n: T, m: number) { } >someGenerics1 : (n: T, m: number) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >m : number @@ -87,9 +87,9 @@ someGenerics1(3, 4); // Generic call with argument of function type whose parameter is of type parameter type function someGenerics2a(n: (x: T) => void) { } >someGenerics2a : (n: (x: T) => void) => void -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >n : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -139,9 +139,9 @@ someGenerics2a((n) => n.substr(0)); function someGenerics2b(n: (x: T, y: U) => void) { } >someGenerics2b : (n: (x: T, y: U) => void) => void -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^ >n : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -204,9 +204,9 @@ someGenerics2b((n, t) => n.substr(t * t)); // Generic call with argument of function type whose parameter is not of type parameter type but body/return type uses type parameter function someGenerics3(producer: () => T) { } >someGenerics3 : (producer: () => T) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^ >producer : () => T -> : ^^^^^^^ +> : ^^^^^^ someGenerics3(() => ''); >someGenerics3(() => '') : void @@ -241,11 +241,11 @@ someGenerics3(() => 3); // 2 parameter generic call with argument 1 of type parameter type and argument 2 of function type whose parameter is of type parameter type function someGenerics4(n: T, f: (x: U) => void) { } >someGenerics4 : (n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -280,11 +280,11 @@ someGenerics4(null, null); // 2 parameter generic call with argument 2 of type parameter type and argument 1 of function type whose parameter is of type parameter type function someGenerics5(n: T, f: (x: U) => void) { } >someGenerics5 : (n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -319,17 +319,17 @@ someGenerics5(null, null); // Generic call with multiple arguments of function types that each have parameters of the same generic type function someGenerics6(a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) { } >someGenerics6 : (a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) => void -> : ^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : A > : ^ >c : (c: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : A > : ^ @@ -408,17 +408,17 @@ someGenerics6((n: number) => n, (n: number) => n, (n: number) => n); // Generic call with multiple arguments of function types that each have parameters of different generic type function someGenerics7(a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) { } >someGenerics7 : (a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: B) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >c : (c: C) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ @@ -497,7 +497,7 @@ someGenerics7((n: number) => n, (n: string) => n, (n: nu // Generic call with argument of generic function type function someGenerics8(n: T): T { return n; } >someGenerics8 : (n: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >n : T > : ^ >n : T @@ -522,7 +522,7 @@ x(null, null, null); // Generic call with multiple parameters of generic type passed arguments with no best common type function someGenerics9(a: T, b: T, c: T): T { >someGenerics9 : (a: T, b: T, c: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/typeArgumentInferenceApparentType1.types b/tests/baselines/reference/typeArgumentInferenceApparentType1.types index b06d03dc84f62..93838f951d3d0 100644 --- a/tests/baselines/reference/typeArgumentInferenceApparentType1.types +++ b/tests/baselines/reference/typeArgumentInferenceApparentType1.types @@ -3,7 +3,7 @@ === typeArgumentInferenceApparentType1.ts === function method(iterable: Iterable): T { >method : (iterable: Iterable) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >iterable : Iterable > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeArgumentInferenceApparentType2.types b/tests/baselines/reference/typeArgumentInferenceApparentType2.types index 6becd382103ab..cddf9c35371b5 100644 --- a/tests/baselines/reference/typeArgumentInferenceApparentType2.types +++ b/tests/baselines/reference/typeArgumentInferenceApparentType2.types @@ -3,7 +3,7 @@ === typeArgumentInferenceApparentType2.ts === function method(iterable: Iterable): T { >method : (iterable: Iterable) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >iterable : Iterable > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeArgumentInferenceConstructSignatures.types b/tests/baselines/reference/typeArgumentInferenceConstructSignatures.types index 6acfcb1f0d392..3c7dc434fc944 100644 --- a/tests/baselines/reference/typeArgumentInferenceConstructSignatures.types +++ b/tests/baselines/reference/typeArgumentInferenceConstructSignatures.types @@ -107,7 +107,7 @@ new someGenerics1(3, 4); interface someGenerics2a { new (n: (x: T) => void); >n : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -162,7 +162,7 @@ new someGenerics2a((n) => n.substr(0)); interface someGenerics2b { new (n: (x: T, y: U) => void); >n : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -230,7 +230,7 @@ new someGenerics2b((n, t) => n.substr(t * t)); interface someGenerics3 { new (producer: () => T); >producer : () => T -> : ^^^^^^^ +> : ^^^^^^ } var someGenerics3: someGenerics3; >someGenerics3 : someGenerics3 @@ -272,7 +272,7 @@ interface someGenerics4 { >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ } @@ -328,7 +328,7 @@ interface someGenerics5 { >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ } @@ -382,15 +382,15 @@ new someGenerics5(null, null); interface someGenerics6 { new (a: (a: A) => A, b: (b: A) => A, c: (c: A) => A); >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : A > : ^ >c : (c: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : A > : ^ } @@ -498,15 +498,15 @@ new someGenerics6((n: number) => n, (n: number) => n, (n: number) => n); interface someGenerics7 { new (a: (a: A) => A, b: (b: B) => B, c: (c: C) => C); >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: B) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >c : (c: C) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ } diff --git a/tests/baselines/reference/typeArgumentInferenceErrors.types b/tests/baselines/reference/typeArgumentInferenceErrors.types index 65d0689a83945..f0a66f4cdc0a2 100644 --- a/tests/baselines/reference/typeArgumentInferenceErrors.types +++ b/tests/baselines/reference/typeArgumentInferenceErrors.types @@ -4,7 +4,7 @@ // Generic call with multiple type parameters and only one used in parameter type annotation function someGenerics1(n: T, m: number) { } >someGenerics1 : (n: T, m: number) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >m : number @@ -23,11 +23,11 @@ someGenerics1(3, 4); // Error // 2 parameter generic call with argument 1 of type parameter type and argument 2 of function type whose parameter is of type parameter type function someGenerics4(n: T, f: (x: U) => void) { } >someGenerics4 : (n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -48,11 +48,11 @@ someGenerics4('', (x: string) => ''); // Error // 2 parameter generic call with argument 2 of type parameter type and argument 1 of function type whose parameter is of type parameter type function someGenerics5(n: T, f: (x: U) => void) { } >someGenerics5 : (n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -73,17 +73,17 @@ someGenerics5('', (x: string) => ''); // Error // Generic call with multiple arguments of function types that each have parameters of the same generic type function someGenerics6(a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) { } >someGenerics6 : (a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) => void -> : ^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : A > : ^ >c : (c: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : A > : ^ diff --git a/tests/baselines/reference/typeArgumentInferenceOrdering.types b/tests/baselines/reference/typeArgumentInferenceOrdering.types index 47acc01a1e740..2bd79f805e6fc 100644 --- a/tests/baselines/reference/typeArgumentInferenceOrdering.types +++ b/tests/baselines/reference/typeArgumentInferenceOrdering.types @@ -13,7 +13,7 @@ class C { interface I { x(): Goo; >x : () => Goo -> : ^^^^^^^^^ +> : ^^^^^^ } interface Goo { @@ -24,9 +24,9 @@ interface Goo { function foo(f: { y: T }): T { return null } >foo : (f: { y: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : { y: T; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >y : T > : ^ diff --git a/tests/baselines/reference/typeArgumentInferenceTransitiveConstraints.types b/tests/baselines/reference/typeArgumentInferenceTransitiveConstraints.types index 31f2532aafceb..0ef37b3feb897 100644 --- a/tests/baselines/reference/typeArgumentInferenceTransitiveConstraints.types +++ b/tests/baselines/reference/typeArgumentInferenceTransitiveConstraints.types @@ -3,7 +3,7 @@ === typeArgumentInferenceTransitiveConstraints.ts === function fn(a: A, b: B, c: C) { >fn : (a: A, b: B, c: C) => A[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/typeArgumentInferenceWithClassExpression1.types b/tests/baselines/reference/typeArgumentInferenceWithClassExpression1.types index 6dd0ff7947b76..00c71f3553055 100644 --- a/tests/baselines/reference/typeArgumentInferenceWithClassExpression1.types +++ b/tests/baselines/reference/typeArgumentInferenceWithClassExpression1.types @@ -3,7 +3,7 @@ === typeArgumentInferenceWithClassExpression1.ts === function foo(x = class { static prop: T }): T { >foo : (x?: typeof (Anonymous class)) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : typeof (Anonymous class) > : ^^^^^^^^^^^^^^^^^^^^^^^^ >class { static prop: T } : typeof (Anonymous class) diff --git a/tests/baselines/reference/typeArgumentInferenceWithClassExpression2.types b/tests/baselines/reference/typeArgumentInferenceWithClassExpression2.types index 929de30184261..4bbae82da401a 100644 --- a/tests/baselines/reference/typeArgumentInferenceWithClassExpression2.types +++ b/tests/baselines/reference/typeArgumentInferenceWithClassExpression2.types @@ -3,7 +3,7 @@ === typeArgumentInferenceWithClassExpression2.ts === function foo(x = class { prop: T }): T { >foo : (x?: typeof (Anonymous class)) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : typeof (Anonymous class) > : ^^^^^^^^^^^^^^^^^^^^^^^^ >class { prop: T } : typeof (Anonymous class) diff --git a/tests/baselines/reference/typeArgumentInferenceWithClassExpression3.types b/tests/baselines/reference/typeArgumentInferenceWithClassExpression3.types index 14de362f3ffad..675616e78ed50 100644 --- a/tests/baselines/reference/typeArgumentInferenceWithClassExpression3.types +++ b/tests/baselines/reference/typeArgumentInferenceWithClassExpression3.types @@ -3,7 +3,7 @@ === typeArgumentInferenceWithClassExpression3.ts === function foo(x = class { prop: T }): T { >foo : (x?: typeof (Anonymous class)) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : typeof (Anonymous class) > : ^^^^^^^^^^^^^^^^^^^^^^^^ >class { prop: T } : typeof (Anonymous class) diff --git a/tests/baselines/reference/typeArgumentInferenceWithConstraintAsCommonRoot.types b/tests/baselines/reference/typeArgumentInferenceWithConstraintAsCommonRoot.types index e5a509be7c39b..934353bef2ffb 100644 --- a/tests/baselines/reference/typeArgumentInferenceWithConstraintAsCommonRoot.types +++ b/tests/baselines/reference/typeArgumentInferenceWithConstraintAsCommonRoot.types @@ -15,7 +15,7 @@ interface Elephant extends Animal { z } function f(x: T, y: T): T { return undefined; } >f : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/typeArgumentInferenceWithConstraints.types b/tests/baselines/reference/typeArgumentInferenceWithConstraints.types index 635eb4679a947..afe5970033477 100644 --- a/tests/baselines/reference/typeArgumentInferenceWithConstraints.types +++ b/tests/baselines/reference/typeArgumentInferenceWithConstraints.types @@ -58,7 +58,7 @@ noGenericParams<{}>(''); // Error // Generic call with multiple type parameters and only one used in parameter type annotation function someGenerics1(n: T, m: number) { } >someGenerics1 : (n: T, m: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >m : number @@ -107,9 +107,9 @@ someGenerics1(3, 4); // Generic call with argument of function type whose parameter is of type parameter type function someGenerics2a(n: (x: T) => void) { } >someGenerics2a : (n: (x: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >n : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -159,9 +159,9 @@ someGenerics2a((n) => n.substr(0)); function someGenerics2b(n: (x: T, y: U) => void) { } >someGenerics2b : (n: (x: T, y: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >n : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -224,9 +224,9 @@ someGenerics2b((n, t) => n.substr(t * t)); // Generic call with argument of function type whose parameter is not of type parameter type but body/return type uses type parameter function someGenerics3(producer: () => T) { } >someGenerics3 : (producer: () => T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >producer : () => T -> : ^^^^^^^ +> : ^^^^^^ someGenerics3(() => ''); // Error >someGenerics3(() => '') : void @@ -261,11 +261,11 @@ someGenerics3(() => 3); // Error // 2 parameter generic call with argument 1 of type parameter type and argument 2 of function type whose parameter is of type parameter type function someGenerics4(n: T, f: (x: U) => void) { } >someGenerics4 : (n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -314,11 +314,11 @@ someGenerics4(null, null); // 2 parameter generic call with argument 2 of type parameter type and argument 1 of function type whose parameter is of type parameter type function someGenerics5(n: T, f: (x: U) => void) { } >someGenerics5 : (n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -367,17 +367,17 @@ someGenerics5(null, null); // Error // Generic call with multiple arguments of function types that each have parameters of the same generic type function someGenerics6(a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) { } >someGenerics6 : (a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : A > : ^ >c : (c: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : A > : ^ @@ -480,17 +480,17 @@ someGenerics6((n: number) => n, (n: number) => n, (n: number) => n); // Generic call with multiple arguments of function types that each have parameters of different generic type function someGenerics7(a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) { } >someGenerics7 : (a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: B) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >c : (c: C) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ @@ -569,7 +569,7 @@ someGenerics7((n: number) => n, (n: string) => n, (n: nu // Generic call with argument of generic function type function someGenerics8(n: T): T { return n; } >someGenerics8 : (n: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >n : T > : ^ >n : T @@ -594,7 +594,7 @@ x(null, null, null); // Error // Generic call with multiple parameters of generic type passed arguments with no best common type function someGenerics9(a: T, b: T, c: T): T { >someGenerics9 : (a: T, b: T, c: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/typeArgumentInferenceWithObjectLiteral.types b/tests/baselines/reference/typeArgumentInferenceWithObjectLiteral.types index 7f13c726c4a45..e427c15e78525 100644 --- a/tests/baselines/reference/typeArgumentInferenceWithObjectLiteral.types +++ b/tests/baselines/reference/typeArgumentInferenceWithObjectLiteral.types @@ -4,18 +4,18 @@ interface Computed { read(): T; >read : () => T -> : ^^^^^^^ +> : ^^^^^^ write(value: T); >write : (value: T) => any -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >value : T > : ^ } function foo(x: Computed) { } >foo : (x: Computed) => void -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : Computed > : ^^^^^^^^^^^ @@ -103,15 +103,15 @@ enum E2 { X } declare function f1(a: { w: (x: T) => U; r: () => T; }, b: T): U; >f1 : (a: { w: (x: T) => U; r: () => T; }, b: T) => U -> : ^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >a : { w: (x: T) => U; r: () => T; } -> : ^^^^^ ^ ^^^^^^ ^^^^ +> : ^^^^^ ^^^^^ ^^^ >w : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >r : () => T -> : ^^^^^^^ +> : ^^^^^^ >b : T > : ^ diff --git a/tests/baselines/reference/typeArgumentsInFunctionExpressions.types b/tests/baselines/reference/typeArgumentsInFunctionExpressions.types index 64e3fe9c897bd..acb26865dc264 100644 --- a/tests/baselines/reference/typeArgumentsInFunctionExpressions.types +++ b/tests/baselines/reference/typeArgumentsInFunctionExpressions.types @@ -3,11 +3,11 @@ === typeArgumentsInFunctionExpressions.ts === var obj = function f(a: T) { // should not error >obj : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >function f(a: T) { // should not error var x: T; return a;} : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >f : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : T > : ^ @@ -23,11 +23,11 @@ var obj = function f(a: T) { // should not error var obj2 = function f(a: T): T { // should not error >obj2 : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >function f(a: T): T { // should not error var x: T; return a;} : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >f : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/typeArgumentsOnFunctionsWithNoTypeParameters.types b/tests/baselines/reference/typeArgumentsOnFunctionsWithNoTypeParameters.types index 3b12ff8e763c2..c6752766fd759 100644 --- a/tests/baselines/reference/typeArgumentsOnFunctionsWithNoTypeParameters.types +++ b/tests/baselines/reference/typeArgumentsOnFunctionsWithNoTypeParameters.types @@ -3,9 +3,9 @@ === typeArgumentsOnFunctionsWithNoTypeParameters.ts === function foo(f: (v: T) => U) { >foo : (f: (v: T) => U) => void -> : ^^^^^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^^ >f : (v: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >v : T > : ^ diff --git a/tests/baselines/reference/typeArgumentsShouldDisallowNonGenericOverloads.types b/tests/baselines/reference/typeArgumentsShouldDisallowNonGenericOverloads.types index 0b689121975cc..3af80b46485b6 100644 --- a/tests/baselines/reference/typeArgumentsShouldDisallowNonGenericOverloads.types +++ b/tests/baselines/reference/typeArgumentsShouldDisallowNonGenericOverloads.types @@ -9,7 +9,7 @@ function foo(a: string): string; function foo(a: T): number; >foo : { (a: string): string; (a: T): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >a : T > : ^ diff --git a/tests/baselines/reference/typeArgumentsWithStringLiteralTypes01.types b/tests/baselines/reference/typeArgumentsWithStringLiteralTypes01.types index b5f9b62c95908..7a40982d064ca 100644 --- a/tests/baselines/reference/typeArgumentsWithStringLiteralTypes01.types +++ b/tests/baselines/reference/typeArgumentsWithStringLiteralTypes01.types @@ -25,7 +25,7 @@ declare function takeReturnHelloWorld(str: "Hello" | "World"): "Hello" | "World" function fun1(x: T, y: T) { >fun1 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : T @@ -46,7 +46,7 @@ function fun1(x: T, y: T) { function fun2(x: T, y: U) { >fun2 : (x: T, y: U) => T | U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >x : T > : ^ >y : U @@ -67,7 +67,7 @@ function fun2(x: T, y: U) { function fun3(...args: T[]): T { >fun3 : (...args: T[]) => T -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >args : T[] > : ^^^ diff --git a/tests/baselines/reference/typeAssertionToGenericFunctionType.types b/tests/baselines/reference/typeAssertionToGenericFunctionType.types index fd5bb2147d82d..7d3c8952a5e2d 100644 --- a/tests/baselines/reference/typeAssertionToGenericFunctionType.types +++ b/tests/baselines/reference/typeAssertionToGenericFunctionType.types @@ -3,15 +3,15 @@ === typeAssertionToGenericFunctionType.ts === var x = { >x : { a: (x: T) => T; b: (x: T_1) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >{ a: < (x: T) => T > ((x: any) => 1), b: (x: T) => { x }} : { a: (x: T) => T; b: (x: T_1) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ a: < (x: T) => T > ((x: any) => 1), >a : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >< (x: T) => T > ((x: any) => 1) : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >((x: any) => 1) : (x: any) => number @@ -25,9 +25,9 @@ var x = { b: (x: T) => { x } >b : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >(x: T) => { x } : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >x : T @@ -39,7 +39,7 @@ x.a(1); // bug was that this caused 'Could not find symbol T' on return >x.a : (x: T) => T > : ^^^^^^^^^^^^^^ >x : { a: (x: T) => T; b: (x: T_1) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: T) => T > : ^^^^^^^^^^^^^^ >1 : 1 @@ -51,7 +51,7 @@ x.b(); // error >x.b : (x: T) => void > : ^^^^^^^^^^^^^^^^^ >x : { a: (x: T) => T; b: (x: T_1) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : (x: T) => void > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeAssertions.types b/tests/baselines/reference/typeAssertions.types index bda9cb1f00a58..db6365e1d7f8c 100644 --- a/tests/baselines/reference/typeAssertions.types +++ b/tests/baselines/reference/typeAssertions.types @@ -4,7 +4,7 @@ // Function call whose argument is a 1 arg generic function call with explicit type arguments function fn1(t: T) { } >fn1 : (t: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/typeFromParamTagForFunction.types b/tests/baselines/reference/typeFromParamTagForFunction.types index 999f17ea3a2b8..c9bec42bc92eb 100644 --- a/tests/baselines/reference/typeFromParamTagForFunction.types +++ b/tests/baselines/reference/typeFromParamTagForFunction.types @@ -102,7 +102,7 @@ const { B } = require("./b-ext"); /** @param {B} p */ function b(p) { p.x; } >b : (p: B) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : B > : ^ >p.x : number @@ -143,7 +143,7 @@ const { C } = require("./c-ext"); /** @param {C} p */ function c(p) { p.x; } >c : (p: C) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : C > : ^ >p.x : number @@ -230,7 +230,7 @@ const { E } = require("./e-ext"); /** @param {E} p */ function e(p) { p.x; } >e : (p: E) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : E > : ^ >p.x : number @@ -293,7 +293,7 @@ function G() { /** @param {G} p */ function g(p) { p.x; } >g : (p: G) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : G > : ^ >p.x : number @@ -325,7 +325,7 @@ class H { /** @param {H} p */ function h(p) { p.x; } >h : (p: H) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >p : H > : ^ >p.x : number diff --git a/tests/baselines/reference/typeGuardConstructorClassAndNumber.types b/tests/baselines/reference/typeGuardConstructorClassAndNumber.types index 835d6c3b61070..ad3a14d3f4797 100644 --- a/tests/baselines/reference/typeGuardConstructorClassAndNumber.types +++ b/tests/baselines/reference/typeGuardConstructorClassAndNumber.types @@ -485,7 +485,7 @@ else { function foo(instance: Function | object) { >foo : (instance: Function | object) => number -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ >instance : object | Function > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeGuardFunction.types b/tests/baselines/reference/typeGuardFunction.types index 8fd49c4ca6907..fedd9eef0388a 100644 --- a/tests/baselines/reference/typeGuardFunction.types +++ b/tests/baselines/reference/typeGuardFunction.types @@ -47,7 +47,7 @@ declare function isC(p1: any): p1 is C; declare function retC(): C; >retC : () => C -> : ^^^^^^^ +> : ^^^^^^ var a: A; >a : A @@ -156,11 +156,11 @@ if (isC_multipleParams(a, 0)) { // Methods var obj: { >obj : { func1(p1: A): p1 is C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ func1(p1: A): p1 is C; >func1 : (p1: A) => p1 is C -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >p1 : A > : ^ } @@ -170,7 +170,7 @@ class D { method1(p1: A): p1 is C { >method1 : (p1: A) => p1 is C -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >p1 : A > : ^ @@ -183,9 +183,9 @@ class D { // Arrow function let f1 = (p1: A): p1 is C => false; >f1 : (p1: A) => p1 is C -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >(p1: A): p1 is C => false : (p1: A) => p1 is C -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >p1 : A > : ^ >false : false @@ -194,9 +194,9 @@ let f1 = (p1: A): p1 is C => false; // Function type declare function f2(p1: (p1: A) => p1 is C); >f2 : (p1: (p1: A) => p1 is C) => any -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ >p1 : (p1: A) => p1 is C -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >p1 : A > : ^ @@ -206,7 +206,7 @@ f2(function(p1: A): p1 is C { >f2 : (p1: (p1: A) => p1 is C) => any > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >function(p1: A): p1 is C { return true;} : (p1: A) => p1 is C -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^ >p1 : A > : ^ @@ -237,7 +237,7 @@ acceptingBoolean(isA(a)); // Type predicates with different parameter name. declare function acceptingTypeGuardFunction(p1: (item) => item is A); >acceptingTypeGuardFunction : (p1: (item: any) => item is A) => any -> : ^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^^ ^^^ ^^^^^^^^ >p1 : (item: any) => item is A > : ^^^^^^^^^^^^^^^^^^^^^^^^ >item : any diff --git a/tests/baselines/reference/typeGuardFunctionErrors.types b/tests/baselines/reference/typeGuardFunctionErrors.types index ba3960e40c30a..553e86bf5abfc 100644 --- a/tests/baselines/reference/typeGuardFunctionErrors.types +++ b/tests/baselines/reference/typeGuardFunctionErrors.types @@ -98,7 +98,7 @@ function hasNonMatchingParameter(y): x is A { function hasNonMatchingParameterType1(x: A): x is B { >hasNonMatchingParameterType1 : (x: A) => x is B -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : A > : ^ @@ -222,7 +222,7 @@ if (hasNoTypeGuard(a)) { // Type predicate type is not assignable declare function acceptingDifferentSignatureTypeGuardFunction(p1: (p1) => p1 is B); >acceptingDifferentSignatureTypeGuardFunction : (p1: (p1: any) => p1 is B) => any -> : ^^^^^ ^^^ ^^^^^^^^^ +> : ^^^^^ ^^^ ^^^^^^^^ >p1 : (p1: any) => p1 is B > : ^^^^^^^^^^^^^^^^^^^^ >p1 : any @@ -340,7 +340,7 @@ function b2(a: b is A) {}; function b3(): A | b is A { >b3 : () => A | b -> : ^^^^^^^ +> : ^^^^^^ >is : any > : ^^^ >A : typeof A @@ -510,7 +510,7 @@ type KeySet = { [k in T]: true } // expected an error, since Keys doesn't have a 'd' declare function hasKey(x: KeySet): x is KeySet; >hasKey : (x: KeySet) => x is KeySet -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : KeySet > : ^^^^^^^^^ diff --git a/tests/baselines/reference/typeGuardFunctionGenerics.types b/tests/baselines/reference/typeGuardFunctionGenerics.types index b80eb73ff193b..37f33c4c7753d 100644 --- a/tests/baselines/reference/typeGuardFunctionGenerics.types +++ b/tests/baselines/reference/typeGuardFunctionGenerics.types @@ -42,34 +42,34 @@ declare function isC(p1): p1 is C; declare function retC(x): C; >retC : (x: any) => C -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ >x : any declare function funA(p1: (p1) => T): T; >funA : (p1: (p1: any) => T) => T -> : ^^^^^^^^ ^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^ ^^^^^ >p1 : (p1: any) => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >p1 : any declare function funB(p1: (p1) => T, p2: any): p2 is T; >funB : (p1: (p1: any) => T, p2: any) => p2 is T -> : ^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^ >p1 : (p1: any) => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ >p1 : any >p2 : any declare function funC(p1: (p1) => p1 is T): T; >funC : (p1: (p1: any) => p1 is T) => T -> : ^^^^^^^^ ^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^ ^^^^^ >p1 : (p1: any) => p1 is T > : ^^^^^^^^^^^^^^^^^^^^ >p1 : any declare function funD(p1: (p1) => p1 is T, p2: any): p2 is T; >funD : (p1: (p1: any) => p1 is T, p2: any) => p2 is T -> : ^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^ >p1 : (p1: any) => p1 is T > : ^^^^^^^^^^^^^^^^^^^^ >p1 : any @@ -77,7 +77,7 @@ declare function funD(p1: (p1) => p1 is T, p2: any): p2 is T; declare function funE(p1: (p1) => p1 is T, p2: U): T; >funE : (p1: (p1: any) => p1 is T, p2: U) => T -> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^ ^^^ ^^^^^^ ^^^^^ >p1 : (p1: any) => p1 is T > : ^^^^^^^^^^^^^^^^^^^^ >p1 : any diff --git a/tests/baselines/reference/typeGuardIntersectionTypes.types b/tests/baselines/reference/typeGuardIntersectionTypes.types index 5add265070142..6c89e6edba7d5 100644 --- a/tests/baselines/reference/typeGuardIntersectionTypes.types +++ b/tests/baselines/reference/typeGuardIntersectionTypes.types @@ -36,7 +36,7 @@ declare function isZ(obj: any): obj is Z; function f1(obj: Object) { >f1 : (obj: Object) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Object > : ^^^^^^ @@ -132,7 +132,7 @@ function isB(toTest: any): toTest is B { // a function that turns an A into an A & B function union(a: A): A & B | null { >union : (a: A) => (A & B) | null -> : ^^^^^^^^^^^^ ^^ +> : ^^^^ ^^^^^^ ^ >a : A > : ^ @@ -179,7 +179,7 @@ interface Winged { wings: boolean; } // Beast feature detection via user-defined type guards function hasLegs(x: Beast): x is Legged { return x && typeof x.legs === 'number'; } >hasLegs : (x: Beast) => x is Legged -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >x : Beast > : ^^^^^ >x && typeof x.legs === 'number' : boolean @@ -201,7 +201,7 @@ function hasLegs(x: Beast): x is Legged { return x && typeof x.legs === 'number' function hasWings(x: Beast): x is Winged { return x && !!x.wings; } >hasWings : (x: Beast) => x is Winged -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >x : Beast > : ^^^^^ >x && !!x.wings : boolean @@ -222,7 +222,7 @@ function hasWings(x: Beast): x is Winged { return x && !!x.wings; } // Function to identify a given beast by detecting its features function identifyBeast(beast: Beast) { >identifyBeast : (beast: Beast) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >beast : Beast > : ^^^^^ @@ -351,7 +351,7 @@ function identifyBeast(beast: Beast) { function beastFoo(beast: Object) { >beastFoo : (beast: Object) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >beast : Object > : ^^^^^^ diff --git a/tests/baselines/reference/typeGuardNarrowByMutableUntypedField.types b/tests/baselines/reference/typeGuardNarrowByMutableUntypedField.types index 9a744438a5c99..1e6b06ad520fe 100644 --- a/tests/baselines/reference/typeGuardNarrowByMutableUntypedField.types +++ b/tests/baselines/reference/typeGuardNarrowByMutableUntypedField.types @@ -3,7 +3,7 @@ === typeGuardNarrowByMutableUntypedField.ts === declare function hasOwnProperty

(target: {}, property: P): target is { [K in P]: unknown }; >hasOwnProperty :

(target: {}, property: P) => target is { [K in P]: unknown; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >target : {} > : ^^ >property : P diff --git a/tests/baselines/reference/typeGuardNarrowByUntypedField.types b/tests/baselines/reference/typeGuardNarrowByUntypedField.types index b9b53bea54a7b..bc9a0f96558e5 100644 --- a/tests/baselines/reference/typeGuardNarrowByUntypedField.types +++ b/tests/baselines/reference/typeGuardNarrowByUntypedField.types @@ -3,7 +3,7 @@ === typeGuardNarrowByUntypedField.ts === declare function hasOwnProperty

(target: {}, property: P): target is { readonly [K in P]: unknown }; >hasOwnProperty :

(target: {}, property: P) => target is { readonly [K in P]: unknown; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >target : {} > : ^^ >property : P diff --git a/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty1.types b/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty1.types index 09fd81589e2a5..deae42d2fea13 100644 --- a/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty1.types +++ b/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty1.types @@ -47,15 +47,15 @@ interface Square { interface Subshape { "0": { >"0" : { sub: { under: { shape: Shape; }; }; } -> : ^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^ ^^^ sub: { >sub : { under: { shape: Shape; }; } -> : ^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^ ^^^ under: { >under : { shape: Shape; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ shape: Shape; >shape : Shape @@ -66,7 +66,7 @@ interface Subshape { } function area(s: Shape): number { >area : (s: Shape) => number -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : Shape > : ^^^^^ @@ -143,7 +143,7 @@ function area(s: Shape): number { } function subarea(s: Subshape): number { >subarea : (s: Subshape) => number -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >s : Subshape > : ^^^^^^^^ @@ -369,7 +369,7 @@ type C = A | B; function check(z: Z, c: C) { >check : (z: Z, c: C) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >z : Z > : ^ >c : C diff --git a/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty10.types b/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty10.types index d8f2670b2886f..7d988acdc2c52 100644 --- a/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty10.types +++ b/tests/baselines/reference/typeGuardNarrowsIndexedAccessOfKnownProperty10.types @@ -15,7 +15,7 @@ const bar: { [id: string]: number } = {}; (foo: Foo) => { >(foo: Foo) => { bar[id]++; const id = foo.bar;} : (foo: Foo) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >foo : Foo > : ^^^ diff --git a/tests/baselines/reference/typeGuardNarrowsPrimitiveIntersection.types b/tests/baselines/reference/typeGuardNarrowsPrimitiveIntersection.types index 0db402789c058..485b020dacdd3 100644 --- a/tests/baselines/reference/typeGuardNarrowsPrimitiveIntersection.types +++ b/tests/baselines/reference/typeGuardNarrowsPrimitiveIntersection.types @@ -14,7 +14,7 @@ declare function isNonBlank(value: string) : value is (string & Tag); declare function doThis(value: string & Tag): void; >doThis : (value: string & Tag) => void -> : ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : string & Tag > : ^^^^^^^^^^^^ @@ -67,7 +67,7 @@ declare function isNonBlank2(value: string) : value is (string & Tag2); declare function doThis2(value: string & Tag2): void; >doThis2 : (value: string & Tag2) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : never > : ^^^^^ diff --git a/tests/baselines/reference/typeGuardOfFormFunctionEquality.types b/tests/baselines/reference/typeGuardOfFormFunctionEquality.types index ca581e865741d..160f86e1c5807 100644 --- a/tests/baselines/reference/typeGuardOfFormFunctionEquality.types +++ b/tests/baselines/reference/typeGuardOfFormFunctionEquality.types @@ -3,7 +3,7 @@ === typeGuardOfFormFunctionEquality.ts === declare function isString1(a: number, b: Object): b is string; >isString1 : (a: number, b: Object) => b is string -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ >a : number > : ^^^^^^ >b : Object @@ -11,7 +11,7 @@ declare function isString1(a: number, b: Object): b is string; declare function isString2(a: Object): a is string; >isString2 : (a: Object) => a is string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^ >a : Object > : ^^^^^^ @@ -58,7 +58,7 @@ var x = isString1(0, "") === isString2(""); function isString3(a: number, b: number, c: Object): c is string { >isString3 : (a: number, b: number, c: Object) => c is string -> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ >a : number > : ^^^^^^ >b : number diff --git a/tests/baselines/reference/typeGuardOfFormTypeOfFunction.types b/tests/baselines/reference/typeGuardOfFormTypeOfFunction.types index aeaa41071ac66..c5ac497577f87 100644 --- a/tests/baselines/reference/typeGuardOfFormTypeOfFunction.types +++ b/tests/baselines/reference/typeGuardOfFormTypeOfFunction.types @@ -66,7 +66,7 @@ function f3(x: {}) { function f4(x: T) { >f4 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -223,7 +223,7 @@ function f12(x: { s: string } | { n: number }) { function f100(obj: T, keys: K[]) : void { >f100 : (obj: T, keys: K[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >obj : T > : ^ >keys : K[] @@ -272,7 +272,7 @@ function f100(obj: T, keys: K[]) : void { function configureStore(reducer: (() => void) | Record void>) { >configureStore : (reducer: (() => void) | Record void>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >reducer : Record void> | (() => void) > : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ @@ -302,7 +302,7 @@ function configureStore(reducer: (() => void) | Record) { >f101 : (x: string | Record) => any -> : ^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^^^^ >x : string | Record > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeGuardOfFromPropNameInUnionType.types b/tests/baselines/reference/typeGuardOfFromPropNameInUnionType.types index a8d6d7ac8e7b7..7e766b28fc7d4 100644 --- a/tests/baselines/reference/typeGuardOfFromPropNameInUnionType.types +++ b/tests/baselines/reference/typeGuardOfFromPropNameInUnionType.types @@ -27,7 +27,7 @@ class D { a: Date; } function namedClasses(x: A | B) { >namedClasses : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -68,7 +68,7 @@ function namedClasses(x: A | B) { function multipleClasses(x: A | B | C | D) { >multipleClasses : (x: A | B | C | D) => void -> : ^^^^^ ^ ^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B | C | D > : ^^^^^^^^^^^^^ @@ -158,7 +158,7 @@ class BWithOptionalProp { b?: string; } function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithOptionalProp) { >positiveTestClassesWithOptionalProperties : (x: AWithOptionalProp | BWithOptionalProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : AWithOptionalProp | BWithOptionalProp > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -215,7 +215,7 @@ function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithO function inParenthesizedExpression(x: A | B) { >inParenthesizedExpression : (x: A | B) => void -> : ^^^^^ ^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : A | B > : ^^^^^ @@ -260,7 +260,7 @@ class ClassWithUnionProp { prop: A | B; } function inProperty(x: ClassWithUnionProp) { >inProperty : (x: ClassWithUnionProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : ClassWithUnionProp > : ^^^^^^^^^^^^^^^^^^ @@ -315,7 +315,7 @@ class NestedClassWithProp { outer: ClassWithUnionProp; } function innestedProperty(x: NestedClassWithProp) { >innestedProperty : (x: NestedClassWithProp) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : NestedClassWithProp > : ^^^^^^^^^^^^^^^^^^^ @@ -474,7 +474,7 @@ interface Indexed { function f(i: Indexed) { >f : (i: Indexed) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >i : Indexed > : ^^^^^^^ diff --git a/tests/baselines/reference/typeGuardsAsAssertions.types b/tests/baselines/reference/typeGuardsAsAssertions.types index 5afe9ab8fa75c..be20d093507f9 100644 --- a/tests/baselines/reference/typeGuardsAsAssertions.types +++ b/tests/baselines/reference/typeGuardsAsAssertions.types @@ -31,7 +31,7 @@ export const none : None = { none: '' }; export function isSome(value: Optional): value is Some { >isSome : (value: Optional) => value is Some -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >value : Optional > : ^^^^^^^^^^^ @@ -46,7 +46,7 @@ export function isSome(value: Optional): value is Some { function someFrom(some: a) { >someFrom : (some: a) => { some: a; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ >some : a > : ^ @@ -59,9 +59,9 @@ function someFrom(some: a) { export function fn(makeSome: () => r): void { >fn : (makeSome: () => r) => void -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >makeSome : () => r -> : ^^^^^^^ +> : ^^^^^^ let result: Optional = none; >result : Optional diff --git a/tests/baselines/reference/typeGuardsNestedAssignments.types b/tests/baselines/reference/typeGuardsNestedAssignments.types index a4bc8b61106ba..561b225b0ccfd 100644 --- a/tests/baselines/reference/typeGuardsNestedAssignments.types +++ b/tests/baselines/reference/typeGuardsNestedAssignments.types @@ -12,7 +12,7 @@ class Foo { declare function getFooOrNull(): Foo | null; >getFooOrNull : () => Foo | null -> : ^^^^^^^^^ +> : ^^^^^^ declare function getStringOrNumberOrNull(): string | number | null; >getStringOrNumberOrNull : () => string | number | null diff --git a/tests/baselines/reference/typeGuardsTypeParameters.types b/tests/baselines/reference/typeGuardsTypeParameters.types index 3c5f16e4eef8b..8c251c64efd4d 100644 --- a/tests/baselines/reference/typeGuardsTypeParameters.types +++ b/tests/baselines/reference/typeGuardsTypeParameters.types @@ -14,7 +14,7 @@ class C { function f1(x: T) { >f1 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -50,7 +50,7 @@ function f1(x: T) { function f2(x: T) { >f2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -90,7 +90,7 @@ function f2(x: T) { function fun(item: { [P in keyof T]: T[P] }) { >fun : (item: { [P in keyof T]: T[P]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >item : { [P in keyof T]: T[P]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeGuardsWithInstanceOf.types b/tests/baselines/reference/typeGuardsWithInstanceOf.types index 5e9029757fb46..97f3d2b767f42 100644 --- a/tests/baselines/reference/typeGuardsWithInstanceOf.types +++ b/tests/baselines/reference/typeGuardsWithInstanceOf.types @@ -49,14 +49,14 @@ if (!(result instanceof RegExp)) { interface OnChanges { onChanges(changes: Record): void >onChanges : (changes: Record) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >changes : Record > : ^^^^^^^^^^^^^^^^^^^^^^^ } interface Validator { validate(): null | Record; >validate : () => null | Record -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ } class C { diff --git a/tests/baselines/reference/typeGuardsWithInstanceOfByConstructorSignature.types b/tests/baselines/reference/typeGuardsWithInstanceOfByConstructorSignature.types index 7d5aea0c7632a..ead83b478a5aa 100644 --- a/tests/baselines/reference/typeGuardsWithInstanceOfByConstructorSignature.types +++ b/tests/baselines/reference/typeGuardsWithInstanceOfByConstructorSignature.types @@ -312,7 +312,7 @@ interface D { } declare var D: { new (): D; }; >D : new () => D -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ var obj7: D | string; >obj7 : string | D diff --git a/tests/baselines/reference/typeGuardsWithInstanceOfBySymbolHasInstance.types b/tests/baselines/reference/typeGuardsWithInstanceOfBySymbolHasInstance.types index fc80a22a023d1..4c52293c595e8 100644 --- a/tests/baselines/reference/typeGuardsWithInstanceOfBySymbolHasInstance.types +++ b/tests/baselines/reference/typeGuardsWithInstanceOfBySymbolHasInstance.types @@ -346,7 +346,7 @@ interface D { } declare var D: { >D : { new (): D; [Symbol.hasInstance](value: unknown): value is D; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ new (): D; [Symbol.hasInstance](value: unknown): value is D; diff --git a/tests/baselines/reference/typeIdentityConsidersBrands.types b/tests/baselines/reference/typeIdentityConsidersBrands.types index a9f3810288630..08229d676dd4e 100644 --- a/tests/baselines/reference/typeIdentityConsidersBrands.types +++ b/tests/baselines/reference/typeIdentityConsidersBrands.types @@ -39,7 +39,7 @@ class Y_1 { function foo(arg: X){} >foo : (arg: X) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : X > : ^ @@ -93,7 +93,7 @@ var b2 = new X_1(); function foo2(arg: X_1) { } >foo2 : (arg: X_1) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : X_1 > : ^^^ diff --git a/tests/baselines/reference/typeInferenceCacheInvalidation.types b/tests/baselines/reference/typeInferenceCacheInvalidation.types index 880a19672c4ca..2b42bcf556e07 100644 --- a/tests/baselines/reference/typeInferenceCacheInvalidation.types +++ b/tests/baselines/reference/typeInferenceCacheInvalidation.types @@ -13,7 +13,7 @@ type Callback = (foo: TFoo, bar: TBar) => any declare function example>( >example : >(foo: TFoo, callback: TCallback, bar: TBar) => TCallback -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^ foo: TFoo, >foo : TFoo diff --git a/tests/baselines/reference/typeInferenceConflictingCandidates.types b/tests/baselines/reference/typeInferenceConflictingCandidates.types index 93635c585ccfd..702e2fcf469cc 100644 --- a/tests/baselines/reference/typeInferenceConflictingCandidates.types +++ b/tests/baselines/reference/typeInferenceConflictingCandidates.types @@ -3,13 +3,13 @@ === typeInferenceConflictingCandidates.ts === declare function g(a: T, b: T, c: (t: T) => T): T; >g : (a: T, b: T, c: (t: T) => T) => T -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T > : ^ >c : (t: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/typeInferenceFBoundedTypeParams.types b/tests/baselines/reference/typeInferenceFBoundedTypeParams.types index deba66b6d93b5..bc4e5a30190c8 100644 --- a/tests/baselines/reference/typeInferenceFBoundedTypeParams.types +++ b/tests/baselines/reference/typeInferenceFBoundedTypeParams.types @@ -5,13 +5,13 @@ function fold(values: a[], result: r, fold: (result: r, value: a) => r): r { >fold : (values: a[], result: r, fold: (result: r, value: a) => r) => r -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >values : a[] > : ^^^ >result : r > : ^ >fold : (result: r, value: a) => r -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^ >result : r > : ^ >value : a @@ -44,7 +44,7 @@ function fold(values: a[], result: r, fold: (result: r, value: a) => r): r function append(values: a[], value: b): a[] { >append : (values: a[], value: b) => a[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >values : a[] > : ^^^ >value : b diff --git a/tests/baselines/reference/typeInferenceFixEarly.types b/tests/baselines/reference/typeInferenceFixEarly.types index 3b65417adfed1..44f71a1405981 100644 --- a/tests/baselines/reference/typeInferenceFixEarly.types +++ b/tests/baselines/reference/typeInferenceFixEarly.types @@ -3,9 +3,9 @@ === typeInferenceFixEarly.ts === declare function f(p: (t: T) => T): T; >f : (p: (t: T) => T) => T -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : (t: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/typeInferenceLiteralUnion.types b/tests/baselines/reference/typeInferenceLiteralUnion.types index 1edc39aa5731b..9e1f2b5e4d7ca 100644 --- a/tests/baselines/reference/typeInferenceLiteralUnion.types +++ b/tests/baselines/reference/typeInferenceLiteralUnion.types @@ -62,7 +62,7 @@ class NumCoercible { */ export function extent(array: Array): [T | Primitive, T | Primitive] | [undefined, undefined] { >extent : (array: Array) => [T | Primitive, T | Primitive] | [undefined, undefined] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >array : (Primitive | T)[] > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeInferenceReturnTypeCallback.types b/tests/baselines/reference/typeInferenceReturnTypeCallback.types index 67f0bd002a0ad..8c5c3d06e7f75 100644 --- a/tests/baselines/reference/typeInferenceReturnTypeCallback.types +++ b/tests/baselines/reference/typeInferenceReturnTypeCallback.types @@ -4,9 +4,9 @@ interface IList { map(f: (t: A) => B): IList; >map : (f: (t: A) => B) => IList -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >f : (t: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : A > : ^ } @@ -17,9 +17,9 @@ class Nil implements IList{ map(f: (t: C) => D): IList { >map : (f: (t: C) => D) => IList -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >f : (t: C) => D -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : C > : ^ @@ -33,9 +33,9 @@ class Cons implements IList{ map(f: (t: T) => U): IList { >map : (f: (t: T) => U) => IList -> : ^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >f : (t: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ @@ -70,11 +70,11 @@ class Cons implements IList{ foldRight(z: E, f: (t: T, acc: E) => E): E { >foldRight : (z: E, f: (t: T, acc: E) => E) => E -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >z : E > : ^ >f : (t: T, acc: E) => E -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^^^^ >t : T > : ^ >acc : E diff --git a/tests/baselines/reference/typeInferenceTypePredicate.types b/tests/baselines/reference/typeInferenceTypePredicate.types index 8bacde9b8728e..52cc535fbd153 100644 --- a/tests/baselines/reference/typeInferenceTypePredicate.types +++ b/tests/baselines/reference/typeInferenceTypePredicate.types @@ -3,7 +3,7 @@ === typeInferenceTypePredicate.ts === declare function f(predicate: (x: {}) => x is T): T; >f : (predicate: (x: {}) => x is T) => T -> : ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >predicate : (x: {}) => x is T > : ^^^^ ^^^^^^^^^^^ >x : {} diff --git a/tests/baselines/reference/typeInferenceWithExcessProperties.types b/tests/baselines/reference/typeInferenceWithExcessProperties.types index 7af86187fc430..0903fe429316d 100644 --- a/tests/baselines/reference/typeInferenceWithExcessProperties.types +++ b/tests/baselines/reference/typeInferenceWithExcessProperties.types @@ -11,7 +11,7 @@ interface Named { function parrot(obj: T): T { >parrot : (obj: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : T > : ^ diff --git a/tests/baselines/reference/typeInferenceWithExcessPropertiesJsx.types b/tests/baselines/reference/typeInferenceWithExcessPropertiesJsx.types index 48f034f56071c..63b9d423d6c27 100644 --- a/tests/baselines/reference/typeInferenceWithExcessPropertiesJsx.types +++ b/tests/baselines/reference/typeInferenceWithExcessPropertiesJsx.types @@ -43,7 +43,7 @@ type TProps = { getTranslationEntry: (allTranslations: Translations) => Entry, >getTranslationEntry : (allTranslations: Translations) => Entry -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ >allTranslations : Translations > : ^^^^^^^^^^^^ @@ -56,7 +56,7 @@ type TProps = { declare function T( >T : (props: TProps) => JSX.Element -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ props: TProps >props : TProps diff --git a/tests/baselines/reference/typeInferenceWithTupleType.types b/tests/baselines/reference/typeInferenceWithTupleType.types index c234a53fcacd4..e0f06752e6e4c 100644 --- a/tests/baselines/reference/typeInferenceWithTupleType.types +++ b/tests/baselines/reference/typeInferenceWithTupleType.types @@ -3,7 +3,7 @@ === typeInferenceWithTupleType.ts === function combine(x: T, y: U): [T, U] { >combine : (x: T, y: U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -52,7 +52,7 @@ var combineEle2 = combineResult[1]; // number function zip(array1: T[], array2: U[]): [[T, U]] { >zip : (array1: T[], array2: U[]) => [[T, U]] -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >array1 : T[] > : ^^^ >array2 : U[] @@ -191,13 +191,13 @@ var zipResultEleEle = zipResult[0][0]; // string declare function f1(values: [T1[], T2[]]): T1; >f1 : (values: [T1[], T2[]]) => T1 -> : ^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^ >values : [T1[], T2[]] > : ^^^^^^^^^^^^ declare function f2(values: readonly [T1[], T2[]]): T1; >f2 : (values: readonly [T1[], T2[]]) => T1 -> : ^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^ >values : readonly [T1[], T2[]] > : ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeInferenceWithTypeAnnotation.types b/tests/baselines/reference/typeInferenceWithTypeAnnotation.types index 300aa7c7b41f0..6e359b52caba7 100644 --- a/tests/baselines/reference/typeInferenceWithTypeAnnotation.types +++ b/tests/baselines/reference/typeInferenceWithTypeAnnotation.types @@ -3,9 +3,9 @@ === typeInferenceWithTypeAnnotation.ts === declare function f(p: (t: T) => T): T; >f : (p: (t: T) => T) => T -> : ^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : (t: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/typeLiteralCallback.types b/tests/baselines/reference/typeLiteralCallback.types index 1665e2a2ecbd5..547e64d1b336d 100644 --- a/tests/baselines/reference/typeLiteralCallback.types +++ b/tests/baselines/reference/typeLiteralCallback.types @@ -4,7 +4,7 @@ interface Foo { reject(arg: T): void ; >reject : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } @@ -15,17 +15,17 @@ var foo: Foo interface bar { fail(func: (arg: T) => void ): void ; >fail : (func: (arg: T) => void) => void -> : ^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >func : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ fail2(func: { (arg: T): void ; }): void ; >fail2 : (func: { (arg: T): void; }) => void -> : ^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >func : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } diff --git a/tests/baselines/reference/typeName1.types b/tests/baselines/reference/typeName1.types index 16566663879c8..89583882c953f 100644 --- a/tests/baselines/reference/typeName1.types +++ b/tests/baselines/reference/typeName1.types @@ -121,7 +121,7 @@ var x7:(s:string)=>boolean=3; var x8:{ z:I;[s:string]:{ x; y; };[n:number]:{x; y;};():boolean; }=3; >x8 : { (): boolean; [s: string]: { x: any; y: any; }; [n: number]: { x: any; y: any; }; z: I; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >z : I > : ^ >s : string @@ -153,7 +153,7 @@ var x10:I[][][][]=3; var x11:{z:I;x:boolean;}[][]=3; >x11 : { z: I; x: boolean; }[][] -> : ^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^^ >z : I > : ^ >x : boolean @@ -163,7 +163,7 @@ var x11:{z:I;x:boolean;}[][]=3; var x12:{z:I;x:boolean;y:(s:string)=>boolean;w:{ z:I;[s:string]:{ x; y; };[n:number]:{x; y;};():boolean; };}[][]=3; >x12 : { z: I; x: boolean; y: (s: string) => boolean; w: { z: I; [s: string]: { x: any; y: any; }; [n: number]: { x: any; y: any; }; (): boolean; }; }[][] -> : ^^^^^^^^^^^ ^^^^^ ^^^^^ ^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^^^^^ >z : I > : ^ >x : boolean @@ -173,7 +173,7 @@ var x12:{z:I;x:boolean;y:(s:string)=>boolean;w:{ z:I;[s:string]:{ x; y; };[n:num >s : string > : ^^^^^^ >w : { (): boolean; [s: string]: { x: any; y: any; }; [n: number]: { x: any; y: any; }; z: I; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >z : I > : ^ >s : string diff --git a/tests/baselines/reference/typeNamedUndefined1.types b/tests/baselines/reference/typeNamedUndefined1.types index 0d3bef37eea4e..6cf2dd2e4eda6 100644 --- a/tests/baselines/reference/typeNamedUndefined1.types +++ b/tests/baselines/reference/typeNamedUndefined1.types @@ -33,7 +33,7 @@ export namespace ns { export function x(p: ns.undefined) { // undefined from the namespace >x : (p: ns.undefined) => symbol -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >ns : any diff --git a/tests/baselines/reference/typeNamedUndefined2.types b/tests/baselines/reference/typeNamedUndefined2.types index b76b07a077da6..4b905c49d7976 100644 --- a/tests/baselines/reference/typeNamedUndefined2.types +++ b/tests/baselines/reference/typeNamedUndefined2.types @@ -38,7 +38,7 @@ export namespace ns { export function x(p: ns.undefined.undefined) { >x : (p: ns.undefined.undefined) => symbol -> : ^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >ns : any diff --git a/tests/baselines/reference/typeOfOnTypeArg.types b/tests/baselines/reference/typeOfOnTypeArg.types index 7a4ac6fa60526..d5b121a43d8b3 100644 --- a/tests/baselines/reference/typeOfOnTypeArg.types +++ b/tests/baselines/reference/typeOfOnTypeArg.types @@ -13,7 +13,7 @@ var A = { '': 3 }; function fill(f: B) { >fill : (f: B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >A : { '': number; } > : ^^^^^^^^^^^^^^^ >f : B diff --git a/tests/baselines/reference/typeOfThisGeneral.types b/tests/baselines/reference/typeOfThisGeneral.types index 6a953aecdf92c..86423d71ee54a 100644 --- a/tests/baselines/reference/typeOfThisGeneral.types +++ b/tests/baselines/reference/typeOfThisGeneral.types @@ -141,7 +141,7 @@ class MyTestClass { //type of 'this' in static function param list is constructor function type static staticFn(t = this) { >staticFn : (t?: typeof MyTestClass) => void -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >t : typeof MyTestClass > : ^^^^^^^^^^^^^^^^^^ >this : typeof MyTestClass @@ -407,7 +407,7 @@ class MyGenericTestClass { //type of 'this' in static function param list is constructor function type static staticFn(t = this) { >staticFn : (t?: typeof MyGenericTestClass) => void -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >t : typeof MyGenericTestClass > : ^^^^^^^^^^^^^^^^^^^^^^^^^ >this : typeof MyGenericTestClass @@ -636,9 +636,9 @@ var q1 = function (s = this) { //type of 'this' in a fat arrow expression param list is typeof globalThis var q2 = (s = this) => { >q2 : (s?: typeof globalThis) => void -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >(s = this) => { var s: typeof globalThis; s.spaaaaaaace = 4; //type of 'this' in a fat arrow expression body is typeof globalThis var t: typeof globalThis; var t = this; this.spaaaaace = 4;} : (s?: typeof globalThis) => void -> : ^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >s : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >this : typeof globalThis diff --git a/tests/baselines/reference/typeParameterAndArgumentOfSameName1.types b/tests/baselines/reference/typeParameterAndArgumentOfSameName1.types index 92eda5a8f9d2c..29c0380268fe4 100644 --- a/tests/baselines/reference/typeParameterAndArgumentOfSameName1.types +++ b/tests/baselines/reference/typeParameterAndArgumentOfSameName1.types @@ -3,7 +3,7 @@ === typeParameterAndArgumentOfSameName1.ts === function f(A: A): A { >f : (A: A) => A -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >A : A > : ^ diff --git a/tests/baselines/reference/typeParameterArgumentEquivalence.types b/tests/baselines/reference/typeParameterArgumentEquivalence.types index a22a4ab35ca16..fe19f2c98985a 100644 --- a/tests/baselines/reference/typeParameterArgumentEquivalence.types +++ b/tests/baselines/reference/typeParameterArgumentEquivalence.types @@ -13,7 +13,7 @@ function foo() { var y: (item: T) => boolean; >y : (item: T) => boolean -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ diff --git a/tests/baselines/reference/typeParameterArgumentEquivalence2.types b/tests/baselines/reference/typeParameterArgumentEquivalence2.types index 750cc9f8a8aee..bd9938b7e8ae1 100644 --- a/tests/baselines/reference/typeParameterArgumentEquivalence2.types +++ b/tests/baselines/reference/typeParameterArgumentEquivalence2.types @@ -7,13 +7,13 @@ function foo() { var x: (item: U) => boolean; >x : (item: U) => boolean -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : U > : ^ var y: (item: T) => boolean; >y : (item: T) => boolean -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ diff --git a/tests/baselines/reference/typeParameterArgumentEquivalence3.types b/tests/baselines/reference/typeParameterArgumentEquivalence3.types index b2c4c70ab115a..cd6d585a7039e 100644 --- a/tests/baselines/reference/typeParameterArgumentEquivalence3.types +++ b/tests/baselines/reference/typeParameterArgumentEquivalence3.types @@ -7,7 +7,7 @@ function foo() { var x: (item) => T; >x : (item: any) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ >item : any > : ^^^ diff --git a/tests/baselines/reference/typeParameterArgumentEquivalence4.types b/tests/baselines/reference/typeParameterArgumentEquivalence4.types index a27a9313fa5ab..45840ac3148c2 100644 --- a/tests/baselines/reference/typeParameterArgumentEquivalence4.types +++ b/tests/baselines/reference/typeParameterArgumentEquivalence4.types @@ -7,13 +7,13 @@ function foo() { var x: (item) => U; >x : (item: any) => U -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ >item : any > : ^^^ var y: (item) => T; >y : (item: any) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ >item : any > : ^^^ diff --git a/tests/baselines/reference/typeParameterArgumentEquivalence5.types b/tests/baselines/reference/typeParameterArgumentEquivalence5.types index 492441ba5245c..a10cbd46d2fef 100644 --- a/tests/baselines/reference/typeParameterArgumentEquivalence5.types +++ b/tests/baselines/reference/typeParameterArgumentEquivalence5.types @@ -7,13 +7,13 @@ function foo() { var x: () => (item) => U; >x : () => (item: any) => U -> : ^^^^^^ ^^^ ^ +> : ^^^^^^ ^^^ >item : any > : ^^^ var y: () => (item) => T; >y : () => (item: any) => T -> : ^^^^^^ ^^^ ^ +> : ^^^^^^ ^^^ >item : any > : ^^^ diff --git a/tests/baselines/reference/typeParameterAsTypeArgument.types b/tests/baselines/reference/typeParameterAsTypeArgument.types index b7786187d90cf..c863b5407944a 100644 --- a/tests/baselines/reference/typeParameterAsTypeArgument.types +++ b/tests/baselines/reference/typeParameterAsTypeArgument.types @@ -5,7 +5,7 @@ function foo(x: T, y: U) { >foo : (x: T, y: U) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typeParameterAsTypeParameterConstraint.types b/tests/baselines/reference/typeParameterAsTypeParameterConstraint.types index d3a8f75c37082..f04ddf8410cfa 100644 --- a/tests/baselines/reference/typeParameterAsTypeParameterConstraint.types +++ b/tests/baselines/reference/typeParameterAsTypeParameterConstraint.types @@ -6,7 +6,7 @@ function foo(x: T, y: U): U { return y; } >foo : (x: T, y: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -94,7 +94,7 @@ var r3 = foo({ x: 1 }, { x: 2, y: 3 }); function foo2(x: T, y: U) { return y; } >foo2 : (x: T, y: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ >length : T > : ^ >x : T diff --git a/tests/baselines/reference/typeParameterAsTypeParameterConstraint2.types b/tests/baselines/reference/typeParameterAsTypeParameterConstraint2.types index 693799bde3dd7..05aa91205e923 100644 --- a/tests/baselines/reference/typeParameterAsTypeParameterConstraint2.types +++ b/tests/baselines/reference/typeParameterAsTypeParameterConstraint2.types @@ -6,7 +6,7 @@ function foo(x: T, y: U): U { return y; } // this is now an error >foo : (x: T, y: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -57,7 +57,7 @@ var r3 = foo(1, n); function foo2(x: T, y: U) { return y; } // this is now an error >foo2 : (x: T, y: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ >length : T > : ^ >x : T diff --git a/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively.types b/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively.types index 59057c1e2b489..a425f005e7cfe 100644 --- a/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively.types +++ b/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively.types @@ -30,7 +30,7 @@ var c: C; function foo(x: T, y: U, z: V): V { return z; } >foo : (x: T, y: U, z: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -144,7 +144,7 @@ foo((x: number, y) => { }, (x) => { }, () => { }); function foo2(x: T, y: U, z: V): V { return z; } >foo2 : (x: T, y: U, z: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively2.types b/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively2.types index ce83d12a88f51..d4b777e8b810c 100644 --- a/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively2.types +++ b/tests/baselines/reference/typeParameterAsTypeParameterConstraintTransitively2.types @@ -30,7 +30,7 @@ var c: C; function foo(x: T, y: U, z: V): V { return z; } >foo : (x: T, y: U, z: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -147,7 +147,7 @@ foo((x: number, y: string) => { }, (x, y: boolean) => { }, () => { }); function foo2(x: T, y: U, z: V): V { return z; } >foo2 : (x: T, y: U, z: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typeParameterAssignability.types b/tests/baselines/reference/typeParameterAssignability.types index 5e500e99f01c0..06e8648e8ea1d 100644 --- a/tests/baselines/reference/typeParameterAssignability.types +++ b/tests/baselines/reference/typeParameterAssignability.types @@ -5,7 +5,7 @@ function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/typeParameterAssignability2.types b/tests/baselines/reference/typeParameterAssignability2.types index 41f1117e7d454..4c7b30b38bc13 100644 --- a/tests/baselines/reference/typeParameterAssignability2.types +++ b/tests/baselines/reference/typeParameterAssignability2.types @@ -5,7 +5,7 @@ function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -30,7 +30,7 @@ function foo(t: T, u: U) { function foo2(t: T, u: U) { >foo2 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -55,7 +55,7 @@ function foo2(t: T, u: U) { function foo3(t: T, u: U, v: V) { >foo3 : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -114,7 +114,7 @@ function foo3(t: T, u: U, v: V) { function foo4(t: T, u: U, v: V) { >foo4 : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -232,7 +232,7 @@ function foo4(t: T, u: U, v: V) { // same as foo4 with different type parameter ordering function foo5(t: T, u: U, v: V) { >foo5 : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -349,7 +349,7 @@ function foo5(t: T, u: U, v: V) { function foo6(t: T, u: U, v: V) { >foo6 : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/typeParameterAssignability3.types b/tests/baselines/reference/typeParameterAssignability3.types index 1a565e28a4dd4..ac0e6a5b901a8 100644 --- a/tests/baselines/reference/typeParameterAssignability3.types +++ b/tests/baselines/reference/typeParameterAssignability3.types @@ -11,7 +11,7 @@ class Foo { foo: string; } function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/typeParameterAssignmentCompat1.types b/tests/baselines/reference/typeParameterAssignmentCompat1.types index 4bc53791c4fda..d37bda88a3e4c 100644 --- a/tests/baselines/reference/typeParameterAssignmentCompat1.types +++ b/tests/baselines/reference/typeParameterAssignmentCompat1.types @@ -4,14 +4,14 @@ interface Foo { frobble(value: T): T; >frobble : (value: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } function f(): Foo { >f : () => Foo -> : ^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^^^ var x: Foo; >x : Foo @@ -40,7 +40,7 @@ class C { f(): Foo { >f : () => Foo -> : ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ var x: Foo; >x : Foo diff --git a/tests/baselines/reference/typeParameterCompatibilityAccrossDeclarations.types b/tests/baselines/reference/typeParameterCompatibilityAccrossDeclarations.types index 16bc7c9ec9c88..bd86f8e3e44b9 100644 --- a/tests/baselines/reference/typeParameterCompatibilityAccrossDeclarations.types +++ b/tests/baselines/reference/typeParameterCompatibilityAccrossDeclarations.types @@ -3,15 +3,15 @@ === typeParameterCompatibilityAccrossDeclarations.ts === var a = { >a : { x: (y: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^ >{ x: function (y: T): T { return null; }} : { x: (y: T) => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^ x: function (y: T): T { return null; } >x : (y: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >function (y: T): T { return null; } : (y: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >y : T > : ^ } @@ -31,7 +31,7 @@ var a2 = { export interface I { x(y: T): T; >x : (y: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >y : T > : ^ } diff --git a/tests/baselines/reference/typeParameterConstModifiers.types b/tests/baselines/reference/typeParameterConstModifiers.types index 1593fb7c665ff..c76d067edaf84 100644 --- a/tests/baselines/reference/typeParameterConstModifiers.types +++ b/tests/baselines/reference/typeParameterConstModifiers.types @@ -3,7 +3,7 @@ === typeParameterConstModifiers.ts === declare function f1(x: T): T; >f1 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -71,7 +71,7 @@ const x13 = f1({ a: 1, b: "c", d: ["e", 2, true, { f: "g" }] }); declare function f2(x: T | undefined): T; >f2 : (x: T | undefined) => T -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >x : T | undefined > : ^^^^^^^^^^^^^ @@ -139,7 +139,7 @@ const x23 = f2({ a: 1, b: "c", d: ["e", 2, true, { f: "g" }] }); declare function f3(x: T): T[]; >f3 : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -165,7 +165,7 @@ const x32 = f3("hello"); declare function f4(obj: [T, T]): T; >f4 : (obj: [T, T]) => T -> : ^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ >obj : [T, T] > : ^^^^^^ @@ -223,9 +223,9 @@ const x42 = f4([{ a: 1, b: 'x' }, { a: 2, b: 'y' }]); declare function f5(obj: { x: T, y: T }): T; >f5 : (obj: { x: T; y: T; }) => T -> : ^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ >obj : { x: T; y: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : T @@ -293,7 +293,7 @@ const x52 = f5({ x: { a: 1, b: 'x' }, y: { a: 2, b: 'y' } }); declare function f6(...args: T): T; >f6 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -401,7 +401,7 @@ class C1 { foo(x: U) { return x; } >foo : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ >x : U > : ^ >x : U @@ -472,9 +472,9 @@ const C2 = class {} const fx1 = (x: T) => x; >fx1 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -482,9 +482,9 @@ const fx1 = (x: T) => x; const fx2 = (x: T) => x; >fx2 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -497,7 +497,7 @@ interface I1 { x: T } // Error interface I2 { f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -552,7 +552,7 @@ type GetPath = function set(obj: T, path: P, value: GetPath) {} >set : (obj: T, path: P, value: GetPath) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >path : P @@ -590,7 +590,7 @@ set(obj, ['a', 'b', 'c'], value); declare function inners(...args: readonly [unknown, ...T, unknown]): T; >inners : (...args: readonly [unknown, ...T, unknown]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : readonly [unknown, ...T, unknown] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -614,7 +614,7 @@ const test = inners(1,2,3,4,5); declare function inners2(args: readonly [unknown, ...T, unknown]): T; >inners2 : (args: readonly [unknown, ...T, unknown]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : readonly [unknown, ...T, unknown] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -646,9 +646,9 @@ type NotEmpty> = keyof T extends never ? never : T const thing = >(o: NotEmpty) => o; >thing : >(o: NotEmpty) => NotEmpty -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >>(o: NotEmpty) => o : >(o: NotEmpty) => NotEmpty -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >o : NotEmpty > : ^^^^^^^^^^^ >o : NotEmpty @@ -674,9 +674,9 @@ type NotEmptyMapped> = keyof T extends never ? nev const thingMapped = >(o: NotEmptyMapped) => o; >thingMapped : >(o: NotEmptyMapped) => NotEmptyMapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >>(o: NotEmptyMapped) => o : >(o: NotEmptyMapped) => NotEmptyMapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >o : NotEmptyMapped > : ^^^^^^^^^^^^^^^^^ >o : NotEmptyMapped @@ -700,9 +700,9 @@ const tMapped = thingMapped({ foo: '' }); // { foo: "" } function factory_55033_minimal(cb: (...args: T) => void) { >factory_55033_minimal : (cb: (...args: T) => void) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >cb : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -727,17 +727,17 @@ const test_55033_minimal = factory_55033_minimal((b: string) => {}) function factory_55033(cb: (...args: T) => void) { >factory_55033 : (cb: (...args: T) => void) => (...args: K) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >cb : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ return function call(...args: K): K { >function call(...args: K): K { return {} as K; } : (...args: K) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >call : (...args: K) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : K > : ^ @@ -820,17 +820,17 @@ const t2_55033 = factory_55033((a: { test: number }, b: string) => {})( function factory_55033_2(cb: (...args: T) => void) { >factory_55033_2 : (cb: (...args: T) => void) => (...args: K) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >cb : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ return function call(...args: K): K { >function call(...args: K): K { return {} as K; } : (...args: K) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >call : (...args: K) => K -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : K > : ^ @@ -913,7 +913,7 @@ const t2_55033_2 = factory_55033_2((a: { test: number }, b: string) => {})( declare function fn(...args: T): T; >fn : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -933,13 +933,13 @@ const a = fn("a", false); declare function fa1(args: T): T; >fa1 : (args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ declare function fa2(args: T): T; >fa2 : (args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -969,13 +969,13 @@ fa2(["hello", 42]); declare function fb1(...args: T): T; >fb1 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ declare function fb2(...args: T): T; >fb2 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -1001,9 +1001,9 @@ fb2("hello", 42); declare function fc1(f: (...args: T) => void, ...args: T): T; >fc1 : (f: (...args: T) => void, ...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >f : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ >args : T @@ -1011,9 +1011,9 @@ declare function fc1(f: (...args: T) => void, ...args declare function fc2(f: (...args: T) => void, ...args: T): T; >fc2 : (f: (...args: T) => void, ...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >f : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ >args : T @@ -1053,19 +1053,19 @@ fc2((a: string, b: number) => {}, "hello", 42); declare function fd1(args: T): T; >fd1 : (args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ declare function fd2(args: T): T; >fd2 : (args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ declare function fd3(args: T): T; >fd3 : (args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -1149,7 +1149,7 @@ fd3([1, 2, 3]); declare function fn1(...args: T): T; >fn1 : (...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >foo : unknown[] > : ^^^^^^^^^ >args : T diff --git a/tests/baselines/reference/typeParameterConstModifiersReverseMappedTypes.types b/tests/baselines/reference/typeParameterConstModifiersReverseMappedTypes.types index 1ca33fc49afa2..465b67de908f4 100644 --- a/tests/baselines/reference/typeParameterConstModifiersReverseMappedTypes.types +++ b/tests/baselines/reference/typeParameterConstModifiersReverseMappedTypes.types @@ -3,7 +3,7 @@ === typeParameterConstModifiersReverseMappedTypes.ts === declare function test1(obj: { >test1 : (obj: { [K in keyof T]: T[K]; }) => [T, typeof obj] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -45,7 +45,7 @@ const result1 = test1({ declare function test2(obj: { >test2 : (obj: { readonly [K in keyof T]: T[K]; }) => [T, typeof obj] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { readonly [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -87,7 +87,7 @@ const result2 = test2({ declare function test3(obj: { >test3 : (obj: { -readonly [K in keyof T]: T[K]; }) => [T, typeof obj] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { -readonly [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -129,7 +129,7 @@ const result3 = test3({ declare function test4(arr: { >test4 : (arr: { [K in keyof T]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >arr : { [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -152,7 +152,7 @@ const result4 = test4(["1", 2]); declare function test5( >test5 : (...args: { [K in keyof T]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ...args: { >args : { [K in keyof T]: T[K]; } diff --git a/tests/baselines/reference/typeParameterConstModifiersWithIntersection.types b/tests/baselines/reference/typeParameterConstModifiersWithIntersection.types index be8d74d15ac10..f6aa06e24ed1e 100644 --- a/tests/baselines/reference/typeParameterConstModifiersWithIntersection.types +++ b/tests/baselines/reference/typeParameterConstModifiersWithIntersection.types @@ -14,7 +14,7 @@ interface Config { declare function test< >test : >(config: { produceThing: T1; } & TConfig) => TConfig -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ T1 extends { type: string }, >type : string @@ -23,7 +23,7 @@ declare function test< const TConfig extends Config, >(config: { produceThing: T1 } & TConfig): TConfig; >config : { produceThing: T1; } & TConfig -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >produceThing : T1 > : ^^ diff --git a/tests/baselines/reference/typeParameterConstrainedToOuterTypeParameter2.types b/tests/baselines/reference/typeParameterConstrainedToOuterTypeParameter2.types index 6f463001a06ec..b6111425b8202 100644 --- a/tests/baselines/reference/typeParameterConstrainedToOuterTypeParameter2.types +++ b/tests/baselines/reference/typeParameterConstrainedToOuterTypeParameter2.types @@ -4,7 +4,7 @@ interface A { foo(x: A>) >foo : (x: A>) => any -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^ >x : A> > : ^^^^^^^ } @@ -12,7 +12,7 @@ interface A { interface B { foo(x: B>) >foo : (x: B>) => any -> : ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^ >x : B> > : ^^^^^^^ } diff --git a/tests/baselines/reference/typeParameterConstraintInstantiation.types b/tests/baselines/reference/typeParameterConstraintInstantiation.types index e0791f9a0e71a..d03274b85366a 100644 --- a/tests/baselines/reference/typeParameterConstraintInstantiation.types +++ b/tests/baselines/reference/typeParameterConstraintInstantiation.types @@ -6,9 +6,9 @@ interface Mapper { map(f: (item: T) => U): V; >map : (f: (item: T) => U) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >f : (item: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ } diff --git a/tests/baselines/reference/typeParameterConstraints1.types b/tests/baselines/reference/typeParameterConstraints1.types index 293e47bf81d3a..fff624863a606 100644 --- a/tests/baselines/reference/typeParameterConstraints1.types +++ b/tests/baselines/reference/typeParameterConstraints1.types @@ -3,79 +3,79 @@ === typeParameterConstraints1.ts === function foo1(test: T) { } >foo1 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo2(test: T) { } >foo2 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo3(test: T) { } >foo3 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo4(test: T) { } // valid >foo4 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo5(test: T) { } // valid >foo5 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo6(test: T) { } >foo6 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo7(test: T) { } // valid >foo7 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo8(test: T) { } >foo8 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo9 (test: T) { } >foo9 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo10 (test: T) { } >foo10 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo11 (test: T) { } >foo11 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo12(test: T) { } >foo12 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ function foo13(test: T) { } >foo13 : (test: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >test : T > : ^ diff --git a/tests/baselines/reference/typeParameterEquality.types b/tests/baselines/reference/typeParameterEquality.types index bb44f7365bf21..4db8c9c0c092b 100644 --- a/tests/baselines/reference/typeParameterEquality.types +++ b/tests/baselines/reference/typeParameterEquality.types @@ -7,7 +7,7 @@ class C { get x(): (a: T) => T { return null; } >x : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ @@ -15,7 +15,7 @@ class C { >x : (a: T) => T > : ^^^^^^^^^^^^^^ >p : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ } diff --git a/tests/baselines/reference/typeParameterExplicitlyExtendsAny.types b/tests/baselines/reference/typeParameterExplicitlyExtendsAny.types index 050bbd27c0081..cb2868761a203 100644 --- a/tests/baselines/reference/typeParameterExplicitlyExtendsAny.types +++ b/tests/baselines/reference/typeParameterExplicitlyExtendsAny.types @@ -53,7 +53,7 @@ function fee2() { function f(x: T) { >f : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -111,7 +111,7 @@ class MyClass { public static displayTree1>(tree: T) { >displayTree1 : (tree: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >tree : T > : ^ diff --git a/tests/baselines/reference/typeParameterExtendingUnion1.types b/tests/baselines/reference/typeParameterExtendingUnion1.types index c64f47bff21be..a5ad05515efd0 100644 --- a/tests/baselines/reference/typeParameterExtendingUnion1.types +++ b/tests/baselines/reference/typeParameterExtendingUnion1.types @@ -23,7 +23,7 @@ class Dog extends Animal { woof } function run(a: Animal) { >run : (a: Animal) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : Animal > : ^^^^^^ @@ -40,7 +40,7 @@ function run(a: Animal) { function f(a: T) { >f : (a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/typeParameterExtendingUnion2.types b/tests/baselines/reference/typeParameterExtendingUnion2.types index d26c6d7794672..b43658f4f6ffc 100644 --- a/tests/baselines/reference/typeParameterExtendingUnion2.types +++ b/tests/baselines/reference/typeParameterExtendingUnion2.types @@ -23,7 +23,7 @@ class Dog extends Animal { woof } function run(a: Cat | Dog) { >run : (a: Cat | Dog) => void -> : ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : Cat | Dog > : ^^^^^^^^^ @@ -40,7 +40,7 @@ function run(a: Cat | Dog) { function f(a: T) { >f : (a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/typeParameterExtendsPrimitive.types b/tests/baselines/reference/typeParameterExtendsPrimitive.types index 1bec657acf840..5a944f31507e7 100644 --- a/tests/baselines/reference/typeParameterExtendsPrimitive.types +++ b/tests/baselines/reference/typeParameterExtendsPrimitive.types @@ -44,7 +44,7 @@ type IdMap = { [P in keyof T]: T[P] }; function g(i: IdMap) { >g : (i: IdMap) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >i : IdMap > : ^^^^^^^^ @@ -74,7 +74,7 @@ function g(i: IdMap) { // #17069 function h, K extends string>(array: T[], prop: K): number { >h : , K extends string>(array: T[], prop: K) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >array : T[] > : ^^^ >prop : K diff --git a/tests/baselines/reference/typeParameterExtendsUnionConstraintDistributed.types b/tests/baselines/reference/typeParameterExtendsUnionConstraintDistributed.types index 66abe65c03580..3e3cf05f06a05 100644 --- a/tests/baselines/reference/typeParameterExtendsUnionConstraintDistributed.types +++ b/tests/baselines/reference/typeParameterExtendsUnionConstraintDistributed.types @@ -7,7 +7,7 @@ type A = 1 | 2; function f(a: T): A & T { return a; } // Shouldn't error >f : (a: T) => A & T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >a : T > : ^ >a : T @@ -19,7 +19,7 @@ type B = 2 | 3; function f2(ab: T & U): (A | B) & T & U { return ab; } // Also shouldn't error >f2 : (ab: T & U) => (A | B) & T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^ ^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >ab : T & U > : ^^^^^ >ab : T & U diff --git a/tests/baselines/reference/typeParameterFixingWithConstraints.types b/tests/baselines/reference/typeParameterFixingWithConstraints.types index 295a2034c2f43..0c6dbbe0f3819 100644 --- a/tests/baselines/reference/typeParameterFixingWithConstraints.types +++ b/tests/baselines/reference/typeParameterFixingWithConstraints.types @@ -10,15 +10,15 @@ interface IBar { interface IFoo { foo(bar: TBar, bar1: (bar: TBar) => TBar, bar2: (bar: TBar) => TBar): TBar; >foo : (bar: TBar, bar1: (bar: TBar) => TBar, bar2: (bar: TBar) => TBar) => TBar -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ >bar : TBar > : ^^^^ >bar1 : (bar: TBar) => TBar -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >bar : TBar > : ^^^^ >bar2 : (bar: TBar) => TBar -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >bar : TBar > : ^^^^ } diff --git a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments.types b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments.types index 3010038ca9079..c2991c29e939d 100644 --- a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments.types +++ b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments.types @@ -3,11 +3,11 @@ === typeParameterFixingWithContextSensitiveArguments.ts === function f(y: T, f: (x: T) => U, x: T): [T, U] { return [y, f(x)]; } >f : (y: T, f: (x: T) => U, x: T) => [T, U] -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >y : T > : ^ >f : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >x : T diff --git a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments2.types b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments2.types index 643f5a92f7f40..b41b828ccceea 100644 --- a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments2.types +++ b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments2.types @@ -3,17 +3,17 @@ === typeParameterFixingWithContextSensitiveArguments2.ts === function f(y: T, y1: U, p: (z: U) => T, p1: (x: T) => U): [T, U] { return [y, p1(y)]; } >f : (y: T, y1: U, p: (z: U) => T, p1: (x: T) => U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^^ >y : T > : ^ >y1 : U > : ^ >p : (z: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >z : U > : ^ >p1 : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >[y, p1(y)] : [T, U] diff --git a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments3.types b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments3.types index d0cc46e51eb2d..342595abd3cb4 100644 --- a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments3.types +++ b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments3.types @@ -3,17 +3,17 @@ === typeParameterFixingWithContextSensitiveArguments3.ts === function f(t1: T, u1: U, pf1: (u2: U) => T, pf2: (t2: T) => U): [T, U] { return [t1, pf2(t1)]; } >f : (t1: T, u1: U, pf1: (u2: U) => T, pf2: (t2: T) => U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ >t1 : T > : ^ >u1 : U > : ^ >pf1 : (u2: U) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >u2 : U > : ^ >pf2 : (t2: T) => U -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >t2 : T > : ^ >[t1, pf2(t1)] : [T, U] diff --git a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments4.types b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments4.types index d9123365b0273..221c30b0379a0 100644 --- a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments4.types +++ b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments4.types @@ -3,17 +3,17 @@ === typeParameterFixingWithContextSensitiveArguments4.ts === function f(y: T, y1: U, p: (z: U) => T, p1: (x: T) => U): [T, U] { return [y, p1(y)]; } >f : (y: T, y1: U, p: (z: U) => T, p1: (x: T) => U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^^ >y : T > : ^ >y1 : U > : ^ >p : (z: U) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >z : U > : ^ >p1 : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >[y, p1(y)] : [T, U] diff --git a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments5.types b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments5.types index f2a46040f4df4..b81d35cbfa02d 100644 --- a/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments5.types +++ b/tests/baselines/reference/typeParameterFixingWithContextSensitiveArguments5.types @@ -3,17 +3,17 @@ === typeParameterFixingWithContextSensitiveArguments5.ts === function f(t1: T, u1: U, pf1: (u2: U) => T, pf2: (t2: T) => U): [T, U] { return [t1, pf2(t1)]; } >f : (t1: T, u1: U, pf1: (u2: U) => T, pf2: (t2: T) => U) => [T, U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ >t1 : T > : ^ >u1 : U > : ^ >pf1 : (u2: U) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >u2 : U > : ^ >pf2 : (t2: T) => U -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >t2 : T > : ^ >[t1, pf2(t1)] : [T, U] diff --git a/tests/baselines/reference/typeParameterHasSelfAsConstraint.types b/tests/baselines/reference/typeParameterHasSelfAsConstraint.types index f3904dfa01b12..03059db466b8f 100644 --- a/tests/baselines/reference/typeParameterHasSelfAsConstraint.types +++ b/tests/baselines/reference/typeParameterHasSelfAsConstraint.types @@ -3,7 +3,7 @@ === typeParameterHasSelfAsConstraint.ts === function foo(x: T): number { >foo : (x: T) => number -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/typeParameterLeak.types b/tests/baselines/reference/typeParameterLeak.types index 4cd30c862272b..cff0048852e4b 100644 --- a/tests/baselines/reference/typeParameterLeak.types +++ b/tests/baselines/reference/typeParameterLeak.types @@ -28,7 +28,7 @@ type BoxFactoryFactory = TBox extends Box ? { interface BoxFactory { getBox(): A, >getBox : () => A -> : ^^^^^^^ +> : ^^^^^^ } declare const f: BoxFactoryFactory; diff --git a/tests/baselines/reference/typeParameterOrderReversal.types b/tests/baselines/reference/typeParameterOrderReversal.types index 432ee7a6113ad..d08021eabab9a 100644 --- a/tests/baselines/reference/typeParameterOrderReversal.types +++ b/tests/baselines/reference/typeParameterOrderReversal.types @@ -10,13 +10,13 @@ interface X { // Only difference here is order of type parameters function uFirst, T>(x: U) { } >uFirst : , T>(x: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : U > : ^ function tFirst>(x: U) { } >tFirst : >(x: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint.types b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint.types index 17b588dc549d8..12e2315f3f07c 100644 --- a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint.types +++ b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint.types @@ -5,7 +5,7 @@ function foo(x: T, y: U): T { >foo : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -26,7 +26,7 @@ function foo(x: T, y: U): T { function foo2(x: T, y: U): T { >foo2 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -47,9 +47,9 @@ function foo2(x: T, y: U): T { var f = function (x: T, y: U): T { >f : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >function (x: T, y: U): T { x = y; return y;} : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -70,9 +70,9 @@ var f = function (x: T, y: U): T { var f2 = function (x: T, y: U): T { >f2 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >function (x: T, y: U): T { x = y; return y;} : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -93,9 +93,9 @@ var f2 = function (x: T, y: U): T { var f3 = (x: T, y: U): T => { >f3 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(x: T, y: U): T => { x = y; return y;} : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -116,9 +116,9 @@ var f3 = (x: T, y: U): T => { var f4 = (x: T, y: U): T => { >f4 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >(x: T, y: U): T => { x = y; return y;} : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint2.types b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint2.types index a9ed3e51406d1..4619a5a7eaec5 100644 --- a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint2.types +++ b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint2.types @@ -6,7 +6,7 @@ function foo(x: T, y: U) { >foo : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -18,7 +18,7 @@ function foo(x: T, y: U) { function baz(a: X, b: Y): T { >baz : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -41,7 +41,7 @@ function foo(x: T, y: U) { function foo2(x: T, y: U) { >foo2 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -53,7 +53,7 @@ function foo2(x: T, y: U) { function baz(a: X, b: Y): T { >baz : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -76,9 +76,9 @@ function foo2(x: T, y: U) { var f = function (x: T, y: U) { >f : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >function (x: T, y: U) { function bar() { var g = function (a: X, b: Y): T { x = y; return y; } }} : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -90,9 +90,9 @@ var f = function (x: T, y: U) { var g = function (a: X, b: Y): T { >g : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >function (a: X, b: Y): T { x = y; return y; } : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -115,9 +115,9 @@ var f = function (x: T, y: U) { var f2 = function (x: T, y: U) { >f2 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >function (x: T, y: U) { function bar() { var g = function baz(a: X, b: Y): T { x = y; return y; } }} : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -129,11 +129,11 @@ var f2 = function (x: T, y: U) { var g = function baz(a: X, b: Y): T { >g : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >function baz(a: X, b: Y): T { x = y; return y; } : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >baz : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -156,9 +156,9 @@ var f2 = function (x: T, y: U) { var f3 = (x: T, y: U) => { >f3 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >(x: T, y: U) => { function bar() { var g = (a: X, b: Y): T => { x = y; return y; } }} : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -170,9 +170,9 @@ var f3 = (x: T, y: U) => { var g = (a: X, b: Y): T => { >g : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(a: X, b: Y): T => { x = y; return y; } : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -195,9 +195,9 @@ var f3 = (x: T, y: U) => { var f4 = (x: T, y: U) => { >f4 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >(x: T, y: U) => { function bar() { var g = (a: X, b: Y): T => { x = y; return y; } }} : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -209,9 +209,9 @@ var f4 = (x: T, y: U) => { var g = (a: X, b: Y): T => { >g : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(a: X, b: Y): T => { x = y; return y; } : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y diff --git a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint3.types b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint3.types index 87091dc735e6b..5c82486bded21 100644 --- a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint3.types +++ b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint3.types @@ -39,7 +39,7 @@ interface I { foo(x: W): T; >foo : (x: W) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >x : W > : ^ } @@ -59,7 +59,7 @@ interface I2 { foo(x: W): T; >foo : (x: W) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >x : W > : ^ } diff --git a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint4.types b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint4.types index 2e800eff72797..8cd485a39b42f 100644 --- a/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint4.types +++ b/tests/baselines/reference/typeParameterUsedAsTypeParameterConstraint4.types @@ -14,7 +14,7 @@ class C { foo(x: W): T { >foo : (x: W) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >x : W > : ^ @@ -43,14 +43,14 @@ interface I { foo(x: W): T; >foo : (x: W) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ >x : W > : ^ } function foo(x: T, y: U): V { // error >foo : (x: T, y: U) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : U @@ -62,7 +62,7 @@ function foo(x: T, y: U): V { // error function baz(a: X, b: Y): T { >baz : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -85,7 +85,7 @@ function foo(x: T, y: U): V { // error function foo2(x: T, y: U): W { // error >foo2 : (x: T, y: U) => W -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : U @@ -97,7 +97,7 @@ function foo2(x: T, y: U): W { // error function baz(a: X, b: Y): T { >baz : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -120,9 +120,9 @@ function foo2(x: T, y: U): W { // error var f3 = (x: T, y: U) => { >f3 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >(x: T, y: U) => { function bar(r: X, s: Y) { // error var g = (a: X, b: Y): T => { x = y; return y; } }} : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -138,9 +138,9 @@ var f3 = (x: T, y: U) => { var g = (a: X, b: Y): T => { >g : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(a: X, b: Y): T => { x = y; return y; } : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y @@ -177,9 +177,9 @@ var f4 = (x: V, y: X) => { // error var g = (a: X, b: Y): T => { >g : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(a: X, b: Y): T => { x = y; return y; } : (a: X, b: Y) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : X > : ^ >b : Y diff --git a/tests/baselines/reference/typeParametersAndParametersInComputedNames.types b/tests/baselines/reference/typeParametersAndParametersInComputedNames.types index ace6e22465936..1a1a0a0393fab 100644 --- a/tests/baselines/reference/typeParametersAndParametersInComputedNames.types +++ b/tests/baselines/reference/typeParametersAndParametersInComputedNames.types @@ -3,7 +3,7 @@ === typeParametersAndParametersInComputedNames.ts === function foo(a: T) : string { >foo : (a: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ @@ -18,7 +18,7 @@ class A { [foo(a)](a: T) { >[foo(a)] : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >foo(a) : string > : ^^^^^^ >foo : (a: T) => string diff --git a/tests/baselines/reference/typeParametersAreIdenticalToThemselves.types b/tests/baselines/reference/typeParametersAreIdenticalToThemselves.types index da90b416fdf02..6ea8189e3ca69 100644 --- a/tests/baselines/reference/typeParametersAreIdenticalToThemselves.types +++ b/tests/baselines/reference/typeParametersAreIdenticalToThemselves.types @@ -5,13 +5,13 @@ function foo1(x: T); >foo1 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ function foo1(x: T); // no error, different declaration for each T >foo1 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -23,13 +23,13 @@ function foo1(x: T) { } function foo2(x: T); >foo2 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ function foo2(x: T); // no error, different declaration for each T >foo2 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -41,7 +41,7 @@ function foo2(x: T) { } function foo3(x: T, y: U) { >foo3 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -49,13 +49,13 @@ function foo3(x: T, y: U) { function inner(x: T); >inner : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ function inner(x: T); // error, same T >inner : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -67,13 +67,13 @@ function foo3(x: T, y: U) { function inner2(x: T); >inner2 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ function inner2(x: T); // no error, different T >inner2 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -89,13 +89,13 @@ class C { foo1(x: T); >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo1(x: T); // error, same T >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -107,7 +107,7 @@ class C { foo2(a: T, x: U); >foo2 : { (a: T, x: U): any; (a: T, x: U_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ >x : U @@ -115,7 +115,7 @@ class C { foo2(a: T, x: U); // no error, different declaration for each U >foo2 : { (a: T, x: U_1): any; (a: T, x: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >x : U @@ -131,13 +131,13 @@ class C { foo3(x: T); >foo3 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo3(x: T); // no error, different declaration for each T >foo3 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -149,13 +149,13 @@ class C { foo4(x: T); >foo4 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo4(x: T); // no error, different declaration for each T >foo4 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -172,13 +172,13 @@ class C2 { foo1(x: T); >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo1(x: T); // error, same T >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -190,7 +190,7 @@ class C2 { foo2(a: T, x: U); >foo2 : { (a: T, x: U): any; (a: T, x: U_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ >x : U @@ -198,7 +198,7 @@ class C2 { foo2(a: T, x: U); // no error, different declaration for each U >foo2 : { (a: T, x: U_1): any; (a: T, x: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >x : U @@ -214,13 +214,13 @@ class C2 { foo3(x: T); >foo3 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo3(x: T); // no error, different declaration for each T >foo3 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -234,19 +234,19 @@ class C2 { interface I { foo1(x: T); >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo1(x: T); // error, same T >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ foo2(a: T, x: U); >foo2 : { (a: T, x: U): any; (a: T, x: U_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ >x : U @@ -254,7 +254,7 @@ interface I { foo2(a: T, x: U); // no error, different declaration for each U >foo2 : { (a: T, x: U_1): any; (a: T, x: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >x : U @@ -262,25 +262,25 @@ interface I { foo3(x: T); >foo3 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo3(x: T); // no error, different declaration for each T >foo3 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ foo4(x: T); >foo4 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo4(x: T); // no error, different declaration for each T >foo4 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } @@ -288,19 +288,19 @@ interface I { interface I2 { foo1(x: T); >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo1(x: T); // error, same T >foo1 : { (x: T): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ foo2(a: T, x: U); >foo2 : { (a: T, x: U): any; (a: T, x: U_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T > : ^ >x : U @@ -308,7 +308,7 @@ interface I2 { foo2(a: T, x: U); // no error, different declaration for each U >foo2 : { (a: T, x: U_1): any; (a: T, x: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : T > : ^ >x : U @@ -316,13 +316,13 @@ interface I2 { foo3(x: T); >foo3 : { (x: T): any; (x: T_1): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ foo3(x: T); // no error, different declaration for each T >foo3 : { (x: T_1): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/typeParametersAvailableInNestedScope.types b/tests/baselines/reference/typeParametersAvailableInNestedScope.types index 00ac99484dd82..7151354185e7b 100644 --- a/tests/baselines/reference/typeParametersAvailableInNestedScope.types +++ b/tests/baselines/reference/typeParametersAvailableInNestedScope.types @@ -11,9 +11,9 @@ class C { x = (a: U) => { >x : (a: U) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(a: U) => { var y: T; return y; } : (a: U) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : U > : ^ @@ -32,7 +32,7 @@ class C { function temp(a: U) { >temp : (a: U) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : U > : ^ diff --git a/tests/baselines/reference/typeParametersAvailableInNestedScope2.types b/tests/baselines/reference/typeParametersAvailableInNestedScope2.types index 3459316525b27..b5eea746b1278 100644 --- a/tests/baselines/reference/typeParametersAvailableInNestedScope2.types +++ b/tests/baselines/reference/typeParametersAvailableInNestedScope2.types @@ -3,7 +3,7 @@ === typeParametersAvailableInNestedScope2.ts === function foo(x: T, y: U) { >foo : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -11,13 +11,13 @@ function foo(x: T, y: U) { function bar(z: V) { >bar : (z: V) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >z : V > : ^ function baz(a: W) { >baz : (a: W) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : W > : ^ diff --git a/tests/baselines/reference/typeParametersAvailableInNestedScope3.types b/tests/baselines/reference/typeParametersAvailableInNestedScope3.types index a19898f5dba3b..6902ac0bd8b81 100644 --- a/tests/baselines/reference/typeParametersAvailableInNestedScope3.types +++ b/tests/baselines/reference/typeParametersAvailableInNestedScope3.types @@ -3,13 +3,13 @@ === typeParametersAvailableInNestedScope3.ts === function foo(v: T) { >foo : (v: T) => { a: (a: T_1) => T_1; b: () => T; c: (v: T_2) => { a: (a: T_3) => T_3; b: () => T_2; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >v : T > : ^ function a(a: T) { return a; } >a : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : T > : ^ >a : T @@ -17,19 +17,19 @@ function foo(v: T) { function b(): T { return v; } >b : () => T -> : ^^^^^^^ +> : ^^^^^^ >v : T > : ^ function c(v: T) { >c : (v: T) => { a: (a: T_1) => T_1; b: () => T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >v : T > : ^ function a(a: T) { return a; } >a : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >a : T > : ^ >a : T @@ -37,7 +37,7 @@ function foo(v: T) { function b(): T { return v; } >b : () => T -> : ^^^^^^^ +> : ^^^^^^ >v : T > : ^ diff --git a/tests/baselines/reference/typeParametersShouldNotBeEqual.types b/tests/baselines/reference/typeParametersShouldNotBeEqual.types index f3b38a587f288..9275804042aba 100644 --- a/tests/baselines/reference/typeParametersShouldNotBeEqual.types +++ b/tests/baselines/reference/typeParametersShouldNotBeEqual.types @@ -3,7 +3,7 @@ === typeParametersShouldNotBeEqual.ts === function ff(x: T, y: U) { >ff : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typeParametersShouldNotBeEqual2.types b/tests/baselines/reference/typeParametersShouldNotBeEqual2.types index 7ccdf9c3884a5..e9fe7c2241605 100644 --- a/tests/baselines/reference/typeParametersShouldNotBeEqual2.types +++ b/tests/baselines/reference/typeParametersShouldNotBeEqual2.types @@ -3,7 +3,7 @@ === typeParametersShouldNotBeEqual2.ts === function ff(x: T, y: U, z: V) { >ff : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typeParametersShouldNotBeEqual3.types b/tests/baselines/reference/typeParametersShouldNotBeEqual3.types index a25d1eb2c66a4..6abff79dbce0b 100644 --- a/tests/baselines/reference/typeParametersShouldNotBeEqual3.types +++ b/tests/baselines/reference/typeParametersShouldNotBeEqual3.types @@ -3,7 +3,7 @@ === typeParametersShouldNotBeEqual3.ts === function ff(x: T, y: U) { >ff : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/typePartameterConstraintInstantiatedWithDefaultWhenCheckingDefault.types b/tests/baselines/reference/typePartameterConstraintInstantiatedWithDefaultWhenCheckingDefault.types index 6b82a41d279f5..0af998d1cfddc 100644 --- a/tests/baselines/reference/typePartameterConstraintInstantiatedWithDefaultWhenCheckingDefault.types +++ b/tests/baselines/reference/typePartameterConstraintInstantiatedWithDefaultWhenCheckingDefault.types @@ -5,7 +5,7 @@ interface Settable { set(value: V): T; >set : (value: V) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ } @@ -37,7 +37,7 @@ class Identity implements Settable, V> { } public set(value: V): Identity { >set : (value: V) => Identity -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ diff --git a/tests/baselines/reference/typePredicateASI.types b/tests/baselines/reference/typePredicateASI.types index e3eb24b18e6db..b45368c283f23 100644 --- a/tests/baselines/reference/typePredicateASI.types +++ b/tests/baselines/reference/typePredicateASI.types @@ -4,7 +4,7 @@ interface I { foo(callback: (a: any, b: any) => void): I >foo : (callback: (a: any, b: any) => void) => I -> : ^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >callback : (a: any, b: any) => void > : ^^^^ ^^^^^ ^^^^^ >a : any diff --git a/tests/baselines/reference/typePredicateAcceptingPartialOfRefinedType.types b/tests/baselines/reference/typePredicateAcceptingPartialOfRefinedType.types index 2b31fcac07a6d..49f52f287ec9a 100644 --- a/tests/baselines/reference/typePredicateAcceptingPartialOfRefinedType.types +++ b/tests/baselines/reference/typePredicateAcceptingPartialOfRefinedType.types @@ -17,7 +17,7 @@ interface Options { declare function includesAllRequiredOptions(options: Partial): options is Options; >includesAllRequiredOptions : (options: Partial) => options is Options -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ >options : Partial > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typePredicateFreshLiteralWidening.types b/tests/baselines/reference/typePredicateFreshLiteralWidening.types index dc41d5b8c2672..dfed35238cd48 100644 --- a/tests/baselines/reference/typePredicateFreshLiteralWidening.types +++ b/tests/baselines/reference/typePredicateFreshLiteralWidening.types @@ -14,15 +14,15 @@ type Narrow = (A extends Narrowable ? A : never) | ({ const satisfies = >satisfies : () => (narrow: Narrow) => Narrow -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ () => >() => (narrow: Narrow) => narrow : () => (narrow: Narrow) => Narrow -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ (narrow: Narrow) => >(narrow: Narrow) => narrow : (narrow: Narrow) => Narrow -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >narrow : Narrow > : ^^^^^^^^^^^^^^^ @@ -34,9 +34,9 @@ const satisfies = const isNotNull = (value: T | null): value is T => value !== null; >isNotNull : (value: T | null) => value is T -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ >(value: T | null): value is T => value !== null : (value: T | null) => value is T -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T | null > : ^^^^^^^^ >value !== null : boolean diff --git a/tests/baselines/reference/typePredicateInLoop.types b/tests/baselines/reference/typePredicateInLoop.types index 7a7eecfe40487..da0e7ed618dda 100644 --- a/tests/baselines/reference/typePredicateInLoop.types +++ b/tests/baselines/reference/typePredicateInLoop.types @@ -17,9 +17,9 @@ interface TypeExt extends Type { const guard = (arg: Type): arg is TypeExt => arg.type === 1; >guard : (arg: Type) => arg is TypeExt -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ >(arg: Type): arg is TypeExt => arg.type === 1 : (arg: Type) => arg is TypeExt -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ >arg : Type > : ^^^^ >arg.type === 1 : boolean @@ -35,9 +35,9 @@ const guard = (arg: Type): arg is TypeExt => arg.type === 1; const otherFunc = (arg1: Type, arg2: TypeExt): void => {}; >otherFunc : (arg1: Type, arg2: TypeExt) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >(arg1: Type, arg2: TypeExt): void => {} : (arg1: Type, arg2: TypeExt) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >arg1 : Type > : ^^^^ >arg2 : TypeExt @@ -45,7 +45,7 @@ const otherFunc = (arg1: Type, arg2: TypeExt): void => {}; export function y(arg: Type): void { >y : (arg: Type) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Type > : ^^^^ diff --git a/tests/baselines/reference/typePredicateStructuralMatch.types b/tests/baselines/reference/typePredicateStructuralMatch.types index bb4d6c13af892..1755fe2cd2fc4 100644 --- a/tests/baselines/reference/typePredicateStructuralMatch.types +++ b/tests/baselines/reference/typePredicateStructuralMatch.types @@ -55,9 +55,9 @@ type Results = Result[]; function isResponseInData(value: T | { data: T}): value is { data: T } { >isResponseInData : (value: T | { data: T; }) => value is { data: T; } -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ >value : T | { data: T; } -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ >data : T > : ^ >data : T @@ -78,7 +78,7 @@ function isResponseInData(value: T | { data: T}): value is { data: T } { function getResults1(value: Results | { data: Results }): Results { >getResults1 : (value: Results | { data: Results; }) => Results -> : ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ >value : Results | { data: Results; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >data : Results @@ -105,9 +105,9 @@ function getResults1(value: Results | { data: Results }): Results { function isPlainResponse(value: T | { data: T}): value is T { >isPlainResponse : (value: T | { data: T; }) => value is T -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ >value : T | { data: T; } -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^ >data : T > : ^ @@ -128,7 +128,7 @@ function isPlainResponse(value: T | { data: T}): value is T { function getResults2(value: Results | { data: Results }): Results { >getResults2 : (value: Results | { data: Results; }) => Results -> : ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ >value : Results | { data: Results; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >data : Results diff --git a/tests/baselines/reference/typePredicateTopLevelTypeParameter.types b/tests/baselines/reference/typePredicateTopLevelTypeParameter.types index 50dc805a5e7a3..1d5d2babbe256 100644 --- a/tests/baselines/reference/typePredicateTopLevelTypeParameter.types +++ b/tests/baselines/reference/typePredicateTopLevelTypeParameter.types @@ -52,7 +52,7 @@ const admins = ['Mike', 'Joe'].map(e => getPermissions(e)); function isDefined(a: T | undefined): a is T { >isDefined : (a: T | undefined) => a is T -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >a : T | undefined > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types index 45d58914e9426..aad469161a656 100644 --- a/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types +++ b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types @@ -14,7 +14,7 @@ declare const fruit: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } declare function isOneOf(item: T, array: readonly U[]): item is U >isOneOf : (item: T, array: readonly U[]) => item is U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ >item : T > : ^ >array : readonly U[] diff --git a/tests/baselines/reference/typePredicatesInUnion.types b/tests/baselines/reference/typePredicatesInUnion.types index 648bc1abfbcc9..2f2dccb4b5a3f 100644 --- a/tests/baselines/reference/typePredicatesInUnion.types +++ b/tests/baselines/reference/typePredicatesInUnion.types @@ -22,7 +22,7 @@ type Or = A | B; function f(o: Or, x: {}) { >f : (o: Or, x: {}) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >o : Or > : ^^ >x : {} diff --git a/tests/baselines/reference/typePredicatesInUnion2.types b/tests/baselines/reference/typePredicatesInUnion2.types index 694335ea57a4b..6cb184b2b87b8 100644 --- a/tests/baselines/reference/typePredicatesInUnion2.types +++ b/tests/baselines/reference/typePredicatesInUnion2.types @@ -13,7 +13,7 @@ declare function isNumber(x: any): x is number; declare function f(p: typeof isString | typeof isNumber): void; >f : (p: typeof isString | typeof isNumber) => void -> : ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : ((x: any) => x is string) | ((x: any) => x is number) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isString : (x: any) => x is string diff --git a/tests/baselines/reference/typePredicatesInUnion3.types b/tests/baselines/reference/typePredicatesInUnion3.types index 6fd401158a4af..b89dcc3814fdb 100644 --- a/tests/baselines/reference/typePredicatesInUnion3.types +++ b/tests/baselines/reference/typePredicatesInUnion3.types @@ -38,7 +38,7 @@ type F3 = (x: unknown) => string; function f1(x: unknown, p: P1 | P2) { >f1 : (x: unknown, p: P1 | P2) => void -> : ^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : unknown > : ^^^^^^^ >p : P1 | P2 @@ -60,7 +60,7 @@ function f1(x: unknown, p: P1 | P2) { function f2(x: unknown, p: P1 | P2 | F1) { >f2 : (x: unknown, p: P1 | P2 | F1) => void -> : ^^^^ ^^^^^^^ ^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : unknown > : ^^^^^^^ >p : P1 | P2 | F1 @@ -82,7 +82,7 @@ function f2(x: unknown, p: P1 | P2 | F1) { function f3(x: unknown, p: P1 | P2 | F2) { >f3 : (x: unknown, p: P1 | P2 | F2) => void -> : ^^^^ ^^^^^^^ ^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : unknown > : ^^^^^^^ >p : P1 | P2 | F2 @@ -104,7 +104,7 @@ function f3(x: unknown, p: P1 | P2 | F2) { function f4(x: unknown, p: P1 | P2 | F3) { >f4 : (x: unknown, p: P1 | P2 | F3) => void -> : ^^^^ ^^^^^^^ ^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : unknown > : ^^^^^^^ >p : P1 | P2 | F3 @@ -170,7 +170,7 @@ class Type2 { function assertType(_val: T) { >assertType : (_val: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ >_val : T > : ^ } diff --git a/tests/baselines/reference/typePredicatesInUnion_noMatch.types b/tests/baselines/reference/typePredicatesInUnion_noMatch.types index fb6dd71b3c48c..31a565bed7925 100644 --- a/tests/baselines/reference/typePredicatesInUnion_noMatch.types +++ b/tests/baselines/reference/typePredicatesInUnion_noMatch.types @@ -26,7 +26,7 @@ type Or = A | B; function f(o: Or, x: {}, y: {}) { >f : (o: Or, x: {}, y: {}) => void -> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >o : Or > : ^^ >x : {} diff --git a/tests/baselines/reference/typePredicatesOptionalChaining1.types b/tests/baselines/reference/typePredicatesOptionalChaining1.types index 506ad6c79a8f1..c6bd9e9e5f58a 100644 --- a/tests/baselines/reference/typePredicatesOptionalChaining1.types +++ b/tests/baselines/reference/typePredicatesOptionalChaining1.types @@ -31,7 +31,7 @@ const x: X = { // type guard function isNotNull(x: A): x is NonNullable { >isNotNull : (x: A) => x is NonNullable -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : A > : ^ diff --git a/tests/baselines/reference/typePredicatesOptionalChaining2.types b/tests/baselines/reference/typePredicatesOptionalChaining2.types index 4365838ad3393..ba9e2a70342eb 100644 --- a/tests/baselines/reference/typePredicatesOptionalChaining2.types +++ b/tests/baselines/reference/typePredicatesOptionalChaining2.types @@ -9,9 +9,9 @@ type Person = { name: string; } const getName1 = (person?: Person): string => { >getName1 : (person?: Person) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >(person?: Person): string => { return typeof person?.name === 'string' ? person?.name : '';} : (person?: Person) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >person : Person | undefined > : ^^^^^^^^^^^^^^^^^^ @@ -61,9 +61,9 @@ const isString = (value: any): value is string => { const getName2 = (person?: Person): string => { >getName2 : (person?: Person) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >(person?: Person): string => { return isString(person?.name) ? person?.name : '';} : (person?: Person) => string -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >person : Person | undefined > : ^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typePredicatesOptionalChaining3.types b/tests/baselines/reference/typePredicatesOptionalChaining3.types index 13e4588d1544e..9d27f1cb92605 100644 --- a/tests/baselines/reference/typePredicatesOptionalChaining3.types +++ b/tests/baselines/reference/typePredicatesOptionalChaining3.types @@ -20,7 +20,7 @@ declare function isNil(value: unknown): value is undefined | null; function getBreedSizeWithoutFunction(animal: Animal): string | undefined { >getBreedSizeWithoutFunction : (animal: Animal) => string | undefined -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >animal : Animal > : ^^^^^^ @@ -59,7 +59,7 @@ function getBreedSizeWithoutFunction(animal: Animal): string | undefined { function getBreedSizeWithFunction(animal: Animal): string | undefined { >getBreedSizeWithFunction : (animal: Animal) => string | undefined -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >animal : Animal > : ^^^^^^ diff --git a/tests/baselines/reference/typeReferenceDirectives11.types b/tests/baselines/reference/typeReferenceDirectives11.types index 80b6789de2d78..2010a0dcc8640 100644 --- a/tests/baselines/reference/typeReferenceDirectives11.types +++ b/tests/baselines/reference/typeReferenceDirectives11.types @@ -21,7 +21,7 @@ interface Lib { x } === /mod1.ts === export function foo(): Lib { return {x: 1} } >foo : () => Lib -> : ^^^^^^^^^ +> : ^^^^^^ >{x: 1} : { x: number; } > : ^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/typeReferenceDirectives12.types b/tests/baselines/reference/typeReferenceDirectives12.types index ce345d1156477..61fcff511ad2b 100644 --- a/tests/baselines/reference/typeReferenceDirectives12.types +++ b/tests/baselines/reference/typeReferenceDirectives12.types @@ -86,7 +86,7 @@ declare module "./main" { interface Cls { foo(): Lib; >foo : () => Lib -> : ^^^^^^^^^ +> : ^^^^^^ } namespace Cls { >Cls : typeof Cls @@ -94,7 +94,7 @@ declare module "./main" { function bar(): Lib; >bar : () => Lib -> : ^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/typeReferenceDirectives13.types b/tests/baselines/reference/typeReferenceDirectives13.types index 9be177d1927d7..a1ae4b1679731 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.types +++ b/tests/baselines/reference/typeReferenceDirectives13.types @@ -9,7 +9,7 @@ import {$} from "./ref"; export interface A { x: () => typeof $ >x : () => typeof $ -> : ^^^^^^ ^ +> : ^^^^^^ >$ : { x: number; } > : ^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/typeReferenceDirectives3.types b/tests/baselines/reference/typeReferenceDirectives3.types index d8a1a2cab0ecd..ed771843598d6 100644 --- a/tests/baselines/reference/typeReferenceDirectives3.types +++ b/tests/baselines/reference/typeReferenceDirectives3.types @@ -6,7 +6,7 @@ interface A { x: () => $ >x : () => $ -> : ^^^^^^^ +> : ^^^^^^ } === /ref.d.ts === interface $ { x } diff --git a/tests/baselines/reference/typeReferenceDirectives8.types b/tests/baselines/reference/typeReferenceDirectives8.types index fb57b0986c8d8..bfce45067c6e5 100644 --- a/tests/baselines/reference/typeReferenceDirectives8.types +++ b/tests/baselines/reference/typeReferenceDirectives8.types @@ -20,7 +20,7 @@ interface Lib { x } === /mod1.ts === export function foo(): Lib { return {x: 1} } >foo : () => Lib -> : ^^^^^^^^^ +> : ^^^^^^ >{x: 1} : { x: number; } > : ^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/typeReferenceDirectives9.types b/tests/baselines/reference/typeReferenceDirectives9.types index 282e840e97862..640b8d0e87f19 100644 --- a/tests/baselines/reference/typeReferenceDirectives9.types +++ b/tests/baselines/reference/typeReferenceDirectives9.types @@ -84,7 +84,7 @@ declare module "./main" { interface Cls { foo(): Lib; >foo : () => Lib -> : ^^^^^^^^^ +> : ^^^^^^ } namespace Cls { >Cls : typeof Cls @@ -92,7 +92,7 @@ declare module "./main" { function bar(): Lib; >bar : () => Lib -> : ^^^^^^^^^ +> : ^^^^^^ } } diff --git a/tests/baselines/reference/typeSatisfaction_errorLocations1.types b/tests/baselines/reference/typeSatisfaction_errorLocations1.types index 31e75327411ad..1e13469dec42e 100644 --- a/tests/baselines/reference/typeSatisfaction_errorLocations1.types +++ b/tests/baselines/reference/typeSatisfaction_errorLocations1.types @@ -105,13 +105,13 @@ new Cls1(obj1 satisfies unknown); function fn2(f: (...args: T) => void) { >fn2 : (f: (...args: T) => void) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >a : true > : ^^^^ >true : true > : ^^^^ >f : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ diff --git a/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=false).types b/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=false).types index 12669526eebb6..933292b593e0f 100644 --- a/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=false).types +++ b/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=false).types @@ -9,7 +9,7 @@ type Facts = { [key: string]: boolean }; declare function checkTruths(x: Facts): void; >checkTruths : (x: Facts) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Facts > : ^^^^^ diff --git a/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=true).types b/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=true).types index 12669526eebb6..933292b593e0f 100644 --- a/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=true).types +++ b/tests/baselines/reference/typeSatisfaction_propertyValueConformance1(nopropertyaccessfromindexsignature=true).types @@ -9,7 +9,7 @@ type Facts = { [key: string]: boolean }; declare function checkTruths(x: Facts): void; >checkTruths : (x: Facts) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Facts > : ^^^^^ diff --git a/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=false).types b/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=false).types index 8c8e05eb1f9d6..923f18eca167b 100644 --- a/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=false).types +++ b/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=false).types @@ -9,7 +9,7 @@ type Facts = { [key: string]: boolean }; declare function checkTruths(x: Facts): void; >checkTruths : (x: Facts) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Facts > : ^^^^^ diff --git a/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=true).types b/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=true).types index 8c8e05eb1f9d6..923f18eca167b 100644 --- a/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=true).types +++ b/tests/baselines/reference/typeSatisfaction_propertyValueConformance2(nouncheckedindexedaccess=true).types @@ -9,7 +9,7 @@ type Facts = { [key: string]: boolean }; declare function checkTruths(x: Facts): void; >checkTruths : (x: Facts) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Facts > : ^^^^^ diff --git a/tests/baselines/reference/typeTagOnFunctionReferencesGeneric.types b/tests/baselines/reference/typeTagOnFunctionReferencesGeneric.types index 487d9da302b22..adbfbc4e4e3ee 100644 --- a/tests/baselines/reference/typeTagOnFunctionReferencesGeneric.types +++ b/tests/baselines/reference/typeTagOnFunctionReferencesGeneric.types @@ -8,7 +8,7 @@ /**@type {IFn}*/ export function inJs(l) { >inJs : (m: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ >l : T > : ^ diff --git a/tests/baselines/reference/typeTagWithGenericSignature.types b/tests/baselines/reference/typeTagWithGenericSignature.types index f63dee5e16fb4..72f71506ee91e 100644 --- a/tests/baselines/reference/typeTagWithGenericSignature.types +++ b/tests/baselines/reference/typeTagWithGenericSignature.types @@ -4,7 +4,7 @@ /** @type {(param?: T) => T | undefined} */ function typed(param) { >typed : (param?: T | undefined) => T | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >param : T | undefined > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/typeUsedAsValueError.types b/tests/baselines/reference/typeUsedAsValueError.types index 08338c8a3e655..f6d14a5ee1f5f 100644 --- a/tests/baselines/reference/typeUsedAsValueError.types +++ b/tests/baselines/reference/typeUsedAsValueError.types @@ -23,7 +23,7 @@ type someType = { x: number }; function acceptsSomeType(a: someType) { >acceptsSomeType : (a: someType) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >a : someType > : ^^^^^^^^ diff --git a/tests/baselines/reference/typeVariableConstraintIntersections.types b/tests/baselines/reference/typeVariableConstraintIntersections.types index a32e2b1ca7180..2d7877b21790d 100644 --- a/tests/baselines/reference/typeVariableConstraintIntersections.types +++ b/tests/baselines/reference/typeVariableConstraintIntersections.types @@ -146,7 +146,7 @@ declare function isC(x: any): x is "c"; function foo(x: K) { >foo : (x: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : K > : ^ @@ -277,7 +277,7 @@ type OptionHandlers = { [K in Options['kind']]: (option: Options & { kind: K }) => string; >option : Options & { kind: K; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^ >kind : K > : ^ } @@ -332,9 +332,9 @@ const optionHandlers: OptionHandlers = { function handleOption(option: Options & { kind: K }): string { >handleOption : (option: Options & { kind: K; }) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >option : Options & { kind: K; } -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^ >kind : K > : ^ diff --git a/tests/baselines/reference/typeVariableConstraintedToAliasNotAssignableToUnion.types b/tests/baselines/reference/typeVariableConstraintedToAliasNotAssignableToUnion.types index 6b2dae75d71c7..152782ed51f7b 100644 --- a/tests/baselines/reference/typeVariableConstraintedToAliasNotAssignableToUnion.types +++ b/tests/baselines/reference/typeVariableConstraintedToAliasNotAssignableToUnion.types @@ -44,7 +44,7 @@ declare let someUnion: Something | SomethingElse; function fn(o: T) { >fn : (o: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >o : T > : ^ @@ -83,7 +83,7 @@ function fn(o: T) { function fn2(o: T) { >fn2 : >(o: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >o : T > : ^ diff --git a/tests/baselines/reference/typeVariableTypeGuards.types b/tests/baselines/reference/typeVariableTypeGuards.types index 9fc63269693bc..a30100b312acf 100644 --- a/tests/baselines/reference/typeVariableTypeGuards.types +++ b/tests/baselines/reference/typeVariableTypeGuards.types @@ -142,7 +142,7 @@ type Item = { function f1(obj: T) { >f1 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ @@ -176,7 +176,7 @@ function f1(obj: T) { function f2(obj: T | undefined) { >f2 : (obj: T | undefined) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T | undefined > : ^^^^^^^^^^^^^ @@ -210,7 +210,7 @@ function f2(obj: T | undefined) { function f3(obj: T | null) { >f3 : (obj: T | null) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : T | null > : ^^^^^^^^ @@ -244,7 +244,7 @@ function f3(obj: T | null) { function f4(obj: T | undefined, x: number) { >f4 : (obj: T | undefined, x: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >obj : T | undefined > : ^^^^^^^^^^^^^ >x : number @@ -270,7 +270,7 @@ function f4(obj: T | undefined, x: number) { function f5(obj: T | undefined, key: K) { >f5 : (obj: T | undefined, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : T | undefined > : ^^^^^^^^^^^^^ >key : K @@ -294,7 +294,7 @@ function f5(obj: T | undefined, key: K) { function f6 {})>(a: T) { >f6 : {})>(a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/typedArrays.types b/tests/baselines/reference/typedArrays.types index 2f787382ec338..af930e4207648 100644 --- a/tests/baselines/reference/typedArrays.types +++ b/tests/baselines/reference/typedArrays.types @@ -609,7 +609,7 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >CreateIntegerTypedArraysFromArrayLike : (obj: ArrayLike) => any[] -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -1224,11 +1224,11 @@ function CreateTypedArraysOf2() { function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number)=> number) { >CreateTypedArraysFromMapFn2 : (obj: ArrayLike, mapFn: (n: T, v: number) => number) => any[] -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >n : T > : ^ >v : number @@ -1436,7 +1436,7 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:number)=> number) { >CreateTypedArraysFromMapFn : (obj: ArrayLike, mapFn: (n: number, v: number) => number) => any[] -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1648,7 +1648,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v:number)=> number, thisArg: {}) { >CreateTypedArraysFromThisObj : (obj: ArrayLike, mapFn: (n: number, v: number) => number, thisArg: {}) => any[] -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1880,11 +1880,11 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:number)=> number, thisArg: {}) { >CreateTypedArraysFromThisObj2 : (obj: ArrayLike, mapFn: (n: T, v: number) => number, thisArg: {}) => any[] -> : ^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >n : T > : ^ >v : number diff --git a/tests/baselines/reference/typedGenericPrototypeMember.types b/tests/baselines/reference/typedGenericPrototypeMember.types index 6001ae3f835db..ca5db08e3323b 100644 --- a/tests/baselines/reference/typedGenericPrototypeMember.types +++ b/tests/baselines/reference/typedGenericPrototypeMember.types @@ -7,7 +7,7 @@ class List { add(item: T) { } >add : (item: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >item : T > : ^ } diff --git a/tests/baselines/reference/typedefOnStatements.types b/tests/baselines/reference/typedefOnStatements.types index a38c8b34cfea1..1d082646e7c21 100644 --- a/tests/baselines/reference/typedefOnStatements.types +++ b/tests/baselines/reference/typedefOnStatements.types @@ -113,7 +113,7 @@ catch (e) { */ function proof (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) { >proof : (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/typedefTagTypeResolution.types b/tests/baselines/reference/typedefTagTypeResolution.types index 448e92b719761..98cd63cdb846e 100644 --- a/tests/baselines/reference/typedefTagTypeResolution.types +++ b/tests/baselines/reference/typedefTagTypeResolution.types @@ -10,7 +10,7 @@ */ function f(x) { >f : (x: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : U > : ^ @@ -36,7 +36,7 @@ const x = 3; */ function g(vvvvv) { >g : (vvvvv: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >vvvvv : V > : ^ } diff --git a/tests/baselines/reference/typedefTagWrapping.types b/tests/baselines/reference/typedefTagWrapping.types index 22926220b73d1..ed3a37fa6c868 100644 --- a/tests/baselines/reference/typedefTagWrapping.types +++ b/tests/baselines/reference/typedefTagWrapping.types @@ -15,7 +15,7 @@ */ function callIt(func, arg) { >callIt : (func: Type1, arg: string) => boolean -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ >func : Type1 > : ^^^^^ >arg : string @@ -46,7 +46,7 @@ function callIt(func, arg) { */ function check(obj) { >check : (obj: Type2) => string | number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >obj : Type2 > : ^^^^^ @@ -91,7 +91,7 @@ function check(obj) { */ function use1(func, bool, str, num) { >use1 : (func: StringOrNumber1, bool: boolean, str: string, num: number) => string | number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ >func : StringOrNumber1 > : ^^^^^^^^^^^^^^^ >bool : boolean @@ -133,7 +133,7 @@ function use1(func, bool, str, num) { */ function use2(func, bool, str, num) { >use2 : (func: StringOrNumber2, bool: boolean, str: string, num: number) => string | number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ >func : StringOrNumber2 > : ^^^^^^^^^^^^^^^ >bool : boolean @@ -175,7 +175,7 @@ function use2(func, bool, str, num) { */ function check5(obj) { >check5 : (obj: Type5) => string | number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >obj : Type5 > : ^^^^^ @@ -219,7 +219,7 @@ function check5(obj) { */ function check6(obj) { >check6 : (obj: Type6) => any -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ >obj : Type6 > : ^^^^^ diff --git a/tests/baselines/reference/typeofClass2.types b/tests/baselines/reference/typeofClass2.types index 6f3e77f195067..f03ad3b39f180 100644 --- a/tests/baselines/reference/typeofClass2.types +++ b/tests/baselines/reference/typeofClass2.types @@ -24,7 +24,7 @@ class C { static foo(x: C); >foo : { (x: number): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^ diff --git a/tests/baselines/reference/typeofImportInstantiationExpression.types b/tests/baselines/reference/typeofImportInstantiationExpression.types index 2662462f7f963..1c96f22ef074d 100644 --- a/tests/baselines/reference/typeofImportInstantiationExpression.types +++ b/tests/baselines/reference/typeofImportInstantiationExpression.types @@ -19,7 +19,7 @@ interface Arg = Record> export function myFunction = Record>(arg: Arg) { return (arg.params || {}) as U } >myFunction : = Record>(arg: Arg) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >arg : Arg > : ^^^^^^^^^ >(arg.params || {}) as U : U diff --git a/tests/baselines/reference/typeofImportTypeOnlyExport.types b/tests/baselines/reference/typeofImportTypeOnlyExport.types index d91f53881647a..7108c8df9d49e 100644 --- a/tests/baselines/reference/typeofImportTypeOnlyExport.types +++ b/tests/baselines/reference/typeofImportTypeOnlyExport.types @@ -24,11 +24,11 @@ export type {ClassMapDirective}; export const directive = >directive : (class_: C) => () => { directive: C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (class_: C) => >(class_: C) => () => ({ directive: class_, }) : (class_: C) => () => { directive: C; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >class_ : C > : ^ diff --git a/tests/baselines/reference/typeofObjectInference.types b/tests/baselines/reference/typeofObjectInference.types index 0a34a6b154fc0..9744616e20ae5 100644 --- a/tests/baselines/reference/typeofObjectInference.types +++ b/tests/baselines/reference/typeofObjectInference.types @@ -9,11 +9,11 @@ let val = 1 function decorateA(fn: (first: {value: typeof val}) => O) { >decorateA : (fn: (first: { value: typeof val; }) => O) => () => O -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >fn : (first: { value: typeof val; }) => O -> : ^^^^^^^^ ^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >first : { value: typeof val; } -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^ >value : number > : ^^^^^^ >val : number @@ -21,7 +21,7 @@ function decorateA(fn: (first: {value: typeof val}) => O) { return (): O => fn({value: val}) >(): O => fn({value: val}) : () => O -> : ^^^^^^^ +> : ^^^^^^ >fn({value: val}) : O > : ^ >fn : (first: { value: number; }) => O @@ -49,9 +49,9 @@ let a = decorateA(({value}) => 5) function decorateB(fn: (first: typeof val) => O) { >decorateB : (fn: (first: typeof val) => O) => () => O -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >fn : (first: typeof val) => O -> : ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >first : number > : ^^^^^^ >val : number @@ -59,7 +59,7 @@ function decorateB(fn: (first: typeof val) => O) { return (): O => fn(val) >(): O => fn(val) : () => O -> : ^^^^^^^ +> : ^^^^^^ >fn(val) : O > : ^ >fn : (first: number) => O @@ -83,9 +83,9 @@ let b = decorateB((value) => 5) function decorateC(fn: (first: {value: number}) => O) { >decorateC : (fn: (first: { value: number; }) => O) => () => O -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >fn : (first: { value: number; }) => O -> : ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >first : { value: number; } > : ^^^^^^^^^ ^^^ >value : number @@ -93,7 +93,7 @@ function decorateC(fn: (first: {value: number}) => O) { return (): O => fn({value: val}) >(): O => fn({value: val}) : () => O -> : ^^^^^^^ +> : ^^^^^^ >fn({value: val}) : O > : ^ >fn : (first: { value: number; }) => O @@ -129,15 +129,15 @@ type First = {value: typeof val} function decorateD(fn: (first: First) => O) { >decorateD : (fn: (first: First) => O) => () => O -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >fn : (first: First) => O -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >first : First > : ^^^^^ return (): O => fn({value: val}) >(): O => fn({value: val}) : () => O -> : ^^^^^^^ +> : ^^^^^^ >fn({value: val}) : O > : ^ >fn : (first: First) => O diff --git a/tests/baselines/reference/typeofSimple.types b/tests/baselines/reference/typeofSimple.types index 26af374ac9241..1dd8a5e4c45cf 100644 --- a/tests/baselines/reference/typeofSimple.types +++ b/tests/baselines/reference/typeofSimple.types @@ -39,7 +39,7 @@ var numberI: I; var fun: () => I; >fun : () => I -> : ^^^^^^^ +> : ^^^^^^ numberI = fun(); >numberI = fun() : I diff --git a/tests/baselines/reference/typeofTypeParameter.types b/tests/baselines/reference/typeofTypeParameter.types index 93fac3c47070c..80c75e16d32c8 100644 --- a/tests/baselines/reference/typeofTypeParameter.types +++ b/tests/baselines/reference/typeofTypeParameter.types @@ -3,7 +3,7 @@ === typeofTypeParameter.ts === function f(x: T): T { >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/types.asyncGenerators.es2018.1.types b/tests/baselines/reference/types.asyncGenerators.es2018.1.types index f1f13ce797da7..a8d31f664441f 100644 --- a/tests/baselines/reference/types.asyncGenerators.es2018.1.types +++ b/tests/baselines/reference/types.asyncGenerators.es2018.1.types @@ -111,7 +111,7 @@ async function * inferReturnType8() { } const assignability1: () => AsyncIterableIterator = async function * () { >assignability1 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield 1;} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -124,7 +124,7 @@ const assignability1: () => AsyncIterableIterator = async function * () }; const assignability2: () => AsyncIterableIterator = async function * () { >assignability2 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield Promise.resolve(1);} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -145,7 +145,7 @@ const assignability2: () => AsyncIterableIterator = async function * () }; const assignability3: () => AsyncIterableIterator = async function * () { >assignability3 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* [1, 2];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -161,7 +161,7 @@ const assignability3: () => AsyncIterableIterator = async function * () }; const assignability4: () => AsyncIterableIterator = async function * () { >assignability4 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -183,7 +183,7 @@ const assignability4: () => AsyncIterableIterator = async function * () }; const assignability5: () => AsyncIterableIterator = async function * () { >assignability5 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* (async function * () { yield 1; })();} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -204,7 +204,7 @@ const assignability5: () => AsyncIterableIterator = async function * () }; const assignability6: () => AsyncIterable = async function * () { >assignability6 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield 1;} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -217,7 +217,7 @@ const assignability6: () => AsyncIterable = async function * () { }; const assignability7: () => AsyncIterable = async function * () { >assignability7 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield Promise.resolve(1);} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -238,7 +238,7 @@ const assignability7: () => AsyncIterable = async function * () { }; const assignability8: () => AsyncIterable = async function * () { >assignability8 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* [1, 2];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -254,7 +254,7 @@ const assignability8: () => AsyncIterable = async function * () { }; const assignability9: () => AsyncIterable = async function * () { >assignability9 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -276,7 +276,7 @@ const assignability9: () => AsyncIterable = async function * () { }; const assignability10: () => AsyncIterable = async function * () { >assignability10 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* (async function * () { yield 1; })();} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -297,7 +297,7 @@ const assignability10: () => AsyncIterable = async function * () { }; const assignability11: () => AsyncIterator = async function * () { >assignability11 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield 1;} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -310,7 +310,7 @@ const assignability11: () => AsyncIterator = async function * () { }; const assignability12: () => AsyncIterator = async function * () { >assignability12 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield Promise.resolve(1);} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -331,7 +331,7 @@ const assignability12: () => AsyncIterator = async function * () { }; const assignability13: () => AsyncIterator = async function * () { >assignability13 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* [1, 2];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -347,7 +347,7 @@ const assignability13: () => AsyncIterator = async function * () { }; const assignability14: () => AsyncIterator = async function * () { >assignability14 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -369,7 +369,7 @@ const assignability14: () => AsyncIterator = async function * () { }; const assignability15: () => AsyncIterator = async function * () { >assignability15 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* (async function * () { yield 1; })();} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -390,7 +390,7 @@ const assignability15: () => AsyncIterator = async function * () { }; async function * explicitReturnType1(): AsyncIterableIterator { >explicitReturnType1 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : undefined @@ -400,7 +400,7 @@ async function * explicitReturnType1(): AsyncIterableIterator { } async function * explicitReturnType2(): AsyncIterableIterator { >explicitReturnType2 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield Promise.resolve(1); >yield Promise.resolve(1) : undefined @@ -418,7 +418,7 @@ async function * explicitReturnType2(): AsyncIterableIterator { } async function * explicitReturnType3(): AsyncIterableIterator { >explicitReturnType3 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -431,7 +431,7 @@ async function * explicitReturnType3(): AsyncIterableIterator { } async function * explicitReturnType4(): AsyncIterableIterator { >explicitReturnType4 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any @@ -450,7 +450,7 @@ async function * explicitReturnType4(): AsyncIterableIterator { } async function * explicitReturnType5(): AsyncIterableIterator { >explicitReturnType5 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* (async function * () { yield 1; })(); >yield* (async function * () { yield 1; })() : void @@ -468,7 +468,7 @@ async function * explicitReturnType5(): AsyncIterableIterator { } async function * explicitReturnType6(): AsyncIterable { >explicitReturnType6 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : undefined @@ -478,7 +478,7 @@ async function * explicitReturnType6(): AsyncIterable { } async function * explicitReturnType7(): AsyncIterable { >explicitReturnType7 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield Promise.resolve(1); >yield Promise.resolve(1) : undefined @@ -496,7 +496,7 @@ async function * explicitReturnType7(): AsyncIterable { } async function * explicitReturnType8(): AsyncIterable { >explicitReturnType8 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -509,7 +509,7 @@ async function * explicitReturnType8(): AsyncIterable { } async function * explicitReturnType9(): AsyncIterable { >explicitReturnType9 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any @@ -528,7 +528,7 @@ async function * explicitReturnType9(): AsyncIterable { } async function * explicitReturnType10(): AsyncIterable { >explicitReturnType10 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* (async function * () { yield 1; })(); >yield* (async function * () { yield 1; })() : void @@ -546,7 +546,7 @@ async function * explicitReturnType10(): AsyncIterable { } async function * explicitReturnType11(): AsyncIterator { >explicitReturnType11 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : undefined @@ -556,7 +556,7 @@ async function * explicitReturnType11(): AsyncIterator { } async function * explicitReturnType12(): AsyncIterator { >explicitReturnType12 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield Promise.resolve(1); >yield Promise.resolve(1) : undefined @@ -574,7 +574,7 @@ async function * explicitReturnType12(): AsyncIterator { } async function * explicitReturnType13(): AsyncIterator { >explicitReturnType13 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -587,7 +587,7 @@ async function * explicitReturnType13(): AsyncIterator { } async function * explicitReturnType14(): AsyncIterator { >explicitReturnType14 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any @@ -606,7 +606,7 @@ async function * explicitReturnType14(): AsyncIterator { } async function * explicitReturnType15(): AsyncIterator { >explicitReturnType15 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* (async function * () { yield 1; })(); >yield* (async function * () { yield 1; })() : void @@ -665,9 +665,9 @@ async function * awaitedType2() { } async function * nextType1(): { next(...args: [] | [number | PromiseLike]): any } { >nextType1 : () => { next(...args: [] | [number | PromiseLike]): any; } -> : ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >next : (...args: [] | [number | PromiseLike]) => any -> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [] | [number | PromiseLike] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/types.asyncGenerators.es2018.2.types b/tests/baselines/reference/types.asyncGenerators.es2018.2.types index ab1c0f0b68931..d8356f7c2ac0f 100644 --- a/tests/baselines/reference/types.asyncGenerators.es2018.2.types +++ b/tests/baselines/reference/types.asyncGenerators.es2018.2.types @@ -47,7 +47,7 @@ async function * inferReturnType3() { } const assignability1: () => AsyncIterableIterator = async function * () { >assignability1 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield "a";} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -60,7 +60,7 @@ const assignability1: () => AsyncIterableIterator = async function * () }; const assignability2: () => AsyncIterableIterator = async function * () { >assignability2 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* ["a", "b"];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -77,7 +77,7 @@ const assignability2: () => AsyncIterableIterator = async function * () }; const assignability3: () => AsyncIterableIterator = async function * () { >assignability3 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* (async function * () { yield "a"; })();} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -98,7 +98,7 @@ const assignability3: () => AsyncIterableIterator = async function * () }; const assignability4: () => AsyncIterable = async function * () { >assignability4 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield "a";} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -111,7 +111,7 @@ const assignability4: () => AsyncIterable = async function * () { }; const assignability5: () => AsyncIterable = async function * () { >assignability5 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* ["a", "b"];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -128,7 +128,7 @@ const assignability5: () => AsyncIterable = async function * () { }; const assignability6: () => AsyncIterable = async function * () { >assignability6 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* (async function * () { yield "a"; })();} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -149,7 +149,7 @@ const assignability6: () => AsyncIterable = async function * () { }; const assignability7: () => AsyncIterator = async function * () { >assignability7 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield "a";} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -162,7 +162,7 @@ const assignability7: () => AsyncIterator = async function * () { }; const assignability8: () => AsyncIterator = async function * () { >assignability8 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* ["a", "b"];} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -179,7 +179,7 @@ const assignability8: () => AsyncIterator = async function * () { }; const assignability9: () => AsyncIterator = async function * () { >assignability9 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >async function * () { yield* (async function * () { yield "a"; })();} : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -200,7 +200,7 @@ const assignability9: () => AsyncIterator = async function * () { }; async function * explicitReturnType1(): AsyncIterableIterator { >explicitReturnType1 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield "a"; >yield "a" : undefined @@ -210,7 +210,7 @@ async function * explicitReturnType1(): AsyncIterableIterator { } async function * explicitReturnType2(): AsyncIterableIterator { >explicitReturnType2 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* ["a", "b"]; >yield* ["a", "b"] : any @@ -224,7 +224,7 @@ async function * explicitReturnType2(): AsyncIterableIterator { } async function * explicitReturnType3(): AsyncIterableIterator { >explicitReturnType3 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* (async function * () { yield "a"; })(); >yield* (async function * () { yield "a"; })() : void @@ -242,7 +242,7 @@ async function * explicitReturnType3(): AsyncIterableIterator { } async function * explicitReturnType4(): AsyncIterable { >explicitReturnType4 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield "a"; >yield "a" : undefined @@ -252,7 +252,7 @@ async function * explicitReturnType4(): AsyncIterable { } async function * explicitReturnType5(): AsyncIterable { >explicitReturnType5 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* ["a", "b"]; >yield* ["a", "b"] : any @@ -266,7 +266,7 @@ async function * explicitReturnType5(): AsyncIterable { } async function * explicitReturnType6(): AsyncIterable { >explicitReturnType6 : () => AsyncIterable -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* (async function * () { yield "a"; })(); >yield* (async function * () { yield "a"; })() : void @@ -284,7 +284,7 @@ async function * explicitReturnType6(): AsyncIterable { } async function * explicitReturnType7(): AsyncIterator { >explicitReturnType7 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield "a"; >yield "a" : undefined @@ -294,7 +294,7 @@ async function * explicitReturnType7(): AsyncIterator { } async function * explicitReturnType8(): AsyncIterator { >explicitReturnType8 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* ["a", "b"]; >yield* ["a", "b"] : any @@ -308,7 +308,7 @@ async function * explicitReturnType8(): AsyncIterator { } async function * explicitReturnType9(): AsyncIterator { >explicitReturnType9 : () => AsyncIterator -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield* (async function * () { yield "a"; })(); >yield* (async function * () { yield "a"; })() : void @@ -326,7 +326,7 @@ async function * explicitReturnType9(): AsyncIterator { } async function * explicitReturnType10(): IterableIterator { >explicitReturnType10 : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : undefined @@ -336,7 +336,7 @@ async function * explicitReturnType10(): IterableIterator { } async function * explicitReturnType11(): Iterable { >explicitReturnType11 : () => Iterable -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : any @@ -346,7 +346,7 @@ async function * explicitReturnType11(): Iterable { } async function * explicitReturnType12(): Iterator { >explicitReturnType12 : () => Iterator -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ yield 1; >yield 1 : undefined diff --git a/tests/baselines/reference/typesOnlyExternalModuleStillHasInstance.types b/tests/baselines/reference/typesOnlyExternalModuleStillHasInstance.types index 0ac3548dab79d..ec8db7ba7cf87 100644 --- a/tests/baselines/reference/typesOnlyExternalModuleStillHasInstance.types +++ b/tests/baselines/reference/typesOnlyExternalModuleStillHasInstance.types @@ -17,7 +17,7 @@ var x: typeof foo0 = {}; var y: {M2: Object} = foo0; >y : { M2: Object; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ >M2 : Object > : ^^^^^^ >foo0 : typeof foo0 diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.types b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.types index 618a1a981e35b..13c6e9602d191 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.types +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.types @@ -33,7 +33,7 @@ declare module "ext" { export interface A {} export function fa(): A; >fa : () => A -> : ^^^^^^^ +> : ^^^^^^ } declare module "ext/other" { >"ext/other" : typeof import("ext/other") @@ -42,6 +42,6 @@ declare module "ext/other" { export interface B {} export function fb(): B; >fb : () => B -> : ^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.types b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.types index 84913d5c2ad5e..60e660ae93725 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.types +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.types @@ -29,11 +29,11 @@ export const vb = fb(); export interface A {} export function fa(): A; >fa : () => A -> : ^^^^^^^ +> : ^^^^^^ === node_modules/ext/ts3.1/other.d.ts === export interface B {} export function fb(): B; >fb : () => B -> : ^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.types b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.types index 8e5453f88b377..9945770946a29 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.types +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.types @@ -29,7 +29,7 @@ export const vb = fb(); export interface B {} export function fb(): B; >fb : () => B -> : ^^^^^^^ +> : ^^^^^^ === node_modules/ext/ts3.1/index.d.ts === diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.types b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.types index c8e8ab96e08c9..c634e9a25f442 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.types +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.types @@ -31,7 +31,7 @@ export const va2 = fa2(); export interface A2 {} export function fa(): A2; >fa : () => A2 -> : ^^^^^^^^ +> : ^^^^^^ === node_modules/ext/ts3.1/index.d.ts === diff --git a/tests/baselines/reference/typesWithSpecializedCallSignatures.types b/tests/baselines/reference/typesWithSpecializedCallSignatures.types index 1980a9b865e4a..704e7f266713f 100644 --- a/tests/baselines/reference/typesWithSpecializedCallSignatures.types +++ b/tests/baselines/reference/typesWithSpecializedCallSignatures.types @@ -31,19 +31,19 @@ class C { foo(x: 'hi'): Derived1; >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : "hi" > : ^^^^ foo(x: 'bye'): Derived2; >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : "bye" > : ^^^^^ foo(x: string): Base; >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ @@ -67,19 +67,19 @@ var c = new C(); interface I { foo(x: 'hi'): Derived1; >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : "hi" > : ^^^^ foo(x: 'bye'): Derived2; >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : "bye" > : ^^^^^ foo(x: string): Base; >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ } @@ -89,23 +89,23 @@ var i: I; var a: { >a : { foo(x: 'hi'): Derived1; foo(x: 'bye'): Derived2; foo(x: string): Base; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ foo(x: 'hi'): Derived1; >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : "hi" > : ^^^^ foo(x: 'bye'): Derived2; >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >x : "bye" > : ^^^^^ foo(x: string): Base; >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/typesWithSpecializedConstructSignatures.types b/tests/baselines/reference/typesWithSpecializedConstructSignatures.types index 147036165b8bc..e796794702124 100644 --- a/tests/baselines/reference/typesWithSpecializedConstructSignatures.types +++ b/tests/baselines/reference/typesWithSpecializedConstructSignatures.types @@ -77,7 +77,7 @@ var i: I; var a: { >a : { new (x: 'hi'): Derived1; new (x: 'bye'): Derived2; new (x: string): Base; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new(x: 'hi'): Derived1; >x : "hi" diff --git a/tests/baselines/reference/umd-augmentation-1.types b/tests/baselines/reference/umd-augmentation-1.types index e7a6d982a1ef6..9599e919efc0a 100644 --- a/tests/baselines/reference/umd-augmentation-1.types +++ b/tests/baselines/reference/umd-augmentation-1.types @@ -113,7 +113,7 @@ export class Vector implements Point { translate(dx: number, dy: number): Vector; >translate : (dx: number, dy: number) => Vector -> : ^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number @@ -122,7 +122,7 @@ export class Vector implements Point { export function getLength(p: Vector): number; >getLength : (p: Vector) => number -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Vector > : ^^^^^^ @@ -140,7 +140,7 @@ declare module 'math2d' { interface Vector { reverse(): Math2d.Point; >reverse : () => Math2d.Point -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >Math2d : any > : ^^^ } diff --git a/tests/baselines/reference/umd-augmentation-2.types b/tests/baselines/reference/umd-augmentation-2.types index e49af27d9395a..f189b5d887860 100644 --- a/tests/baselines/reference/umd-augmentation-2.types +++ b/tests/baselines/reference/umd-augmentation-2.types @@ -110,7 +110,7 @@ export class Vector implements Point { translate(dx: number, dy: number): Vector; >translate : (dx: number, dy: number) => Vector -> : ^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number @@ -119,7 +119,7 @@ export class Vector implements Point { export function getLength(p: Vector): number; >getLength : (p: Vector) => number -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Vector > : ^^^^^^ @@ -137,7 +137,7 @@ declare module 'math2d' { interface Vector { reverse(): Math2d.Point; >reverse : () => Math2d.Point -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >Math2d : any > : ^^^ } diff --git a/tests/baselines/reference/umd-augmentation-3.types b/tests/baselines/reference/umd-augmentation-3.types index 32a953fd580f0..3db2b2e87e59c 100644 --- a/tests/baselines/reference/umd-augmentation-3.types +++ b/tests/baselines/reference/umd-augmentation-3.types @@ -121,7 +121,7 @@ declare namespace M2D { translate(dx: number, dy: number): Vector; >translate : (dx: number, dy: number) => Vector -> : ^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number @@ -130,7 +130,7 @@ declare namespace M2D { function getLength(p: Vector): number; >getLength : (p: Vector) => number -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Vector > : ^^^^^^ @@ -151,7 +151,7 @@ declare module 'math2d' { interface Vector { reverse(): Math2d.Point; >reverse : () => Math2d.Point -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >Math2d : any > : ^^^ } diff --git a/tests/baselines/reference/umd-augmentation-4.types b/tests/baselines/reference/umd-augmentation-4.types index d4779ef267be2..2e26f58b09ff6 100644 --- a/tests/baselines/reference/umd-augmentation-4.types +++ b/tests/baselines/reference/umd-augmentation-4.types @@ -118,7 +118,7 @@ declare namespace M2D { translate(dx: number, dy: number): Vector; >translate : (dx: number, dy: number) => Vector -> : ^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number @@ -127,7 +127,7 @@ declare namespace M2D { function getLength(p: Vector): number; >getLength : (p: Vector) => number -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : Vector > : ^^^^^^ @@ -148,7 +148,7 @@ declare module 'math2d' { interface Vector { reverse(): Math2d.Point; >reverse : () => Math2d.Point -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >Math2d : any > : ^^^ } diff --git a/tests/baselines/reference/undeclaredModuleError.types b/tests/baselines/reference/undeclaredModuleError.types index 958bb801718d4..2e33309abf2bf 100644 --- a/tests/baselines/reference/undeclaredModuleError.types +++ b/tests/baselines/reference/undeclaredModuleError.types @@ -7,7 +7,7 @@ import fs = require('fs'); function readdir(path: string, accept: (stat: fs.Stats, name: string) => boolean, callback: (error: Error, results: { name: string; stat: fs.Stats; }[]) => void ) {} >readdir : (path: string, accept: (stat: fs.Stats, name: string) => boolean, callback: (error: Error, results: { name: string; stat: fs.Stats; }[]) => void) => void -> : ^^^^^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^ ^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >path : string > : ^^^^^^ >accept : (stat: fs.Stats, name: string) => boolean @@ -19,7 +19,7 @@ function readdir(path: string, accept: (stat: fs.Stats, name: string) => boolean >name : string > : ^^^^^^ >callback : (error: Error, results: { name: string; stat: fs.Stats; }[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >error : Error > : ^^^^^ >results : { name: string; stat: fs.Stats; }[] @@ -73,7 +73,7 @@ function instrumentFile(covFileDir: string, covFileName: string, originalFilePat } , (error: Error, files: {}[]) => { >(error: Error, files: {}[]) => { files.forEach((file) => { var fullPath = join(IDoNotExist); } ); } : (error: Error, files: {}[]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >error : Error > : ^^^^^ >files : {}[] diff --git a/tests/baselines/reference/undefinedArgumentInference.types b/tests/baselines/reference/undefinedArgumentInference.types index 40cce15939ca5..5d70200377b64 100644 --- a/tests/baselines/reference/undefinedArgumentInference.types +++ b/tests/baselines/reference/undefinedArgumentInference.types @@ -3,9 +3,9 @@ === undefinedArgumentInference.ts === function foo1(f1: { x: T; y: T }): T { >foo1 : (f1: { x: T; y: T; }) => T -> : ^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >f1 : { x: T; y: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/undefinedAssignableToEveryType.types b/tests/baselines/reference/undefinedAssignableToEveryType.types index 34b9adc118921..e8c21bbe988ee 100644 --- a/tests/baselines/reference/undefinedAssignableToEveryType.types +++ b/tests/baselines/reference/undefinedAssignableToEveryType.types @@ -139,7 +139,7 @@ var n: { foo: string } = undefined; var o: (x: T) => T = undefined; >o : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >undefined : undefined @@ -159,7 +159,7 @@ var q: String = undefined; function foo(x: T, y: U, z: V) { >foo : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U diff --git a/tests/baselines/reference/undefinedInferentialTyping.types b/tests/baselines/reference/undefinedInferentialTyping.types index 64c8dd74a06f3..10a818ad64f3d 100644 --- a/tests/baselines/reference/undefinedInferentialTyping.types +++ b/tests/baselines/reference/undefinedInferentialTyping.types @@ -3,7 +3,7 @@ === undefinedInferentialTyping.ts === function f(arr: T[], elemnt: T): T { >f : (arr: T[], elemnt: T) => T -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ >arr : T[] > : ^^^ >elemnt : T diff --git a/tests/baselines/reference/undefinedTypeArgument2.types b/tests/baselines/reference/undefinedTypeArgument2.types index c4429631e1f41..8e20eceb3c6f1 100644 --- a/tests/baselines/reference/undefinedTypeArgument2.types +++ b/tests/baselines/reference/undefinedTypeArgument2.types @@ -5,21 +5,21 @@ interface Query { selectMany(selector: (item: T) => U[]): Query; >selectMany : { (selector: (item: T) => U[]): Query; (arraySelector: (item: T) => U_1[], resultSelector: (outer: T, inner: U_1) => R): Query; } -> : ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >selector : (item: T) => U[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ selectMany(arraySelector: (item: T) => U[], resultSelector: (outer: T, inner: U) => R): Query; >selectMany : { (selector: (item: T) => U_1[]): Query; (arraySelector: (item: T) => U[], resultSelector: (outer: T, inner: U) => R): Query; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >arraySelector : (item: T) => U[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ >resultSelector : (outer: T, inner: U) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^ >outer : T > : ^ >inner : U diff --git a/tests/baselines/reference/underscoreMapFirst.types b/tests/baselines/reference/underscoreMapFirst.types index 7f94fe26bc12d..666795676cb37 100644 --- a/tests/baselines/reference/underscoreMapFirst.types +++ b/tests/baselines/reference/underscoreMapFirst.types @@ -33,7 +33,7 @@ declare module _ { } export function pluck( >pluck : (list: Collection, propertyName: string) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ list: Collection, >list : Collection @@ -45,7 +45,7 @@ declare module _ { export function map( >map : (list: List, iterator: ListIterator, context?: any) => TResult[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ list: List, >list : List @@ -60,7 +60,7 @@ declare module _ { export function first(array: List): T; >first : (array: List) => T -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >array : List > : ^^^^^^^ } @@ -97,7 +97,7 @@ class MyView extends View { public getDataSeries(): ISeries[] { >getDataSeries : () => ISeries[] -> : ^^^^^^^^^^^^^ +> : ^^^^^^ var data: IData[] = this.model.get("data"); >data : IData[] diff --git a/tests/baselines/reference/underscoreTest1.types b/tests/baselines/reference/underscoreTest1.types index ccc5267b16be8..7cbbb741224db 100644 --- a/tests/baselines/reference/underscoreTest1.types +++ b/tests/baselines/reference/underscoreTest1.types @@ -3203,37 +3203,37 @@ module Underscore { extend(...sources: any[]): T; >extend : (...sources: any[]) => T -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >sources : any[] > : ^^^^^ pick(...keys: string[]): T; >pick : (...keys: string[]) => T -> : ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ omit(...keys: string[]): T; >omit : (...keys: string[]) => T -> : ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ defaults(...defaults: any[]): T; >defaults : (...defaults: any[]) => T -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >defaults : any[] > : ^^^^^ clone(): T; >clone : () => T -> : ^^^^^^^ +> : ^^^^^^ tap(interceptor: (object: T) => void): T; >tap : (interceptor: (object: T) => void) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ >interceptor : (object: T) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >object : T > : ^ @@ -3245,7 +3245,7 @@ module Underscore { isEqual(other: T): boolean; >isEqual : (other: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : T > : ^ @@ -3311,19 +3311,19 @@ module Underscore { value(): T; >value : () => T -> : ^^^^^^^ +> : ^^^^^^ } export interface WrappedFunction extends WrappedObject { bind(object: any): T; >bind : { (object: any): T; (object: any, ...args: any[]): Function; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >object : any > : ^^^ bind(object: any, ...args: any[]): Function; >bind : { (object: any): T; (object: any, ...args: any[]): Function; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >object : any > : ^^^ >args : any[] @@ -3331,19 +3331,19 @@ module Underscore { bindAll(...methodNames: string[]): T; >bindAll : (...methodNames: string[]) => T -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ >methodNames : string[] > : ^^^^^^^^ partial(...args: any[]): Function; >partial : (...args: any[]) => Function -> : ^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : any[] > : ^^^^^ memoize(hashFunction?: Function): T; >memoize : (hashFunction?: Function) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^ >hashFunction : Function > : ^^^^^^^^ @@ -3363,13 +3363,13 @@ module Underscore { throttle(wait: number): T; >throttle : (wait: number) => T -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >wait : number > : ^^^^^^ debounce(wait: number, immediate?: boolean): T; >debounce : (wait: number, immediate?: boolean) => T -> : ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >wait : number > : ^^^^^^ >immediate : boolean @@ -3377,13 +3377,13 @@ module Underscore { once(): T; >once : () => T -> : ^^^^^^^ +> : ^^^^^^ wrap(wrapper: (func: T, ...args: any[]) => any): T; >wrap : (wrapper: (func: T, ...args: any[]) => any) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >wrapper : (func: T, ...args: any[]) => any -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >func : T > : ^ >args : any[] @@ -3391,7 +3391,7 @@ module Underscore { compose(...funcs: Function[]): Function; >compose : (...funcs: Function[]) => Function -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >funcs : Function[] > : ^^^^^^^^^^ } @@ -3399,7 +3399,7 @@ module Underscore { export interface WrappedArray extends WrappedObject> { each(iterator: Iterator_, context?: any): void; >each : (iterator: Iterator_, context?: any) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -3407,7 +3407,7 @@ module Underscore { forEach(iterator: Iterator_, context?: any): void; >forEach : (iterator: Iterator_, context?: any) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -3415,7 +3415,7 @@ module Underscore { map(iterator: Iterator_, context?: any): U[]; >map : (iterator: Iterator_, context?: any) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -3423,7 +3423,7 @@ module Underscore { collect(iterator: Iterator_, context?: any): U[]; >collect : (iterator: Iterator_, context?: any) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -3431,7 +3431,7 @@ module Underscore { reduce(iterator: Reducer, initialValue?: T, context?: any): T; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -3441,7 +3441,7 @@ module Underscore { reduce(iterator: Reducer, initialValue: U, context?: any): U; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -3451,7 +3451,7 @@ module Underscore { foldl(iterator: Reducer, initialValue?: T, context?: any): T; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -3461,7 +3461,7 @@ module Underscore { foldl(iterator: Reducer, initialValue: U, context?: any): U; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -3471,7 +3471,7 @@ module Underscore { inject(iterator: Reducer, initialValue?: T, context?: any): T; >inject : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -3481,7 +3481,7 @@ module Underscore { inject(iterator: Reducer, initialValue: U, context?: any): U; >inject : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -3491,7 +3491,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue?: T, context?: any): T; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -3501,7 +3501,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue: U, context?: any): U; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -3511,7 +3511,7 @@ module Underscore { foldr(iterator: Reducer, initialValue?: T, context?: any): T; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -3521,7 +3521,7 @@ module Underscore { foldr(iterator: Reducer, initialValue: U, context?: any): U; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -3531,7 +3531,7 @@ module Underscore { find(iterator: Iterator_, context?: any): T; >find : (iterator: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3539,7 +3539,7 @@ module Underscore { detect(iterator: Iterator_, context?: any): T; >detect : (iterator: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3547,7 +3547,7 @@ module Underscore { filter(iterator: Iterator_, context?: any): T[]; >filter : (iterator: Iterator_, context?: any) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3555,7 +3555,7 @@ module Underscore { select(iterator: Iterator_, context?: any): T[]; >select : (iterator: Iterator_, context?: any) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3563,19 +3563,19 @@ module Underscore { where(properties: Object): T[]; >where : (properties: Object) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ findWhere(properties: Object): T; >findWhere : (properties: Object) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ reject(iterator: Iterator_, context?: any): T[]; >reject : (iterator: Iterator_, context?: any) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3583,7 +3583,7 @@ module Underscore { every(iterator?: Iterator_, context?: any): boolean; >every : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3591,7 +3591,7 @@ module Underscore { all(iterator?: Iterator_, context?: any): boolean; >all : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3599,7 +3599,7 @@ module Underscore { some(iterator?: Iterator_, context?: any): boolean; >some : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3607,7 +3607,7 @@ module Underscore { any(iterator?: Iterator_, context?: any): boolean; >any : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -3615,13 +3615,13 @@ module Underscore { contains(value: T): boolean; >contains : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ include(value: T): boolean; >include : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -3641,7 +3641,7 @@ module Underscore { max(iterator?: Iterator_, context?: any): T; >max : (iterator?: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -3649,7 +3649,7 @@ module Underscore { min(iterator?: Iterator_, context?: any): T; >min : (iterator?: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -3657,7 +3657,7 @@ module Underscore { sortBy(iterator: Iterator_, context?: any): T[]; >sortBy : { (iterator: Iterator_, context?: any): T[]; (propertyName: string): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -3665,13 +3665,13 @@ module Underscore { sortBy(propertyName: string): T[]; >sortBy : { (iterator: Iterator_, context?: any): T[]; (propertyName: string): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ groupBy(iterator?: Iterator_, context?: any): Dictionary; >groupBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -3679,13 +3679,13 @@ module Underscore { groupBy(propertyName: string): Dictionary; >groupBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ countBy(iterator?: Iterator_, context?: any): Dictionary; >countBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -3693,17 +3693,17 @@ module Underscore { countBy(propertyName: string): Dictionary; >countBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ shuffle(): T[]; >shuffle : () => T[] -> : ^^^^^^^ +> : ^^^^^^ toArray(): T[]; >toArray : () => T[] -> : ^^^^^^^ +> : ^^^^^^ size(): number; >size : () => number @@ -3711,103 +3711,103 @@ module Underscore { first(): T; >first : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ first(count: number): T[]; >first : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ head(): T; >head : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ head(count: number): T[]; >head : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ take(): T; >take : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ take(count: number): T[]; >take : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ initial(): T; >initial : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ initial(count: number): T[]; >initial : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ last(): T; >last : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ last(count: number): T[]; >last : { (): T; (count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ rest(index?: number): T[]; >rest : (index?: number) => T[] -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ compact(): T[]; >compact : () => T[] -> : ^^^^^^^ +> : ^^^^^^ flatten(shallow?: boolean): U[]; >flatten : (shallow?: boolean) => U[] -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >shallow : boolean > : ^^^^^^^ without(...values: T[]): T[]; >without : (...values: T[]) => T[] -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ union(...arrays: T[][]): T[]; >union : (...arrays: T[][]) => T[] -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >arrays : T[][] > : ^^^^^ intersection(...arrays: T[][]): T[]; >intersection : (...arrays: T[][]) => T[] -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >arrays : T[][] > : ^^^^^ difference(...others: T[][]): T[]; >difference : (...others: T[][]) => T[] -> : ^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >others : T[][] > : ^^^^^ uniq(isSorted?: boolean): T[]; >uniq : { (isSorted?: boolean): T[]; (isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isSorted : boolean > : ^^^^^^^ uniq(isSorted: boolean, iterator: Iterator_, context?: any): U[]; >uniq : { (isSorted?: boolean): T[]; (isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >isSorted : boolean > : ^^^^^^^ >iterator : Iterator_ @@ -3817,13 +3817,13 @@ module Underscore { unique(isSorted?: boolean): T[]; >unique : { (isSorted?: boolean): T[]; (isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isSorted : boolean > : ^^^^^^^ unique(isSorted: boolean, iterator: Iterator_, context?: any): U[]; >unique : { (isSorted?: boolean): T[]; (isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >isSorted : boolean > : ^^^^^^^ >iterator : Iterator_ @@ -3849,7 +3849,7 @@ module Underscore { indexOf(value: T, isSorted?: boolean): number; >indexOf : (value: T, isSorted?: boolean) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >isSorted : boolean @@ -3857,7 +3857,7 @@ module Underscore { lastIndexOf(value: T, fromIndex?: number): number; >lastIndexOf : (value: T, fromIndex?: number) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >fromIndex : number @@ -3865,7 +3865,7 @@ module Underscore { sortedIndex(obj: T, propertyName: string): number; >sortedIndex : { (obj: T, propertyName: string): number; (obj: T, iterator?: Iterator_, context?: any): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >propertyName : string @@ -3873,7 +3873,7 @@ module Underscore { sortedIndex(obj: T, iterator?: Iterator_, context?: any): number; >sortedIndex : { (obj: T, propertyName: string): number; (obj: T, iterator?: Iterator_, context?: any): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >obj : T > : ^ >iterator : Iterator_ @@ -3884,7 +3884,7 @@ module Underscore { // Methods from Array concat(...items: T[]): T[]; >concat : (...items: T[]) => T[] -> : ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ @@ -3896,25 +3896,25 @@ module Underscore { pop(): T; >pop : () => T -> : ^^^^^^^ +> : ^^^^^^ push(...items: T[]): number; >push : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ reverse(): T[]; >reverse : () => T[] -> : ^^^^^^^ +> : ^^^^^^ shift(): T; >shift : () => T -> : ^^^^^^^ +> : ^^^^^^ slice(start: number, end?: number): T[]; >slice : (start: number, end?: number) => T[] -> : ^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >end : number @@ -3922,9 +3922,9 @@ module Underscore { sort(compareFn?: (a: T, b: T) => number): T[]; >sort : (compareFn?: (a: T, b: T) => number) => T[] -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >compareFn : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -3932,13 +3932,13 @@ module Underscore { splice(start: number): T[]; >splice : { (start: number): T[]; (start: number, deleteCount: number, ...items: T[]): T[]; } -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >start : number > : ^^^^^^ splice(start: number, deleteCount: number, ...items: T[]): T[]; >splice : { (start: number): T[]; (start: number, deleteCount: number, ...items: T[]): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >start : number > : ^^^^^^ >deleteCount : number @@ -3948,7 +3948,7 @@ module Underscore { unshift(...items: T[]): number; >unshift : (...items: T[]) => number -> : ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ } @@ -3956,7 +3956,7 @@ module Underscore { export interface WrappedDictionary extends WrappedObject> { each(iterator: Iterator_, context?: any): void; >each : (iterator: Iterator_, context?: any) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -3964,7 +3964,7 @@ module Underscore { forEach(iterator: Iterator_, context?: any): void; >forEach : (iterator: Iterator_, context?: any) => void -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -3972,7 +3972,7 @@ module Underscore { map(iterator: Iterator_, context?: any): U[]; >map : (iterator: Iterator_, context?: any) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -3980,7 +3980,7 @@ module Underscore { collect(iterator: Iterator_, context?: any): U[]; >collect : (iterator: Iterator_, context?: any) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -3988,7 +3988,7 @@ module Underscore { reduce(iterator: Reducer, initialValue?: T, context?: any): T; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -3998,7 +3998,7 @@ module Underscore { reduce(iterator: Reducer, initialValue: U, context?: any): U; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4008,7 +4008,7 @@ module Underscore { foldl(iterator: Reducer, initialValue?: T, context?: any): T; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4018,7 +4018,7 @@ module Underscore { foldl(iterator: Reducer, initialValue: U, context?: any): U; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4028,7 +4028,7 @@ module Underscore { inject(iterator: Reducer, initialValue?: T, context?: any): T; >inject : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4038,7 +4038,7 @@ module Underscore { inject(iterator: Reducer, initialValue: U, context?: any): U; >inject : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4048,7 +4048,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue?: T, context?: any): T; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4058,7 +4058,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue: U, context?: any): U; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4068,7 +4068,7 @@ module Underscore { foldr(iterator: Reducer, initialValue?: T, context?: any): T; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4078,7 +4078,7 @@ module Underscore { foldr(iterator: Reducer, initialValue: U, context?: any): U; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): T; (iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4088,7 +4088,7 @@ module Underscore { find(iterator: Iterator_, context?: any): T; >find : (iterator: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4096,7 +4096,7 @@ module Underscore { detect(iterator: Iterator_, context?: any): T; >detect : (iterator: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4104,7 +4104,7 @@ module Underscore { filter(iterator: Iterator_, context?: any): T[]; >filter : (iterator: Iterator_, context?: any) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4112,7 +4112,7 @@ module Underscore { select(iterator: Iterator_, context?: any): T[]; >select : (iterator: Iterator_, context?: any) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4120,19 +4120,19 @@ module Underscore { where(properties: Object): T[]; >where : (properties: Object) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ findWhere(properties: Object): T; >findWhere : (properties: Object) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ reject(iterator: Iterator_, context?: any): T[]; >reject : (iterator: Iterator_, context?: any) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4140,7 +4140,7 @@ module Underscore { every(iterator?: Iterator_, context?: any): boolean; >every : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4148,7 +4148,7 @@ module Underscore { all(iterator?: Iterator_, context?: any): boolean; >all : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4156,7 +4156,7 @@ module Underscore { some(iterator?: Iterator_, context?: any): boolean; >some : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4164,7 +4164,7 @@ module Underscore { any(iterator?: Iterator_, context?: any): boolean; >any : (iterator?: Iterator_, context?: any) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4172,13 +4172,13 @@ module Underscore { contains(value: T): boolean; >contains : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ include(value: T): boolean; >include : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ @@ -4198,7 +4198,7 @@ module Underscore { max(iterator?: Iterator_, context?: any): T; >max : (iterator?: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4206,7 +4206,7 @@ module Underscore { min(iterator?: Iterator_, context?: any): T; >min : (iterator?: Iterator_, context?: any) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4214,7 +4214,7 @@ module Underscore { sortBy(iterator: Iterator_, context?: any): T[]; >sortBy : { (iterator: Iterator_, context?: any): T[]; (propertyName: string): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4222,13 +4222,13 @@ module Underscore { sortBy(propertyName: string): T[]; >sortBy : { (iterator: Iterator_, context?: any): T[]; (propertyName: string): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ groupBy(iterator?: Iterator_, context?: any): Dictionary; >groupBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4236,13 +4236,13 @@ module Underscore { groupBy(propertyName: string): Dictionary; >groupBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ countBy(iterator?: Iterator_, context?: any): Dictionary; >countBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4250,17 +4250,17 @@ module Underscore { countBy(propertyName: string): Dictionary; >countBy : { (iterator?: Iterator_, context?: any): Dictionary; (propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ shuffle(): T[]; >shuffle : () => T[] -> : ^^^^^^^ +> : ^^^^^^ toArray(): T[]; >toArray : () => T[] -> : ^^^^^^^ +> : ^^^^^^ size(): number; >size : () => number @@ -4270,145 +4270,145 @@ module Underscore { export interface ChainedObject { keys(): ChainedArray; >keys : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ values(): ChainedArray; >values : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ pairs(): ChainedArray; >pairs : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ invert(): ChainedObject; >invert : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ functions(): ChainedArray; >functions : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ methods(): ChainedArray; >methods : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ extend(...sources: any[]): ChainedObject; >extend : (...sources: any[]) => ChainedObject -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >sources : any[] > : ^^^^^ pick(...keys: string[]): ChainedObject; >pick : (...keys: string[]) => ChainedObject -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ omit(...keys: string[]): ChainedObject; >omit : (...keys: string[]) => ChainedObject -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ defaults(...defaults: any[]): ChainedObject; >defaults : (...defaults: any[]) => ChainedObject -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^ ^^^^^ >defaults : any[] > : ^^^^^ clone(): ChainedObject; >clone : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ tap(interceptor: (object: T) => void): ChainedObject; >tap : (interceptor: (object: T) => void) => ChainedObject -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^ ^^^^^ >interceptor : (object: T) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >object : T > : ^ has(key: string): ChainedObject; >has : (key: string) => ChainedObject -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >key : string > : ^^^^^^ isEqual(other: T): ChainedObject; >isEqual : (other: T) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : T > : ^ isEmpty(): ChainedObject; >isEmpty : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isElement(): ChainedObject; >isElement : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isArray(): ChainedObject; >isArray : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isObject(): ChainedObject; >isObject : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isArguments(): ChainedObject; >isArguments : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isFunction(): ChainedObject; >isFunction : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isString(): ChainedObject; >isString : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isNumber(): ChainedObject; >isNumber : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isFinite(): ChainedObject; >isFinite : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isBoolean(): ChainedObject; >isBoolean : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isDate(): ChainedObject; >isDate : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isRegExp(): ChainedObject; >isRegExp : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isNaN(): ChainedObject; >isNaN : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isNull(): ChainedObject; >isNull : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ isUndefined(): ChainedObject; >isUndefined : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ value(): T; >value : () => T -> : ^^^^^^^ +> : ^^^^^^ } export interface ChainedArray extends ChainedObject> { each(iterator: Iterator_, context?: any): ChainedObject; >each : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -4416,7 +4416,7 @@ module Underscore { forEach(iterator: Iterator_, context?: any): ChainedObject; >forEach : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -4424,7 +4424,7 @@ module Underscore { map(iterator: Iterator_, context?: any): ChainedArray; >map : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -4432,7 +4432,7 @@ module Underscore { collect(iterator: Iterator_, context?: any): ChainedArray; >collect : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -4440,7 +4440,7 @@ module Underscore { reduce(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4450,7 +4450,7 @@ module Underscore { reduce(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4460,7 +4460,7 @@ module Underscore { foldl(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4470,7 +4470,7 @@ module Underscore { foldl(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4480,7 +4480,7 @@ module Underscore { inject(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >inject : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4490,7 +4490,7 @@ module Underscore { inject(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >inject : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4500,7 +4500,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4510,7 +4510,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4520,7 +4520,7 @@ module Underscore { foldr(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -4530,7 +4530,7 @@ module Underscore { foldr(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -4540,7 +4540,7 @@ module Underscore { find(iterator: Iterator_, context?: any): ChainedObject; >find : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4548,7 +4548,7 @@ module Underscore { detect(iterator: Iterator_, context?: any): ChainedObject; >detect : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4556,7 +4556,7 @@ module Underscore { filter(iterator: Iterator_, context?: any): ChainedArray; >filter : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4564,7 +4564,7 @@ module Underscore { select(iterator: Iterator_, context?: any): ChainedArray; >select : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4572,19 +4572,19 @@ module Underscore { where(properties: Object): ChainedArray; >where : (properties: Object) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ findWhere(properties: Object): ChainedObject; >findWhere : (properties: Object) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ reject(iterator: Iterator_, context?: any): ChainedArray; >reject : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4592,7 +4592,7 @@ module Underscore { every(iterator?: Iterator_, context?: any): ChainedObject; >every : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4600,7 +4600,7 @@ module Underscore { all(iterator?: Iterator_, context?: any): ChainedObject; >all : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4608,7 +4608,7 @@ module Underscore { some(iterator?: Iterator_, context?: any): ChainedObject; >some : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4616,7 +4616,7 @@ module Underscore { any(iterator?: Iterator_, context?: any): ChainedObject; >any : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -4624,19 +4624,19 @@ module Underscore { contains(value: T): ChainedObject; >contains : (value: T) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ include(value: T): ChainedObject; >include : (value: T) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ invoke(methodName: string, ...args: any[]): ChainedArray; >invoke : (methodName: string, ...args: any[]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >methodName : string > : ^^^^^^ >args : any[] @@ -4644,13 +4644,13 @@ module Underscore { pluck(propertyName: string): ChainedArray; >pluck : (propertyName: string) => ChainedArray -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >propertyName : string > : ^^^^^^ max(iterator?: Iterator_, context?: any): ChainedObject; >max : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4658,7 +4658,7 @@ module Underscore { min(iterator?: Iterator_, context?: any): ChainedObject; >min : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4666,7 +4666,7 @@ module Underscore { sortBy(iterator: Iterator_, context?: any): ChainedArray; >sortBy : { (iterator: Iterator_, context?: any): ChainedArray; (propertyName: string): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4674,14 +4674,14 @@ module Underscore { sortBy(propertyName: string): ChainedArray; >sortBy : { (iterator: Iterator_, context?: any): ChainedArray; (propertyName: string): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ // Should return ChainedDictionary, but expansive recursion not allowed groupBy(iterator?: Iterator_, context?: any): ChainedDictionary; >groupBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4689,13 +4689,13 @@ module Underscore { groupBy(propertyName: string): ChainedDictionary; >groupBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ countBy(iterator?: Iterator_, context?: any): ChainedDictionary; >countBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -4703,121 +4703,121 @@ module Underscore { countBy(propertyName: string): ChainedDictionary; >countBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ shuffle(): ChainedArray; >shuffle : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ toArray(): ChainedArray; >toArray : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ size(): ChainedObject; >size : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ first(): ChainedObject; >first : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ first(count: number): ChainedArray; >first : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ head(): ChainedObject; >head : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ head(count: number): ChainedArray; >head : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ take(): ChainedObject; >take : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ take(count: number): ChainedArray; >take : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ initial(): ChainedObject; >initial : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ initial(count: number): ChainedArray; >initial : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ last(): ChainedObject; >last : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ last(count: number): ChainedArray; >last : { (): ChainedObject; (count: number): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >count : number > : ^^^^^^ rest(index?: number): ChainedArray; >rest : (index?: number) => ChainedArray -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ compact(): ChainedArray; >compact : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ flatten(shallow?: boolean): ChainedArray; >flatten : (shallow?: boolean) => ChainedArray -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >shallow : boolean > : ^^^^^^^ without(...values: T[]): ChainedArray; >without : (...values: T[]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >values : T[] > : ^^^ union(...arrays: T[][]): ChainedArray; >union : (...arrays: T[][]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >arrays : T[][] > : ^^^^^ intersection(...arrays: T[][]): ChainedArray; >intersection : (...arrays: T[][]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >arrays : T[][] > : ^^^^^ difference(...others: T[][]): ChainedArray; >difference : (...others: T[][]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^ >others : T[][] > : ^^^^^ uniq(isSorted?: boolean): ChainedArray; >uniq : { (isSorted?: boolean): ChainedArray; (isSorted: boolean, iterator: Iterator_, context?: any): ChainedArray; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isSorted : boolean > : ^^^^^^^ uniq(isSorted: boolean, iterator: Iterator_, context?: any): ChainedArray; >uniq : { (isSorted?: boolean): ChainedArray; (isSorted: boolean, iterator: Iterator_, context?: any): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >isSorted : boolean > : ^^^^^^^ >iterator : Iterator_ @@ -4827,13 +4827,13 @@ module Underscore { unique(isSorted?: boolean): ChainedArray; >unique : { (isSorted?: boolean): ChainedArray; (isSorted: boolean, iterator: Iterator_, context?: any): ChainedArray; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isSorted : boolean > : ^^^^^^^ unique(isSorted: boolean, iterator: Iterator_, context?: any): ChainedArray; >unique : { (isSorted?: boolean): ChainedArray; (isSorted: boolean, iterator: Iterator_, context?: any): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >isSorted : boolean > : ^^^^^^^ >iterator : Iterator_ @@ -4843,23 +4843,23 @@ module Underscore { zip(...arrays: any[][]): ChainedArray; >zip : (...arrays: any[][]) => ChainedArray -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >arrays : any[][] > : ^^^^^^^ object(): ChainedObject; >object : { (): ChainedObject; (values: any[]): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ object(values: any[]): ChainedObject; >object : { (): ChainedObject; (values: any[]): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >values : any[] > : ^^^^^ indexOf(value: T, isSorted?: boolean): ChainedObject; >indexOf : (value: T, isSorted?: boolean) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >isSorted : boolean @@ -4867,7 +4867,7 @@ module Underscore { lastIndexOf(value: T, fromIndex?: number): ChainedObject; >lastIndexOf : (value: T, fromIndex?: number) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ >fromIndex : number @@ -4875,7 +4875,7 @@ module Underscore { sortedIndex(obj: T, propertyName: string): ChainedObject; >sortedIndex : { (obj: T, propertyName: string): ChainedObject; (obj: T, iterator?: Iterator_, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >propertyName : string @@ -4883,7 +4883,7 @@ module Underscore { sortedIndex(obj: T, iterator?: Iterator_, context?: any): ChainedObject; >sortedIndex : { (obj: T, propertyName: string): ChainedObject; (obj: T, iterator?: Iterator_, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >obj : T > : ^ >iterator : Iterator_ @@ -4894,37 +4894,37 @@ module Underscore { // Methods from Array concat(...items: T[]): ChainedArray; >concat : (...items: T[]) => ChainedArray -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ join(separator?: string): ChainedObject; >join : (separator?: string) => ChainedObject -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ >separator : string > : ^^^^^^ pop(): ChainedObject; >pop : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ push(...items: T[]): ChainedObject; >push : (...items: T[]) => ChainedObject -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ reverse(): ChainedArray; >reverse : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ shift(): ChainedObject; >shift : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ slice(start: number, end?: number): ChainedArray; >slice : (start: number, end?: number) => ChainedArray -> : ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >end : number @@ -4932,9 +4932,9 @@ module Underscore { sort(compareFn?: (a: T, b: T) => number): ChainedArray; >sort : (compareFn?: (a: T, b: T) => number) => ChainedArray -> : ^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >compareFn : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -4942,13 +4942,13 @@ module Underscore { splice(start: number): ChainedArray; >splice : { (start: number): ChainedArray; (start: number, deleteCount: number, ...items: T[]): ChainedArray; } -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >start : number > : ^^^^^^ splice(start: number, deleteCount: number, ...items: T[]): ChainedArray; >splice : { (start: number): ChainedArray; (start: number, deleteCount: number, ...items: T[]): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >start : number > : ^^^^^^ >deleteCount : number @@ -4958,44 +4958,44 @@ module Underscore { unshift(...items: T[]): ChainedObject; >unshift : (...items: T[]) => ChainedObject -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >items : T[] > : ^^^ // Methods from ChainedObject with promoted return types extend(...sources: any[]): ChainedArray; >extend : (...sources: any[]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >sources : any[] > : ^^^^^ pick(...keys: string[]): ChainedArray; >pick : (...keys: string[]) => ChainedArray -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ omit(...keys: string[]): ChainedArray; >omit : (...keys: string[]) => ChainedArray -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ defaults(...defaults: any[]): ChainedArray; >defaults : (...defaults: any[]) => ChainedArray -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^ ^^^^^ >defaults : any[] > : ^^^^^ clone(): ChainedArray; >clone : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ tap(interceptor: (object: T[]) => void): ChainedArray; >tap : (interceptor: (object: T[]) => void) => ChainedArray -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^ ^^^^^ >interceptor : (object: T[]) => void -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >object : T[] > : ^^^ } @@ -5003,7 +5003,7 @@ module Underscore { export interface ChainedDictionary extends ChainedObject> { each(iterator: Iterator_, context?: any): ChainedObject; >each : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -5011,7 +5011,7 @@ module Underscore { forEach(iterator: Iterator_, context?: any): ChainedObject; >forEach : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^ >context : any @@ -5019,7 +5019,7 @@ module Underscore { map(iterator: Iterator_, context?: any): ChainedArray; >map : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -5027,7 +5027,7 @@ module Underscore { collect(iterator: Iterator_, context?: any): ChainedArray; >collect : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^ >context : any @@ -5035,7 +5035,7 @@ module Underscore { reduce(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -5045,7 +5045,7 @@ module Underscore { reduce(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >reduce : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -5055,7 +5055,7 @@ module Underscore { foldl(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -5065,7 +5065,7 @@ module Underscore { foldl(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >foldl : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -5075,7 +5075,7 @@ module Underscore { inject(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >inject : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -5085,7 +5085,7 @@ module Underscore { inject(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >inject : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -5095,7 +5095,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -5105,7 +5105,7 @@ module Underscore { reduceRight(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >reduceRight : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -5115,7 +5115,7 @@ module Underscore { foldr(iterator: Reducer, initialValue?: T, context?: any): ChainedObject; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : T @@ -5125,7 +5125,7 @@ module Underscore { foldr(iterator: Reducer, initialValue: U, context?: any): ChainedObject; >foldr : { (iterator: Reducer, initialValue?: T, context?: any): ChainedObject; (iterator: Reducer, initialValue: U, context?: any): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >iterator : Reducer > : ^^^^^^^^^^^^^ >initialValue : U @@ -5135,7 +5135,7 @@ module Underscore { find(iterator: Iterator_, context?: any): ChainedObject; >find : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5143,7 +5143,7 @@ module Underscore { detect(iterator: Iterator_, context?: any): ChainedObject; >detect : (iterator: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5151,7 +5151,7 @@ module Underscore { filter(iterator: Iterator_, context?: any): ChainedArray; >filter : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5159,7 +5159,7 @@ module Underscore { select(iterator: Iterator_, context?: any): ChainedArray; >select : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5167,19 +5167,19 @@ module Underscore { where(properties: Object): ChainedArray; >where : (properties: Object) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ findWhere(properties: Object): ChainedObject; >findWhere : (properties: Object) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >properties : Object > : ^^^^^^ reject(iterator: Iterator_, context?: any): ChainedArray; >reject : (iterator: Iterator_, context?: any) => ChainedArray -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5187,7 +5187,7 @@ module Underscore { every(iterator?: Iterator_, context?: any): ChainedObject; >every : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5195,7 +5195,7 @@ module Underscore { all(iterator?: Iterator_, context?: any): ChainedObject; >all : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5203,7 +5203,7 @@ module Underscore { some(iterator?: Iterator_, context?: any): ChainedObject; >some : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5211,7 +5211,7 @@ module Underscore { any(iterator?: Iterator_, context?: any): ChainedObject; >any : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^^^^^ >context : any @@ -5219,19 +5219,19 @@ module Underscore { contains(value: T): ChainedObject; >contains : (value: T) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ include(value: T): ChainedObject; >include : (value: T) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ invoke(methodName: string, ...args: any[]): ChainedArray; >invoke : (methodName: string, ...args: any[]) => ChainedArray -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >methodName : string > : ^^^^^^ >args : any[] @@ -5239,13 +5239,13 @@ module Underscore { pluck(propertyName: string): ChainedArray; >pluck : (propertyName: string) => ChainedArray -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^ >propertyName : string > : ^^^^^^ max(iterator?: Iterator_, context?: any): ChainedObject; >max : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -5253,7 +5253,7 @@ module Underscore { min(iterator?: Iterator_, context?: any): ChainedObject; >min : (iterator?: Iterator_, context?: any) => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -5261,7 +5261,7 @@ module Underscore { sortBy(iterator: Iterator_, context?: any): ChainedArray; >sortBy : { (iterator: Iterator_, context?: any): ChainedArray; (propertyName: string): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -5269,14 +5269,14 @@ module Underscore { sortBy(propertyName: string): ChainedArray; >sortBy : { (iterator: Iterator_, context?: any): ChainedArray; (propertyName: string): ChainedArray; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ // Should return ChainedDictionary, but expansive recursion not allowed groupBy(iterator?: Iterator_, context?: any): ChainedDictionary; >groupBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -5284,13 +5284,13 @@ module Underscore { groupBy(propertyName: string): ChainedDictionary; >groupBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ countBy(iterator?: Iterator_, context?: any): ChainedDictionary; >countBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : Iterator_ > : ^^^^^^^^^^^^^^^^^ >context : any @@ -5298,56 +5298,56 @@ module Underscore { countBy(propertyName: string): ChainedDictionary; >countBy : { (iterator?: Iterator_, context?: any): ChainedDictionary; (propertyName: string): ChainedDictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >propertyName : string > : ^^^^^^ shuffle(): ChainedArray; >shuffle : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ toArray(): ChainedArray; >toArray : () => ChainedArray -> : ^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ size(): ChainedObject; >size : () => ChainedObject -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ // Methods from ChainedObject with promoted return types extend(...sources: any[]): ChainedDictionary; >extend : (...sources: any[]) => ChainedDictionary -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^ ^^^^^ >sources : any[] > : ^^^^^ pick(...keys: string[]): ChainedDictionary; >pick : (...keys: string[]) => ChainedDictionary -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ omit(...keys: string[]): ChainedDictionary; >omit : (...keys: string[]) => ChainedDictionary -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >keys : string[] > : ^^^^^^^^ defaults(...defaults: any[]): ChainedDictionary; >defaults : (...defaults: any[]) => ChainedDictionary -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^ ^^^^^ >defaults : any[] > : ^^^^^ clone(): ChainedDictionary; >clone : () => ChainedDictionary -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ tap(interceptor: (object: Dictionary) => void): ChainedDictionary; >tap : (interceptor: (object: Dictionary) => void) => ChainedDictionary -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^ ^^^^^ >interceptor : (object: Dictionary) => void -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >object : Dictionary > : ^^^^^^^^^^^^^ } @@ -5389,25 +5389,25 @@ module Underscore { chain(list: T[]): ChainedArray; >chain : { (list: T[]): ChainedArray; (list: Dictionary): ChainedDictionary; (obj: T_2): ChainedObject; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ chain(list: Dictionary): ChainedDictionary; >chain : { (list: T_1[]): ChainedArray; (list: Dictionary): ChainedDictionary; (obj: T_2): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ chain(obj: T): ChainedObject; >chain : { (list: T_1[]): ChainedArray; (list: Dictionary): ChainedDictionary; (obj: T): ChainedObject; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^ >obj : T > : ^ each(list: T[], iterator: Iterator_, context?: any): void; >each : { (list: T[], iterator: Iterator_, context?: any): void; (list: Dictionary, iterator: Iterator_, context?: any): void; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5417,7 +5417,7 @@ module Underscore { each(list: Dictionary, iterator: Iterator_, context?: any): void; >each : { (list: T_1[], iterator: Iterator_, context?: any): void; (list: Dictionary, iterator: Iterator_, context?: any): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5427,7 +5427,7 @@ module Underscore { forEach(list: T[], iterator: Iterator_, context?: any): void; >forEach : { (list: T[], iterator: Iterator_, context?: any): void; (list: Dictionary, iterator: Iterator_, context?: any): void; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5437,7 +5437,7 @@ module Underscore { forEach(list: Dictionary, iterator: Iterator_, context?: any): void; >forEach : { (list: T_1[], iterator: Iterator_, context?: any): void; (list: Dictionary, iterator: Iterator_, context?: any): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5447,7 +5447,7 @@ module Underscore { map(list: T[], iterator: Iterator_, context?: any): U[]; >map : { (list: T[], iterator: Iterator_, context?: any): U[]; (list: Dictionary, iterator: Iterator_, context?: any): U_1[]; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5457,7 +5457,7 @@ module Underscore { map(list: Dictionary, iterator: Iterator_, context?: any): U[]; >map : { (list: T_1[], iterator: Iterator_, context?: any): U_1[]; (list: Dictionary, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5467,7 +5467,7 @@ module Underscore { collect(list: T[], iterator: Iterator_, context?: any): U[]; >collect : { (list: T[], iterator: Iterator_, context?: any): U[]; (list: Dictionary, iterator: Iterator_, context?: any): U_1[]; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5477,7 +5477,7 @@ module Underscore { collect(list: Dictionary, iterator: Iterator_, context?: any): U[]; >collect : { (list: T_1[], iterator: Iterator_, context?: any): U_1[]; (list: Dictionary, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5487,7 +5487,7 @@ module Underscore { reduce(list: T[], iterator: Reducer, initialValue?: T, context?: any): T; >reduce : { (list: T[], iterator: Reducer, initialValue?: T, context?: any): T; (list: T_1[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5499,7 +5499,7 @@ module Underscore { reduce(list: T[], iterator: Reducer, initialValue: U, context?: any): U; >reduce : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5511,7 +5511,7 @@ module Underscore { reduce(list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; >reduce : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5523,7 +5523,7 @@ module Underscore { reduce(list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; >reduce : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U_1, context?: any): U_1; (list: Dictionary, iterator: Reducer, initialValue?: T_3, context?: any): T_3; (list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5535,7 +5535,7 @@ module Underscore { foldl(list: T[], iterator: Reducer, initialValue?: T, context?: any): T; >foldl : { (list: T[], iterator: Reducer, initialValue?: T, context?: any): T; (list: T_1[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5547,7 +5547,7 @@ module Underscore { foldl(list: T[], iterator: Reducer, initialValue: U, context?: any): U; >foldl : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5559,7 +5559,7 @@ module Underscore { foldl(list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; >foldl : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5571,7 +5571,7 @@ module Underscore { foldl(list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; >foldl : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U_1, context?: any): U_1; (list: Dictionary, iterator: Reducer, initialValue?: T_3, context?: any): T_3; (list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5583,7 +5583,7 @@ module Underscore { inject(list: T[], iterator: Reducer, initialValue?: T, context?: any): T; >inject : { (list: T[], iterator: Reducer, initialValue?: T, context?: any): T; (list: T_1[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5595,7 +5595,7 @@ module Underscore { inject(list: T[], iterator: Reducer, initialValue: U, context?: any): U; >inject : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5607,7 +5607,7 @@ module Underscore { inject(list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; >inject : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5619,7 +5619,7 @@ module Underscore { inject(list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; >inject : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U_1, context?: any): U_1; (list: Dictionary, iterator: Reducer, initialValue?: T_3, context?: any): T_3; (list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5631,7 +5631,7 @@ module Underscore { reduceRight(list: T[], iterator: Reducer, initialValue?: T, context?: any): T; >reduceRight : { (list: T[], iterator: Reducer, initialValue?: T, context?: any): T; (list: T_1[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5643,7 +5643,7 @@ module Underscore { reduceRight(list: T[], iterator: Reducer, initialValue: U, context?: any): U; >reduceRight : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5655,7 +5655,7 @@ module Underscore { reduceRight(list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; >reduceRight : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5667,7 +5667,7 @@ module Underscore { reduceRight(list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; >reduceRight : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U_1, context?: any): U_1; (list: Dictionary, iterator: Reducer, initialValue?: T_3, context?: any): T_3; (list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5679,7 +5679,7 @@ module Underscore { foldr(list: T[], iterator: Reducer, initialValue?: T, context?: any): T; >foldr : { (list: T[], iterator: Reducer, initialValue?: T, context?: any): T; (list: T_1[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5691,7 +5691,7 @@ module Underscore { foldr(list: T[], iterator: Reducer, initialValue: U, context?: any): U; >foldr : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T_2, context?: any): T_2; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Reducer @@ -5703,7 +5703,7 @@ module Underscore { foldr(list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; >foldr : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U, context?: any): U; (list: Dictionary, iterator: Reducer, initialValue?: T, context?: any): T; (list: Dictionary, iterator: Reducer, initialValue: U_1, context?: any): U_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5715,7 +5715,7 @@ module Underscore { foldr(list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; >foldr : { (list: T_1[], iterator: Reducer, initialValue?: T_1, context?: any): T_1; (list: T_2[], iterator: Reducer, initialValue: U_1, context?: any): U_1; (list: Dictionary, iterator: Reducer, initialValue?: T_3, context?: any): T_3; (list: Dictionary, iterator: Reducer, initialValue: U, context?: any): U; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Reducer @@ -5727,7 +5727,7 @@ module Underscore { find(list: T[], iterator: Iterator_, context?: any): T; >find : { (list: T[], iterator: Iterator_, context?: any): T; (list: Dictionary, iterator: Iterator_, context?: any): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5737,7 +5737,7 @@ module Underscore { find(list: Dictionary, iterator: Iterator_, context?: any): T; >find : { (list: T_1[], iterator: Iterator_, context?: any): T_1; (list: Dictionary, iterator: Iterator_, context?: any): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5747,7 +5747,7 @@ module Underscore { detect(list: T[], iterator: Iterator_, context?: any): T; >detect : { (list: T[], iterator: Iterator_, context?: any): T; (list: Dictionary, iterator: Iterator_, context?: any): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5757,7 +5757,7 @@ module Underscore { detect(list: Dictionary, iterator: Iterator_, context?: any): T; >detect : { (list: T_1[], iterator: Iterator_, context?: any): T_1; (list: Dictionary, iterator: Iterator_, context?: any): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5767,7 +5767,7 @@ module Underscore { filter(list: T[], iterator: Iterator_, context?: any): T[]; >filter : { (list: T[], iterator: Iterator_, context?: any): T[]; (list: Dictionary, iterator: Iterator_, context?: any): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5777,7 +5777,7 @@ module Underscore { filter(list: Dictionary, iterator: Iterator_, context?: any): T[]; >filter : { (list: T_1[], iterator: Iterator_, context?: any): T_1[]; (list: Dictionary, iterator: Iterator_, context?: any): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5787,7 +5787,7 @@ module Underscore { select(list: T[], iterator: Iterator_, context?: any): T[]; >select : { (list: T[], iterator: Iterator_, context?: any): T[]; (list: Dictionary, iterator: Iterator_, context?: any): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5797,7 +5797,7 @@ module Underscore { select(list: Dictionary, iterator: Iterator_, context?: any): T[]; >select : { (list: T_1[], iterator: Iterator_, context?: any): T_1[]; (list: Dictionary, iterator: Iterator_, context?: any): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5807,7 +5807,7 @@ module Underscore { where(list: T[], properties: Object): T[]; >where : { (list: T[], properties: Object): T[]; (list: Dictionary, properties: Object): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >properties : Object @@ -5815,7 +5815,7 @@ module Underscore { where(list: Dictionary, properties: Object): T[]; >where : { (list: T_1[], properties: Object): T_1[]; (list: Dictionary, properties: Object): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >properties : Object @@ -5823,7 +5823,7 @@ module Underscore { findWhere(list: T[], properties: Object): T; >findWhere : { (list: T[], properties: Object): T; (list: Dictionary, properties: Object): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >properties : Object @@ -5831,7 +5831,7 @@ module Underscore { findWhere(list: Dictionary, properties: Object): T; >findWhere : { (list: T_1[], properties: Object): T_1; (list: Dictionary, properties: Object): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >properties : Object @@ -5839,7 +5839,7 @@ module Underscore { reject(list: T[], iterator: Iterator_, context?: any): T[]; >reject : { (list: T[], iterator: Iterator_, context?: any): T[]; (list: Dictionary, iterator: Iterator_, context?: any): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5849,7 +5849,7 @@ module Underscore { reject(list: Dictionary, iterator: Iterator_, context?: any): T[]; >reject : { (list: T_1[], iterator: Iterator_, context?: any): T_1[]; (list: Dictionary, iterator: Iterator_, context?: any): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5859,7 +5859,7 @@ module Underscore { every(list: T[], iterator?: Iterator_, context?: any): boolean; >every : { (list: T[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5869,7 +5869,7 @@ module Underscore { every(list: Dictionary, iterator?: Iterator_, context?: any): boolean; >every : { (list: T_1[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5879,7 +5879,7 @@ module Underscore { all(list: T[], iterator?: Iterator_, context?: any): boolean; >all : { (list: T[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5889,7 +5889,7 @@ module Underscore { all(list: Dictionary, iterator?: Iterator_, context?: any): boolean; >all : { (list: T_1[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5899,7 +5899,7 @@ module Underscore { some(list: T[], iterator?: Iterator_, context?: any): boolean; >some : { (list: T[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5909,7 +5909,7 @@ module Underscore { some(list: Dictionary, iterator?: Iterator_, context?: any): boolean; >some : { (list: T_1[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5919,7 +5919,7 @@ module Underscore { any(list: T[], iterator?: Iterator_, context?: any): boolean; >any : { (list: T[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -5929,7 +5929,7 @@ module Underscore { any(list: Dictionary, iterator?: Iterator_, context?: any): boolean; >any : { (list: T_1[], iterator?: Iterator_, context?: any): boolean; (list: Dictionary, iterator?: Iterator_, context?: any): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -5939,7 +5939,7 @@ module Underscore { contains(list: T[], value: T): boolean; >contains : { (list: T[], value: T): boolean; (list: Dictionary, value: T_1): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >value : T @@ -5947,7 +5947,7 @@ module Underscore { contains(list: Dictionary, value: T): boolean; >contains : { (list: T_1[], value: T_1): boolean; (list: Dictionary, value: T): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >value : T @@ -5955,7 +5955,7 @@ module Underscore { include(list: T[], value: T): boolean; >include : { (list: T[], value: T): boolean; (list: Dictionary, value: T_1): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >value : T @@ -5963,7 +5963,7 @@ module Underscore { include(list: Dictionary, value: T): boolean; >include : { (list: T_1[], value: T_1): boolean; (list: Dictionary, value: T): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >value : T @@ -5981,7 +5981,7 @@ module Underscore { invoke(list: Dictionary, methodName: string, ...args: any[]): any[]; >invoke : { (list: any[], methodName: string, ...args: any[]): any[]; (list: Dictionary, methodName: string, ...args: any[]): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^^^ >methodName : string @@ -5999,7 +5999,7 @@ module Underscore { pluck(list: Dictionary, propertyName: string): any[]; >pluck : { (list: any[], propertyName: string): any[]; (list: Dictionary, propertyName: string): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^^^ >propertyName : string @@ -6007,7 +6007,7 @@ module Underscore { max(list: T[], iterator?: Iterator_, context?: any): T; >max : { (list: T[], iterator?: Iterator_, context?: any): T; (list: Dictionary, iterator?: Iterator_, context?: any): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -6017,7 +6017,7 @@ module Underscore { max(list: Dictionary, iterator?: Iterator_, context?: any): T; >max : { (list: T_1[], iterator?: Iterator_, context?: any): T_1; (list: Dictionary, iterator?: Iterator_, context?: any): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -6027,7 +6027,7 @@ module Underscore { min(list: T[], iterator?: Iterator_, context?: any): T; >min : { (list: T[], iterator?: Iterator_, context?: any): T; (list: Dictionary, iterator?: Iterator_, context?: any): T_1; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -6037,7 +6037,7 @@ module Underscore { min(list: Dictionary, iterator?: Iterator_, context?: any): T; >min : { (list: T_1[], iterator?: Iterator_, context?: any): T_1; (list: Dictionary, iterator?: Iterator_, context?: any): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -6047,7 +6047,7 @@ module Underscore { sortBy(list: T[], iterator: Iterator_, context?: any): T[]; >sortBy : { (list: T[], iterator: Iterator_, context?: any): T[]; (list: Dictionary, iterator: Iterator_, context?: any): T_1[]; (list: T_2[], propertyName: string): T_2[]; (list: Dictionary, propertyName: string): T_3[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -6057,7 +6057,7 @@ module Underscore { sortBy(list: Dictionary, iterator: Iterator_, context?: any): T[]; >sortBy : { (list: T_1[], iterator: Iterator_, context?: any): T_1[]; (list: Dictionary, iterator: Iterator_, context?: any): T[]; (list: T_2[], propertyName: string): T_2[]; (list: Dictionary, propertyName: string): T_3[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -6067,7 +6067,7 @@ module Underscore { sortBy(list: T[], propertyName: string): T[]; >sortBy : { (list: T_1[], iterator: Iterator_, context?: any): T_1[]; (list: Dictionary, iterator: Iterator_, context?: any): T_2[]; (list: T[], propertyName: string): T[]; (list: Dictionary, propertyName: string): T_3[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >propertyName : string @@ -6075,7 +6075,7 @@ module Underscore { sortBy(list: Dictionary, propertyName: string): T[]; >sortBy : { (list: T_1[], iterator: Iterator_, context?: any): T_1[]; (list: Dictionary, iterator: Iterator_, context?: any): T_2[]; (list: T_3[], propertyName: string): T_3[]; (list: Dictionary, propertyName: string): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >propertyName : string @@ -6083,7 +6083,7 @@ module Underscore { groupBy(list: T[], iterator?: Iterator_, context?: any): Dictionary; >groupBy : { (list: T[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T_2[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -6093,7 +6093,7 @@ module Underscore { groupBy(list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; >groupBy : { (list: T_1[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T_2[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -6103,7 +6103,7 @@ module Underscore { groupBy(list: T[], propertyName: string): Dictionary; >groupBy : { (list: T_1[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >propertyName : string @@ -6111,7 +6111,7 @@ module Underscore { groupBy(list: Dictionary, propertyName: string): Dictionary; >groupBy : { (list: T_1[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T_3[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >propertyName : string @@ -6119,7 +6119,7 @@ module Underscore { countBy(list: T[], iterator?: Iterator_, context?: any): Dictionary; >countBy : { (list: T[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T_2[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >iterator : Iterator_ @@ -6129,7 +6129,7 @@ module Underscore { countBy(list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; >countBy : { (list: T_1[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T_2[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >iterator : Iterator_ @@ -6139,7 +6139,7 @@ module Underscore { countBy(list: T[], propertyName: string): Dictionary; >countBy : { (list: T_1[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >propertyName : string @@ -6147,7 +6147,7 @@ module Underscore { countBy(list: Dictionary, propertyName: string): Dictionary; >countBy : { (list: T_1[], iterator?: Iterator_, context?: any): Dictionary; (list: Dictionary, iterator?: Iterator_, context?: any): Dictionary; (list: T_3[], propertyName: string): Dictionary; (list: Dictionary, propertyName: string): Dictionary; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ >propertyName : string @@ -6155,49 +6155,49 @@ module Underscore { shuffle(list: T[]): T[]; >shuffle : { (list: T[]): T[]; (list: Dictionary): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ shuffle(list: Dictionary): T[]; >shuffle : { (list: T_1[]): T_1[]; (list: Dictionary): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ toArray(list: T[]): T[]; >toArray : { (list: T[]): T[]; (list: Dictionary): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ toArray(list: Dictionary): T[]; >toArray : { (list: T_1[]): T_1[]; (list: Dictionary): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ size(list: T[]): number; >size : { (list: T[]): number; (list: Dictionary): number; } -> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ size(list: Dictionary): number; >size : { (list: T_1[]): number; (list: Dictionary): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^ >list : Dictionary > : ^^^^^^^^^^^^^ first(list: T[]): T; >first : { (list: T[]): T; (list: T_1[], count: number): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ first(list: T[], count: number): T[]; >first : { (list: T_1[]): T_1; (list: T[], count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >count : number @@ -6205,13 +6205,13 @@ module Underscore { head(list: T[]): T; >head : { (list: T[]): T; (list: T_1[], count: number): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ head(list: T[], count: number): T[]; >head : { (list: T_1[]): T_1; (list: T[], count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >count : number @@ -6219,13 +6219,13 @@ module Underscore { take(list: T[]): T; >take : { (list: T[]): T; (list: T_1[], count: number): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ take(list: T[], count: number): T[]; >take : { (list: T_1[]): T_1; (list: T[], count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >count : number @@ -6233,13 +6233,13 @@ module Underscore { initial(list: T[]): T; >initial : { (list: T[]): T; (list: T_1[], count: number): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ initial(list: T[], count: number): T[]; >initial : { (list: T_1[]): T_1; (list: T[], count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >count : number @@ -6247,13 +6247,13 @@ module Underscore { last(list: T[]): T; >last : { (list: T[]): T; (list: T_1[], count: number): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ last(list: T[], count: number): T[]; >last : { (list: T_1[]): T_1; (list: T[], count: number): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >count : number @@ -6261,7 +6261,7 @@ module Underscore { rest(list: T[], index?: number): T[]; >rest : (list: T[], index?: number) => T[] -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >index : number @@ -6269,19 +6269,19 @@ module Underscore { compact(list: T[]): T[]; >compact : (list: T[]) => T[] -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >list : T[] > : ^^^ flatten(list: T[][]): T[]; >flatten : { (list: T[][]): T[]; (array: any[], shallow?: boolean): T_1[]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[][] > : ^^^^^ flatten(array: any[], shallow?: boolean): T[]; >flatten : { (list: T_1[][]): T_1[]; (array: any[], shallow?: boolean): T[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >array : any[] > : ^^^^^ >shallow : boolean @@ -6289,7 +6289,7 @@ module Underscore { without(list: T[], ...values: T[]): T[]; >without : (list: T[], ...values: T[]) => T[] -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >values : T[] @@ -6297,19 +6297,19 @@ module Underscore { union(...arrays: T[][]): T[]; >union : (...arrays: T[][]) => T[] -> : ^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >arrays : T[][] > : ^^^^^ intersection(...arrays: T[][]): T[]; >intersection : (...arrays: T[][]) => T[] -> : ^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >arrays : T[][] > : ^^^^^ difference(list: T[], ...others: T[][]): T[]; >difference : (list: T[], ...others: T[][]) => T[] -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >others : T[][] @@ -6317,7 +6317,7 @@ module Underscore { uniq(list: T[], isSorted?: boolean): T[]; >uniq : { (list: T[], isSorted?: boolean): T[]; (list: T_1[], isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >isSorted : boolean @@ -6325,7 +6325,7 @@ module Underscore { uniq(list: T[], isSorted: boolean, iterator: Iterator_, context?: any): U[]; >uniq : { (list: T_1[], isSorted?: boolean): T_1[]; (list: T[], isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >isSorted : boolean @@ -6337,7 +6337,7 @@ module Underscore { unique(list: T[], isSorted?: boolean): T[]; >unique : { (list: T[], isSorted?: boolean): T[]; (list: T_1[], isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >isSorted : boolean @@ -6345,7 +6345,7 @@ module Underscore { unique(list: T[], isSorted: boolean, iterator: Iterator_, context?: any): U[]; >unique : { (list: T_1[], isSorted?: boolean): T_1[]; (list: T[], isSorted: boolean, iterator: Iterator_, context?: any): U[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >isSorted : boolean @@ -6357,7 +6357,7 @@ module Underscore { zip(a0: T0[], a1: T1[]): Tuple2[]; >zip : { (a0: T0[], a1: T1[]): Tuple2[]; (a0: T0_1[], a1: T1_1[], a2: T2[]): Tuple3[]; (a0: T0_2[], a1: T1_2[], a2: T2_1[], a3: T3[]): Tuple4[]; (...arrays: any[][]): any[][]; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a0 : T0[] > : ^^^^ >a1 : T1[] @@ -6365,7 +6365,7 @@ module Underscore { zip(a0: T0[], a1: T1[], a2: T2[]): Tuple3[]; >zip : { (a0: T0_1[], a1: T1_1[]): Tuple2[]; (a0: T0[], a1: T1[], a2: T2[]): Tuple3[]; (a0: T0_2[], a1: T1_2[], a2: T2_1[], a3: T3[]): Tuple4[]; (...arrays: any[][]): any[][]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a0 : T0[] > : ^^^^ >a1 : T1[] @@ -6375,7 +6375,7 @@ module Underscore { zip(a0: T0[], a1: T1[], a2: T2[], a3: T3[]): Tuple4[]; >zip : { (a0: T0_1[], a1: T1_1[]): Tuple2[]; (a0: T0_2[], a1: T1_2[], a2: T2_1[]): Tuple3[]; (a0: T0[], a1: T1[], a2: T2[], a3: T3[]): Tuple4[]; (...arrays: any[][]): any[][]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a0 : T0[] > : ^^^^ >a1 : T1[] @@ -6407,7 +6407,7 @@ module Underscore { indexOf(list: T[], value: T, isSorted?: boolean): number; >indexOf : (list: T[], value: T, isSorted?: boolean) => number -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >value : T @@ -6417,7 +6417,7 @@ module Underscore { lastIndexOf(list: T[], value: T, fromIndex?: number): number; >lastIndexOf : (list: T[], value: T, fromIndex?: number) => number -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >list : T[] > : ^^^ >value : T @@ -6427,7 +6427,7 @@ module Underscore { sortedIndex(list: T[], obj: T, propertyName: string): number; >sortedIndex : { (list: T[], obj: T, propertyName: string): number; (list: T_1[], obj: T_1, iterator?: Iterator_, context?: any): number; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >list : T[] > : ^^^ >obj : T @@ -6437,7 +6437,7 @@ module Underscore { sortedIndex(list: T[], obj: T, iterator?: Iterator_, context?: any): number; >sortedIndex : { (list: T_1[], obj: T_1, propertyName: string): number; (list: T[], obj: T, iterator?: Iterator_, context?: any): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^ ^^^ >list : T[] > : ^^^ >obj : T @@ -6465,7 +6465,7 @@ module Underscore { bind(func: T, object: any): T; >bind : { (func: T, object: any): T; (func: Function, object: any, ...args: any[]): Function; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >func : T > : ^ >object : any @@ -6473,7 +6473,7 @@ module Underscore { bind(func: Function, object: any, ...args: any[]): Function; >bind : { (func: T, object: any): T; (func: Function, object: any, ...args: any[]): Function; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >func : Function > : ^^^^^^^^ >object : any @@ -6483,7 +6483,7 @@ module Underscore { bindAll(object: T, ...methodNames: string[]): T; >bindAll : (object: T, ...methodNames: string[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >object : T > : ^ >methodNames : string[] @@ -6491,7 +6491,7 @@ module Underscore { partial(func: Function, ...args: any[]): Function; >partial : (func: Function, ...args: any[]) => Function -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >func : Function > : ^^^^^^^^ >args : any[] @@ -6499,7 +6499,7 @@ module Underscore { memoize(func: T, hashFunction?: Function): T; >memoize : (func: T, hashFunction?: Function) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >func : T > : ^ >hashFunction : Function @@ -6507,7 +6507,7 @@ module Underscore { delay(func: Function, wait: number, ...args: any[]): number; >delay : (func: Function, wait: number, ...args: any[]) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >func : Function > : ^^^^^^^^ >wait : number @@ -6517,7 +6517,7 @@ module Underscore { defer(func: Function, ...args: any[]): number; >defer : (func: Function, ...args: any[]) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >func : Function > : ^^^^^^^^ >args : any[] @@ -6525,7 +6525,7 @@ module Underscore { throttle(func: T, wait: number): T; >throttle : (func: T, wait: number) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >func : T > : ^ >wait : number @@ -6533,7 +6533,7 @@ module Underscore { debounce(func: T, wait: number, immediate?: boolean): T; >debounce : (func: T, wait: number, immediate?: boolean) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >func : T > : ^ >wait : number @@ -6543,13 +6543,13 @@ module Underscore { once(func: T): T; >once : (func: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >func : T > : ^ after(count: number, func: T): T; >after : (count: number, func: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >count : number > : ^^^^^^ >func : T @@ -6557,11 +6557,11 @@ module Underscore { wrap(func: T, wrapper: (func: T, ...args: any[]) => any): T; >wrap : (func: T, wrapper: (func: T, ...args: any[]) => any) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >func : T > : ^ >wrapper : (func: T, ...args: any[]) => any -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >func : T > : ^ >args : any[] @@ -6569,7 +6569,7 @@ module Underscore { compose(...funcs: Function[]): Function; >compose : (...funcs: Function[]) => Function -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >funcs : Function[] > : ^^^^^^^^^^ @@ -6611,7 +6611,7 @@ module Underscore { extend(destination: T, ...sources: any[]): T; >extend : (destination: T, ...sources: any[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >destination : T > : ^ >sources : any[] @@ -6619,7 +6619,7 @@ module Underscore { pick(object: T, ...keys: string[]): T; >pick : (object: T, ...keys: string[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >object : T > : ^ >keys : string[] @@ -6627,7 +6627,7 @@ module Underscore { omit(object: T, ...keys: string[]): T; >omit : (object: T, ...keys: string[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >object : T > : ^ >keys : string[] @@ -6635,7 +6635,7 @@ module Underscore { defaults(object: T, ...defaults: any[]): T; >defaults : (object: T, ...defaults: any[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >object : T > : ^ >defaults : any[] @@ -6643,17 +6643,17 @@ module Underscore { clone(object: T): T; >clone : (object: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ >object : T > : ^ tap(object: T, interceptor: (object: T) => void): T; >tap : (object: T, interceptor: (object: T) => void) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >object : T > : ^ >interceptor : (object: T) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >object : T > : ^ @@ -6667,7 +6667,7 @@ module Underscore { isEqual(object: T, other: T): boolean; >isEqual : (object: T, other: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >object : T > : ^ >other : T @@ -6765,17 +6765,17 @@ module Underscore { noConflict(): Static; >noConflict : () => Static -> : ^^^^^^^^^^^^ +> : ^^^^^^ identity(value: T): T; >identity : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ times(n: number, iterator: Iterator_, context?: any): U[]; >times : (n: number, iterator: Iterator_, context?: any) => U[] -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >n : number > : ^^^^^^ >iterator : Iterator_ @@ -6847,7 +6847,7 @@ module Underscore { template(templateString: string, data: any, settings?: TemplateSettings): string; >template : { (templateString: string): (data: any) => string; (templateString: string, data: any, settings?: TemplateSettings): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >templateString : string > : ^^^^^^ >data : any diff --git a/tests/baselines/reference/unionAndIntersectionInference1.types b/tests/baselines/reference/unionAndIntersectionInference1.types index 82fe292f3f03b..d526ef367f5d4 100644 --- a/tests/baselines/reference/unionAndIntersectionInference1.types +++ b/tests/baselines/reference/unionAndIntersectionInference1.types @@ -17,7 +17,7 @@ var y: Y = undefined; function destructure( >destructure : (something: a | Y, haveValue: (value: a) => r, haveY: (value: Y) => r) => r -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ something: a | Y, >something : Y | a @@ -25,13 +25,13 @@ function destructure( haveValue: (value: a) => r, >haveValue : (value: a) => r -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : a > : ^ haveY: (value: Y) => r >haveY : (value: Y) => r -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : Y > : ^ @@ -111,7 +111,7 @@ var result = destructure(value, text => 'string', y => 'other one'); // text: st function isVoid(value: void | a): value is void { >isVoid : (value: void | a) => value is void -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >value : void | a > : ^^^^^^^^ @@ -122,7 +122,7 @@ function isVoid(value: void | a): value is void { function isNonVoid(value: void | a) : value is a { >isNonVoid : (value: void | a) => value is a -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ >value : void | a > : ^^^^^^^^ @@ -133,7 +133,7 @@ function isNonVoid(value: void | a) : value is a { function foo1(value: void|a): void { >foo1 : (value: void | a) => void -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : void | a > : ^^^^^^^^ @@ -158,7 +158,7 @@ function foo1(value: void|a): void { function baz1(value: void|a): void { >baz1 : (value: void | a) => void -> : ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : void | a > : ^^^^^^^^ @@ -189,7 +189,7 @@ type Maybe = T | void; function get(x: U | void): U { >get : (x: U | void) => U -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : void | U > : ^^^^^^^^ @@ -236,7 +236,7 @@ interface Pig { declare function pigify(y: T & Bear): T & Pig; >pigify : (y: T & Bear) => T & Pig -> : ^^^^^^^^ ^^^^^^^^^^ ^^^ +> : ^ ^^^^^ ^^^^^ >y : T & Bear > : ^^^^^^^^ @@ -278,9 +278,9 @@ interface ITest { const createTestAsync = (): Promise => Promise.resolve().then(() => ({ name: 'test' })) >createTestAsync : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >(): Promise => Promise.resolve().then(() => ({ name: 'test' })) : () => Promise -> : ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >Promise.resolve().then(() => ({ name: 'test' })) : Promise > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Promise.resolve().then : (onfulfilled?: (value: void) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike) => Promise @@ -308,9 +308,9 @@ const createTestAsync = (): Promise => Promise.resolve().then(() => ({ na const createTest = (): ITest => { >createTest : () => ITest -> : ^^^^^^^^^^^ +> : ^^^^^^ >(): ITest => { return { name: 'test' }} : () => ITest -> : ^^^^^^^^^^^ +> : ^^^^^^ return { name: 'test' } >{ name: 'test' } : { name: "test"; } @@ -323,13 +323,13 @@ const createTest = (): ITest => { declare function f1(x: T | U): T | U; >f1 : (x: T | U) => T | U -> : ^^^^^^^^^^^ ^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >x : T | U > : ^^^^^ declare function f2(x: T, y: U): T | U; >f2 : (x: T, y: U) => T | U -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -367,9 +367,9 @@ const func = () => {}; const assign = (a: T, b: U) => Object.assign(a, b); >assign : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >(a: T, b: U) => Object.assign(a, b) : (a: T, b: U) => T & U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/unionAndIntersectionInference2.types b/tests/baselines/reference/unionAndIntersectionInference2.types index 298b4f0b06105..1dd5195c1488b 100644 --- a/tests/baselines/reference/unionAndIntersectionInference2.types +++ b/tests/baselines/reference/unionAndIntersectionInference2.types @@ -3,7 +3,7 @@ === unionAndIntersectionInference2.ts === declare function f1(x: T | string): T; >f1 : (x: T | string) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : string | T > : ^^^^^^^^^^ @@ -71,7 +71,7 @@ f1(e1); // number | boolean declare function f2(x: T & { name: string }): T; >f2 : (x: T & { name: string; }) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T & { name: string; } > : ^^^^^^^^^^^^ ^^^ >name : string diff --git a/tests/baselines/reference/unionAndIntersectionInference3.types b/tests/baselines/reference/unionAndIntersectionInference3.types index 6b20a43972d61..4845ab1d4406c 100644 --- a/tests/baselines/reference/unionAndIntersectionInference3.types +++ b/tests/baselines/reference/unionAndIntersectionInference3.types @@ -15,7 +15,7 @@ type Maybe = T | undefined; declare function concatMaybe(...args: (Maybe | Maybe[])[]): T[]; >concatMaybe : (...args: (Maybe | Maybe[])[]) => T[] -> : ^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >args : (Maybe | Maybe[])[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -39,13 +39,13 @@ concatMaybe([1, 2, 3], 4); const g: (com: () => Iterator | AsyncIterator) => Promise = async (com: () => Iterator | AsyncIterator): Promise => { >g : (com: () => Iterator | AsyncIterator) => Promise -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^ ^^ ^^^^^^^ ^^^^^ >com : () => Iterator | AsyncIterator -> : ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^ ^ ^ ^ +> : ^^^^^^ >async (com: () => Iterator | AsyncIterator): Promise => { throw com;} : (com: () => Iterator | AsyncIterator) => Promise -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^ ^^ ^^^^^^^ ^^^^^ >com : () => Iterator | AsyncIterator -> : ^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^ ^ ^ ^ +> : ^^^^^^ throw com; >com : () => Iterator | AsyncIterator @@ -56,7 +56,7 @@ const g: (com: () => Iterator | AsyncIterator) => Pro interface Foo1 { test(value: T): void; >test : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } @@ -64,20 +64,20 @@ interface Foo1 { interface Bar1 { test(value: T | PromiseLike): void; >test : (value: T | PromiseLike) => void -> : ^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T | PromiseLike > : ^^^^^^^^^^^^^^^^^^ } declare let f1: (x: Foo1 | Bar1) => Promise; >f1 : (x: Foo1 | Bar1) => Promise -> : ^^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : Foo1 | Bar1 > : ^^^^^^^^^^^^^^^^^ declare let f2: (x: Foo1 | Bar1) => Promise; >f2 : (x: Foo1 | Bar1) => Promise -> : ^^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : Foo1 | Bar1 > : ^^^^^^^^^^^^^^^^^ @@ -103,7 +103,7 @@ type Foo2 = { test(value: T): void; >test : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } @@ -114,20 +114,20 @@ type Bar2 = { test(value: T | PromiseLike): void; >test : (value: T | PromiseLike) => void -> : ^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T | PromiseLike > : ^^^^^^^^^^^^^^^^^^ } declare let g1: (x: Foo2 | Bar2) => Promise; >g1 : (x: Foo2 | Bar2) => Promise -> : ^^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : Foo2 | Bar2 > : ^^^^^^^^^^^^^^^^^ declare let g2: (x: Foo2 | Bar2) => Promise; >g2 : (x: Foo2 | Bar2) => Promise -> : ^^^^^^^^^^^ ^ ^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : Foo2 | Bar2 > : ^^^^^^^^^^^^^^^^^ @@ -151,13 +151,13 @@ g2 = g1; declare function foo1(obj: string[] & Iterable): T; >foo1 : (obj: string[] & Iterable) => T -> : ^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : string[] & Iterable > : ^^^^^^^^^^^^^^^^^^^^^^ declare function foo2(obj: string[] & T): T; >foo2 : (obj: string[] & T) => T -> : ^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : string[] & T > : ^^^^^^^^^^^^ @@ -241,7 +241,7 @@ export interface RouteComponentProps { route: string } declare function withRouter< >withRouter :

>(component: C & ComponentType

) => ComponentClass> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^ ^^^^ ^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ P extends RouteComponentProps, C extends ComponentType

@@ -281,7 +281,7 @@ type AB = { a: T } | { b: T }; // T & AB normalizes to T & { a: U } | T & { b: U } below declare function foo(obj: T & AB): [T, U]; >foo : (obj: T & AB) => [T, U] -> : ^^^^^^^^^^^^^ ^^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^ ^^^^^ >obj : T & AB > : ^^^^^^^^^ @@ -303,7 +303,7 @@ let z = foo(ab); // [AB, string] declare let a: () => (T extends true ? true : false) & boolean; >a : () => (T extends true ? true : false) & boolean -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >true : true > : ^^^^ >true : true @@ -313,7 +313,7 @@ declare let a: () => (T extends true ? true : false) & boolean; declare let b: () => (T extends true ? true : false) & boolean; >b : () => (T extends true ? true : false) & boolean -> : ^^^^^^^^^ ^ +> : ^ ^^^^^^^ >true : true > : ^^^^ >true : true diff --git a/tests/baselines/reference/unionCallMixedTypeParameterPresence.types b/tests/baselines/reference/unionCallMixedTypeParameterPresence.types index e2f01720518b3..a14c5f54b859c 100644 --- a/tests/baselines/reference/unionCallMixedTypeParameterPresence.types +++ b/tests/baselines/reference/unionCallMixedTypeParameterPresence.types @@ -6,18 +6,18 @@ interface Err { f(a: (err: T) => U): Err; >f : (a: (err: T) => U) => Err -> : ^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : (err: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >err : T > : ^ } interface Ok { f(a: (err: T) => unknown): Err; >f : (a: (err: T) => unknown) => Err -> : ^^^^ ^ ^^^^^^^^ ^ +> : ^^^^ ^^^^^ >a : (err: T) => unknown -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >err : T > : ^ } diff --git a/tests/baselines/reference/unionExcessPropertyCheckNoApparentPropTypeMismatchErrors.types b/tests/baselines/reference/unionExcessPropertyCheckNoApparentPropTypeMismatchErrors.types index 095e2bb4504bc..bdea1241e7deb 100644 --- a/tests/baselines/reference/unionExcessPropertyCheckNoApparentPropTypeMismatchErrors.types +++ b/tests/baselines/reference/unionExcessPropertyCheckNoApparentPropTypeMismatchErrors.types @@ -14,13 +14,13 @@ interface INumberDictionary { declare function forEach(from: IStringDictionary | INumberDictionary, callback: (entry: { key: any; value: T; }, remove: () => void) => any); >forEach : (from: IStringDictionary | INumberDictionary, callback: (entry: { key: any; value: T; }, remove: () => void) => any) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ >from : IStringDictionary | INumberDictionary > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >callback : (entry: { key: any; value: T; }, remove: () => void) => any -> : ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >entry : { key: any; value: T; } -> : ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^ >key : any >value : T > : ^ diff --git a/tests/baselines/reference/unionOfClassCalls.types b/tests/baselines/reference/unionOfClassCalls.types index 794678b706145..a8ffcd363fe8b 100644 --- a/tests/baselines/reference/unionOfClassCalls.types +++ b/tests/baselines/reference/unionOfClassCalls.types @@ -12,7 +12,7 @@ declare class Test { get(k: K): T[K]; >get : (k: K) => T[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >k : K > : ^ } @@ -103,7 +103,7 @@ arr.reduce((acc: Array, a: number | string, index: number) => { >reduce : { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; } | { (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; (callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(acc: Array, a: number | string, index: number) => { return []} : (acc: Array, a: number | string, index: number) => never[] -> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >acc : string[] > : ^^^^^^^^ >a : string | number @@ -290,7 +290,7 @@ declare class Foo { doThing(): Promise >doThing : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } declare class Bar extends Foo { @@ -335,7 +335,7 @@ a.doThing().then((result: Bar | Baz) => { >then : ((onfulfilled?: ((value: Baz) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined) => Promise) | ((onfulfilled?: ((value: Bar) => TResult1_1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2_1 | PromiseLike) | null | undefined) => Promise) > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(result: Bar | Baz) => { // whatever} : (result: Bar | Baz) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >result : Bar | Baz > : ^^^^^^^^^ diff --git a/tests/baselines/reference/unionOfEnumInference.types b/tests/baselines/reference/unionOfEnumInference.types index eaaad239c48d3..573a4324cec26 100644 --- a/tests/baselines/reference/unionOfEnumInference.types +++ b/tests/baselines/reference/unionOfEnumInference.types @@ -21,13 +21,13 @@ interface Interface { function foo(x: Interface) { } >foo : (x: Interface) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : Interface > : ^^^^^^^^^^^^ function bar(x: Interface | Interface) { >bar : (x: Interface | Interface) => void -> : ^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : Interface | Interface > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Enum : any diff --git a/tests/baselines/reference/unionOfFunctionAndSignatureIsCallable.types b/tests/baselines/reference/unionOfFunctionAndSignatureIsCallable.types index 8e3963b632a4c..d130d80c41dfe 100644 --- a/tests/baselines/reference/unionOfFunctionAndSignatureIsCallable.types +++ b/tests/baselines/reference/unionOfFunctionAndSignatureIsCallable.types @@ -3,7 +3,7 @@ === unionOfFunctionAndSignatureIsCallable.ts === function f1(c1: Function, c2: () => object, callable: typeof c1 | typeof c2) { >f1 : (c1: Function, c2: () => object, callable: typeof c1 | typeof c2) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >c1 : Function > : ^^^^^^^^ >c2 : () => object diff --git a/tests/baselines/reference/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.types b/tests/baselines/reference/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.types index 228e998ef4b47..3c77f92321e46 100644 --- a/tests/baselines/reference/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.types +++ b/tests/baselines/reference/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.types @@ -169,7 +169,7 @@ import React from 'react' declare function upperFirst(str: T): Capitalize >upperFirst : (str: T) => Capitalize -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >str : T > : ^ diff --git a/tests/baselines/reference/unionSignaturesWithThisParameter.types b/tests/baselines/reference/unionSignaturesWithThisParameter.types index d076db331f0d7..5d43b3ea9aa2a 100644 --- a/tests/baselines/reference/unionSignaturesWithThisParameter.types +++ b/tests/baselines/reference/unionSignaturesWithThisParameter.types @@ -5,9 +5,9 @@ function x(ctor: { >x : (ctor: { (this: {}, v: T): void; new (v: T): void; } | { (v: T): void; new (v: T): void; }, t: T) => void -> : ^^^^^^^^^^ ^ ^ ^ ^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >ctor : { (this: {}, v: T): void; new (v: T): void; } | { (v: T): void; new (v: T): void; } -> : ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ (this: {}, v: T): void; >this : {} diff --git a/tests/baselines/reference/unionThisTypeInFunctions.types b/tests/baselines/reference/unionThisTypeInFunctions.types index 3e2a669ffb481..26f071955f4aa 100644 --- a/tests/baselines/reference/unionThisTypeInFunctions.types +++ b/tests/baselines/reference/unionThisTypeInFunctions.types @@ -29,7 +29,7 @@ interface Fake { } function test(r: Real | Fake) { >test : (r: Real | Fake) => void -> : ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >r : Real | Fake > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/unionTypeCallSignatures.types b/tests/baselines/reference/unionTypeCallSignatures.types index 387910ceb159b..c725a55b7861b 100644 --- a/tests/baselines/reference/unionTypeCallSignatures.types +++ b/tests/baselines/reference/unionTypeCallSignatures.types @@ -17,7 +17,7 @@ var strOrNum: string | number; // U has the same set of call signatures, but with return types that are unions of the return types of the respective call signatures from each type in U. var unionOfDifferentReturnType: { (a: number): number; } | { (a: number): Date; }; >unionOfDifferentReturnType : ((a: number) => number) | ((a: number) => Date) -> : ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^ >a : number > : ^^^^^^ >a : number @@ -57,7 +57,7 @@ unionOfDifferentReturnType1(true); // error in type of parameter var unionOfDifferentReturnType1: { (a: number): number; (a: string): string; } | { (a: number): Date; (a: string): boolean; }; >unionOfDifferentReturnType1 : { (a: number): number; (a: string): string; } | { (a: number): Date; (a: string): boolean; } -> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >a : number > : ^^^^^^ >a : string @@ -107,7 +107,7 @@ unionOfDifferentReturnType1(); // error missing parameter var unionOfDifferentParameterTypes: { (a: number): number; } | { (a: string): Date; }; >unionOfDifferentParameterTypes : ((a: number) => number) | ((a: string) => Date) -> : ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ ^ >a : number > : ^^^^^^ >a : string @@ -137,7 +137,7 @@ unionOfDifferentParameterTypes();// error - no call signatures var unionOfDifferentNumberOfSignatures: { (a: number): number; } | { (a: number): Date; (a: string): boolean; }; >unionOfDifferentNumberOfSignatures : ((a: number) => number) | { (a: number): Date; (a: string): boolean; } -> : ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ >a : number > : ^^^^^^ >a : number diff --git a/tests/baselines/reference/unionTypeCallSignatures6.types b/tests/baselines/reference/unionTypeCallSignatures6.types index 4d99178256969..ef2e82d4f041f 100644 --- a/tests/baselines/reference/unionTypeCallSignatures6.types +++ b/tests/baselines/reference/unionTypeCallSignatures6.types @@ -92,7 +92,7 @@ interface F5 { declare var x1: A & C & { >x1 : A & C & { f0: F0 | F3; f1: F1 | F3; f2: F1 | F4; f3: F3 | F4; f4: F3 | F5; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^ f0: F0 | F3; >f0 : F0 | F3 @@ -166,7 +166,7 @@ x1.f4(); // error declare var x2: A & B & { >x2 : A & B & { f4: F3 | F5; } -> : ^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^ f4: F3 | F5; >f4 : F3 | F5 diff --git a/tests/baselines/reference/unionTypeConstructSignatures.types b/tests/baselines/reference/unionTypeConstructSignatures.types index 1b1237b9784a6..ebf56318f51c5 100644 --- a/tests/baselines/reference/unionTypeConstructSignatures.types +++ b/tests/baselines/reference/unionTypeConstructSignatures.types @@ -17,7 +17,7 @@ var strOrNum: string | number; // U has the same set of construct signatures, but with return types that are unions of the return types of the respective construct signatures from each type in U. var unionOfDifferentReturnType: { new (a: number): number; } | { new (a: number): Date; }; >unionOfDifferentReturnType : (new (a: number) => number) | (new (a: number) => Date) -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^ >a : number > : ^^^^^^ >a : number @@ -57,7 +57,7 @@ new unionOfDifferentReturnType1(true); // error in type of parameter var unionOfDifferentReturnType1: { new (a: number): number; new (a: string): string; } | { new (a: number): Date; new (a: string): boolean; }; >unionOfDifferentReturnType1 : { new (a: number): number; new (a: string): string; } | { new (a: number): Date; new (a: string): boolean; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ >a : number > : ^^^^^^ >a : string @@ -107,7 +107,7 @@ new unionOfDifferentReturnType1(); // error missing parameter var unionOfDifferentParameterTypes: { new (a: number): number; } | { new (a: string): Date; }; >unionOfDifferentParameterTypes : (new (a: number) => number) | (new (a: string) => Date) -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^ >a : number > : ^^^^^^ >a : string @@ -137,7 +137,7 @@ new unionOfDifferentParameterTypes();// error - no call signatures var unionOfDifferentNumberOfSignatures: { new (a: number): number; } | { new (a: number): Date; new (a: string): boolean; }; >unionOfDifferentNumberOfSignatures : (new (a: number) => number) | { new (a: number): Date; new (a: string): boolean; } -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ >a : number > : ^^^^^^ >a : number diff --git a/tests/baselines/reference/unionTypeInference.types b/tests/baselines/reference/unionTypeInference.types index 00b19d66a284c..7151bad282026 100644 --- a/tests/baselines/reference/unionTypeInference.types +++ b/tests/baselines/reference/unionTypeInference.types @@ -15,7 +15,7 @@ declare const sn: string | number; declare function f1(x: T, y: string | T): T; >f1 : (x: T, y: string | T) => T -> : ^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : string | T @@ -107,7 +107,7 @@ const a7 = f1("hello", 1); // Error declare function f2(value: [string, T]): T; >f2 : (value: [string, T]) => T -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : [string, T] > : ^^^^^^^^^^^ @@ -127,7 +127,7 @@ var b1 = f2(["string", true]); // boolean declare function f3(x: string | false | T): T; >f3 : (x: string | false | T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : string | false | T > : ^^^^^^^^^^^^^^^^^^ >false : false @@ -185,7 +185,7 @@ const c5 = f3("abc"); // never declare function f4(x: string & T): T; >f4 : (x: string & T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : string & T > : ^^^^^^^^^^ @@ -222,9 +222,9 @@ const d3 = f4(42); // Error export interface Foo { then(f: (x: T) => U | Foo, g: U): Foo; >then : (f: (x: T) => U | Foo, g: U) => Foo -> : ^^^^^^^ ^ ^ ^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >f : (x: T) => U | Foo -> : ^^^^^^^^^^^ ^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >g : U @@ -233,9 +233,9 @@ export interface Foo { export interface Bar { then(f: (x: T) => S | Bar, g: S): Bar; >then : (f: (x: T) => S | Bar, g: S) => Bar -> : ^^^^^^^ ^ ^ ^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >f : (x: T) => S | Bar -> : ^^^^^^^^^^^ ^^^ ^ +> : ^^^^ ^^^^^ >x : T > : ^ >g : S @@ -244,7 +244,7 @@ export interface Bar { function qux(p1: Foo, p2: Bar) { >qux : (p1: Foo, p2: Bar) => void -> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^ >p1 : Foo > : ^^^^^^^^^ >p2 : Bar @@ -263,7 +263,7 @@ function qux(p1: Foo, p2: Bar) { declare function foo(x: T | Promise): void; >foo : (x: T | Promise) => void -> : ^^^^^^^^ ^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T | Promise > : ^^^^^^^^^^^^^^ @@ -285,7 +285,7 @@ foo(x); declare function bar(x: T, y: string | T): T; >bar : (x: T, y: string | T) => T -> : ^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : string | T @@ -329,7 +329,7 @@ type DeepPromised = async function fun(deepPromised: DeepPromised) { >fun : (deepPromised: DeepPromised) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >deepPromised : DeepPromised > : ^^^^^^^^^^^^^^^ @@ -387,7 +387,7 @@ type Deep = { [K in keyof T]: T[K] | Deep }; declare function baz(dp: Deep): T; >baz : (dp: Deep) => T -> : ^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >dp : Deep > : ^^^^^^^ diff --git a/tests/baselines/reference/unionTypeMembers.types b/tests/baselines/reference/unionTypeMembers.types index 617f77f36e673..d371bb1e5f068 100644 --- a/tests/baselines/reference/unionTypeMembers.types +++ b/tests/baselines/reference/unionTypeMembers.types @@ -30,13 +30,13 @@ interface I1 { commonMethodWithTypeParameter(a: T): T; >commonMethodWithTypeParameter : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ commonMethodWithOwnTypeParameter(a: U): U; >commonMethodWithOwnTypeParameter : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ @@ -80,13 +80,13 @@ interface I2 { commonMethodWithTypeParameter(a: T): T; >commonMethodWithTypeParameter : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ commonMethodWithOwnTypeParameter(a: U): U; >commonMethodWithOwnTypeParameter : (a: U) => U -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : U > : ^ diff --git a/tests/baselines/reference/unionTypeParameterInference.types b/tests/baselines/reference/unionTypeParameterInference.types index 6d95268a40ed2..be93274f372d9 100644 --- a/tests/baselines/reference/unionTypeParameterInference.types +++ b/tests/baselines/reference/unionTypeParameterInference.types @@ -9,13 +9,13 @@ interface Foo { prop: T; } declare function lift(value: U | Foo): Foo; >lift : (value: U | Foo) => Foo -> : ^^^^^^^^^^^^ ^^^ ^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : U | Foo > : ^^^^^^^^^^ function unlift(value: U | Foo): U { >unlift : (value: U | Foo) => U -> : ^^^^^^^^^^^^ ^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : U | Foo > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/unionTypeReduction2.types b/tests/baselines/reference/unionTypeReduction2.types index 4877eb86f7300..ebfd7825a4e97 100644 --- a/tests/baselines/reference/unionTypeReduction2.types +++ b/tests/baselines/reference/unionTypeReduction2.types @@ -305,7 +305,7 @@ type B = { function f11(a: A, b: B) { >f11 : (a: A, b: B) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : A > : ^ >b : B diff --git a/tests/baselines/reference/unionTypeWithIndexAndMethodSignature.types b/tests/baselines/reference/unionTypeWithIndexAndMethodSignature.types index 429ab5ebc4aa7..bbb930d42a3d8 100644 --- a/tests/baselines/reference/unionTypeWithIndexAndMethodSignature.types +++ b/tests/baselines/reference/unionTypeWithIndexAndMethodSignature.types @@ -14,7 +14,7 @@ interface Options { } declare function f(options: number | Options): void; >f : (options: number | Options) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : number | Options > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/unionTypeWithIndexAndTuple.types b/tests/baselines/reference/unionTypeWithIndexAndTuple.types index f3917ba81af8e..06928d92e7677 100644 --- a/tests/baselines/reference/unionTypeWithIndexAndTuple.types +++ b/tests/baselines/reference/unionTypeWithIndexAndTuple.types @@ -12,7 +12,7 @@ interface I { } function f(args: ["a"] | I) { } >f : (args: ["a"] | I) => void -> : ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >args : I | ["a"] > : ^^^^^^^^^ diff --git a/tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction3.types b/tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction3.types index 539dae619f877..0102a412f6e43 100644 --- a/tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction3.types +++ b/tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction3.types @@ -3,11 +3,11 @@ === unionTypeWithRecursiveSubtypeReduction3.ts === var a27: { prop: number } | { prop: T27 }; >a27 : { prop: number; } | { prop: T27; } -> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ >prop : number > : ^^^^^^ >prop : { prop: number; } | { prop: T27; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ type T27 = typeof a27; >T27 : { prop: number; } | { prop: { prop: number; } | any; } diff --git a/tests/baselines/reference/unionTypesAssignability.types b/tests/baselines/reference/unionTypesAssignability.types index e9c45cd5f32e2..82bb102c7c2c0 100644 --- a/tests/baselines/reference/unionTypesAssignability.types +++ b/tests/baselines/reference/unionTypesAssignability.types @@ -361,7 +361,7 @@ unionNumberString = undefined; // type parameters function foo(t: T, u: U) { >foo : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/unionWithIndexSignature.types b/tests/baselines/reference/unionWithIndexSignature.types index 98b21a96367c6..d490bb9e8c247 100644 --- a/tests/baselines/reference/unionWithIndexSignature.types +++ b/tests/baselines/reference/unionWithIndexSignature.types @@ -22,7 +22,7 @@ interface StrList { export function foo(arr: T & (NumList | StrList)) { >foo : (arr: T & (NumList | StrList)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arr : T & (NumList | StrList) > : ^^^^^^^^^^^^^^^^^^^^^^^ @@ -68,7 +68,7 @@ export function isTypedArray(a: {}): a is Int32Array | Uint8Array { export function flatten(arr: T) { >flatten : (arr: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arr : T > : ^ diff --git a/tests/baselines/reference/unionsOfTupleTypes1.types b/tests/baselines/reference/unionsOfTupleTypes1.types index 98a48ca40b70b..81b2308572241 100644 --- a/tests/baselines/reference/unionsOfTupleTypes1.types +++ b/tests/baselines/reference/unionsOfTupleTypes1.types @@ -83,7 +83,7 @@ type T4N = T4[number]; // string | number | boolean function f1(t1: T1, t2: T2, t3: T3, t4: T4, x: number) { >f1 : (t1: T1, t2: T2, t3: T3, t4: T4, x: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t1 : T1 > : ^^ >t2 : T2 diff --git a/tests/baselines/reference/uniqueSymbolAssignmentOnGlobalAugmentationSuceeds.types b/tests/baselines/reference/uniqueSymbolAssignmentOnGlobalAugmentationSuceeds.types index 48a530be5304c..692d450806ada 100644 --- a/tests/baselines/reference/uniqueSymbolAssignmentOnGlobalAugmentationSuceeds.types +++ b/tests/baselines/reference/uniqueSymbolAssignmentOnGlobalAugmentationSuceeds.types @@ -26,7 +26,7 @@ declare global { export function foo(p: Promise) { >foo : (p: Promise) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >p : Promise > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/uniqueSymbols.types b/tests/baselines/reference/uniqueSymbols.types index 69ca18fcc5c6b..d72fe41f5ea21 100644 --- a/tests/baselines/reference/uniqueSymbols.types +++ b/tests/baselines/reference/uniqueSymbols.types @@ -161,7 +161,7 @@ function funcReturnVarCall() { return varCall; } // function return value with type query function funcReturnConstCallWithTypeQuery(): typeof constCall { return constCall; } >funcReturnConstCallWithTypeQuery : () => typeof constCall -> : ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >constCall : unique symbol > : ^^^^^^^^^^^^^ >constCall : unique symbol @@ -192,7 +192,7 @@ function* genFuncYieldVarCall() { yield varCall; } // generator function yield with return type query function* genFuncYieldConstCallWithTypeQuery(): IterableIterator { yield constCall; } >genFuncYieldConstCallWithTypeQuery : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >constCall : unique symbol > : ^^^^^^^^^^^^^ >yield constCall : undefined @@ -678,13 +678,13 @@ declare const o: { [s]: "a", [N.s]: "b" }; declare function f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function g(x: typeof s): void; >g : { (x: typeof s): void; (x: unique symbol): void; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -692,7 +692,7 @@ declare function g(x: typeof s): void; declare function g(x: typeof N.s): void; >g : { (x: unique symbol): void; (x: typeof N.s): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : unique symbol > : ^^^^^^^^^^^^^ >N.s : unique symbol @@ -1268,31 +1268,31 @@ class C1 { interface Context { method1(): typeof s; >method1 : () => typeof s -> : ^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method2(): Promise; >method2 : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method3(): AsyncIterableIterator; >method3 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method4(): IterableIterator; >method4 : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method5(p?: typeof s): typeof s; >method5 : (p?: typeof s) => typeof s -> : ^^^^^ ^^^^^^ ^ +> : ^^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -1366,13 +1366,13 @@ const o3: Context = { const o4 = { >o4 : { method1(p: typeof s): typeof s; method2(p: I["readonlyType"]): I["readonlyType"]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >{ method1(p: typeof s): typeof s { return p; }, method2(p: I["readonlyType"]): I["readonlyType"] { return p; }} : { method1(p: typeof s): typeof s; method2(p: I["readonlyType"]): I["readonlyType"]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ ^^^ method1(p: typeof s): typeof s { >method1 : (p: typeof s) => typeof s -> : ^^^^ ^^^^^^ ^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -1387,7 +1387,7 @@ const o4 = { }, method2(p: I["readonlyType"]): I["readonlyType"] { >method2 : (p: I["readonlyType"]) => I["readonlyType"] -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ @@ -1405,7 +1405,7 @@ const ce0 = class { method1(p: typeof s): typeof s { >method1 : (p: typeof s) => typeof s -> : ^^^^ ^^^^^^ ^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -1419,7 +1419,7 @@ const ce0 = class { } method2(p: I["readonlyType"]): I["readonlyType"] { >method2 : (p: I["readonlyType"]) => I["readonlyType"] -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ @@ -1431,11 +1431,11 @@ const ce0 = class { function funcInferredReturnType(obj: { method(p: typeof s): void }) { >funcInferredReturnType : (obj: { method(p: typeof s): void; }) => { method(p: typeof s): void; } -> : ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >obj : { method(p: typeof s): void; } -> : ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^ >method : (p: typeof s) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol diff --git a/tests/baselines/reference/uniqueSymbolsDeclarations.types b/tests/baselines/reference/uniqueSymbolsDeclarations.types index bc32bcdaea1a9..4c30a795341db 100644 --- a/tests/baselines/reference/uniqueSymbolsDeclarations.types +++ b/tests/baselines/reference/uniqueSymbolsDeclarations.types @@ -152,7 +152,7 @@ function funcReturnVarCall() { return varCall; } // function return value with type query function funcReturnConstCallWithTypeQuery(): typeof constCall { return constCall; } >funcReturnConstCallWithTypeQuery : () => typeof constCall -> : ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >constCall : unique symbol > : ^^^^^^^^^^^^^ >constCall : unique symbol @@ -183,7 +183,7 @@ function* genFuncYieldVarCall() { yield varCall; } // generator function yield with return type query function* genFuncYieldConstCallWithTypeQuery(): IterableIterator { yield constCall; } >genFuncYieldConstCallWithTypeQuery : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >constCall : unique symbol > : ^^^^^^^^^^^^^ >yield constCall : undefined @@ -669,13 +669,13 @@ declare const o: { [s]: "a", [N.s]: "b" }; declare function f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function g(x: typeof s): void; >g : { (x: typeof s): void; (x: unique symbol): void; } -> : ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -683,7 +683,7 @@ declare function g(x: typeof s): void; declare function g(x: typeof N.s): void; >g : { (x: unique symbol): void; (x: typeof N.s): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : unique symbol > : ^^^^^^^^^^^^^ >N.s : unique symbol @@ -1259,31 +1259,31 @@ class C1 { interface Context { method1(): typeof s; >method1 : () => typeof s -> : ^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method2(): Promise; >method2 : () => Promise -> : ^^^^^^^^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method3(): AsyncIterableIterator; >method3 : () => AsyncIterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method4(): IterableIterator; >method4 : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ >s : unique symbol > : ^^^^^^^^^^^^^ method5(p?: typeof s): typeof s; >method5 : (p?: typeof s) => typeof s -> : ^^^^^ ^^^^^^ ^ +> : ^^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol diff --git a/tests/baselines/reference/uniqueSymbolsDeclarationsErrors.types b/tests/baselines/reference/uniqueSymbolsDeclarationsErrors.types index 5f4222c58b79f..7c46ce7f4085d 100644 --- a/tests/baselines/reference/uniqueSymbolsDeclarationsErrors.types +++ b/tests/baselines/reference/uniqueSymbolsDeclarationsErrors.types @@ -13,13 +13,13 @@ interface I { readonly readonlyType: unique symbol; } export const obj = { >obj : { method1(p: typeof s): typeof s; method2(p: I["readonlyType"]): I["readonlyType"]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >{ method1(p: typeof s): typeof s { return p; }, method2(p: I["readonlyType"]): I["readonlyType"] { return p; }} : { method1(p: typeof s): typeof s; method2(p: I["readonlyType"]): I["readonlyType"]; } -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^ ^^^ method1(p: typeof s): typeof s { >method1 : (p: typeof s) => typeof s -> : ^^^^ ^^^^^^ ^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -34,7 +34,7 @@ export const obj = { }, method2(p: I["readonlyType"]): I["readonlyType"] { >method2 : (p: I["readonlyType"]) => I["readonlyType"] -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ @@ -52,7 +52,7 @@ export const classExpression = class { method1(p: typeof s): typeof s { >method1 : (p: typeof s) => typeof s -> : ^^^^ ^^^^^^ ^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol @@ -66,7 +66,7 @@ export const classExpression = class { } method2(p: I["readonlyType"]): I["readonlyType"] { >method2 : (p: I["readonlyType"]) => I["readonlyType"] -> : ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ @@ -78,11 +78,11 @@ export const classExpression = class { export function funcInferredReturnType(obj: { method(p: typeof s): void }) { >funcInferredReturnType : (obj: { method(p: typeof s): void; }) => { method(p: typeof s): void; } -> : ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^ >obj : { method(p: typeof s): void; } -> : ^^^^^^^^^^^^ ^^^^ ^^^ +> : ^^^^^^^^^^^^ ^^^ ^^^ >method : (p: typeof s) => void -> : ^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >p : unique symbol > : ^^^^^^^^^^^^^ >s : unique symbol diff --git a/tests/baselines/reference/uniqueSymbolsPropertyNames.types b/tests/baselines/reference/uniqueSymbolsPropertyNames.types index 1b179a7d6b4c8..92eb0ac1d3e0a 100644 --- a/tests/baselines/reference/uniqueSymbolsPropertyNames.types +++ b/tests/baselines/reference/uniqueSymbolsPropertyNames.types @@ -47,7 +47,7 @@ const uniqueSymbol1 = Symbol.for(""); function getUniqueSymbol0(): typeof uniqueSymbol0 { >getUniqueSymbol0 : () => typeof uniqueSymbol0 -> : ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^ >uniqueSymbol0 : unique symbol > : ^^^^^^^^^^^^^ @@ -58,7 +58,7 @@ function getUniqueSymbol0(): typeof uniqueSymbol0 { function getUniqueSymbol1(): typeof uniqueSymbol1 { >getUniqueSymbol1 : () => typeof uniqueSymbol1 -> : ^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^ >uniqueSymbol1 : unique symbol > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/unknownControlFlow.types b/tests/baselines/reference/unknownControlFlow.types index b26e60e0ae72e..8f48dc8566753 100644 --- a/tests/baselines/reference/unknownControlFlow.types +++ b/tests/baselines/reference/unknownControlFlow.types @@ -126,7 +126,7 @@ function f10(x: unknown) { function f11(x: T) { >f11 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -162,7 +162,7 @@ function f11(x: T) { function f12(x: T) { >f12 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -278,7 +278,7 @@ function f20(x: unknown) { function f21(x: T) { >f21 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -373,7 +373,7 @@ function f21(x: T) { function f22(x: T) { >f22 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -468,7 +468,7 @@ function f22(x: T) { function f23(x: T | undefined | null) { >f23 : (x: T | undefined | null) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T | null | undefined > : ^^^^^^^^^^^^^^^^^^^^ @@ -542,7 +542,7 @@ function f30(x: {}) { function f31(x: T) { >f31 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -600,7 +600,7 @@ function f31(x: T) { function f32(x: T) { >f32 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -622,7 +622,7 @@ function f32(x: T) { function possiblyNull(x: T) { >possiblyNull : (x: T) => T | null -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ @@ -641,7 +641,7 @@ function possiblyNull(x: T) { function possiblyUndefined(x: T) { >possiblyUndefined : (x: T) => T | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -662,7 +662,7 @@ function possiblyUndefined(x: T) { function possiblyNullOrUndefined(x: T) { >possiblyNullOrUndefined : (x: T) => T | null | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -681,7 +681,7 @@ function possiblyNullOrUndefined(x: T) { function ensureNotNull(x: T) { >ensureNotNull : (x: T) => T & ({} | undefined) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -702,7 +702,7 @@ function ensureNotNull(x: T) { function ensureNotUndefined(x: T) { >ensureNotUndefined : (x: T) => T & ({} | null) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -725,7 +725,7 @@ function ensureNotUndefined(x: T) { function ensureNotNullOrUndefined(x: T) { >ensureNotNullOrUndefined : (x: T) => T & {} -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ @@ -777,7 +777,7 @@ type QQ = NonNullable>>; function f41(a: T) { >f41 : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ @@ -912,7 +912,7 @@ function f41(a: T) { function deepEquals(a: T, b: T): boolean { >deepEquals : (a: T, b: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -1027,7 +1027,7 @@ function deepEquals(a: T, b: T): boolean { function foo(x: T | null) { >foo : (x: T | null) => void -> : ^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T | null > : ^^^^^^^^ @@ -1055,7 +1055,7 @@ function foo(x: T | null) { function ff1(t: T, k: keyof T) { >ff1 : (t: T, k: keyof T) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >k : keyof T @@ -1072,7 +1072,7 @@ function ff1(t: T, k: keyof T) { function ff2(t: T & {}, k: keyof T) { >ff2 : (t: T & {}, k: keyof T) => void -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T & {} > : ^^^^^^ >k : keyof T @@ -1089,7 +1089,7 @@ function ff2(t: T & {}, k: keyof T) { function ff3(t: T, k: keyof (T & {})) { >ff3 : (t: T, k: keyof (T & {})) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >k : keyof (T & {}) @@ -1106,7 +1106,7 @@ function ff3(t: T, k: keyof (T & {})) { function ff4(t: T & {}, k: keyof (T & {})) { >ff4 : (t: T & {}, k: keyof (T & {})) => void -> : ^^^^^^^^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T & {} > : ^^^^^^ >k : keyof (T & {}) @@ -1173,7 +1173,7 @@ type Bar = NonNullable[string]; function fx0(value: T & ({} | null)) { >fx0 : (value: T & ({} | null)) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^ >value : T & ({} | null) > : ^^^^^^^^^^^^^^^ @@ -1198,7 +1198,7 @@ function fx0(value: T & ({} | null)) { function fx1(value: T & ({} | null)) { >fx1 : (value: T & ({} | null)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T & ({} | null) > : ^^^^^^^^^^^^^^^ @@ -1223,7 +1223,7 @@ function fx1(value: T & ({} | null)) { function fx2(value: T & ({} | null)) { >fx2 : (value: T & ({} | null)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T > : ^ @@ -1248,7 +1248,7 @@ function fx2(value: T & ({} | null)) { function fx3(value: T & ({} | null)) { >fx3 : (value: T & ({} | null)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T & {} > : ^^^^^^ @@ -1273,7 +1273,7 @@ function fx3(value: T & ({} | null)) { function fx4(value: T & ({} | null)) { >fx4 : (value: T & ({} | null)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T > : ^ @@ -1298,7 +1298,7 @@ function fx4(value: T & ({} | null)) { function fx5(value: T & ({} | null)) { >fx5 : (value: T & ({} | null)) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >value : T & ({} | null) > : ^^^^^^^^^^^^^^^ @@ -1407,7 +1407,7 @@ function SendBlob(encoding: unknown) { function doSomething1(value: T): T { >doSomething1 : (value: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ @@ -1526,7 +1526,7 @@ type AB = "A" | "B"; function x(x: T_AB & undefined, y: any) { >x : (x: T_AB & undefined, y: any) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : never > : ^^^^^ >y : any @@ -1574,7 +1574,7 @@ function assertNever(v: never): never { function fx20(value: Either) { >fx20 : (value: Either) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >value : Either > : ^^^^^^ diff --git a/tests/baselines/reference/unknownSymbolInGenericReturnType.types b/tests/baselines/reference/unknownSymbolInGenericReturnType.types index 5f743cdec0c3c..4e242e6d6ddcc 100644 --- a/tests/baselines/reference/unknownSymbolInGenericReturnType.types +++ b/tests/baselines/reference/unknownSymbolInGenericReturnType.types @@ -7,11 +7,11 @@ class Linq { public static select(values: T[], func: (v: T) => A): any[] { >select : (values: T[], func: (v: T) => A) => any[] -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >values : T[] > : ^^^ >func : (v: T) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >v : T > : ^ diff --git a/tests/baselines/reference/unknownSymbolOffContextualType1.types b/tests/baselines/reference/unknownSymbolOffContextualType1.types index a14e7d6918c22..1d779db6aa270 100644 --- a/tests/baselines/reference/unknownSymbolOffContextualType1.types +++ b/tests/baselines/reference/unknownSymbolOffContextualType1.types @@ -8,7 +8,7 @@ declare var document: Document; interface Document { getElementById(elementId: string): HTMLElement; >getElementById : { (elementId: string): HTMLElement; (elementId: string): HTMLElement; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >elementId : string > : ^^^^^^ } diff --git a/tests/baselines/reference/unknownType1.types b/tests/baselines/reference/unknownType1.types index 68f80e6a1aa84..2f0911aec871b 100644 --- a/tests/baselines/reference/unknownType1.types +++ b/tests/baselines/reference/unknownType1.types @@ -345,7 +345,7 @@ type T52 = T50; // {} function f21(pAny: any, pNever: never, pT: T) { >f21 : (pAny: any, pNever: never, pT: T) => void -> : ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >pAny : any > : ^^^ >pNever : never @@ -485,7 +485,7 @@ function f22(x: unknown) { function f23(x: T) { >f23 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -678,7 +678,7 @@ class C1 { function f30(t: T, u: U) { >f30 : (t: T, u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U @@ -721,7 +721,7 @@ type Test2 = IsDefinitelyDefined; // false function oops(arg: T): {} { >oops : (arg: T) => {} -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/unknownType2.types b/tests/baselines/reference/unknownType2.types index 06d2ef4046ab7..3953c6d47b5dd 100644 --- a/tests/baselines/reference/unknownType2.types +++ b/tests/baselines/reference/unknownType2.types @@ -21,7 +21,7 @@ type SomeResponse = 'yes' | 'no' | 'idk'; let validate: (x: unknown) => SomeResponse = x => (x === 'yes' || x === 'no') ? x : 'idk'; // No error >validate : (x: unknown) => SomeResponse -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : unknown > : ^^^^^^^ >x => (x === 'yes' || x === 'no') ? x : 'idk' : (x: unknown) => "yes" | "no" | "idk" @@ -844,7 +844,7 @@ function switchTestObjects(x: unknown, y: () => void, z: { prop: number }) { function switchResponse(x: unknown): SomeResponse { >switchResponse : (x: unknown) => SomeResponse -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : unknown > : ^^^^^^^ @@ -887,7 +887,7 @@ function switchResponse(x: unknown): SomeResponse { function switchResponseWrong(x: unknown): SomeResponse { >switchResponseWrong : (x: unknown) => SomeResponse -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : unknown > : ^^^^^^^ diff --git a/tests/baselines/reference/unresolvableSelfReferencingAwaitedUnion.types b/tests/baselines/reference/unresolvableSelfReferencingAwaitedUnion.types index 199b160315f4b..405f85f2e80d1 100644 --- a/tests/baselines/reference/unresolvableSelfReferencingAwaitedUnion.types +++ b/tests/baselines/reference/unresolvableSelfReferencingAwaitedUnion.types @@ -31,7 +31,7 @@ type T1 = 1 | Promise | T1[]; export async function myFunction(param: T1) { >myFunction : (param: T1) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >param : T1 > : ^^ @@ -55,7 +55,7 @@ type EffectResult = export async function handleEffectResult(result: EffectResult) { >handleEffectResult : (result: EffectResult) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >result : EffectResult > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/unspecializedConstraints.types b/tests/baselines/reference/unspecializedConstraints.types index 177d037a74338..316d6e10aacbf 100644 --- a/tests/baselines/reference/unspecializedConstraints.types +++ b/tests/baselines/reference/unspecializedConstraints.types @@ -14,7 +14,7 @@ module ts { interface Equals { equals(other: T): boolean; >equals : (other: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : T > : ^ } @@ -32,7 +32,7 @@ module ts { equals(that: Type): boolean { >equals : (that: Type) => boolean -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >that : Type > : ^^^^ @@ -263,7 +263,7 @@ module ts { } getProperties(): Property[] { >getProperties : () => Property[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ return []; >[] : undefined[] @@ -271,7 +271,7 @@ module ts { } getProperty(index: number): Property { >getProperty : (index: number) => Property -> : ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ @@ -281,7 +281,7 @@ module ts { } getPropertyByName(name: string): Property { >getPropertyByName : (name: string) => Property -> : ^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >name : string > : ^^^^^^ @@ -299,7 +299,7 @@ module ts { } getSignature(index: number): Signature { >getSignature : (index: number) => Signature -> : ^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >index : number > : ^^^^^^ @@ -317,7 +317,7 @@ module ts { } getSignatures(): Signature[] { >getSignatures : () => Signature[] -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ return []; >[] : undefined[] @@ -349,7 +349,7 @@ module ts { } isSubTypeOf(type: Type) { >isSubTypeOf : (type: Type) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >type : Type > : ^^^^ } @@ -377,7 +377,7 @@ module ts { } equals(other: Property): boolean { >equals : (other: Property) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : Property > : ^^^^^^^^ @@ -478,7 +478,7 @@ module ts { } equalsNoReturn(other: Signature): boolean { >equalsNoReturn : (other: Signature) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : Signature > : ^^^^^^^^^ @@ -574,7 +574,7 @@ module ts { } equals(other: Signature): boolean { >equals : (other: Signature) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : Signature > : ^^^^^^^^^ @@ -636,7 +636,7 @@ module ts { } equals(other: Parameter) { >equals : (other: Parameter) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ >other : Parameter > : ^^^^^^^^^ @@ -732,7 +732,7 @@ module ts { function getProperty(map: Map, key: string): T { >getProperty : (map: Map, key: string) => T -> : ^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^ ^^^^^ >map : Map > : ^^^^^^ >key : string @@ -767,7 +767,7 @@ module ts { function hasProperty(map: Map, key: string): boolean { >hasProperty : (map: Map, key: string) => boolean -> : ^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^^^ ^^^^^ >map : Map > : ^^^^^^ >key : string @@ -790,7 +790,7 @@ module ts { function arrayContains>(a: T[], item: T): boolean { >arrayContains : >(a: T[], item: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >a : T[] > : ^^^ >item : T @@ -847,7 +847,7 @@ module ts { function arrayEquals>(a: T[], b: T[]): boolean { >arrayEquals : >(a: T[], b: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T[] > : ^^^ >b : T[] @@ -924,7 +924,7 @@ module ts { function setEquals>(a: T[], b: T[]): boolean { >setEquals : >(a: T[], b: T[]) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >a : T[] > : ^^^ >b : T[] diff --git a/tests/baselines/reference/unusedLocalsAndParametersDeferred.types b/tests/baselines/reference/unusedLocalsAndParametersDeferred.types index c94e06f43adfc..c1c37d41a94e6 100644 --- a/tests/baselines/reference/unusedLocalsAndParametersDeferred.types +++ b/tests/baselines/reference/unusedLocalsAndParametersDeferred.types @@ -5,9 +5,9 @@ export { }; function defered(a: () => T): T { >defered : (a: () => T) => T -> : ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : () => T -> : ^^^^^^^ +> : ^^^^^^ return a(); >a() : T diff --git a/tests/baselines/reference/unusedLocalsAndParametersOverloadSignatures.types b/tests/baselines/reference/unusedLocalsAndParametersOverloadSignatures.types index 4066cbe0a4f77..9c53425c88589 100644 --- a/tests/baselines/reference/unusedLocalsAndParametersOverloadSignatures.types +++ b/tests/baselines/reference/unusedLocalsAndParametersOverloadSignatures.types @@ -86,7 +86,7 @@ export class C { export function genericFunc(details: number, message: T, ...args: any[]): void; >genericFunc : (details: number, message: T, ...args: any[]) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >details : number > : ^^^^^^ >message : T diff --git a/tests/baselines/reference/unusedParameterUsedInTypeOf.types b/tests/baselines/reference/unusedParameterUsedInTypeOf.types index f983b35ae6976..757aca5317d72 100644 --- a/tests/baselines/reference/unusedParameterUsedInTypeOf.types +++ b/tests/baselines/reference/unusedParameterUsedInTypeOf.types @@ -3,7 +3,7 @@ === unusedParameterUsedInTypeOf.ts === function f1 (a: number, b: typeof a) { >f1 : (a: number, b: typeof a) => number -> : ^^^^ ^^^^^ ^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^ >a : number > : ^^^^^^ >b : number diff --git a/tests/baselines/reference/unusedParametersThis.types b/tests/baselines/reference/unusedParametersThis.types index 0bee03d352729..bdd9b0a3911d4 100644 --- a/tests/baselines/reference/unusedParametersThis.types +++ b/tests/baselines/reference/unusedParametersThis.types @@ -26,7 +26,7 @@ class A { public method2(this: A): number { >method2 : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : A > : ^ @@ -66,7 +66,7 @@ class A { public method4(this: A): number { >method4 : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : A > : ^ @@ -91,7 +91,7 @@ class A { static staticMethod(this: A): number { >staticMethod : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : A > : ^ @@ -107,7 +107,7 @@ class A { function f(this: A): number { >f : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : A > : ^ @@ -122,11 +122,11 @@ function f(this: A): number { var f2 = function f2(this: A): number { >f2 : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >function f2(this: A): number { return this.a;} : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >f2 : (this: A) => number -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >this : A > : ^ diff --git a/tests/baselines/reference/unusedTypeParameterInInterface2.types b/tests/baselines/reference/unusedTypeParameterInInterface2.types index f7b1c7f978f8e..82f40add78b65 100644 --- a/tests/baselines/reference/unusedTypeParameterInInterface2.types +++ b/tests/baselines/reference/unusedTypeParameterInInterface2.types @@ -4,7 +4,7 @@ interface int { f1(a: T): string; >f1 : (a: T) => string -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/unusedTypeParameterInLambda3.types b/tests/baselines/reference/unusedTypeParameterInLambda3.types index d75b36c27bddb..e1fe07c604ff2 100644 --- a/tests/baselines/reference/unusedTypeParameterInLambda3.types +++ b/tests/baselines/reference/unusedTypeParameterInLambda3.types @@ -12,7 +12,7 @@ class A { var y: new (a:T)=>void; >y : new (a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/unusedTypeParameters4.types b/tests/baselines/reference/unusedTypeParameters4.types index 3e518fe6fff4a..b8493b0733b7d 100644 --- a/tests/baselines/reference/unusedTypeParameters4.types +++ b/tests/baselines/reference/unusedTypeParameters4.types @@ -3,7 +3,7 @@ === unusedTypeParameters4.ts === var x: { >x : new (a: T) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^ ^^^^^ new (a: T): void; >a : T diff --git a/tests/baselines/reference/unusedTypeParameters5.types b/tests/baselines/reference/unusedTypeParameters5.types index c9036c8c670ee..f0a188a2759c0 100644 --- a/tests/baselines/reference/unusedTypeParameters5.types +++ b/tests/baselines/reference/unusedTypeParameters5.types @@ -12,7 +12,7 @@ class A { var x: { >x : new (a: T) => A -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^ ^^^^^^^^ ^^^^^ new (a: T): A; >a : T diff --git a/tests/baselines/reference/unusedTypeParameters9.types b/tests/baselines/reference/unusedTypeParameters9.types index 30b5b88aa13b8..26812699c666b 100644 --- a/tests/baselines/reference/unusedTypeParameters9.types +++ b/tests/baselines/reference/unusedTypeParameters9.types @@ -22,9 +22,9 @@ interface C2 { } // interfaces interface C3 { a(c: (p: T) => void): void; } >a : (c: (p: T) => void) => void -> : ^^^^ ^ ^^^^^ +> : ^^^^ ^^^^^ >c : (p: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : T > : ^ diff --git a/tests/baselines/reference/unwitnessedTypeParameterVariance.types b/tests/baselines/reference/unwitnessedTypeParameterVariance.types index ac0859173a484..b8928bcf171b2 100644 --- a/tests/baselines/reference/unwitnessedTypeParameterVariance.types +++ b/tests/baselines/reference/unwitnessedTypeParameterVariance.types @@ -6,7 +6,7 @@ export interface CalcObj { read: (origin: O) => CalcValue; >read : (origin: O) => CalcValue -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^ ^^^^^ >origin : O > : ^ } diff --git a/tests/baselines/reference/useBeforeDeclaration_destructuring.types b/tests/baselines/reference/useBeforeDeclaration_destructuring.types index 0431135ccdb6f..7981efc40d66d 100644 --- a/tests/baselines/reference/useBeforeDeclaration_destructuring.types +++ b/tests/baselines/reference/useBeforeDeclaration_destructuring.types @@ -29,7 +29,7 @@ b; function test({c, d = c}: Record) {} >test : ({ c, d }: Record) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >c : number > : ^^^^^^ >d : number diff --git a/tests/baselines/reference/validNullAssignments.types b/tests/baselines/reference/validNullAssignments.types index be7a49edd05e8..5710cc5e12fa1 100644 --- a/tests/baselines/reference/validNullAssignments.types +++ b/tests/baselines/reference/validNullAssignments.types @@ -109,7 +109,7 @@ var h: { f(): void } = null; function i(a: T) { >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/validUndefinedAssignments.types b/tests/baselines/reference/validUndefinedAssignments.types index c882d2cfc0465..d329b31fad68e 100644 --- a/tests/baselines/reference/validUndefinedAssignments.types +++ b/tests/baselines/reference/validUndefinedAssignments.types @@ -76,7 +76,7 @@ var h: { f(): void } = x; function i(a: T) { >i : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/varArgsOnConstructorTypes.types b/tests/baselines/reference/varArgsOnConstructorTypes.types index 3728ca6a6bbe9..590aba2cae968 100644 --- a/tests/baselines/reference/varArgsOnConstructorTypes.types +++ b/tests/baselines/reference/varArgsOnConstructorTypes.types @@ -62,17 +62,17 @@ export class B extends A { export interface I1 { register(inputClass: new(...params: any[]) => A); >register : { (inputClass: new (...params: any[]) => A): any; (inputClass: (new (...params: any[]) => A)[]): any; } -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >inputClass : new (...params: any[]) => A -> : ^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^ >params : any[] > : ^^^^^ register(inputClass: { new (...params: any[]): A; }[]); >register : { (inputClass: new (...params: any[]) => A): any; (inputClass: { new (...params: any[]): A; }[]): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >inputClass : (new (...params: any[]) => A)[] -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ >params : any[] > : ^^^^^ } diff --git a/tests/baselines/reference/varRequireFromJavascript.types b/tests/baselines/reference/varRequireFromJavascript.types index bf88315d25596..ff70ff620501b 100644 --- a/tests/baselines/reference/varRequireFromJavascript.types +++ b/tests/baselines/reference/varRequireFromJavascript.types @@ -40,7 +40,7 @@ crunch.n */ function f(wrap) { >f : (wrap: ex.Crunch) => void -> : ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >wrap : ex.Crunch > : ^^^^^^^^^ diff --git a/tests/baselines/reference/varRequireFromTypescript.types b/tests/baselines/reference/varRequireFromTypescript.types index 91c7e1044070c..129bcd019da63 100644 --- a/tests/baselines/reference/varRequireFromTypescript.types +++ b/tests/baselines/reference/varRequireFromTypescript.types @@ -41,7 +41,7 @@ crunch.n */ function f(greatest, wrap) { >f : (greatest: ex.Greatest, wrap: ex.Crunch) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >greatest : ex.Greatest > : ^^^^^^^^^^^ >wrap : ex.Crunch diff --git a/tests/baselines/reference/variableDeclaratorResolvedDuringContextualTyping.types b/tests/baselines/reference/variableDeclaratorResolvedDuringContextualTyping.types index 145ab0f1dbc70..1554fb3bc5cb1 100644 --- a/tests/baselines/reference/variableDeclaratorResolvedDuringContextualTyping.types +++ b/tests/baselines/reference/variableDeclaratorResolvedDuringContextualTyping.types @@ -35,7 +35,7 @@ module WinJS { constructor(init: (complete: ValueCallback, error: ErrorCallback, progress: ProgressCallback) => void, oncancel?: any); >init : (complete: ValueCallback, error: ErrorCallback, progress: ProgressCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >complete : ValueCallback > : ^^^^^^^^^^^^^ >error : ErrorCallback @@ -47,13 +47,13 @@ module WinJS { static as(value: any): Promise; >as : (value: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : any > : ^^^ static join(promises: { [name: string]: Promise; }): Promise; >join : { (promises: { [name: string]: Promise; }): Promise; (promises: Promise[]): Promise; } -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >promises : { [name: string]: Promise; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >name : string @@ -61,25 +61,25 @@ module WinJS { static join(promises: Promise[]): Promise; >join : { (promises: { [name: string]: Promise; }): Promise; (promises: Promise[]): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >promises : Promise[] > : ^^^^^^^^^ static any(promises: Promise[]): Promise; >any : (promises: Promise[]) => Promise -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >promises : Promise[] > : ^^^^^^^^^ static timeout(delay: number): Promise; >timeout : (delay: number) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >delay : number > : ^^^^^^ static wrapError(error: any): Promise; >wrapError : (error: any) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >error : any > : ^^^ @@ -91,7 +91,7 @@ module WinJS { static addEventListener(type: string, fn: EventCallback); >addEventListener : (type: string, fn: EventCallback) => any -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ ^^^^^^^^ >type : string > : ^^^^^^ >fn : EventCallback @@ -99,7 +99,7 @@ module WinJS { public then(success?: ValueCallback, error?: ErrorCallback, progress?: ProgressCallback): Promise; >then : (success?: ValueCallback, error?: ErrorCallback, progress?: ProgressCallback) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : ValueCallback > : ^^^^^^^^^^^^^ >error : ErrorCallback @@ -109,7 +109,7 @@ module WinJS { public done(success?: ValueCallback, error?: ErrorCallback, progress?: ProgressCallback): void; >done : (success?: ValueCallback, error?: ErrorCallback, progress?: ProgressCallback) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : ValueCallback > : ^^^^^^^^^^^^^ >error : ErrorCallback @@ -128,9 +128,9 @@ module WinJS { constructor(init: (complete: (value: V) => void, error: (err: any) => void, progress: ProgressCallback) => void, oncancel?: any); >init : (complete: (value: V) => void, error: (err: any) => void, progress: ProgressCallback) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >complete : (value: V) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => void @@ -144,13 +144,13 @@ module WinJS { public then(success?: (value: V) => TPromise, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; >then : { (success?: (value: V) => TPromise, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => TPromise, error?: (err: any) => U_1, progress?: ProgressCallback): TPromise; (success?: (value: V) => U_2, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => U_3, error?: (err: any) => U_3, progress?: ProgressCallback): TPromise; } -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: V) => TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => TPromise -> : ^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^ ^^^^^ >err : any > : ^^^ >progress : ProgressCallback @@ -158,13 +158,13 @@ module WinJS { public then(success?: (value: V) => TPromise, error?: (err: any) => U, progress?: ProgressCallback): TPromise; >then : { (success?: (value: V) => TPromise, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => TPromise, error?: (err: any) => U, progress?: ProgressCallback): TPromise; (success?: (value: V) => U_2, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => U_3, error?: (err: any) => U_3, progress?: ProgressCallback): TPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: V) => TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => U -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >err : any > : ^^^ >progress : ProgressCallback @@ -172,13 +172,13 @@ module WinJS { public then(success?: (value: V) => U, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; >then : { (success?: (value: V) => TPromise, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => TPromise, error?: (err: any) => U_2, progress?: ProgressCallback): TPromise; (success?: (value: V) => U, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => U_3, error?: (err: any) => U_3, progress?: ProgressCallback): TPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >success : (value: V) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => TPromise -> : ^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^ ^^^^^ >err : any > : ^^^ >progress : ProgressCallback @@ -186,13 +186,13 @@ module WinJS { public then(success?: (value: V) => U, error?: (err: any) => U, progress?: ProgressCallback): TPromise; >then : { (success?: (value: V) => TPromise, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => TPromise, error?: (err: any) => U_2, progress?: ProgressCallback): TPromise; (success?: (value: V) => U_3, error?: (err: any) => TPromise, progress?: ProgressCallback): TPromise; (success?: (value: V) => U, error?: (err: any) => U, progress?: ProgressCallback): TPromise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^ >success : (value: V) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => U -> : ^^^^^^ ^^^^^^ +> : ^^^^^^ ^^^^^ >err : any > : ^^^ >progress : ProgressCallback @@ -200,9 +200,9 @@ module WinJS { public done(success?: (value: V) => void, error?: (err: any) => any, progress?: ProgressCallback): void; >done : (success?: (value: V) => void, error?: (err: any) => any, progress?: ProgressCallback) => void -> : ^^^^^^^^^^^ ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >success : (value: V) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : V > : ^ >error : (err: any) => any @@ -218,31 +218,31 @@ module WinJS { public static as(value: ValueType): TPromise; >as : (value: ValueType) => TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : ValueType > : ^^^^^^^^^ public static timeout(delay: number): TPromise; >timeout : (delay: number) => TPromise -> : ^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >delay : number > : ^^^^^^ public static join(promises: TPromise[]): TPromise; >join : (promises: TPromise[]) => TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >promises : TPromise[] > : ^^^^^^^^^^^^^^^^^^^^^ public static any(promises: TPromise[]): TPromise; >any : (promises: TPromise[]) => TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ >promises : TPromise[] > : ^^^^^^^^^^^^^^^^^^^^^ public static wrapError(error: any): TPromise; >wrapError : (error: any) => TPromise -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >error : any > : ^^^ } @@ -315,7 +315,7 @@ module Services { */ makeRequest(options: WinJS.IXHROptions): WinJS.Promise; >makeRequest : (options: WinJS.IXHROptions) => WinJS.Promise -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >options : WinJS.IXHROptions > : ^^^^^^^^^^^^^^^^^ >WinJS : any @@ -379,7 +379,7 @@ class FileService { public uploadData(): WinJS.TPromise { >uploadData : () => WinJS.TPromise -> : ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >WinJS : any > : ^^^ >Files : any @@ -453,7 +453,7 @@ class FileService { >then : (success?: WinJS.ValueCallback, error?: WinJS.ErrorCallback, progress?: WinJS.ProgressCallback) => WinJS.Promise > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(response: XMLHttpRequest) => { var result: IUploadResult = { // This should be error stat: this.jsonToStat(newFilePath, "someString"), // _this needs to be emitted to the js file isNew: response.status === 201 }; return WinJS.TPromise.as(result); } : (response: XMLHttpRequest) => WinJS.TPromise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >response : XMLHttpRequest > : ^^^^^^^^^^^^^^ @@ -515,7 +515,7 @@ class FileService { }, (xhr: XMLHttpRequest) => { >(xhr: XMLHttpRequest) => { return WinJS.Promise.wrapError(new Errors.ConnectionError(xhr)); } : (xhr: XMLHttpRequest) => WinJS.Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^ >xhr : XMLHttpRequest > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/variadicTuples1.types b/tests/baselines/reference/variadicTuples1.types index 2364755bd307f..cd1de20a91d57 100644 --- a/tests/baselines/reference/variadicTuples1.types +++ b/tests/baselines/reference/variadicTuples1.types @@ -59,7 +59,7 @@ type TN7 = TV1; function tup2(t: [...T], u: [...U]) { >tup2 : (t: [...T], u: [...U]) => readonly [1, ...T, 2, ...U, 3] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : [...T] > : ^^^^^^ >u : [...U] @@ -106,7 +106,7 @@ const t2 = tup2(['hello'], [10, true]); function concat(t: [...T], u: [...U]): [...T, ...U] { >concat : (t: [...T], u: [...U]) => [...T, ...U] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >t : [...T] > : ^^^^^^ >u : [...U] @@ -195,7 +195,7 @@ const tc4 = concat(sa, [1, 2, 3]); // Ideally would be [...string[], number, nu function concat2(t: T, u: U) { >concat2 : (t: T, u: U) => (T[number] | U[number])[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : T > : ^ >u : U @@ -365,7 +365,7 @@ function foo2(t1: [number, string], t2: [boolean], a1: number[]) { declare function foo3(x: number, ...args: [...T, number]): T; >foo3 : (x: number, ...args: [...T, number]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >args : [...T, number] @@ -373,7 +373,7 @@ declare function foo3(x: number, ...args: [...T, number]): function foo4(u: U) { >foo4 : (u: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >u : U > : ^ @@ -430,25 +430,25 @@ function foo4(u: U) { declare function ft1(t: T): T; >ft1 : (t: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >t : T > : ^ declare function ft2(t: T): readonly [...T]; >ft2 : (t: T) => readonly [...T] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >t : T > : ^ declare function ft3(t: [...T]): T; >ft3 : (t: [...T]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >t : [...T] > : ^^^^^^ declare function ft4(t: [...T]): readonly [...T]; >ft4 : (t: [...T]) => readonly [...T] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >t : [...T] > : ^^^^^^ @@ -504,7 +504,7 @@ ft4(['hello', 42]); // readonly [string, number] function f0(t: [string, ...T], n: number) { >f0 : (t: [string, ...T], n: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : [string, ...T] > : ^^^^^^^^^^^^^^ >n : number @@ -553,7 +553,7 @@ function f0(t: [string, ...T], n: number) { function f1(t: [string, ...T, number], n: number) { >f1 : (t: [string, ...T, number], n: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : [string, ...T, number] > : ^^^^^^^^^^^^^^^^^^^^^^ >n : number @@ -604,7 +604,7 @@ function f1(t: [string, ...T, number], n: number) { function f2(t: [string, ...T]) { >f2 : (t: [string, ...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : [string, ...T] > : ^^^^^^^^^^^^^^ @@ -635,7 +635,7 @@ function f2(t: [string, ...T]) { function f3(t: [string, ...T, number]) { >f3 : (t: [string, ...T, number]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : [string, ...T, number] > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -686,7 +686,7 @@ type TP2 = Partial<[string, ...T, ...number[]]>; // [strin declare function fm1(t: Arrayify<[string, number, ...T]>): T; >fm1 : (t: [string[], number[], ...Arrayify]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >t : [string[], number[], ...Arrayify] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -720,7 +720,7 @@ let tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string] declare function fx1(a: string, ...args: T): T; >fx1 : (a: string, ...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >args : T @@ -728,7 +728,7 @@ declare function fx1(a: string, ...args: T): T; function gx1(u: U, v: V) { >gx1 : (u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >u : U > : ^ >v : V @@ -793,7 +793,7 @@ function gx1(u: U, v: V) { declare function fx2(a: string, ...args: T): T; >fx2 : (a: string, ...args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >a : string > : ^^^^^^ >args : T @@ -801,7 +801,7 @@ declare function fx2(a: string, ...args: T): T; function gx2(u: U, v: V) { >gx2 : (u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >u : U > : ^ >v : V @@ -868,7 +868,7 @@ function gx2(u: U, v: V) { function f10(x: [string, ...unknown[]], y: [string, ...T], z: [string, ...U]) { >f10 : (x: [string, ...unknown[]], y: [string, ...T], z: [string, ...U]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : [string, ...unknown[]] > : ^^^^^^^^^^^^^^^^^^^^^^ >y : [string, ...T] @@ -930,7 +930,7 @@ function f10(x: [string, ...unknown[]], y: [str function f11(t: T, m: [...T], r: readonly [...T]) { >f11 : (t: T, m: [...T], r: readonly [...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >m : [...T] @@ -989,7 +989,7 @@ function f11(t: T, m: [...T], r: readonly [...T]) { function f12(t: T, m: [...T], r: readonly [...T]) { >f12 : (t: T, m: [...T], r: readonly [...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >m : [...T] @@ -1048,7 +1048,7 @@ function f12(t: T, m: [...T], r: readonly [...T]) function f13(t0: T, t1: [...T], t2: [...U]) { >f13 : (t0: T, t1: [...T], t2: [...U]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >t0 : T > : ^ >t1 : [...T] @@ -1107,7 +1107,7 @@ function f13(t0: T, t1: [...T], t2: [...U]) { function f14(t0: T, t1: [...T], t2: [...U]) { >f14 : (t0: T, t1: [...T], t2: [...U]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >t0 : T > : ^ >t1 : [...T] @@ -1166,7 +1166,7 @@ function f14(t0: T, t1: [...T], t2: [. function f15(k0: keyof T, k1: keyof [...T], k2: keyof [...U], k3: keyof [1, 2, ...T]) { >f15 : (k0: keyof T, k1: keyof [...T], k2: keyof [...U], k3: keyof [1, 2, ...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >k0 : keyof T > : ^^^^^^^ >k1 : keyof [...T] @@ -1253,7 +1253,7 @@ function f15(k0: keyof T, k1: keyof [...T], k2: function ft16(x: [unknown, unknown], y: [...T, ...T]) { >ft16 : (x: [unknown, unknown], y: [...T, ...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : [unknown, unknown] > : ^^^^^^^^^^^^^^^^^^ >y : [...T, ...T] @@ -1270,7 +1270,7 @@ function ft16(x: [unknown, unknown], y: [...T, ...T]) { function ft17(x: [unknown, unknown], y: [...T, ...T]) { >ft17 : (x: [unknown, unknown], y: [...T, ...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : [unknown, unknown] > : ^^^^^^^^^^^^^^^^^^ >y : [...T, ...T] @@ -1287,7 +1287,7 @@ function ft17(x: [unknown, unknown], y: [...T, ...T]) function ft18(x: [unknown, unknown], y: [...T, ...T]) { >ft18 : (x: [unknown, unknown], y: [...T, ...T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : [unknown, unknown] > : ^^^^^^^^^^^^^^^^^^ >y : [...T, ...T] @@ -1603,9 +1603,9 @@ type R36 = DropLast; function curry(f: (...args: [...T, ...U]) => R, ...a: T) { >curry : (f: (...args: [...T, ...U]) => R, ...a: T) => (...b: U) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ >f : (...args: [...T, ...U]) => R -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [...T, ...U] > : ^^^^^^^^^^^^ >a : T @@ -1613,7 +1613,7 @@ function curry(f: (...args: [...T, return (...b: U) => f(...a, ...b); >(...b: U) => f(...a, ...b) : (...b: U) => R -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^ >b : U > : ^ >f(...a, ...b) : R @@ -1840,9 +1840,9 @@ const c22 = curry(fn3, ...sa); // (...args: string[]) => number function curry2(f: (...args: [...T, ...U]) => R, t: [...T], u: [...U]) { >curry2 : (f: (...args: [...T, ...U]) => R, t: [...T], u: [...U]) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^ ^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^ >f : (...args: [...T, ...U]) => R -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [...T, ...U] > : ^^^^^^^^^^^^ >t : [...T] @@ -1915,7 +1915,7 @@ curry2(fn10, ['hello'], [42, true]); declare function ft(t1: [...T], t2: [...T, number?]): T; >ft : (t1: [...T], t2: [...T, number?]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >t1 : [...T] > : ^^^^^^ >t2 : [...T, (number | undefined)?] @@ -2005,9 +2005,9 @@ ft(['a', 'b'], ['c', 'd', 42]) declare function call(...args: [...T, (...args: T) => R]): [T, R]; >call : (...args: [...T, (...args: T) => R]) => [T, R] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >args : [...T, (...args: T) => R] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^ >args : T > : ^ @@ -2049,13 +2049,13 @@ call(...sa, (...x) => 42); declare function f20(args: [...T, number?]): T; >f20 : (args: [...T, number?]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : [...T, (number | undefined)?] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function f21(args: [...U, number?]) { >f21 : (args: [...U, number?]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >args : [...U, (number | undefined)?] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2100,19 +2100,19 @@ function f21(args: [...U, number?]) { declare function f22(args: [...T, number]): T; >f22 : { (args: [...T, number]): T; (args: [...T_1]): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : [...T, number] > : ^^^^^^^^^^^^^^ declare function f22(args: [...T]): T; >f22 : { (args: [...T_1, number]): T_1; (args: [...T]): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >args : [...T] > : ^^^^^^ function f23(args: [...U, number]) { >f23 : (args: [...U, number]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >args : [...U, number] > : ^^^^^^^^^^^^^^ @@ -2160,13 +2160,13 @@ function f23(args: [...U, number]) { interface Desc { readonly f: (...args: A) => T; >f : (...args: A) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : A > : ^ bind(this: Desc<[...T, ...U], R>, ...args: T): Desc<[...U], R>; >bind : (this: Desc<[...T, ...U], R>, ...args: T) => Desc<[...U], R> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >this : Desc<[...T, ...U], R> > : ^^^^^^^^^^^^^^^^^^^^^ >args : T @@ -2221,9 +2221,9 @@ declare function getOrgUser(id: string, orgId: number, options?: { y?: number, z function callApi(method: (...args: [...T, object]) => U) { >callApi : (method: (...args: [...T, object]) => U) => (...args_0: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >method : (...args: [...T, object]) => U -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : [...T, object] > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/variadicTuples2.types b/tests/baselines/reference/variadicTuples2.types index 318f7b80e9a65..909cc3dfd22ec 100644 --- a/tests/baselines/reference/variadicTuples2.types +++ b/tests/baselines/reference/variadicTuples2.types @@ -451,7 +451,7 @@ ft2(0, 'abc', 'def', true); // Error function ft3(x: [number, ...T], y: [number, number], z: [number, ...number[]]) { >ft3 : (x: [number, ...T], y: [number, number], z: [number, ...number[]]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : [number, ...T] > : ^^^^^^^^^^^^^^ >y : [number, number] @@ -507,17 +507,17 @@ let tt4: [number, ...number[]] = tt3 // Error function pipe(...args: [...T, (...values: T) => void]) { >pipe : (...args: [...T, (...values: T) => void]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >args : [...T, (...values: T) => void] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ >values : T > : ^ const callback = args[args.length - 1] as (...values: T) => void; >callback : (...values: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >args[args.length - 1] as (...values: T) => void : (...values: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >args[args.length - 1] : [...T, (...values: T) => void][number] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : [...T, (...values: T) => void] @@ -726,7 +726,7 @@ pipe(...sa); // Error declare function fn1(t: [...unknown[], T, U]): [T, U]; >fn1 : (t: [...unknown[], T, U]) => [T, U] -> : ^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >t : [...unknown[], T, U] > : ^^^^^^^^^^^^^^^^^^^^ @@ -776,7 +776,7 @@ fn1([1, 'abc', true]); // [string, boolean] declare function fn2(t: [T, ...unknown[], U]): [T, U]; >fn2 : (t: [T, ...unknown[], U]) => [T, U] -> : ^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >t : [T, ...unknown[], U] > : ^^^^^^^^^^^^^^^^^^^^ @@ -828,7 +828,7 @@ fn2([1, 'abc', true]); // [number, boolean] declare function foo(...stringsAndNumber: readonly [...S, number]): [...S, number]; >foo : (...stringsAndNumber: readonly [...S, number]) => [...S, number] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >stringsAndNumber : readonly [...S, number] > : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/variance.types b/tests/baselines/reference/variance.types index a091406f73fae..eb7d8ae206b86 100644 --- a/tests/baselines/reference/variance.types +++ b/tests/baselines/reference/variance.types @@ -60,7 +60,7 @@ class Bar { cast(_name: ([T] extends [string] ? string : string)) { } >cast : (_name: ([T] extends [string] ? string : string)) => void -> : ^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >_name : [T] extends [string] ? string : string > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/varianceAnnotationValidation.types b/tests/baselines/reference/varianceAnnotationValidation.types index a3859d085644d..60a3e382c92d2 100644 --- a/tests/baselines/reference/varianceAnnotationValidation.types +++ b/tests/baselines/reference/varianceAnnotationValidation.types @@ -8,11 +8,11 @@ interface Controller { createAnimal: () => T; >createAnimal : () => T -> : ^^^^^^^ +> : ^^^^^^ run: (animal: T) => void; >run : (animal: T) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >animal : T > : ^ } diff --git a/tests/baselines/reference/varianceAnnotations.types b/tests/baselines/reference/varianceAnnotations.types index fa778f587f0cf..f3ed7348cb21a 100644 --- a/tests/baselines/reference/varianceAnnotations.types +++ b/tests/baselines/reference/varianceAnnotations.types @@ -40,7 +40,7 @@ type Contravariant = { f: (x: T) => void; >f : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -75,7 +75,7 @@ type Invariant = { f: (x: T) => T; >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -143,7 +143,7 @@ type Contravariant2 = { // Error f: (x: T) => void; >f : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -154,7 +154,7 @@ type Invariant1 = { // Error f: (x: T) => T; >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -165,7 +165,7 @@ type Invariant2 = { // Error f: (x: T) => T; >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -276,13 +276,13 @@ type T23 = T; // Error declare function f1(x: T): void; // Error >f1 : (x: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ declare function f2(): T; // Error >f2 : () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ class C { >C : C @@ -354,7 +354,7 @@ interface Child extends Parent { function fn(inp: Child) { >fn : (inp: Child) => void -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ >inp : Child > : ^^^^^^^^^^^^^^^^^ @@ -422,14 +422,14 @@ interface ActionObject { exec: (meta: StateNode) => void; >exec : (meta: StateNode) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^ >meta : StateNode > : ^^^^^^^^^^^^^^^^^^^^^^ } declare function createMachine(action: ActionObject): StateNode; >createMachine : (action: ActionObject) => StateNode -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >type : string > : ^^^^^^ >action : ActionObject @@ -437,7 +437,7 @@ declare function createMachine(action: ActionOb declare function interpret(machine: StateNode): void; >interpret : (machine: StateNode) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^ >machine : StateNode > : ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -493,7 +493,7 @@ let Anon = class { foo(): InstanceType<(typeof Anon)> { >foo : () => InstanceType<(typeof Anon)> -> : ^^^^^^^^^^^^^^^^^^ ^^^^ ^ +> : ^^^^^^ >Anon : typeof Anon > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/varianceCallbacksAndIndexedAccesses.types b/tests/baselines/reference/varianceCallbacksAndIndexedAccesses.types index bd474d365146c..7f4410444e4ef 100644 --- a/tests/baselines/reference/varianceCallbacksAndIndexedAccesses.types +++ b/tests/baselines/reference/varianceCallbacksAndIndexedAccesses.types @@ -9,7 +9,7 @@ type Source = { >type : K > : ^ >listener : (this: Window, ev: WindowEventMap[K]) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^^ ^^^^^ >this : Window > : ^^^^^^ >ev : WindowEventMap[K] @@ -47,7 +47,7 @@ interface MessageEventLike { interface PostMessageObject { postMessage(message: T, host: string): void; >postMessage : (message: T, host: string) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^ >message : T > : ^ >host : string @@ -56,7 +56,7 @@ interface PostMessageObject { interface WindowLike extends PostMessageObject { addEventListener(type: "message", handler: Action1>): void; >addEventListener : { (type: "message", handler: Action1>): void; (type: string, handler: Action1): void; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >type : "message" > : ^^^^^^^^^ >handler : Action1> @@ -64,7 +64,7 @@ interface WindowLike extends PostMessageObject { addEventListener(type: string, handler: Action1): void; >addEventListener : { (type: "message", handler: Action1>): void; (type: string, handler: Action1): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >type : string > : ^^^^^^ >handler : Action1 @@ -72,7 +72,7 @@ interface WindowLike extends PostMessageObject { removeEventListener(type: "message", handler: Action1>): void; >removeEventListener : { (type: "message", handler: Action1>): void; (type: string, handler: Action1): void; } -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >type : "message" > : ^^^^^^^^^ >handler : Action1> @@ -80,7 +80,7 @@ interface WindowLike extends PostMessageObject { removeEventListener(type: string, handler: Action1): void; >removeEventListener : { (type: "message", handler: Action1>): void; (type: string, handler: Action1): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ >type : string > : ^^^^^^ >handler : Action1 @@ -106,7 +106,7 @@ type Target = { function f1(s: Source, t: Target) { >f1 : (s: Source, t: Target) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >s : Source > : ^^^^^^ >t : Target diff --git a/tests/baselines/reference/varianceCantBeStrictWhileStructureIsnt.types b/tests/baselines/reference/varianceCantBeStrictWhileStructureIsnt.types index 49d25bf850234..935a4976d3cb8 100644 --- a/tests/baselines/reference/varianceCantBeStrictWhileStructureIsnt.types +++ b/tests/baselines/reference/varianceCantBeStrictWhileStructureIsnt.types @@ -5,7 +5,7 @@ interface Foo { member: (cb: T) => void; >member : (cb: T) => void -> : ^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >cb : T > : ^ } @@ -13,7 +13,7 @@ interface Foo { interface Bar { member: (cb: T) => void; >member : (cb: T) => void -> : ^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >cb : T > : ^ } diff --git a/tests/baselines/reference/varianceMeasurement.types b/tests/baselines/reference/varianceMeasurement.types index 2e00fe008580c..cf22cf743ec21 100644 --- a/tests/baselines/reference/varianceMeasurement.types +++ b/tests/baselines/reference/varianceMeasurement.types @@ -11,7 +11,7 @@ interface Foo1 { y: Foo1<(arg: T) => void>; >y : Foo1<(arg: T) => void> -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ ^ >arg : T > : ^ } @@ -41,13 +41,13 @@ interface Foo2 { y: { x: (arg: T) => void, y: Foo2<(arg: T) => void>; } >y : { x: (arg: T) => void; y: Foo2<(arg: T) => void>; } -> : ^^^^^ ^ ^^^^^^^^^ ^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >x : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : Foo2<(arg: T) => void> -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ ^ >arg : T > : ^ } @@ -81,7 +81,7 @@ type Foo3 = { y: Foo3<(arg: T) => void>; >y : Foo3<(arg: T) => void> -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ ^ >arg : T > : ^ } @@ -114,13 +114,13 @@ type Foo4 = { y: { x: (arg: T) => void, y: Foo4<(arg: T) => void>; } >y : { x: (arg: T) => void; y: Foo4<(arg: T) => void>; } -> : ^^^^^ ^ ^^^^^^^^^ ^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >x : (arg: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : Foo4<(arg: T) => void> -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^ ^^^^^ ^ >arg : T > : ^ } @@ -150,7 +150,7 @@ interface Fn { then(next: Fn): Fn; >then : (next: Fn) => Fn -> : ^^^^^^^^^^^^ ^ ^ ^^^^^^^ ^ ^ +> : ^ ^^^^^^^^ ^^^^^ >next : Fn > : ^^^^^^^^ } diff --git a/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign.types b/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign.types index 1e88dac679892..6d5acd2bdf923 100644 --- a/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign.types +++ b/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign.types @@ -30,9 +30,9 @@ class Left { /** The given function is applied if this is a `Right` */ map(f: (a: A) => B): Either { >map : (f: (a: A) => B) => Either -> : ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -43,9 +43,9 @@ class Left { } ap(fab: Either B>): Either { >ap : (fab: Either B>) => Either -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ ^^^^^ >fab : Either B> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ ^ >a : A > : ^ @@ -78,9 +78,9 @@ class Right { map(f: (a: A) => B): Either { >map : (f: (a: A) => B) => Either -> : ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -102,9 +102,9 @@ class Right { } ap(fab: Either B>): Either { >ap : (fab: Either B>) => Either -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ ^^^^^ >fab : Either B> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ ^ >a : A > : ^ @@ -145,7 +145,7 @@ class Type { /** succeeds if a value of type I can be decoded to a value of type A */ readonly validate: (input: I, context: {}[]) => Either<{}[], A>, >validate : (input: I, context: {}[]) => Either<{}[], A> -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >input : I > : ^ >context : {}[] @@ -154,7 +154,7 @@ class Type { /** converts a value of type A to a value of type O */ readonly encode: (a: A) => O >encode : (a: A) => O -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -162,7 +162,7 @@ class Type { /** a version of `validate` with a default context */ decode(i: I): Either<{}[], A> { return null as any; } >decode : (i: I) => Either<{}[], A> -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >i : I > : ^ >null as any : any @@ -205,7 +205,7 @@ const tmp1: MyInfo = null!; function tmp2(n: N) {} >tmp2 : >(n: N) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >n : N > : ^ diff --git a/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.types b/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.types index 53d8f0c01a9af..47dcd3f1084dd 100644 --- a/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.types +++ b/tests/baselines/reference/varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.types @@ -30,9 +30,9 @@ class Left { /** The given function is applied if this is a `Right` */ map(f: (a: A) => B): Either { >map : (f: (a: A) => B) => Either -> : ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -43,9 +43,9 @@ class Left { } ap(fab: Either B>): Either { >ap : (fab: Either B>) => Either -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ ^^^^^ >fab : Either B> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ ^ >a : A > : ^ @@ -78,9 +78,9 @@ class Right { map(f: (a: A) => B): Either { >map : (f: (a: A) => B) => Either -> : ^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^ ^^^^^ >f : (a: A) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -102,9 +102,9 @@ class Right { } ap(fab: Either B>): Either { >ap : (fab: Either B>) => Either -> : ^^^^^^^^^^^^^^^ ^ ^ ^ ^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ ^^^^^ >fab : Either B> -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^ ^ >a : A > : ^ @@ -145,7 +145,7 @@ class Type { /** succeeds if a value of type I can be decoded to a value of type A */ readonly validate: (input: I, context: {}[]) => Either<{}[], A>, >validate : (input: I, context: {}[]) => Either<{}[], A> -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >input : I > : ^ >context : {}[] @@ -154,7 +154,7 @@ class Type { /** converts a value of type A to a value of type O */ readonly encode: (a: A) => O >encode : (a: A) => O -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ @@ -162,7 +162,7 @@ class Type { /** a version of `validate` with a default context */ decode(i: I): Either<{}[], A> { return null as any; } >decode : (i: I) => Either<{}[], A> -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >i : I > : ^ >null as any : any @@ -205,7 +205,7 @@ const tmp1: MyInfo = null!; function tmp2(n: N) {} >tmp2 : >(n: N) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >n : N > : ^ diff --git a/tests/baselines/reference/varianceRepeatedlyPropegatesWithUnreliableFlag.types b/tests/baselines/reference/varianceRepeatedlyPropegatesWithUnreliableFlag.types index 4ad0ba4e31b12..8a877ff36f317 100644 --- a/tests/baselines/reference/varianceRepeatedlyPropegatesWithUnreliableFlag.types +++ b/tests/baselines/reference/varianceRepeatedlyPropegatesWithUnreliableFlag.types @@ -32,7 +32,7 @@ type P2 = { data: X }; interface I { fn(p1: P1>, p2: P2>): void; >fn : (p1: P1>, p2: P2>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^ ^ ^^^^^^^^ ^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ >p1 : P1> > : ^^^^^^^^^^^^^^ >p2 : P2> diff --git a/tests/baselines/reference/verbatim-declarations-parameters.types b/tests/baselines/reference/verbatim-declarations-parameters.types index f3072a96b6a0b..95aae0d46d374 100644 --- a/tests/baselines/reference/verbatim-declarations-parameters.types +++ b/tests/baselines/reference/verbatim-declarations-parameters.types @@ -33,7 +33,7 @@ export class Foo { export function foo1( >foo1 : (reuseTypeNode: Map | undefined, reuseTypeNode2: Exclude, resolveType: Map | undefined, requiredParam: number) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ // Type node is accurate, preserve reuseTypeNode: Map | undefined = {}, diff --git a/tests/baselines/reference/verbatimModuleSyntaxDefaultValue.types b/tests/baselines/reference/verbatimModuleSyntaxDefaultValue.types index 4226d81a69411..a6f8376b5ce75 100644 --- a/tests/baselines/reference/verbatimModuleSyntaxDefaultValue.types +++ b/tests/baselines/reference/verbatimModuleSyntaxDefaultValue.types @@ -7,7 +7,7 @@ class Task {} function task(): Task { return new Task(); } >task : () => Task -> : ^^^^^^^^^^ +> : ^^^^^^ >new Task() : Task > : ^^^^ >Task : typeof Task diff --git a/tests/baselines/reference/visibilityOfCrossModuleTypeUsage.types b/tests/baselines/reference/visibilityOfCrossModuleTypeUsage.types index 87872cc48f75c..c6142efc3e6fb 100644 --- a/tests/baselines/reference/visibilityOfCrossModuleTypeUsage.types +++ b/tests/baselines/reference/visibilityOfCrossModuleTypeUsage.types @@ -7,7 +7,7 @@ import commands = require('./visibilityOfCrossModuleTypeUsage_commands'); function run(configuration: commands.IConfiguration) { >run : (configuration: commands.IConfiguration) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >configuration : commands.IConfiguration > : ^^^^^^^^^^^^^^^^^^^^^^^ >commands : any @@ -65,7 +65,7 @@ export interface IServer { export interface IWorkspace { toAbsolutePath(server: IServer, workspaceRelativePath?: string): string; >toAbsolutePath : (server: IServer, workspaceRelativePath?: string) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >server : IServer > : ^^^^^^^ >workspaceRelativePath : string diff --git a/tests/baselines/reference/visibilityOfTypeParameters.types b/tests/baselines/reference/visibilityOfTypeParameters.types index 18ea224947497..f59662f884114 100644 --- a/tests/baselines/reference/visibilityOfTypeParameters.types +++ b/tests/baselines/reference/visibilityOfTypeParameters.types @@ -7,7 +7,7 @@ export class MyClass { protected myMethod(val: T): T { >myMethod : (val: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >val : T > : ^ diff --git a/tests/baselines/reference/voidParamAssignmentCompatibility.types b/tests/baselines/reference/voidParamAssignmentCompatibility.types index f4f91dce6e5ae..7096423e2f413 100644 --- a/tests/baselines/reference/voidParamAssignmentCompatibility.types +++ b/tests/baselines/reference/voidParamAssignmentCompatibility.types @@ -16,7 +16,7 @@ let gg: () => void = g; interface Obj { method(value: T): void; >method : (value: T) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/voidReturnIndexUnionInference.types b/tests/baselines/reference/voidReturnIndexUnionInference.types index 1b38f71885e4b..9686567007bcd 100644 --- a/tests/baselines/reference/voidReturnIndexUnionInference.types +++ b/tests/baselines/reference/voidReturnIndexUnionInference.types @@ -4,11 +4,11 @@ // repro from https://github.com/Microsoft/TypeScript/issues/25274 export function safeInvoke( >safeInvoke : (func: ((arg1: A1) => R) | null | undefined, arg1: A1) => R | undefined -> : ^^^^^^^^^^^^^^ ^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ func: ((arg1: A1) => R) | null | undefined, >func : ((arg1: A1) => R) | null | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ >arg1 : A1 > : ^^ @@ -52,7 +52,7 @@ interface Props { function bad

(props: Readonly

) { >bad :

(props: Readonly

) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >props : Readonly

> : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/voidUndefinedReduction.types b/tests/baselines/reference/voidUndefinedReduction.types index dd477d8450455..fa36a16375a75 100644 --- a/tests/baselines/reference/voidUndefinedReduction.types +++ b/tests/baselines/reference/voidUndefinedReduction.types @@ -5,7 +5,7 @@ function isDefined(value: T | undefined | null | void): value is T { >isDefined : (value: T | undefined | null | void) => value is T -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ >value : void | T | null | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/vueLikeDataAndPropsInference.types b/tests/baselines/reference/vueLikeDataAndPropsInference.types index 80a19051269e3..2dc4ce7947574 100644 --- a/tests/baselines/reference/vueLikeDataAndPropsInference.types +++ b/tests/baselines/reference/vueLikeDataAndPropsInference.types @@ -57,13 +57,13 @@ type ThisTypedOptions = declare function test(fn: ThisTypedOptions): void; >test : { (fn: ThisTypedOptions): void; (fn: Options<(this: Instance) => object, {}>): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : ThisTypedOptions > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function test(fn: Options): void; >test : { (fn: ThisTypedOptions): void; (fn: Options): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >fn : Options<(this: Instance) => object, {}> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/vueLikeDataAndPropsInference2.types b/tests/baselines/reference/vueLikeDataAndPropsInference2.types index 05bff9665766c..017d03a1cf3c4 100644 --- a/tests/baselines/reference/vueLikeDataAndPropsInference2.types +++ b/tests/baselines/reference/vueLikeDataAndPropsInference2.types @@ -58,13 +58,13 @@ type ThisTypedOptions = declare function test(fn: ThisTypedOptions): void; >test : { (fn: ThisTypedOptions): void; (fn: Options object), PropsDefinition>>): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >fn : ThisTypedOptions > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function test(fn: Options): void; >test : { (fn: ThisTypedOptions): void; (fn: Options): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >fn : Options object), PropsDefinition>> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/weakType.types b/tests/baselines/reference/weakType.types index 0b3263d3f9927..e1d111892232d 100644 --- a/tests/baselines/reference/weakType.types +++ b/tests/baselines/reference/weakType.types @@ -33,7 +33,7 @@ interface CtorOnly { function doSomething(settings: Settings) { /* ... */ } >doSomething : (settings: Settings) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >settings : Settings > : ^^^^^^^^ @@ -127,7 +127,7 @@ type ChangeOptions = ConfigurableStartEnd & InsertOptions; function del(options: ConfigurableStartEnd = {}, >del : (options?: ConfigurableStartEnd, error?: { error?: number; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ >options : ConfigurableStartEnd > : ^^^^^^^^^^^^^^^^^^^^ >{} : {} diff --git a/tests/baselines/reference/weakTypeAndPrimitiveNarrowing.types b/tests/baselines/reference/weakTypeAndPrimitiveNarrowing.types index 3b6bc486efef7..df1f734273ab6 100644 --- a/tests/baselines/reference/weakTypeAndPrimitiveNarrowing.types +++ b/tests/baselines/reference/weakTypeAndPrimitiveNarrowing.types @@ -25,9 +25,9 @@ type LiteralsAndWeakTypes = const g = (arg: LiteralsAndWeakTypes) => { >g : (arg: LiteralsAndWeakTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >(arg: LiteralsAndWeakTypes) => { if (arg === 'A') { arg; } else { arg; }} : (arg: LiteralsAndWeakTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : LiteralsAndWeakTypes > : ^^^^^^^^^^^^^^^^^^^^ @@ -74,9 +74,9 @@ type PrimitivesAndWeakTypes = const h = (arg: PrimitivesAndWeakTypes) => { >h : (arg: PrimitivesAndWeakTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >(arg: PrimitivesAndWeakTypes) => { if (arg === 'A') { arg; } else { arg; }} : (arg: PrimitivesAndWeakTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >arg : PrimitivesAndWeakTypes > : ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/weakTypesAndLiterals01.types b/tests/baselines/reference/weakTypesAndLiterals01.types index a6e104ac35819..d15ac5b0868ce 100644 --- a/tests/baselines/reference/weakTypesAndLiterals01.types +++ b/tests/baselines/reference/weakTypesAndLiterals01.types @@ -35,9 +35,9 @@ declare let aOrB: "A" | "B"; const f = (arg: LiteralsOrWeakTypes) => { >f : (arg: LiteralsOrWeakTypes) => WeakTypes | "A" | "B" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >(arg: LiteralsOrWeakTypes) => { if (arg === "A") { return arg; } else { return arg; }} : (arg: LiteralsOrWeakTypes) => WeakTypes | "A" | "B" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : LiteralsOrWeakTypes > : ^^^^^^^^^^^^^^^^^^^ @@ -62,9 +62,9 @@ const f = (arg: LiteralsOrWeakTypes) => { const g = (arg: WeakTypes) => { >g : (arg: WeakTypes) => WeakTypes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^ >(arg: WeakTypes) => { if (arg === "A") { return arg; } else { return arg; }} : (arg: WeakTypes) => WeakTypes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^ >arg : WeakTypes > : ^^^^^^^^^ @@ -89,9 +89,9 @@ const g = (arg: WeakTypes) => { const h = (arg: LiteralsOrWeakTypes) => { >h : (arg: LiteralsOrWeakTypes) => LiteralsOrWeakTypes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >(arg: LiteralsOrWeakTypes) => { if (arg === aOrB) { return arg; } else { return arg; }} : (arg: LiteralsOrWeakTypes) => LiteralsOrWeakTypes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >arg : LiteralsOrWeakTypes > : ^^^^^^^^^^^^^^^^^^^ @@ -116,9 +116,9 @@ const h = (arg: LiteralsOrWeakTypes) => { const i = (arg: WeakTypes) => { >i : (arg: WeakTypes) => WeakTypes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^ >(arg: WeakTypes) => { if (arg === aOrB) { return arg; } else { return arg; }} : (arg: WeakTypes) => WeakTypes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^ >arg : WeakTypes > : ^^^^^^^^^ diff --git a/tests/baselines/reference/widenToAny1.types b/tests/baselines/reference/widenToAny1.types index 11c780cad0b8a..a46ae8c194dbf 100644 --- a/tests/baselines/reference/widenToAny1.types +++ b/tests/baselines/reference/widenToAny1.types @@ -3,9 +3,9 @@ === widenToAny1.ts === function foo1(f1: { x: T; y: T }): T { >foo1 : (f1: { x: T; y: T; }) => T -> : ^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^ ^^^^^ >f1 : { x: T; y: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/widenToAny2.types b/tests/baselines/reference/widenToAny2.types index 6ad9b3636f646..a14d8ec5def81 100644 --- a/tests/baselines/reference/widenToAny2.types +++ b/tests/baselines/reference/widenToAny2.types @@ -3,7 +3,7 @@ === widenToAny2.ts === function foo3(x: T[]): T { >foo3 : (x: T[]) => T -> : ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T[] > : ^^^ diff --git a/tests/baselines/reference/widenedTypes.types b/tests/baselines/reference/widenedTypes.types index b0b72d34e1a1b..a720b3f015267 100644 --- a/tests/baselines/reference/widenedTypes.types +++ b/tests/baselines/reference/widenedTypes.types @@ -107,7 +107,7 @@ u[3] = ""; var ob: { x: typeof undefined } = { x: "" }; >ob : { x: typeof undefined; } -> : ^^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^ >x : any > : ^^^ >undefined : undefined diff --git a/tests/baselines/reference/wideningTuples1.types b/tests/baselines/reference/wideningTuples1.types index c61a695551dd8..299022f6714e7 100644 --- a/tests/baselines/reference/wideningTuples1.types +++ b/tests/baselines/reference/wideningTuples1.types @@ -3,7 +3,7 @@ === wideningTuples1.ts === declare function foo(x: T): T; >foo : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/wideningWithTopLevelTypeParameter.types b/tests/baselines/reference/wideningWithTopLevelTypeParameter.types index 65983dea927f1..0eb5f57ecce29 100644 --- a/tests/baselines/reference/wideningWithTopLevelTypeParameter.types +++ b/tests/baselines/reference/wideningWithTopLevelTypeParameter.types @@ -19,31 +19,31 @@ type C4 = T extends unknown ? T | undefined : never; declare function f0(x: T): [T]; >f0 : (x: T) => [T] -> : ^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function f1(x: C1): [T]; >f1 : (x: C1) => [T] -> : ^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : C1 > : ^^^^^ declare function f2(x: C1>): [T]; >f2 : (x: C1>) => [T] -> : ^^^^^^^^^ ^^ ^ ^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : C1> > : ^^^^^^^^^ declare function f3(x: C1>>): [T]; >f3 : (x: C1>>) => [T] -> : ^^^^^^^^^ ^^ ^^ ^ ^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : C1>> > : ^^^^^^^^^^^^^ declare function f4(x: C1>>>): [T]; >f4 : (x: C1>>>) => [T] -> : ^^^^^^^^^ ^^ ^^ ^^ ^ ^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >x : C1>>> > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/witness.types b/tests/baselines/reference/witness.types index 6bc66dc0abf29..c2e0c96f538c9 100644 --- a/tests/baselines/reference/witness.types +++ b/tests/baselines/reference/witness.types @@ -346,9 +346,9 @@ var fnCallResult: any; // Call argument function fnArg1(x: typeof fnArg1, y: number) { >fnArg1 : (x: typeof fnArg1, y: number) => void -> : ^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : (x: typeof fnArg1, y: number) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^ >fnArg1 : (x: typeof fnArg1, y: number) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : number diff --git a/tests/baselines/reference/wrappedAndRecursiveConstraints.types b/tests/baselines/reference/wrappedAndRecursiveConstraints.types index 35eebcaf3d71b..bc3503620d1b4 100644 --- a/tests/baselines/reference/wrappedAndRecursiveConstraints.types +++ b/tests/baselines/reference/wrappedAndRecursiveConstraints.types @@ -13,7 +13,7 @@ class C { foo(x: U) { >foo : (x: U) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/wrappedAndRecursiveConstraints3.types b/tests/baselines/reference/wrappedAndRecursiveConstraints3.types index fecb1a1dcf2a9..c55b67ade671b 100644 --- a/tests/baselines/reference/wrappedAndRecursiveConstraints3.types +++ b/tests/baselines/reference/wrappedAndRecursiveConstraints3.types @@ -15,13 +15,13 @@ class C { foo(x: U) { >foo : (x: U) => (x: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ >x : U > : ^ function bar(x: V) { >bar : (x: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ >x : V > : ^ diff --git a/tests/baselines/reference/wrappedAndRecursiveConstraints4.types b/tests/baselines/reference/wrappedAndRecursiveConstraints4.types index f257cb27466dd..35070d26d579d 100644 --- a/tests/baselines/reference/wrappedAndRecursiveConstraints4.types +++ b/tests/baselines/reference/wrappedAndRecursiveConstraints4.types @@ -13,13 +13,13 @@ class C { foo(x: U) { >foo : (x: U) => (x: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ >x : U > : ^ function bar(x: V) { >bar : (x: V) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^ >x : V > : ^ diff --git a/tests/baselines/reference/yieldExpression1.types b/tests/baselines/reference/yieldExpression1.types index d6b0d317c4864..38715c1dd92a9 100644 --- a/tests/baselines/reference/yieldExpression1.types +++ b/tests/baselines/reference/yieldExpression1.types @@ -18,7 +18,7 @@ function* a() { function* b(): IterableIterator { >b : () => IterableIterator -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ yield; >yield : undefined

> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >React : any diff --git a/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.types b/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.types index 449d2a1d65461..ef60ed6b79f9b 100644 --- a/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.types +++ b/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.types @@ -179,7 +179,7 @@ type InferableComponentEnhancerWithProps = < declare const connect: { >connect : (mapStateToProps: null | undefined, mapDispatchToProps: TDispatchProps) => InferableComponentEnhancerWithProps, TOwnProps> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ( mapStateToProps: null | undefined, @@ -283,15 +283,15 @@ const simpleAction = (payload: boolean) => ({ }); const thunkAction = (param1: number, param2: string) => async ( >thunkAction : (param1: number, param2: string) => (dispatch: Dispatch, { foo }: OwnProps) => Promise -> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >(param1: number, param2: string) => async ( dispatch: Dispatch, { foo }: OwnProps) => { return foo;} : (param1: number, param2: string) => (dispatch: Dispatch, { foo }: OwnProps) => Promise -> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >param1 : number > : ^^^^^^ >param2 : string > : ^^^^^^ >async ( dispatch: Dispatch, { foo }: OwnProps) => { return foo;} : (dispatch: Dispatch, { foo }: OwnProps) => Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ dispatch: Dispatch, >dispatch : Dispatch @@ -321,7 +321,7 @@ interface TestComponentProps extends OwnProps { thunkAction(param1: number, param2: string): Promise; >thunkAction : (param1: number, param2: string) => Promise -> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ >param1 : number > : ^^^^^^ >param2 : string diff --git a/tests/baselines/reference/reactSFCAndFunctionResolvable.types b/tests/baselines/reference/reactSFCAndFunctionResolvable.types index 06f7e0770ab36..0af41b594f977 100644 --- a/tests/baselines/reference/reactSFCAndFunctionResolvable.types +++ b/tests/baselines/reference/reactSFCAndFunctionResolvable.types @@ -15,7 +15,7 @@ import * as React from 'react'; declare const Radio: (props: {}) => React.ReactElement<{}>; >Radio : (props: {}) => React.ReactElement<{}> -> : ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >props : {} > : ^^ >React : any @@ -23,7 +23,7 @@ declare const Radio: (props: {}) => React.ReactElement<{}>; declare const OtherRadio: () => React.ReactElement<{}>; >OtherRadio : () => React.ReactElement<{}> -> : ^^^^^^^^^^^ +> : ^^^^^^ >React : any > : ^^^ diff --git a/tests/baselines/reference/reactTransitiveImportHasValidDeclaration.types b/tests/baselines/reference/reactTransitiveImportHasValidDeclaration.types index c5c3ddcf74e1a..23903a26051a7 100644 --- a/tests/baselines/reference/reactTransitiveImportHasValidDeclaration.types +++ b/tests/baselines/reference/reactTransitiveImportHasValidDeclaration.types @@ -47,7 +47,7 @@ import {StyledOtherComponent, StyledOtherComponentList} from "create-emotion-sty export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherComponentList["div"], any>; >styled : (tag: string) => (o: object) => StyledOtherComponent<{}, StyledOtherComponentList["div"], any> -> : ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >tag : string > : ^^^^^^ >o : object diff --git a/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.types b/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.types index fb1137e3c7442..a7b1a7f7bd55c 100644 --- a/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.types +++ b/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.types @@ -7,7 +7,7 @@ class C extends (class {} as new () => Readonly<{ attrib: number }>) { >(class {} as new () => Readonly<{ attrib: number }>) : Readonly<{ attrib: number; }> > : ^^^^^^^^^^^^^^^^^^^ ^^^^ >class {} as new () => Readonly<{ attrib: number }> : new () => Readonly<{ attrib: number; }> -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ >class {} : typeof (Anonymous class) > : ^^^^^^^^^^^^^^^^^^^^^^^^ >attrib : number diff --git a/tests/baselines/reference/readonlyFloat32ArrayAssignableWithFloat32Array.types b/tests/baselines/reference/readonlyFloat32ArrayAssignableWithFloat32Array.types index 92be426e919aa..8031ba6c89305 100644 --- a/tests/baselines/reference/readonlyFloat32ArrayAssignableWithFloat32Array.types +++ b/tests/baselines/reference/readonlyFloat32ArrayAssignableWithFloat32Array.types @@ -3,7 +3,7 @@ === readonlyFloat32ArrayAssignableWithFloat32Array.ts === function update(b: Readonly) { >update : (b: Readonly) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >b : Readonly > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -30,7 +30,7 @@ function update(b: Readonly) { function add(a: Float32Array, b: Float32Array, c: Float32Array = a) { >add : (a: Float32Array, b: Float32Array, c?: Float32Array) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ >a : Float32Array > : ^^^^^^^^^^^^ >b : Float32Array @@ -67,7 +67,7 @@ function add(a: Float32Array, b: Float32Array, c: Float32Array = a) { function copy(a: Float32Array) { >copy : (a: Float32Array) => Float32Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^ >a : Float32Array > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/readonlyTupleAndArrayElaboration.types b/tests/baselines/reference/readonlyTupleAndArrayElaboration.types index cb3210fd3be48..f5a5ac815d1eb 100644 --- a/tests/baselines/reference/readonlyTupleAndArrayElaboration.types +++ b/tests/baselines/reference/readonlyTupleAndArrayElaboration.types @@ -73,7 +73,7 @@ arryFn(point); declare function arryFn2(x: Array): void; >arryFn2 : (x: Array) => void -> : ^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : number[] > : ^^^^^^^^ diff --git a/tests/baselines/reference/rectype.types b/tests/baselines/reference/rectype.types index 4ad781fb0986c..c1e8f566b25e1 100644 --- a/tests/baselines/reference/rectype.types +++ b/tests/baselines/reference/rectype.types @@ -11,7 +11,7 @@ module M { export function f(p: I) { return f }; >f : (p: I) => typeof f -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >p : I > : ^ >f : (p: I) => typeof f diff --git a/tests/baselines/reference/recursiveArrayNotCircular.types b/tests/baselines/reference/recursiveArrayNotCircular.types index 63637076d4536..040913b7880e6 100644 --- a/tests/baselines/reference/recursiveArrayNotCircular.types +++ b/tests/baselines/reference/recursiveArrayNotCircular.types @@ -69,7 +69,7 @@ function assertNever(a: never): never { function reducer(action: ReducerAction): void { >reducer : (action: ReducerAction) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >action : ReducerAction > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/recursiveBaseConstructorCreation1.types b/tests/baselines/reference/recursiveBaseConstructorCreation1.types index a4dff449c8937..88e675824e97d 100644 --- a/tests/baselines/reference/recursiveBaseConstructorCreation1.types +++ b/tests/baselines/reference/recursiveBaseConstructorCreation1.types @@ -7,7 +7,7 @@ class C1 { public func(param: C2): any { } >func : (param: C2) => any -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >param : C2 > : ^^ } diff --git a/tests/baselines/reference/recursiveClassBaseType.types b/tests/baselines/reference/recursiveClassBaseType.types index d978b6fc3e55b..ffdcc71e58cb6 100644 --- a/tests/baselines/reference/recursiveClassBaseType.types +++ b/tests/baselines/reference/recursiveClassBaseType.types @@ -5,13 +5,13 @@ declare const p: (fn: () => T) => T; >p : (fn: () => T) => T -> : ^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >fn : () => T -> : ^^^^^^^ +> : ^^^^^^ declare const Base: (val: T) => { new(): T }; >Base : (val: T) => { new (): T; } -> : ^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >val : T > : ^ @@ -43,7 +43,7 @@ abstract class Base1 { abstract root(): Derived1; >root : () => Derived1 -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ } class Derived1 extends class extends Base1 { diff --git a/tests/baselines/reference/recursiveClassReferenceTest.types b/tests/baselines/reference/recursiveClassReferenceTest.types index 42bc307137802..3eefcf24bf377 100644 --- a/tests/baselines/reference/recursiveClassReferenceTest.types +++ b/tests/baselines/reference/recursiveClassReferenceTest.types @@ -19,9 +19,9 @@ declare module Sample.Thing { gar(runner:(widget:Sample.Thing.IWidget)=>any):any; >gar : (runner: (widget: Sample.Thing.IWidget) => any) => any -> : ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^ >runner : (widget: Sample.Thing.IWidget) => any -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >widget : IWidget > : ^^^^^^^ >Sample : any @@ -38,7 +38,7 @@ declare module Sample.Thing { addWidget(widgetId:string, widget:IWidget); >addWidget : (widgetId: string, widget: IWidget) => any -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ >widgetId : string > : ^^^^^^ >widget : IWidget @@ -55,7 +55,7 @@ declare module Sample.Thing { export interface IAction { run(Thing:ICodeThing):boolean; >run : (Thing: ICodeThing) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >Thing : ICodeThing > : ^^^^^^^^^^ @@ -93,7 +93,7 @@ module Sample.Actions.Thing.Find { public run(Thing:Sample.Thing.ICodeThing):boolean { >run : (Thing: Sample.Thing.ICodeThing) => boolean -> : ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >Thing : Sample.Thing.ICodeThing > : ^^^^^^^^^^^^^^^^^^^^^^^ >Sample : any @@ -128,9 +128,9 @@ module Sample.Thing.Widgets { public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}} >gar : (runner: (widget: Sample.Thing.IWidget) => any) => any -> : ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^ >runner : (widget: Sample.Thing.IWidget) => any -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >widget : IWidget > : ^^^^^^^ >Sample : any @@ -194,13 +194,13 @@ module Sample.Thing.Widgets { interface IMode { getInitialState(): IState;} >getInitialState : () => IState -> : ^^^^^^^^^^^^ +> : ^^^^^^ class AbstractMode implements IMode { public getInitialState(): IState { return null;} } >AbstractMode : AbstractMode > : ^^^^^^^^^^^^ >getInitialState : () => IState -> : ^^^^^^^^^^^^ +> : ^^^^^^ interface IState {} @@ -233,7 +233,7 @@ module Sample.Thing.Languages.PlainText { public clone():IState { >clone : () => IState -> : ^^^^^^^^^^^^ +> : ^^^^^^ return this; >this : this @@ -242,7 +242,7 @@ module Sample.Thing.Languages.PlainText { public equals(other:IState):boolean { >equals : (other: IState) => boolean -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >other : IState > : ^^^^^^ @@ -257,7 +257,7 @@ module Sample.Thing.Languages.PlainText { public getMode(): IMode { return mode; } >getMode : () => IMode -> : ^^^^^^^^^^^ +> : ^^^^^^ >mode : any > : ^^^ } @@ -271,7 +271,7 @@ module Sample.Thing.Languages.PlainText { // scenario 2 public getInitialState(): IState { >getInitialState : () => IState -> : ^^^^^^^^^^^^ +> : ^^^^^^ return new State(self); >new State(self) : State diff --git a/tests/baselines/reference/recursiveComplicatedClasses.types b/tests/baselines/reference/recursiveComplicatedClasses.types index 8a369ff3b4ea8..828848bcf919e 100644 --- a/tests/baselines/reference/recursiveComplicatedClasses.types +++ b/tests/baselines/reference/recursiveComplicatedClasses.types @@ -12,7 +12,7 @@ class Signature { function aEnclosesB(a: Symbol) { >aEnclosesB : (a: Symbol) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >a : Symbol > : ^^^^^^ diff --git a/tests/baselines/reference/recursiveConditionalTypes.types b/tests/baselines/reference/recursiveConditionalTypes.types index 1e5b4d7968788..f07b8f4351b4f 100644 --- a/tests/baselines/reference/recursiveConditionalTypes.types +++ b/tests/baselines/reference/recursiveConditionalTypes.types @@ -24,9 +24,9 @@ type MyPromise = { then(f: ((value: T) => U | PromiseLike) | null | undefined): MyPromise; >then : (f: ((value: T) => U | PromiseLike) | null | undefined) => MyPromise -> : ^^^^^^^ ^ ^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >f : ((value: T) => U | PromiseLike) | null | undefined -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ >value : T > : ^ } @@ -49,7 +49,7 @@ type P2 = __Awaited>; // Error function f11(tx: T, ta: __Awaited, ux: U, ua: __Awaited) { >f11 : (tx: T, ta: __Awaited, ux: U, ua: __Awaited) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >tx : T > : ^ >ta : __Awaited @@ -158,7 +158,7 @@ type TT5 = TupleOf; // Depth error function f22(tn: TupleOf, tm: TupleOf) { >f22 : (tn: TupleOf, tm: TupleOf) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >tn : TupleOf > : ^^^^^^^^^^^^^^^^^^ >tm : TupleOf @@ -183,7 +183,7 @@ function f22(tn: TupleOf, tm: TupleOf< declare function f23(t: TupleOf): T; >f23 : (t: [T, T, T]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ >t : [T, T, T] > : ^^^^^^^^^ @@ -217,7 +217,7 @@ type InfBox = Box>; declare function unbox(box: RecBox): T >unbox : (box: RecBox) => T -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >box : RecBox > : ^^^^^^^^^ @@ -259,13 +259,13 @@ declare let b3: InfBox; declare let b4: { value: { value: { value: typeof b4 }}}; >b4 : { value: { value: { value: typeof b4; }; }; } -> : ^^^^^^^^^ ^^ ^^^ +> : ^^^^^^^^^ ^^^ >value : { value: { value: typeof b4; }; } -> : ^^^^^^^^^ ^^ ^^^ +> : ^^^^^^^^^ ^^^ >value : { value: typeof b4; } -> : ^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^ >value : { value: { value: { value: typeof b4; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >b4 : { value: { value: { value: any; }; }; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -369,7 +369,7 @@ type Box2 = { value: T }; declare function foo(x: Box1>): T; >foo : (x: Box1>) => T -> : ^^^^^^^^^^^ ^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Box1> > : ^^^^^^^^^^^^^ @@ -407,7 +407,7 @@ type Unpack2 = T extends (infer U)[] ? Unpack2 : T; function f20(x: Unpack1, y: Unpack2) { >f20 : (x: Unpack1, y: Unpack2) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : Unpack1 > : ^^^^^^^^^^ >y : Unpack2 @@ -450,7 +450,7 @@ type Grow2 = T['length'] extends N ? T : function f21(x: Grow1<[], T>, y: Grow2<[], T>) { >f21 : (x: Grow1<[], T>, y: Grow2<[], T>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : Grow1<[], T> > : ^^^^^^^^^^^^ >y : Grow2<[], T> @@ -550,7 +550,7 @@ type Enumerate = number extends N function foo2(value: T): Enumerate { >foo2 : (value: T) => Enumerate -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/recursiveConditionalTypes2.types b/tests/baselines/reference/recursiveConditionalTypes2.types index f1bbf5ee66fc2..28cc8849f0ffd 100644 --- a/tests/baselines/reference/recursiveConditionalTypes2.types +++ b/tests/baselines/reference/recursiveConditionalTypes2.types @@ -105,9 +105,9 @@ type DefaultsDeep = { interface _Array { find(predicate: (value: T) => boolean): void; >find : (predicate: (value: T) => boolean) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >predicate : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ } diff --git a/tests/baselines/reference/recursiveExcessPropertyChecks.types b/tests/baselines/reference/recursiveExcessPropertyChecks.types index 61f20e0bbf2a2..b3c4c1912878c 100644 --- a/tests/baselines/reference/recursiveExcessPropertyChecks.types +++ b/tests/baselines/reference/recursiveExcessPropertyChecks.types @@ -17,7 +17,7 @@ type NodeWithId = ITreeItem & { Id?: number }; function getMaxId(items: NodeWithId[]) { >getMaxId : (items: NodeWithId[]) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >items : NodeWithId[] > : ^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/recursiveFunctionTypes.types b/tests/baselines/reference/recursiveFunctionTypes.types index d7737f6019736..2bb10661aa322 100644 --- a/tests/baselines/reference/recursiveFunctionTypes.types +++ b/tests/baselines/reference/recursiveFunctionTypes.types @@ -3,9 +3,9 @@ === recursiveFunctionTypes.ts === function fn(): typeof fn { return 1; } >fn : () => typeof fn -> : ^^^^^^ ^^ +> : ^^^^^^ >fn : () => typeof fn -> : ^^^^^^ ^^ +> : ^^^^^^ >1 : 1 > : ^ @@ -23,40 +23,40 @@ var y: () => number = fn; // ok var f: () => typeof g; >f : () => typeof g -> : ^^^^^^ ^ +> : ^^^^^^ >g : () => () => typeof g -> : ^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ var g: () => typeof f; >g : () => typeof f -> : ^^^^^^ ^ +> : ^^^^^^ >f : () => () => typeof f -> : ^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ function f1(d: typeof f1) { } >f1 : (d: typeof f1) => void -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >d : (d: typeof f1) => void -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f1 : (d: typeof f1) => void > : ^^^^^^^^^^^^^^^^^^^^^^ function f2(): typeof g2 { } >f2 : () => typeof g2 -> : ^^^^^^ ^^ +> : ^^^^^^ >g2 : () => () => typeof g2 -> : ^^^^^^^^^^^^ ^^ +> : ^^^^^^^^^^^^ function g2(): typeof f2 { } >g2 : () => typeof f2 -> : ^^^^^^ ^^ +> : ^^^^^^ >f2 : () => () => typeof f2 -> : ^^^^^^^^^^^^ ^^ +> : ^^^^^^^^^^^^ interface I { } function f3(): I { return f3; } >f3 : () => I -> : ^^^^^^^ ^^ +> : ^^^^^^ >f3 : () => I > : ^^^^^^^^^^^^^^^^^^ >f3 : () => I @@ -98,9 +98,9 @@ C.g(3); // error var f4: () => typeof f4; >f4 : () => typeof f4 -> : ^^^^^^ ^^ +> : ^^^^^^ >f4 : () => typeof f4 -> : ^^^^^^ ^^ +> : ^^^^^^ f4 = 3; // error >f4 = 3 : 3 @@ -118,15 +118,15 @@ function f5() { return f5; } function f6(): typeof f6; >f6 : { (): typeof f6; (a: typeof f6): () => number; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f6 : { (): typeof f6; (a: typeof f6): () => number; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function f6(a: typeof f6): () => number; >f6 : { (): typeof f6; (a: typeof f6): () => number; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >a : { (): typeof f6; (a: typeof f6): () => number; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >f6 : { (): typeof f6; (a: typeof f6): () => number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -164,15 +164,15 @@ f6(); // ok declare function f7(): typeof f7; >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function f7(a: typeof f7): () => number; >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -184,13 +184,13 @@ declare function f7(a: number): number; declare function f7(a?: typeof f7): typeof f7; >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >a : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >f7 : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ f7("", 3); // error (arity mismatch) >f7("", 3) : { (): typeof f7; (a: typeof f7): () => number; (a: number): number; (a?: typeof f7): typeof f7; } & (() => number) & number diff --git a/tests/baselines/reference/recursiveGenericMethodCall.types b/tests/baselines/reference/recursiveGenericMethodCall.types index 27c0421e4a643..aeb91494ac6b9 100644 --- a/tests/baselines/reference/recursiveGenericMethodCall.types +++ b/tests/baselines/reference/recursiveGenericMethodCall.types @@ -5,7 +5,7 @@ interface Generator { (): T; } function Generate(func: Generator): T { >Generate : (func: Generator) => T -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >func : Generator > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/recursiveGenericSignatureInstantiation.types b/tests/baselines/reference/recursiveGenericSignatureInstantiation.types index 8238d65fa3fbc..808b636512913 100644 --- a/tests/baselines/reference/recursiveGenericSignatureInstantiation.types +++ b/tests/baselines/reference/recursiveGenericSignatureInstantiation.types @@ -3,7 +3,7 @@ === recursiveGenericSignatureInstantiation.ts === function f6(x: T) { >f6 : (x: T) => never -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/recursiveIdenticalOverloadResolution.types b/tests/baselines/reference/recursiveIdenticalOverloadResolution.types index bb1bba2c8700b..eb20042d917d3 100644 --- a/tests/baselines/reference/recursiveIdenticalOverloadResolution.types +++ b/tests/baselines/reference/recursiveIdenticalOverloadResolution.types @@ -11,7 +11,7 @@ module M { function f(p: I) { return f }; >f : (p: I) => typeof f -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >p : I > : ^ >f : (p: I) => typeof f diff --git a/tests/baselines/reference/recursiveMods.types b/tests/baselines/reference/recursiveMods.types index 0ce11ee1db309..6f20a12a3217b 100644 --- a/tests/baselines/reference/recursiveMods.types +++ b/tests/baselines/reference/recursiveMods.types @@ -16,7 +16,7 @@ export module Foo { function Bar() : C { >Bar : () => C -> : ^^^^^^^ +> : ^^^^^^ if (true) { return Bar();} >true : true @@ -35,7 +35,7 @@ export module Foo { function Baz() : C { >Baz : () => C -> : ^^^^^^^ +> : ^^^^^^ var c = Baz(); >c : C diff --git a/tests/baselines/reference/recursiveReverseMappedType.types b/tests/baselines/reference/recursiveReverseMappedType.types index fb10af33c271c..8f66ae185039e 100644 --- a/tests/baselines/reference/recursiveReverseMappedType.types +++ b/tests/baselines/reference/recursiveReverseMappedType.types @@ -12,7 +12,7 @@ type Recur = ( function join(l: Recur[]): Recur { >join : (l: Recur[]) => Recur -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >l : Recur[] > : ^^^^^^^^^^ @@ -29,7 +29,7 @@ function join(l: Recur[]): Recur { function a(l: Recur[]): void { >a : (l: Recur[]) => void -> : ^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^ ^^^^^ >l : Recur[] > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/recursiveSpecializationOfSignatures.types b/tests/baselines/reference/recursiveSpecializationOfSignatures.types index a2425ce03c1b4..e7b20810aa6bc 100644 --- a/tests/baselines/reference/recursiveSpecializationOfSignatures.types +++ b/tests/baselines/reference/recursiveSpecializationOfSignatures.types @@ -13,7 +13,7 @@ set S1(S2: S0) { } constructor(public S17: S0 A>) { } >S17 : S0 A> -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^ >S18 : any } diff --git a/tests/baselines/reference/recursiveTupleTypeInference.types b/tests/baselines/reference/recursiveTupleTypeInference.types index d33a21b5d3915..e558e55e23da9 100644 --- a/tests/baselines/reference/recursiveTupleTypeInference.types +++ b/tests/baselines/reference/recursiveTupleTypeInference.types @@ -42,7 +42,7 @@ const gK: { [key in keyof K]: A } = { b: ["number", "null"] }; function foo(g: G): T { >foo : (g: G) => T -> : ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >g : G > : ^^^^ diff --git a/tests/baselines/reference/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.types b/tests/baselines/reference/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.types index 21f69e077f615..ddd0598dc6429 100644 --- a/tests/baselines/reference/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.types +++ b/tests/baselines/reference/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.types @@ -5,19 +5,19 @@ export {} export interface Option { zip1>>(...others: O): Option<[T, ...UnzipOptionArray1]>; >zip1 : []>(...others: O) => Option<[T, ...UnzipOptionArray1]> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >others : O > : ^ zip2>>(...others: O): Option<[T, ...UnzipOptionArray2]>; >zip2 : []>(...others: O) => Option<[T, ...UnzipOptionArray2]> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >others : O > : ^ zip3>>(...others: O): Option<[T, ...UnzipOptionArray3]>; >zip3 : []>(...others: O) => Option<[T, ...UnzipOptionArray3]> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >others : O > : ^ } diff --git a/tests/baselines/reference/recursiveTypeComparison2.types b/tests/baselines/reference/recursiveTypeComparison2.types index 0db6074ee9ee7..183b893447383 100644 --- a/tests/baselines/reference/recursiveTypeComparison2.types +++ b/tests/baselines/reference/recursiveTypeComparison2.types @@ -14,11 +14,11 @@ declare module Bacon { interface Observable { zip(other: EventStream, f: (a: T, b: U) => V): EventStream; >zip : (other: EventStream, f: (a: T, b: U) => V) => EventStream -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^ ^^^^^ ^^^^^ >other : EventStream > : ^^^^^^^^^^^^^^ >f : (a: T, b: U) => V -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -26,7 +26,7 @@ declare module Bacon { slidingWindow(max: number, min?: number): Property; >slidingWindow : (max: number, min?: number) => Property -> : ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >max : number > : ^^^^^^ >min : number @@ -34,15 +34,15 @@ declare module Bacon { log(): Observable; >log : () => Observable -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^ combine(other: Observable, f: (a: T, b: U) => V): Property; >combine : (other: Observable, f: (a: T, b: U) => V) => Property -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^ ^^^^^ ^^^^^ >other : Observable > : ^^^^^^^^^^^^^ >f : (a: T, b: U) => V -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : U @@ -50,11 +50,11 @@ declare module Bacon { withStateMachine(initState: U, f: (state: U, event: Event) => StateValue): EventStream; >withStateMachine : (initState: U, f: (state: U, event: Event) => StateValue) => EventStream -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^ ^^^^^^^^^^^^^^^^ ^ +> : ^ ^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ >initState : U > : ^ >f : (state: U, event: Event) => StateValue -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >state : U > : ^ >event : Event @@ -62,41 +62,41 @@ declare module Bacon { decode(mapping: Object): Property; >decode : (mapping: Object) => Property -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >mapping : Object > : ^^^^^^ awaiting(other: Observable): Property; >awaiting : (other: Observable) => Property -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >other : Observable > : ^^^^^^^^^^^^^ endOnError(f?: (value: T) => boolean): Observable; >endOnError : (f?: (value: T) => boolean) => Observable -> : ^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^ >f : (value: T) => boolean -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T > : ^ withHandler(f: (event: Event) => any): Observable; >withHandler : (f: (event: Event) => any) => Observable -> : ^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^ ^^^^^ >f : (event: Event) => any -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >event : Event > : ^^^^^^^^ name(name: string): Observable; >name : (name: string) => Observable -> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^ ^^^^^ >name : string > : ^^^^^^ withDescription(...args: any[]): Observable; >withDescription : (...args: any[]) => Observable -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^ ^^^^^ >args : any[] > : ^^^^^ } @@ -108,7 +108,7 @@ declare module Bacon { } var Bus: new () => Bus; >Bus : new () => Bus -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^^ ^^^^^^^ } var stuck: Bacon.Bus = new Bacon.Bus(); diff --git a/tests/baselines/reference/recursiveTypeParameterReferenceError1.types b/tests/baselines/reference/recursiveTypeParameterReferenceError1.types index 044ee164a6a24..5bbaeb2b374b3 100644 --- a/tests/baselines/reference/recursiveTypeParameterReferenceError1.types +++ b/tests/baselines/reference/recursiveTypeParameterReferenceError1.types @@ -36,7 +36,7 @@ class C2 { interface Foo2 { ofC4: C2<{ x: T }> // ok >ofC4 : C2<{ x: T; }> -> : ^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/recursiveTypeReferences1.types b/tests/baselines/reference/recursiveTypeReferences1.types index 720de2472dc20..3b7b53625b703 100644 --- a/tests/baselines/reference/recursiveTypeReferences1.types +++ b/tests/baselines/reference/recursiveTypeReferences1.types @@ -296,19 +296,19 @@ type RecArray = Array>; declare function flat(a: RecArray): Array; >flat : (a: RecArray) => Array -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : RecArray > : ^^^^^^^^^^^ declare function flat1(a: Array>): Array >flat1 : (a: Array>) => Array -> : ^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : (T | T[])[] > : ^^^^^^^^^^^ declare function flat2(a: Array>>): Array; >flat2 : (a: Array>>) => Array -> : ^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^^^^ ^ +> : ^ ^^^^^ ^^^^^ >a : (T | (T | T[])[])[] > : ^^^^^^^^^^^^^^^^^^^ @@ -612,7 +612,7 @@ type ValueOrArray2 = T | ValueOrArray2[]; declare function foo1(a: ValueOrArray1): T; >foo1 : (a: ValueOrArray1) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : ValueOrArray1 > : ^^^^^^^^^^^^^^^^ @@ -640,7 +640,7 @@ type NumberOrArray2 = T | ValueOrArray2[]; declare function foo2(a: ValueOrArray1): T; >foo2 : (a: ValueOrArray1) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : ValueOrArray1 > : ^^^^^^^^^^^^^^^^ @@ -666,7 +666,7 @@ type Tree = [HTMLHeadingElement, Tree][]; function parse(node: Tree, index: number[] = []): HTMLUListElement { >parse : (node: Tree, index?: number[]) => HTMLUListElement -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >node : Tree > : ^^^^ >index : number[] @@ -800,7 +800,7 @@ function parse(node: Tree, index: number[] = []): HTMLUListElement { function cons(hs: HTMLHeadingElement[]): Tree { >cons : (hs: HTMLHeadingElement[]) => Tree -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >hs : HTMLHeadingElement[] > : ^^^^^^^^^^^^^^^^^^^^ @@ -979,7 +979,7 @@ function cons(hs: HTMLHeadingElement[]): Tree { function level(h: HTMLHeadingElement): number { >level : (h: HTMLHeadingElement) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >h : HTMLHeadingElement > : ^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/recursiveTypeRelations.types b/tests/baselines/reference/recursiveTypeRelations.types index 8cbe994854072..e81c1cd47f3ae 100644 --- a/tests/baselines/reference/recursiveTypeRelations.types +++ b/tests/baselines/reference/recursiveTypeRelations.types @@ -16,7 +16,7 @@ class Query> { multiply>(x: B): Query; >multiply : >(x: B) => Query -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : B > : ^ } @@ -41,7 +41,7 @@ type ClassNameArg = ClassName | ClassNameObjectMap; export function css(styles: S, ...classNames: ClassNameArg[]): string { >css : (styles: S, ...classNames: ClassNameArg[]) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >styles : S > : ^ >classNames : ClassNameArg[] @@ -117,7 +117,7 @@ export function css(styles: S, ...classNam >reduce : { (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; (callbackfn: (previousValue: U, currentValue: string, currentIndex: number, array: string[]) => U, initialValue: U): U; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(obj: ClassNameObject, key: keyof S) => { const exportedClassName = styles[key]; obj[exportedClassName] = (arg as ClassNameMap)[key]; return obj; } : (obj: ClassNameObject, key: keyof S) => ClassNameObject -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >obj : ClassNameObject > : ^^^^^^^^^^^^^^^ >key : keyof S diff --git a/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.types b/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.types index 0e76cbd6c0370..e7d6b9ea9b9fb 100644 --- a/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.types +++ b/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.types @@ -29,13 +29,13 @@ class MyList { function foo(x: List); >foo : { (x: List): any; (x: List): any; } -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : List > : ^^^^^^^ function foo(x: List); // error, duplicate >foo : { (x: List): any; (x: List): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : List > : ^^^^^^^ @@ -48,13 +48,13 @@ function foo(x: List) { function foo2(x: List); >foo2 : { (x: List): any; (x: MyList): any; } -> : ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : List > : ^^^^^^^ function foo2(x: MyList); // ok, nominally compared with first overload >foo2 : { (x: List): any; (x: MyList): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : MyList > : ^^^^^^^^^ @@ -72,7 +72,7 @@ function other, U>() { // BUG 838247 function foo3(x: T); >foo3 : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ >x : T > : ^ @@ -86,7 +86,7 @@ function other, U>() { // BUG 838247 function foo4(x: T); >foo4 : (x: T) => any -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ >x : T > : ^ @@ -99,19 +99,19 @@ function other, U>() { // ok function foo5(x: T): string; >foo5 : { (x: T): string; (x: List): number; (x: MyList): boolean; } -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ function foo5(x: List): number; >foo5 : { (x: T): string; (x: List): number; (x: MyList): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : List > : ^^^^^^^ function foo5(x: MyList): boolean; >foo5 : { (x: T): string; (x: List): number; (x: MyList): boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >x : MyList > : ^^^^^^^^^ diff --git a/tests/baselines/reference/recursiveTypesWithTypeof.types b/tests/baselines/reference/recursiveTypesWithTypeof.types index 2f2a57b502f3e..868419e907e4c 100644 --- a/tests/baselines/reference/recursiveTypesWithTypeof.types +++ b/tests/baselines/reference/recursiveTypesWithTypeof.types @@ -67,9 +67,9 @@ var f3: any; // Truly recursive types var g: { x: typeof g; }; >g : { x: typeof g; } -> : ^^^^^ ^^^^ +> : ^^^^^ ^^^ >x : { x: typeof g; } -> : ^^^^^ ^^^^ +> : ^^^^^ ^^^ >g : { x: any; } > : ^^^^^^^^^^^ @@ -85,9 +85,9 @@ var g: typeof g.x; var h: () => typeof h; >h : () => typeof h -> : ^^^^^^ ^ +> : ^^^^^^ >h : () => typeof h -> : ^^^^^^ ^ +> : ^^^^^^ var h = h(); >h : () => any @@ -99,13 +99,13 @@ var h = h(); var i: (x: typeof i) => typeof x; >i : (x: typeof i) => typeof x -> : ^^^^ ^^^^^^ ^ +> : ^^^^ ^^^^^ >x : (x: typeof i) => any -> : ^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^ >i : (x: any) => any > : ^^^^^^^^^^^^^^^ >x : (x: any) => typeof x -> : ^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^ var i = i(i); >i : (x: any) => any @@ -119,7 +119,7 @@ var i = i(i); var j: (x: T) => T; >j : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^ >j : (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T @@ -138,9 +138,9 @@ var j = j(j); // Same as h, i, j with construct signatures var h2: new () => typeof h2; >h2 : new () => typeof h2 -> : ^^^^^^^^^^ ^^ +> : ^^^^^^^^^^ >h2 : new () => typeof h2 -> : ^^^^^^^^^^ ^^ +> : ^^^^^^^^^^ var h2 = new h2(); >h2 : new () => any @@ -152,13 +152,13 @@ var h2 = new h2(); var i2: new (x: typeof i2) => typeof x; >i2 : new (x: typeof i2) => typeof x -> : ^^^^^^^^ ^^^^^^^ ^ +> : ^^^^^^^^ ^^^^^ >x : new (x: typeof i2) => any -> : ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^ >i2 : new (x: any) => any > : ^^^^^^^^^^^^^^^^^^^ >x : new (x: any) => typeof x -> : ^^^^^^^^^^^^^^^^ ^ +> : ^^^^^^^^^^^^^^^^ var i2 = new i2(i2); >i2 : new (x: any) => any @@ -172,7 +172,7 @@ var i2 = new i2(i2); var j2: new (x: T) => T; >j2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ >j2 : new (x: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T @@ -225,9 +225,9 @@ var k = k['']; // These two are recursive var hy1: { x: typeof hy1 }[]; >hy1 : { x: typeof hy1; }[] -> : ^^^^^ ^^^^^^^^ +> : ^^^^^ ^^^^^ >x : { x: typeof hy1; }[] -> : ^^^^^ ^^^^^^^^ +> : ^^^^^ ^^^^^ >hy1 : { x: any[]; }[] > : ^^^^^^^^^^^^^^^ @@ -247,9 +247,9 @@ var hy1 = hy1[0].x; var hy2: { x: Array }; >hy2 : { x: Array; } -> : ^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^ ^^^ >x : { x: Array; }[] -> : ^^^^^^^^^^ ^^^ ^^^^^ +> : ^^^^^ ^^^^^ >hy2 : { x: any[]; } > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/recursiveUnionTypeInference.types b/tests/baselines/reference/recursiveUnionTypeInference.types index ceaddabbf52d6..8357b30f81705 100644 --- a/tests/baselines/reference/recursiveUnionTypeInference.types +++ b/tests/baselines/reference/recursiveUnionTypeInference.types @@ -9,7 +9,7 @@ interface Foo { function bar(x: Foo | string): T { >bar : (x: Foo | string) => T -> : ^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : string | Foo > : ^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/redeclarationOfVarWithGenericType.types b/tests/baselines/reference/redeclarationOfVarWithGenericType.types index 4575518ab3d8a..31414d0e6bfa5 100644 --- a/tests/baselines/reference/redeclarationOfVarWithGenericType.types +++ b/tests/baselines/reference/redeclarationOfVarWithGenericType.types @@ -3,9 +3,9 @@ === redeclarationOfVarWithGenericType.ts === var a1: { fn(x: T): T }; >a1 : { fn(x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ ^^^ >fn : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -13,7 +13,7 @@ var a1: { fn(x: T): T }; >a1 : { fn(x: T): T; } > : ^^^^^^^^^^^^^^^^^^^ >fn : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/reducibleIndexedAccessTypes.types b/tests/baselines/reference/reducibleIndexedAccessTypes.types index ac5d7fea2cab1..8818bef886e1d 100644 --- a/tests/baselines/reference/reducibleIndexedAccessTypes.types +++ b/tests/baselines/reference/reducibleIndexedAccessTypes.types @@ -79,7 +79,7 @@ type MappedPayload2 = { [K in Type]?: (data: (Payload & { dataType: K })["data"]) => void >data : (Payload & { dataType: K; })["data"] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >dataType : K > : ^ } diff --git a/tests/baselines/reference/reexportWrittenCorrectlyInDeclaration.types b/tests/baselines/reference/reexportWrittenCorrectlyInDeclaration.types index 470a51e59cf36..d3a7fd5e341a9 100644 --- a/tests/baselines/reference/reexportWrittenCorrectlyInDeclaration.types +++ b/tests/baselines/reference/reexportWrittenCorrectlyInDeclaration.types @@ -30,9 +30,9 @@ export class Test { public method = (input: things.ThingA) => { }; >method : (input: things.ThingA) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >(input: things.ThingA) => { } : (input: things.ThingA) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >input : things.ThingA > : ^^^^^^^^^^^^^ >things : any diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types index f2f71dc8c946d..0605272aced84 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types @@ -26,5 +26,5 @@ declare module "url" { export function parse(): Url; >parse : () => Url -> : ^^^^^^^^^ +> : ^^^^^^ } diff --git a/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=false).types b/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=false).types index a7a749f71e7b6..f0018a18e0b66 100644 --- a/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=false).types +++ b/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=false).types @@ -3,7 +3,7 @@ === regexpExecAndMatchTypeUsages.ts === export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { >foo : (matchResult: RegExpMatchArray, execResult: RegExpExecArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ >matchResult : RegExpMatchArray > : ^^^^^^^^^^^^^^^^ >execResult : RegExpExecArray diff --git a/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=true).types b/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=true).types index 4cf523e276595..78c849acf5cfd 100644 --- a/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=true).types +++ b/tests/baselines/reference/regexpExecAndMatchTypeUsages(strict=true).types @@ -3,7 +3,7 @@ === regexpExecAndMatchTypeUsages.ts === export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { >foo : (matchResult: RegExpMatchArray, execResult: RegExpExecArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ >matchResult : RegExpMatchArray > : ^^^^^^^^^^^^^^^^ >execResult : RegExpExecArray diff --git a/tests/baselines/reference/relationComplexityError.types b/tests/baselines/reference/relationComplexityError.types index 2c438c19fb35e..b22697c81c7e1 100644 --- a/tests/baselines/reference/relationComplexityError.types +++ b/tests/baselines/reference/relationComplexityError.types @@ -26,7 +26,7 @@ type T2 = { a: string } | { b: number }; function f1(x: T1, y: T1 & T2) { >f1 : (x: T1, y: T1 & T2) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : T1 > : ^^ >y : T1 & T2 @@ -43,7 +43,7 @@ function f1(x: T1, y: T1 & T2) { function f2(x: T1 | null, y: T1 & T2) { >f2 : (x: T1 | null, y: T1 & T2) => void -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >x : T1 | null > : ^^^^^^^^^ >y : T1 & T2 diff --git a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.types b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.types index 8073352044eed..6e32c4f4f26a7 100644 --- a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.types +++ b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.types @@ -294,7 +294,7 @@ interface I { // Below are OK but renaming should be removed from declaration emit function f1({ a: string }: O) { } >f1 : ({ a: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >string : string @@ -302,9 +302,9 @@ function f1({ a: string }: O) { } const f2 = function({ a: string }: O) { }; >f2 : ({ a: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >function({ a: string }: O) { } : ({ a: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >string : string @@ -312,9 +312,9 @@ const f2 = function({ a: string }: O) { }; const f3 = ({ a: string, b, c }: O) => { }; >f3 : ({ a: string, b, c }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ a: string, b, c }: O) => { } : ({ a: string, b, c }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >string : string @@ -326,9 +326,9 @@ const f3 = ({ a: string, b, c }: O) => { }; const f4 = function({ a: string }: O): typeof string { return string; }; >f4 : ({ a: string }: O) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >function({ a: string }: O): typeof string { return string; } : ({ a: string }: O) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >a : any > : ^^^ >string : string @@ -340,9 +340,9 @@ const f4 = function({ a: string }: O): typeof string { return string; }; const f5 = ({ a: string, b, c }: O): typeof string => ''; >f5 : ({ a: string, b, c }: O) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >({ a: string, b, c }: O): typeof string => '' : ({ a: string, b, c }: O) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >a : any > : ^^^ >string : string @@ -358,13 +358,13 @@ const f5 = ({ a: string, b, c }: O): typeof string => ''; const obj1 = { >obj1 : { method({ a: string }: O): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >{ method({ a: string }: O) { }} : { method({ a: string }: O): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ method({ a: string }: O) { } >method : ({ a: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >string : string @@ -373,13 +373,13 @@ const obj1 = { }; const obj2 = { >obj2 : { method({ a: string }: O): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ method({ a: string }: O): typeof string { return string; }} : { method({ a: string }: O): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ method({ a: string }: O): typeof string { return string; } >method : ({ a: string }: O) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >a : any > : ^^^ >string : string @@ -392,7 +392,7 @@ const obj2 = { }; function f6({ a: string = "" }: O) { } >f6 : ({ a: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >string : string @@ -402,9 +402,9 @@ function f6({ a: string = "" }: O) { } const f7 = ({ a: string = "", b, c }: O) => { }; >f7 : ({ a: string, b, c }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ a: string = "", b, c }: O) => { } : ({ a: string, b, c }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : any > : ^^^ >string : string @@ -418,9 +418,9 @@ const f7 = ({ a: string = "", b, c }: O) => { }; const f8 = ({ "a": string }: O) => { }; >f8 : ({ "a": string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ "a": string }: O) => { } : ({ "a": string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >string : string > : ^^^^^^ @@ -432,7 +432,7 @@ function f9 ({ 2: string }) { }; function f10 ({ ["a"]: string }: O) { }; >f10 : ({ ["a"]: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >"a" : "a" > : ^^^ >string : string @@ -451,7 +451,7 @@ const f11 = ({ [2]: string }) => { }; // In below case `string` should be kept because it is used function f12({ a: string = "" }: O): typeof string { return "a"; } >f12 : ({ a: string }: O) => typeof string -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^ >a : any > : ^^^ >string : string diff --git a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.types b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.types index c5ac9599764ee..1e6b95bd72bef 100644 --- a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.types +++ b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.types @@ -31,9 +31,9 @@ type G14 = new ({ [sym]: string }: O) => void; // Error const f13 = ({ [sym]: string }: O) => { }; >f13 : ({ [sym]: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >({ [sym]: string }: O) => { } : ({ [sym]: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >sym : unique symbol > : ^^^^^^^^^^^^^ >string : unknown @@ -41,7 +41,7 @@ const f13 = ({ [sym]: string }: O) => { }; function f14 ({ [sym]: string }: O) { }; >f14 : ({ [sym]: string }: O) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >sym : unique symbol > : ^^^^^^^^^^^^^ >string : unknown diff --git a/tests/baselines/reference/requireAssertsFromTypescript.types b/tests/baselines/reference/requireAssertsFromTypescript.types index f501e4db0edc2..3c112fe753455 100644 --- a/tests/baselines/reference/requireAssertsFromTypescript.types +++ b/tests/baselines/reference/requireAssertsFromTypescript.types @@ -51,7 +51,7 @@ artoo(y) // based on assert in @types/node export function art(value: any, message?: string | Error): asserts value; >art : (value: any, message?: string | Error) => asserts value -> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >value : any >message : string | Error > : ^^^^^^^^^^^^^^ @@ -59,7 +59,7 @@ export function art(value: any, message?: string | Error): asserts value; === ex2.d.ts === declare function art(value: any, message?: string | Error): asserts value; >art : (value: any, message?: string | Error) => asserts value -> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >value : any >message : string | Error > : ^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/requireEmitSemicolon.types b/tests/baselines/reference/requireEmitSemicolon.types index 2f25f2297c62e..6b9fd4e97f595 100644 --- a/tests/baselines/reference/requireEmitSemicolon.types +++ b/tests/baselines/reference/requireEmitSemicolon.types @@ -16,7 +16,7 @@ export module Database { public findPerson(id: number): P.Models.Person { >findPerson : (id: number) => P.Models.Person -> : ^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^ >id : number > : ^^^^^^ >P : any diff --git a/tests/baselines/reference/resolveNameWithNamspace.types b/tests/baselines/reference/resolveNameWithNamspace.types index a4807910a1c15..5b61842cb3875 100644 --- a/tests/baselines/reference/resolveNameWithNamspace.types +++ b/tests/baselines/reference/resolveNameWithNamspace.types @@ -13,7 +13,7 @@ declare module "assert" { export function equal(actual: any, expected: any, message?: string | Error): void; >equal : (actual: any, expected: any, message?: string | Error) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >actual : any >expected : any >message : string | Error diff --git a/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.types b/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.types index ef8d564c105e3..17d3e80d3ec36 100644 --- a/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.types +++ b/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.types @@ -26,7 +26,7 @@ module rionegrensis { salomonseni() : caniventer { var x : caniventer; () => { var y = this; }; return x; } >salomonseni : () => caniventer -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : caniventer > : ^^^^^^^^^^ >() => { var y = this; } : () => void @@ -40,7 +40,7 @@ module rionegrensis { uchidai() : lavali.xanthognathus { var x : lavali.xanthognathus; () => { var y = this; }; return x; } >uchidai : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -58,7 +58,7 @@ module rionegrensis { raffrayana() : lavali.otion { var x : lavali.otion; () => { var y = this; }; return x; } >raffrayana : () => lavali.otion -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.otion @@ -76,7 +76,7 @@ module rionegrensis { Uranium() : minutus.inez, trivirgatus.falconeri> { var x : minutus.inez, trivirgatus.falconeri>; () => { var y = this; }; return x; } >Uranium : () => minutus.inez, trivirgatus.falconeri> -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >minutus : any @@ -110,7 +110,7 @@ module rionegrensis { nayaur() : gabriellae.amicus { var x : gabriellae.amicus; () => { var y = this; }; return x; } >nayaur : () => gabriellae.amicus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.amicus @@ -142,7 +142,7 @@ module rionegrensis { naso() : panamensis.setulosus> { var x : panamensis.setulosus>; () => { var y = this; }; return x; } >naso : () => panamensis.setulosus> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >lutreolus : any @@ -176,7 +176,7 @@ module rionegrensis { vancouverensis() : imperfecta.ciliolabrum { var x : imperfecta.ciliolabrum; () => { var y = this; }; return x; } >vancouverensis : () => imperfecta.ciliolabrum -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >argurus : any @@ -202,7 +202,7 @@ module rionegrensis { africana() : argurus.gilbertii, sagitta.cinereus> { var x : argurus.gilbertii, sagitta.cinereus>; () => { var y = this; }; return x; } >africana : () => argurus.gilbertii, sagitta.cinereus> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >panamensis : any @@ -244,7 +244,7 @@ module rionegrensis { palliolata() : Lanthanum.jugularis { var x : Lanthanum.jugularis; () => { var y = this; }; return x; } >palliolata : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -262,7 +262,7 @@ module rionegrensis { nivicola() : samarensis.pallidus { var x : samarensis.pallidus; () => { var y = this; }; return x; } >nivicola : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -293,7 +293,7 @@ module julianae { brandtii() : argurus.germaini { var x : argurus.germaini; () => { var y = this; }; return x; } >brandtii : () => argurus.germaini -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.germaini @@ -311,7 +311,7 @@ module julianae { maxwellii() : ruatanica.Praseodymium { var x : ruatanica.Praseodymium; () => { var y = this; }; return x; } >maxwellii : () => ruatanica.Praseodymium -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >Lanthanum : any @@ -337,7 +337,7 @@ module julianae { endoi() : panglima.abidi { var x : panglima.abidi; () => { var y = this; }; return x; } >endoi : () => panglima.abidi -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >dogramacii : any @@ -363,7 +363,7 @@ module julianae { venezuelae() : howi.marcanoi { var x : howi.marcanoi; () => { var y = this; }; return x; } >venezuelae : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -381,7 +381,7 @@ module julianae { zamicrus() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >zamicrus : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -403,7 +403,7 @@ module julianae { isabellae() : panglima.amphibius { var x : panglima.amphibius; () => { var y = this; }; return x; } >isabellae : () => panglima.amphibius -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >macrorhinos : any @@ -429,7 +429,7 @@ module julianae { rueppellii() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; } >rueppellii : () => ruatanica.americanus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >x : ruatanica.americanus @@ -447,7 +447,7 @@ module julianae { peregusna() : dogramacii.kaiseri { var x : dogramacii.kaiseri; () => { var y = this; }; return x; } >peregusna : () => dogramacii.kaiseri -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.kaiseri @@ -465,7 +465,7 @@ module julianae { gliroides() : howi.coludo { var x : howi.coludo; () => { var y = this; }; return x; } >gliroides : () => howi.coludo -> : ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >howi : any @@ -491,7 +491,7 @@ module julianae { banakrisi() : macrorhinos.daphaenodon { var x : macrorhinos.daphaenodon; () => { var y = this; }; return x; } >banakrisi : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -509,7 +509,7 @@ module julianae { rozendaali() : lutreolus.foina { var x : lutreolus.foina; () => { var y = this; }; return x; } >rozendaali : () => lutreolus.foina -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.foina @@ -527,7 +527,7 @@ module julianae { stuhlmanni() : panamensis.linulus { var x : panamensis.linulus; () => { var y = this; }; return x; } >stuhlmanni : () => panamensis.linulus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >caurinus : any @@ -557,7 +557,7 @@ module julianae { mattheyi() : samarensis.fuscus> { var x : samarensis.fuscus>; () => { var y = this; }; return x; } >mattheyi : () => samarensis.fuscus> -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >lavali : any @@ -591,7 +591,7 @@ module julianae { Astatine() : steerii { var x : steerii; () => { var y = this; }; return x; } >Astatine : () => steerii -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >x : steerii > : ^^^^^^^ >() => { var y = this; } : () => void @@ -605,7 +605,7 @@ module julianae { vincenti() : argurus.dauricus { var x : argurus.dauricus; () => { var y = this; }; return x; } >vincenti : () => argurus.dauricus -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >macrorhinos : any @@ -631,7 +631,7 @@ module julianae { hirta() : Lanthanum.jugularis { var x : Lanthanum.jugularis; () => { var y = this; }; return x; } >hirta : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -649,7 +649,7 @@ module julianae { virginianus() : durangae { var x : durangae; () => { var y = this; }; return x; } >virginianus : () => durangae -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : durangae > : ^^^^^^^^ >() => { var y = this; } : () => void @@ -663,7 +663,7 @@ module julianae { macrophyllum() : howi.marcanoi { var x : howi.marcanoi; () => { var y = this; }; return x; } >macrophyllum : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -681,7 +681,7 @@ module julianae { porcellus() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; } >porcellus : () => ruatanica.americanus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >x : ruatanica.americanus @@ -709,7 +709,7 @@ module julianae { cepapi() : caurinus.psilurus { var x : caurinus.psilurus; () => { var y = this; }; return x; } >cepapi : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -727,7 +727,7 @@ module julianae { porteri() : lavali.thaeleri { var x : lavali.thaeleri; () => { var y = this; }; return x; } >porteri : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -745,7 +745,7 @@ module julianae { bindi() : caurinus.mahaganus> { var x : caurinus.mahaganus>; () => { var y = this; }; return x; } >bindi : () => caurinus.mahaganus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >gabriellae : any @@ -779,7 +779,7 @@ module julianae { puda() : sagitta.stolzmanni { var x : sagitta.stolzmanni; () => { var y = this; }; return x; } >puda : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -797,7 +797,7 @@ module julianae { mindorensis() : trivirgatus.falconeri { var x : trivirgatus.falconeri; () => { var y = this; }; return x; } >mindorensis : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -815,7 +815,7 @@ module julianae { ignitus() : petrophilus.rosalia, lavali.wilsoni> { var x : petrophilus.rosalia, lavali.wilsoni>; () => { var y = this; }; return x; } >ignitus : () => petrophilus.rosalia, lavali.wilsoni> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >panamensis : any @@ -845,7 +845,7 @@ module julianae { rufus() : nudicaudus { var x : nudicaudus; () => { var y = this; }; return x; } >rufus : () => nudicaudus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : nudicaudus > : ^^^^^^^^^^ >() => { var y = this; } : () => void @@ -859,7 +859,7 @@ module julianae { monax() : imperfecta.subspinosus { var x : imperfecta.subspinosus; () => { var y = this; }; return x; } >monax : () => imperfecta.subspinosus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >x : imperfecta.subspinosus @@ -877,7 +877,7 @@ module julianae { unalascensis() : minutus.inez, gabriellae.echinatus>, dogramacii.aurata> { var x : minutus.inez, gabriellae.echinatus>, dogramacii.aurata>; () => { var y = this; }; return x; } >unalascensis : () => minutus.inez, gabriellae.echinatus>, dogramacii.aurata> -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >rendalli : any @@ -919,7 +919,7 @@ module julianae { wuchihensis() : howi.angulatus, petrophilus.minutilla> { var x : howi.angulatus, petrophilus.minutilla>; () => { var y = this; }; return x; } >wuchihensis : () => howi.angulatus, petrophilus.minutilla> -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >howi : any @@ -953,7 +953,7 @@ module julianae { leucippe() : lavali.otion { var x : lavali.otion; () => { var y = this; }; return x; } >leucippe : () => lavali.otion -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.otion @@ -971,7 +971,7 @@ module julianae { ordii() : daubentonii.arboreus { var x : daubentonii.arboreus; () => { var y = this; }; return x; } >ordii : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >argurus : any @@ -997,7 +997,7 @@ module julianae { eisentrauti() : rendalli.zuluensis { var x : rendalli.zuluensis; () => { var y = this; }; return x; } >eisentrauti : () => rendalli.zuluensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >x : rendalli.zuluensis @@ -1025,7 +1025,7 @@ module julianae { wolffsohni() : Lanthanum.suillus { var x : Lanthanum.suillus; () => { var y = this; }; return x; } >wolffsohni : () => Lanthanum.suillus -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >dammermani : any @@ -1051,7 +1051,7 @@ module julianae { geata() : ruatanica.hector { var x : ruatanica.hector; () => { var y = this; }; return x; } >geata : () => ruatanica.hector -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >quasiater : any @@ -1073,7 +1073,7 @@ module julianae { awashensis() : petrophilus.minutilla { var x : petrophilus.minutilla; () => { var y = this; }; return x; } >awashensis : () => petrophilus.minutilla -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >x : petrophilus.minutilla @@ -1091,7 +1091,7 @@ module julianae { sturdeei() : lutreolus.cor { var x : lutreolus.cor; () => { var y = this; }; return x; } >sturdeei : () => lutreolus.cor -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >Lanthanum : any @@ -1113,7 +1113,7 @@ module julianae { pachyurus() : howi.angulatus> { var x : howi.angulatus>; () => { var y = this; }; return x; } >pachyurus : () => howi.angulatus> -> : ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >dogramacii : any @@ -1143,7 +1143,7 @@ module julianae { lyelli() : provocax.melanoleuca { var x : provocax.melanoleuca; () => { var y = this; }; return x; } >lyelli : () => provocax.melanoleuca -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provocax : any > : ^^^ >x : provocax.melanoleuca @@ -1161,7 +1161,7 @@ module julianae { neohibernicus() : dammermani.siberu { var x : dammermani.siberu; () => { var y = this; }; return x; } >neohibernicus : () => dammermani.siberu -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >lutreolus : any @@ -1191,7 +1191,7 @@ module julianae { pundti() : sagitta.sicarius { var x : sagitta.sicarius; () => { var y = this; }; return x; } >pundti : () => sagitta.sicarius -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >dogramacii : any @@ -1217,7 +1217,7 @@ module julianae { tristrami() : petrophilus.minutilla { var x : petrophilus.minutilla; () => { var y = this; }; return x; } >tristrami : () => petrophilus.minutilla -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >x : petrophilus.minutilla @@ -1235,7 +1235,7 @@ module julianae { swarthi() : lutreolus.foina { var x : lutreolus.foina; () => { var y = this; }; return x; } >swarthi : () => lutreolus.foina -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.foina @@ -1253,7 +1253,7 @@ module julianae { horsfieldii() : trivirgatus.falconeri { var x : trivirgatus.falconeri; () => { var y = this; }; return x; } >horsfieldii : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -1271,7 +1271,7 @@ module julianae { diazi() : imperfecta.lasiurus { var x : imperfecta.lasiurus; () => { var y = this; }; return x; } >diazi : () => imperfecta.lasiurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >lutreolus : any @@ -1297,7 +1297,7 @@ module julianae { rennelli() : argurus.luctuosa { var x : argurus.luctuosa; () => { var y = this; }; return x; } >rennelli : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -1315,7 +1315,7 @@ module julianae { maulinus() : lavali.lepturus { var x : lavali.lepturus; () => { var y = this; }; return x; } >maulinus : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -1333,7 +1333,7 @@ module julianae { muscina() : daubentonii.arboreus { var x : daubentonii.arboreus; () => { var y = this; }; return x; } >muscina : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >petrophilus : any @@ -1359,7 +1359,7 @@ module julianae { pelengensis() : sagitta.leptoceros { var x : sagitta.leptoceros; () => { var y = this; }; return x; } >pelengensis : () => sagitta.leptoceros -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >caurinus : any @@ -1385,7 +1385,7 @@ module julianae { abramus() : lavali.thaeleri { var x : lavali.thaeleri; () => { var y = this; }; return x; } >abramus : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -1403,7 +1403,7 @@ module julianae { reevesi() : provocax.melanoleuca { var x : provocax.melanoleuca; () => { var y = this; }; return x; } >reevesi : () => provocax.melanoleuca -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provocax : any > : ^^^ >x : provocax.melanoleuca @@ -1425,7 +1425,7 @@ module julianae { levicula() : lavali.lepturus { var x : lavali.lepturus; () => { var y = this; }; return x; } >levicula : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -1443,7 +1443,7 @@ module julianae { minous() : argurus.dauricus { var x : argurus.dauricus; () => { var y = this; }; return x; } >minous : () => argurus.dauricus -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >quasiater : any @@ -1469,7 +1469,7 @@ module julianae { cinereiventer() : panamensis.setulosus { var x : panamensis.setulosus; () => { var y = this; }; return x; } >cinereiventer : () => panamensis.setulosus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >sagitta : any @@ -1495,7 +1495,7 @@ module julianae { longicaudatus() : macrorhinos.marmosurus> { var x : macrorhinos.marmosurus>; () => { var y = this; }; return x; } >longicaudatus : () => macrorhinos.marmosurus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >dammermani : any @@ -1525,7 +1525,7 @@ module julianae { baeodon() : argurus.netscheri, argurus.luctuosa> { var x : argurus.netscheri, argurus.luctuosa>; () => { var y = this; }; return x; } >baeodon : () => argurus.netscheri, argurus.luctuosa> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >dammermani : any @@ -1559,7 +1559,7 @@ module julianae { soricoides() : argurus.luctuosa { var x : argurus.luctuosa; () => { var y = this; }; return x; } >soricoides : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -1577,7 +1577,7 @@ module julianae { datae() : daubentonii.arboreus> { var x : daubentonii.arboreus>; () => { var y = this; }; return x; } >datae : () => daubentonii.arboreus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >provocax : any @@ -1611,7 +1611,7 @@ module julianae { spixii() : imperfecta.subspinosus { var x : imperfecta.subspinosus; () => { var y = this; }; return x; } >spixii : () => imperfecta.subspinosus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >x : imperfecta.subspinosus @@ -1629,7 +1629,7 @@ module julianae { anakuma() : lavali.wilsoni { var x : lavali.wilsoni; () => { var y = this; }; return x; } >anakuma : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -1647,7 +1647,7 @@ module julianae { kihaulei() : panglima.amphibius { var x : panglima.amphibius; () => { var y = this; }; return x; } >kihaulei : () => panglima.amphibius -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >trivirgatus : any @@ -1673,7 +1673,7 @@ module julianae { gymnura() : quasiater.carolinensis { var x : quasiater.carolinensis; () => { var y = this; }; return x; } >gymnura : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -1691,7 +1691,7 @@ module julianae { olchonensis() : rendalli.crenulata { var x : rendalli.crenulata; () => { var y = this; }; return x; } >olchonensis : () => rendalli.crenulata -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >trivirgatus : any @@ -1727,7 +1727,7 @@ module julianae { Californium() : panamensis.setulosus { var x : panamensis.setulosus; () => { var y = this; }; return x; } >Californium : () => panamensis.setulosus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >lutreolus : any @@ -1753,7 +1753,7 @@ module julianae { Flerovium() : howi.angulatus { var x : howi.angulatus; () => { var y = this; }; return x; } >Flerovium : () => howi.angulatus -> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >petrophilus : any @@ -1779,7 +1779,7 @@ module julianae { phrudus() : sagitta.stolzmanni { var x : sagitta.stolzmanni; () => { var y = this; }; return x; } >phrudus : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -1806,7 +1806,7 @@ module ruatanica { humulis() : julianae.steerii { var x : julianae.steerii; () => { var y = this; }; return x; } >humulis : () => julianae.steerii -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.steerii @@ -1824,7 +1824,7 @@ module ruatanica { eurycerus() : panamensis.linulus, lavali.wilsoni> { var x : panamensis.linulus, lavali.wilsoni>; () => { var y = this; }; return x; } >eurycerus : () => panamensis.linulus, lavali.wilsoni> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >ruatanica : any @@ -1867,7 +1867,7 @@ module Lanthanum { spilosoma() : quasiater.carolinensis { var x : quasiater.carolinensis; () => { var y = this; }; return x; } >spilosoma : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -1885,7 +1885,7 @@ module Lanthanum { tumbalensis() : caurinus.megaphyllus { var x : caurinus.megaphyllus; () => { var y = this; }; return x; } >tumbalensis : () => caurinus.megaphyllus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.megaphyllus @@ -1903,7 +1903,7 @@ module Lanthanum { anatolicus() : julianae.steerii { var x : julianae.steerii; () => { var y = this; }; return x; } >anatolicus : () => julianae.steerii -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.steerii @@ -1935,7 +1935,7 @@ module Lanthanum { granatensis() : quasiater.bobrinskoi { var x : quasiater.bobrinskoi; () => { var y = this; }; return x; } >granatensis : () => quasiater.bobrinskoi -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.bobrinskoi @@ -1953,7 +1953,7 @@ module Lanthanum { negligens() : minutus.inez { var x : minutus.inez; () => { var y = this; }; return x; } >negligens : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >lavali : any @@ -1979,7 +1979,7 @@ module Lanthanum { lewisi() : julianae.oralis { var x : julianae.oralis; () => { var y = this; }; return x; } >lewisi : () => julianae.oralis -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >lavali : any @@ -2005,7 +2005,7 @@ module Lanthanum { arge() : chrysaeolus.sarasinorum { var x : chrysaeolus.sarasinorum; () => { var y = this; }; return x; } >arge : () => chrysaeolus.sarasinorum -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >chrysaeolus : any > : ^^^ >caurinus : any @@ -2031,7 +2031,7 @@ module Lanthanum { dominicensis() : dammermani.melanops { var x : dammermani.melanops; () => { var y = this; }; return x; } >dominicensis : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -2049,7 +2049,7 @@ module Lanthanum { taurus() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; } >taurus : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -2067,7 +2067,7 @@ module Lanthanum { tonganus() : argurus.netscheri { var x : argurus.netscheri; () => { var y = this; }; return x; } >tonganus : () => argurus.netscheri -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >dogramacii : any @@ -2093,7 +2093,7 @@ module Lanthanum { silvatica() : rendalli.moojeni { var x : rendalli.moojeni; () => { var y = this; }; return x; } >silvatica : () => rendalli.moojeni -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >dogramacii : any @@ -2119,7 +2119,7 @@ module Lanthanum { midas() : lavali.xanthognathus { var x : lavali.xanthognathus; () => { var y = this; }; return x; } >midas : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -2137,7 +2137,7 @@ module Lanthanum { bicornis() : dogramacii.kaiseri { var x : dogramacii.kaiseri; () => { var y = this; }; return x; } >bicornis : () => dogramacii.kaiseri -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.kaiseri @@ -2169,7 +2169,7 @@ module Lanthanum { phillipsii() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; } >phillipsii : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -2187,7 +2187,7 @@ module Lanthanum { melanogaster() : rionegrensis.veraecrucis { var x : rionegrensis.veraecrucis; () => { var y = this; }; return x; } >melanogaster : () => rionegrensis.veraecrucis -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >trivirgatus : any @@ -2213,7 +2213,7 @@ module Lanthanum { elaphus() : nitidus { var x : nitidus; () => { var y = this; }; return x; } >elaphus : () => nitidus -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >julianae : any @@ -2235,7 +2235,7 @@ module Lanthanum { elater() : lavali.lepturus { var x : lavali.lepturus; () => { var y = this; }; return x; } >elater : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -2253,7 +2253,7 @@ module Lanthanum { ourebi() : provocax.melanoleuca { var x : provocax.melanoleuca; () => { var y = this; }; return x; } >ourebi : () => provocax.melanoleuca -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provocax : any > : ^^^ >x : provocax.melanoleuca @@ -2271,7 +2271,7 @@ module Lanthanum { caraccioli() : imperfecta.ciliolabrum> { var x : imperfecta.ciliolabrum>; () => { var y = this; }; return x; } >caraccioli : () => imperfecta.ciliolabrum> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >julianae : any @@ -2305,7 +2305,7 @@ module Lanthanum { parva() : gabriellae.echinatus { var x : gabriellae.echinatus; () => { var y = this; }; return x; } >parva : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -2323,7 +2323,7 @@ module Lanthanum { albipes() : quasiater.wattsi { var x : quasiater.wattsi; () => { var y = this; }; return x; } >albipes : () => quasiater.wattsi -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >dammermani : any @@ -2349,7 +2349,7 @@ module Lanthanum { torrei() : petrophilus.sodyi { var x : petrophilus.sodyi; () => { var y = this; }; return x; } >torrei : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >argurus : any @@ -2375,7 +2375,7 @@ module Lanthanum { revoili() : lavali.wilsoni { var x : lavali.wilsoni; () => { var y = this; }; return x; } >revoili : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -2393,7 +2393,7 @@ module Lanthanum { macrobullatus() : macrorhinos.daphaenodon { var x : macrorhinos.daphaenodon; () => { var y = this; }; return x; } >macrobullatus : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -2411,7 +2411,7 @@ module Lanthanum { compactus() : sagitta.stolzmanni { var x : sagitta.stolzmanni; () => { var y = this; }; return x; } >compactus : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -2429,7 +2429,7 @@ module Lanthanum { talpinus() : nitidus { var x : nitidus; () => { var y = this; }; return x; } >talpinus : () => nitidus -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >sagitta : any @@ -2451,7 +2451,7 @@ module Lanthanum { stramineus() : gabriellae.amicus { var x : gabriellae.amicus; () => { var y = this; }; return x; } >stramineus : () => gabriellae.amicus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.amicus @@ -2469,7 +2469,7 @@ module Lanthanum { dartmouthi() : trivirgatus.mixtus { var x : trivirgatus.mixtus; () => { var y = this; }; return x; } >dartmouthi : () => trivirgatus.mixtus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >macrorhinos : any @@ -2495,7 +2495,7 @@ module Lanthanum { ogilbyi() : argurus.dauricus { var x : argurus.dauricus; () => { var y = this; }; return x; } >ogilbyi : () => argurus.dauricus -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >argurus : any @@ -2521,7 +2521,7 @@ module Lanthanum { incomtus() : daubentonii.nesiotes { var x : daubentonii.nesiotes; () => { var y = this; }; return x; } >incomtus : () => daubentonii.nesiotes -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >julianae : any @@ -2547,7 +2547,7 @@ module Lanthanum { surdaster() : ruatanica.Praseodymium { var x : ruatanica.Praseodymium; () => { var y = this; }; return x; } >surdaster : () => ruatanica.Praseodymium -> : ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >argurus : any @@ -2573,7 +2573,7 @@ module Lanthanum { melanorhinus() : samarensis.pelurus { var x : samarensis.pelurus; () => { var y = this; }; return x; } >melanorhinus : () => samarensis.pelurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >dammermani : any @@ -2599,7 +2599,7 @@ module Lanthanum { picticaudata() : minutus.inez, dogramacii.kaiseri> { var x : minutus.inez, dogramacii.kaiseri>; () => { var y = this; }; return x; } >picticaudata : () => minutus.inez, dogramacii.kaiseri> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >quasiater : any @@ -2633,7 +2633,7 @@ module Lanthanum { pomona() : julianae.steerii { var x : julianae.steerii; () => { var y = this; }; return x; } >pomona : () => julianae.steerii -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.steerii @@ -2651,7 +2651,7 @@ module Lanthanum { ileile() : quasiater.carolinensis { var x : quasiater.carolinensis; () => { var y = this; }; return x; } >ileile : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -2684,7 +2684,7 @@ module rendalli { telfairi() : argurus.wetmorei { var x : argurus.wetmorei; () => { var y = this; }; return x; } >telfairi : () => argurus.wetmorei -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >Lanthanum : any @@ -2710,7 +2710,7 @@ module rendalli { keyensis() : quasiater.wattsi { var x : quasiater.wattsi; () => { var y = this; }; return x; } >keyensis : () => quasiater.wattsi -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >quasiater : any @@ -2736,7 +2736,7 @@ module rendalli { occasius() : argurus.gilbertii { var x : argurus.gilbertii; () => { var y = this; }; return x; } >occasius : () => argurus.gilbertii -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >caurinus : any @@ -2762,7 +2762,7 @@ module rendalli { damarensis() : julianae.galapagoensis { var x : julianae.galapagoensis; () => { var y = this; }; return x; } >damarensis : () => julianae.galapagoensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.galapagoensis @@ -2780,7 +2780,7 @@ module rendalli { Neptunium() : panglima.abidi { var x : panglima.abidi; () => { var y = this; }; return x; } >Neptunium : () => panglima.abidi -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >dogramacii : any @@ -2806,7 +2806,7 @@ module rendalli { griseoflavus() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; } >griseoflavus : () => ruatanica.americanus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >x : ruatanica.americanus @@ -2824,7 +2824,7 @@ module rendalli { thar() : argurus.oreas { var x : argurus.oreas; () => { var y = this; }; return x; } >thar : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -2842,7 +2842,7 @@ module rendalli { alborufus() : panamensis.linulus { var x : panamensis.linulus; () => { var y = this; }; return x; } >alborufus : () => panamensis.linulus -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >lavali : any @@ -2868,7 +2868,7 @@ module rendalli { fusicaudus() : sagitta.stolzmanni { var x : sagitta.stolzmanni; () => { var y = this; }; return x; } >fusicaudus : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -2886,7 +2886,7 @@ module rendalli { gordonorum() : howi.angulatus { var x : howi.angulatus; () => { var y = this; }; return x; } >gordonorum : () => howi.angulatus -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >ruatanica : any @@ -2912,7 +2912,7 @@ module rendalli { ruber() : dammermani.siberu { var x : dammermani.siberu; () => { var y = this; }; return x; } >ruber : () => dammermani.siberu -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >lutreolus : any @@ -2938,7 +2938,7 @@ module rendalli { desmarestianus() : julianae.steerii { var x : julianae.steerii; () => { var y = this; }; return x; } >desmarestianus : () => julianae.steerii -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.steerii @@ -2956,7 +2956,7 @@ module rendalli { lutillus() : nigra.dolichurus { var x : nigra.dolichurus; () => { var y = this; }; return x; } >lutillus : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >howi : any @@ -2982,7 +2982,7 @@ module rendalli { salocco() : argurus.peninsulae { var x : argurus.peninsulae; () => { var y = this; }; return x; } >salocco : () => argurus.peninsulae -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.peninsulae @@ -3004,7 +3004,7 @@ module rendalli { floweri() : lavali.otion { var x : lavali.otion; () => { var y = this; }; return x; } >floweri : () => lavali.otion -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.otion @@ -3022,7 +3022,7 @@ module rendalli { montosa() : imperfecta.ciliolabrum { var x : imperfecta.ciliolabrum; () => { var y = this; }; return x; } >montosa : () => imperfecta.ciliolabrum -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >Lanthanum : any @@ -3048,7 +3048,7 @@ module rendalli { miletus() : julianae.sumatrana { var x : julianae.sumatrana; () => { var y = this; }; return x; } >miletus : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -3066,7 +3066,7 @@ module rendalli { heaneyi() : zuluensis { var x : zuluensis; () => { var y = this; }; return x; } >heaneyi : () => zuluensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : zuluensis > : ^^^^^^^^^ >() => { var y = this; } : () => void @@ -3080,7 +3080,7 @@ module rendalli { marchei() : panglima.amphibius> { var x : panglima.amphibius>; () => { var y = this; }; return x; } >marchei : () => panglima.amphibius> -> : ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >patas : any @@ -3114,7 +3114,7 @@ module rendalli { budini() : julianae.durangae { var x : julianae.durangae; () => { var y = this; }; return x; } >budini : () => julianae.durangae -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.durangae @@ -3132,7 +3132,7 @@ module rendalli { maggietaylorae() : trivirgatus.mixtus, imperfecta.subspinosus>, sagitta.stolzmanni> { var x : trivirgatus.mixtus, imperfecta.subspinosus>, sagitta.stolzmanni>; () => { var y = this; }; return x; } >maggietaylorae : () => trivirgatus.mixtus, imperfecta.subspinosus>, sagitta.stolzmanni> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >panglima : any @@ -3174,7 +3174,7 @@ module rendalli { poliocephalus() : julianae.gerbillus { var x : julianae.gerbillus; () => { var y = this; }; return x; } >poliocephalus : () => julianae.gerbillus -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >julianae : any @@ -3200,7 +3200,7 @@ module rendalli { zibethicus() : minutus.inez { var x : minutus.inez; () => { var y = this; }; return x; } >zibethicus : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >sagitta : any @@ -3226,7 +3226,7 @@ module rendalli { biacensis() : howi.coludo { var x : howi.coludo; () => { var y = this; }; return x; } >biacensis : () => howi.coludo -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >quasiater : any @@ -3262,7 +3262,7 @@ module rendalli { salvanius() : howi.coludo { var x : howi.coludo; () => { var y = this; }; return x; } >salvanius : () => howi.coludo -> : ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >howi : any @@ -3288,7 +3288,7 @@ module rendalli { maritimus() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; } >maritimus : () => ruatanica.americanus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >x : ruatanica.americanus @@ -3306,7 +3306,7 @@ module rendalli { edax() : lutreolus.cor>, rionegrensis.caniventer> { var x : lutreolus.cor>, rionegrensis.caniventer>; () => { var y = this; }; return x; } >edax : () => lutreolus.cor>, rionegrensis.caniventer> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >imperfecta : any @@ -3357,7 +3357,7 @@ module trivirgatus { nivalis() : dogramacii.kaiseri { var x : dogramacii.kaiseri; () => { var y = this; }; return x; } >nivalis : () => dogramacii.kaiseri -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.kaiseri @@ -3375,7 +3375,7 @@ module trivirgatus { vestitus() : lavali.xanthognathus { var x : lavali.xanthognathus; () => { var y = this; }; return x; } >vestitus : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -3393,7 +3393,7 @@ module trivirgatus { aequatorius() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >aequatorius : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -3411,7 +3411,7 @@ module trivirgatus { scherman() : oconnelli { var x : oconnelli; () => { var y = this; }; return x; } >scherman : () => oconnelli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >x : oconnelli > : ^^^^^^^^^ >() => { var y = this; } : () => void @@ -3425,7 +3425,7 @@ module trivirgatus { improvisum() : argurus.peninsulae { var x : argurus.peninsulae; () => { var y = this; }; return x; } >improvisum : () => argurus.peninsulae -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.peninsulae @@ -3443,7 +3443,7 @@ module trivirgatus { cervinipes() : panglima.abidi { var x : panglima.abidi; () => { var y = this; }; return x; } >cervinipes : () => panglima.abidi -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >lavali : any @@ -3469,7 +3469,7 @@ module trivirgatus { audax() : dogramacii.robustulus { var x : dogramacii.robustulus; () => { var y = this; }; return x; } >audax : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -3487,7 +3487,7 @@ module trivirgatus { vallinus() : sagitta.sicarius { var x : sagitta.sicarius; () => { var y = this; }; return x; } >vallinus : () => sagitta.sicarius -> : ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >lavali : any @@ -3531,7 +3531,7 @@ module trivirgatus { ochrogaster() : dogramacii.aurata { var x : dogramacii.aurata; () => { var y = this; }; return x; } >ochrogaster : () => dogramacii.aurata -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.aurata @@ -3549,7 +3549,7 @@ module trivirgatus { bryophilus() : macrorhinos.marmosurus>> { var x : macrorhinos.marmosurus>>; () => { var y = this; }; return x; } >bryophilus : () => macrorhinos.marmosurus>> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >dogramacii : any @@ -3591,7 +3591,7 @@ module trivirgatus { liechtensteini() : rendalli.zuluensis { var x : rendalli.zuluensis; () => { var y = this; }; return x; } >liechtensteini : () => rendalli.zuluensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >x : rendalli.zuluensis @@ -3609,7 +3609,7 @@ module trivirgatus { crawfordi() : howi.coludo> { var x : howi.coludo>; () => { var y = this; }; return x; } >crawfordi : () => howi.coludo> -> : ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >julianae : any @@ -3643,7 +3643,7 @@ module trivirgatus { hypsibia() : lavali.thaeleri { var x : lavali.thaeleri; () => { var y = this; }; return x; } >hypsibia : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -3661,7 +3661,7 @@ module trivirgatus { matacus() : panglima.fundatus, lavali.beisa>, dammermani.melanops> { var x : panglima.fundatus, lavali.beisa>, dammermani.melanops>; () => { var y = this; }; return x; } >matacus : () => panglima.fundatus, lavali.beisa>, dammermani.melanops> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >panamensis : any @@ -3699,7 +3699,7 @@ module trivirgatus { demidoff() : caurinus.johorensis { var x : caurinus.johorensis; () => { var y = this; }; return x; } >demidoff : () => caurinus.johorensis -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >julianae : any @@ -3729,7 +3729,7 @@ module trivirgatus { balensis() : samarensis.pallidus { var x : samarensis.pallidus; () => { var y = this; }; return x; } >balensis : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -3747,7 +3747,7 @@ module trivirgatus { pullata() : rionegrensis.veraecrucis { var x : rionegrensis.veraecrucis; () => { var y = this; }; return x; } >pullata : () => rionegrensis.veraecrucis -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >quasiater : any @@ -3777,7 +3777,7 @@ module trivirgatus { cabrali() : rendalli.moojeni>, daubentonii.arboreus> { var x : rendalli.moojeni>, daubentonii.arboreus>; () => { var y = this; }; return x; } >cabrali : () => rendalli.moojeni>, daubentonii.arboreus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >imperfecta : any @@ -3827,7 +3827,7 @@ module trivirgatus { gouldi() : nigra.dolichurus>, patas.uralensis> { var x : nigra.dolichurus>, patas.uralensis>; () => { var y = this; }; return x; } >gouldi : () => nigra.dolichurus>, patas.uralensis> -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >imperfecta : any @@ -3869,7 +3869,7 @@ module trivirgatus { fuscicollis() : samarensis.pelurus> { var x : samarensis.pelurus>; () => { var y = this; }; return x; } >fuscicollis : () => samarensis.pelurus> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >dammermani : any @@ -3903,7 +3903,7 @@ module trivirgatus { martiensseni() : sagitta.cinereus>, dogramacii.koepckeae> { var x : sagitta.cinereus>, dogramacii.koepckeae>; () => { var y = this; }; return x; } >martiensseni : () => sagitta.cinereus>, dogramacii.koepckeae> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >imperfecta : any @@ -3945,7 +3945,7 @@ module trivirgatus { gaoligongensis() : dogramacii.koepckeae { var x : dogramacii.koepckeae; () => { var y = this; }; return x; } >gaoligongensis : () => dogramacii.koepckeae -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.koepckeae @@ -3963,7 +3963,7 @@ module trivirgatus { shawi() : minutus.inez> { var x : minutus.inez>; () => { var y = this; }; return x; } >shawi : () => minutus.inez> -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >sagitta : any @@ -3997,7 +3997,7 @@ module trivirgatus { gmelini() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >gmelini : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -4019,7 +4019,7 @@ module trivirgatus { youngsoni() : nigra.thalia { var x : nigra.thalia; () => { var y = this; }; return x; } >youngsoni : () => nigra.thalia -> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >patas : any @@ -4045,7 +4045,7 @@ module trivirgatus { terrestris() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; } >terrestris : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -4063,7 +4063,7 @@ module trivirgatus { chrysopus() : sagitta.sicarius> { var x : sagitta.sicarius>; () => { var y = this; }; return x; } >chrysopus : () => sagitta.sicarius> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >dogramacii : any @@ -4097,7 +4097,7 @@ module trivirgatus { fuscomurina() : argurus.peninsulae { var x : argurus.peninsulae; () => { var y = this; }; return x; } >fuscomurina : () => argurus.peninsulae -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.peninsulae @@ -4115,7 +4115,7 @@ module trivirgatus { hellwaldii() : nigra.gracilis, petrophilus.sodyi> { var x : nigra.gracilis, petrophilus.sodyi>; () => { var y = this; }; return x; } >hellwaldii : () => nigra.gracilis, petrophilus.sodyi> -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >panamensis : any @@ -4157,7 +4157,7 @@ module trivirgatus { aenea() : argurus.luctuosa { var x : argurus.luctuosa; () => { var y = this; }; return x; } >aenea : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -4175,7 +4175,7 @@ module trivirgatus { perrini() : quasiater.bobrinskoi { var x : quasiater.bobrinskoi; () => { var y = this; }; return x; } >perrini : () => quasiater.bobrinskoi -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.bobrinskoi @@ -4193,7 +4193,7 @@ module trivirgatus { entellus() : dammermani.melanops { var x : dammermani.melanops; () => { var y = this; }; return x; } >entellus : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -4211,7 +4211,7 @@ module trivirgatus { krebsii() : rionegrensis.veraecrucis { var x : rionegrensis.veraecrucis; () => { var y = this; }; return x; } >krebsii : () => rionegrensis.veraecrucis -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >rionegrensis : any @@ -4237,7 +4237,7 @@ module trivirgatus { cephalotes() : lutreolus.schlegeli { var x : lutreolus.schlegeli; () => { var y = this; }; return x; } >cephalotes : () => lutreolus.schlegeli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.schlegeli @@ -4255,7 +4255,7 @@ module trivirgatus { molossinus() : daubentonii.nigricans> { var x : daubentonii.nigricans>; () => { var y = this; }; return x; } >molossinus : () => daubentonii.nigricans> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >quasiater : any @@ -4289,7 +4289,7 @@ module trivirgatus { luisi() : dogramacii.robustulus { var x : dogramacii.robustulus; () => { var y = this; }; return x; } >luisi : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -4307,7 +4307,7 @@ module trivirgatus { ceylonicus() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >ceylonicus : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -4325,7 +4325,7 @@ module trivirgatus { ralli() : lavali.xanthognathus { var x : lavali.xanthognathus; () => { var y = this; }; return x; } >ralli : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -4352,7 +4352,7 @@ module quasiater { crassicaudatus() : samarensis.cahirinus { var x : samarensis.cahirinus; () => { var y = this; }; return x; } >crassicaudatus : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >macrorhinos : any @@ -4378,7 +4378,7 @@ module quasiater { mulatta() : argurus.oreas { var x : argurus.oreas; () => { var y = this; }; return x; } >mulatta : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -4396,7 +4396,7 @@ module quasiater { ansorgei() : rendalli.moojeni, gabriellae.echinatus> { var x : rendalli.moojeni, gabriellae.echinatus>; () => { var y = this; }; return x; } >ansorgei : () => rendalli.moojeni, gabriellae.echinatus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >panglima : any @@ -4430,7 +4430,7 @@ module quasiater { Copper() : argurus.netscheri { var x : argurus.netscheri; () => { var y = this; }; return x; } >Copper : () => argurus.netscheri -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >quasiater : any @@ -4475,7 +4475,7 @@ module ruatanica { nasoloi() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; } >nasoloi : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -4493,7 +4493,7 @@ module ruatanica { mystacalis() : howi.angulatus { var x : howi.angulatus; () => { var y = this; }; return x; } >mystacalis : () => howi.angulatus -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >quasiater : any @@ -4519,7 +4519,7 @@ module ruatanica { fardoulisi() : trivirgatus.oconnelli { var x : trivirgatus.oconnelli; () => { var y = this; }; return x; } >fardoulisi : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -4537,7 +4537,7 @@ module ruatanica { tumidus() : gabriellae.amicus { var x : gabriellae.amicus; () => { var y = this; }; return x; } >tumidus : () => gabriellae.amicus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.amicus @@ -4574,7 +4574,7 @@ module lavali { setiger() : nigra.thalia { var x : nigra.thalia; () => { var y = this; }; return x; } >setiger : () => nigra.thalia -> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >patas : any @@ -4596,7 +4596,7 @@ module lavali { lorentzii() : imperfecta.subspinosus { var x : imperfecta.subspinosus; () => { var y = this; }; return x; } >lorentzii : () => imperfecta.subspinosus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >x : imperfecta.subspinosus @@ -4614,7 +4614,7 @@ module lavali { antisensis() : lutreolus.foina { var x : lutreolus.foina; () => { var y = this; }; return x; } >antisensis : () => lutreolus.foina -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.foina @@ -4632,7 +4632,7 @@ module lavali { blossevillii() : dammermani.siberu { var x : dammermani.siberu; () => { var y = this; }; return x; } >blossevillii : () => dammermani.siberu -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >Lanthanum : any @@ -4658,7 +4658,7 @@ module lavali { bontanus() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >bontanus : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -4676,7 +4676,7 @@ module lavali { caligata() : argurus.oreas { var x : argurus.oreas; () => { var y = this; }; return x; } >caligata : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -4694,7 +4694,7 @@ module lavali { franqueti() : panglima.amphibius, imperfecta.subspinosus> { var x : panglima.amphibius, imperfecta.subspinosus>; () => { var y = this; }; return x; } >franqueti : () => panglima.amphibius, imperfecta.subspinosus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >gabriellae : any @@ -4728,7 +4728,7 @@ module lavali { roberti() : julianae.acariensis { var x : julianae.acariensis; () => { var y = this; }; return x; } >roberti : () => julianae.acariensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.acariensis @@ -4746,7 +4746,7 @@ module lavali { degelidus() : chrysaeolus.sarasinorum { var x : chrysaeolus.sarasinorum; () => { var y = this; }; return x; } >degelidus : () => chrysaeolus.sarasinorum -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >chrysaeolus : any > : ^^^ >Lanthanum : any @@ -4772,7 +4772,7 @@ module lavali { amoenus() : quasiater.carolinensis { var x : quasiater.carolinensis; () => { var y = this; }; return x; } >amoenus : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -4790,7 +4790,7 @@ module lavali { kob() : trivirgatus.lotor { var x : trivirgatus.lotor; () => { var y = this; }; return x; } >kob : () => trivirgatus.lotor -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >argurus : any @@ -4812,7 +4812,7 @@ module lavali { csorbai() : caurinus.johorensis { var x : caurinus.johorensis; () => { var y = this; }; return x; } >csorbai : () => caurinus.johorensis -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >caurinus : any @@ -4838,7 +4838,7 @@ module lavali { dorsata() : gabriellae.echinatus { var x : gabriellae.echinatus; () => { var y = this; }; return x; } >dorsata : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -4874,7 +4874,7 @@ module lavali { bonaerensis() : provocax.melanoleuca { var x : provocax.melanoleuca; () => { var y = this; }; return x; } >bonaerensis : () => provocax.melanoleuca -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provocax : any > : ^^^ >x : provocax.melanoleuca @@ -4892,7 +4892,7 @@ module lavali { dussumieri() : nigra.gracilis { var x : nigra.gracilis; () => { var y = this; }; return x; } >dussumieri : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >julianae : any @@ -4918,7 +4918,7 @@ module lavali { osvaldoreigi() : julianae.albidens { var x : julianae.albidens; () => { var y = this; }; return x; } >osvaldoreigi : () => julianae.albidens -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >julianae : any @@ -4944,7 +4944,7 @@ module lavali { grevyi() : samarensis.pallidus { var x : samarensis.pallidus; () => { var y = this; }; return x; } >grevyi : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -4962,7 +4962,7 @@ module lavali { hirtula() : lepturus { var x : lepturus; () => { var y = this; }; return x; } >hirtula : () => lepturus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : lepturus > : ^^^^^^^^ >() => { var y = this; } : () => void @@ -4976,7 +4976,7 @@ module lavali { cristatus() : argurus.luctuosa { var x : argurus.luctuosa; () => { var y = this; }; return x; } >cristatus : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -4994,7 +4994,7 @@ module lavali { darlingtoni() : sagitta.leptoceros { var x : sagitta.leptoceros; () => { var y = this; }; return x; } >darlingtoni : () => sagitta.leptoceros -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >trivirgatus : any @@ -5016,7 +5016,7 @@ module lavali { fontanierii() : panamensis.setulosus>, lutreolus.foina> { var x : panamensis.setulosus>, lutreolus.foina>; () => { var y = this; }; return x; } >fontanierii : () => panamensis.setulosus>, lutreolus.foina> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >samarensis : any @@ -5054,7 +5054,7 @@ module lavali { umbrosus() : howi.marcanoi { var x : howi.marcanoi; () => { var y = this; }; return x; } >umbrosus : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -5072,7 +5072,7 @@ module lavali { chiriquinus() : imperfecta.lasiurus { var x : imperfecta.lasiurus; () => { var y = this; }; return x; } >chiriquinus : () => imperfecta.lasiurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >caurinus : any @@ -5098,7 +5098,7 @@ module lavali { orarius() : lutreolus.schlegeli { var x : lutreolus.schlegeli; () => { var y = this; }; return x; } >orarius : () => lutreolus.schlegeli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.schlegeli @@ -5116,7 +5116,7 @@ module lavali { ilaeus() : caurinus.mahaganus { var x : caurinus.mahaganus; () => { var y = this; }; return x; } >ilaeus : () => caurinus.mahaganus -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >julianae : any @@ -5142,7 +5142,7 @@ module lavali { musschenbroekii() : trivirgatus.falconeri { var x : trivirgatus.falconeri; () => { var y = this; }; return x; } >musschenbroekii : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -5164,7 +5164,7 @@ module lavali { nanulus() : daubentonii.nigricans { var x : daubentonii.nigricans; () => { var y = this; }; return x; } >nanulus : () => daubentonii.nigricans -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >imperfecta : any @@ -5190,7 +5190,7 @@ module lavali { albigena() : chrysaeolus.sarasinorum { var x : chrysaeolus.sarasinorum; () => { var y = this; }; return x; } >albigena : () => chrysaeolus.sarasinorum -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >chrysaeolus : any > : ^^^ >caurinus : any @@ -5216,7 +5216,7 @@ module lavali { onca() : sagitta.stolzmanni { var x : sagitta.stolzmanni; () => { var y = this; }; return x; } >onca : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -5234,7 +5234,7 @@ module lavali { gunnii() : minutus.himalayana, nigra.thalia> { var x : minutus.himalayana, nigra.thalia>; () => { var y = this; }; return x; } >gunnii : () => minutus.himalayana, nigra.thalia> -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >howi : any @@ -5272,7 +5272,7 @@ module lavali { apeco() : lutreolus.foina { var x : lutreolus.foina; () => { var y = this; }; return x; } >apeco : () => lutreolus.foina -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.foina @@ -5290,7 +5290,7 @@ module lavali { variegates() : gabriellae.klossii { var x : gabriellae.klossii; () => { var y = this; }; return x; } >variegates : () => gabriellae.klossii -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >julianae : any @@ -5312,7 +5312,7 @@ module lavali { goudotii() : trivirgatus.falconeri { var x : trivirgatus.falconeri; () => { var y = this; }; return x; } >goudotii : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -5330,7 +5330,7 @@ module lavali { pohlei() : Lanthanum.megalonyx { var x : Lanthanum.megalonyx; () => { var y = this; }; return x; } >pohlei : () => Lanthanum.megalonyx -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.megalonyx @@ -5348,7 +5348,7 @@ module lavali { ineptus() : panamensis.setulosus { var x : panamensis.setulosus; () => { var y = this; }; return x; } >ineptus : () => panamensis.setulosus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >x : panamensis.setulosus @@ -5366,7 +5366,7 @@ module lavali { euryotis() : rendalli.moojeni> { var x : rendalli.moojeni>; () => { var y = this; }; return x; } >euryotis : () => rendalli.moojeni> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >julianae : any @@ -5400,7 +5400,7 @@ module lavali { maurisca() : Lanthanum.suillus { var x : Lanthanum.suillus; () => { var y = this; }; return x; } >maurisca : () => Lanthanum.suillus -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >rionegrensis : any @@ -5426,7 +5426,7 @@ module lavali { coyhaiquensis() : caurinus.mahaganus, panglima.abidi>, lutreolus.punicus> { var x : caurinus.mahaganus, panglima.abidi>, lutreolus.punicus>; () => { var y = this; }; return x; } >coyhaiquensis : () => caurinus.mahaganus, panglima.abidi>, lutreolus.punicus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >dammermani : any @@ -5486,7 +5486,7 @@ module lavali { coromandra() : julianae.galapagoensis { var x : julianae.galapagoensis; () => { var y = this; }; return x; } >coromandra : () => julianae.galapagoensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.galapagoensis @@ -5504,7 +5504,7 @@ module lavali { parvipes() : nigra.dolichurus { var x : nigra.dolichurus; () => { var y = this; }; return x; } >parvipes : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >argurus : any @@ -5530,7 +5530,7 @@ module lavali { sponsorius() : rionegrensis.veraecrucis, julianae.steerii> { var x : rionegrensis.veraecrucis, julianae.steerii>; () => { var y = this; }; return x; } >sponsorius : () => rionegrensis.veraecrucis, julianae.steerii> -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >chrysaeolus : any @@ -5564,7 +5564,7 @@ module lavali { vates() : dogramacii.robustulus { var x : dogramacii.robustulus; () => { var y = this; }; return x; } >vates : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -5582,7 +5582,7 @@ module lavali { roosmalenorum() : dogramacii.koepckeae { var x : dogramacii.koepckeae; () => { var y = this; }; return x; } >roosmalenorum : () => dogramacii.koepckeae -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.koepckeae @@ -5600,7 +5600,7 @@ module lavali { rubicola() : rendalli.moojeni, gabriellae.echinatus>> { var x : rendalli.moojeni, gabriellae.echinatus>>; () => { var y = this; }; return x; } >rubicola : () => rendalli.moojeni, gabriellae.echinatus>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >rionegrensis : any @@ -5642,7 +5642,7 @@ module lavali { ikonnikovi() : argurus.luctuosa { var x : argurus.luctuosa; () => { var y = this; }; return x; } >ikonnikovi : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -5660,7 +5660,7 @@ module lavali { paramicrus() : imperfecta.ciliolabrum> { var x : imperfecta.ciliolabrum>; () => { var y = this; }; return x; } >paramicrus : () => imperfecta.ciliolabrum> -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >petrophilus : any @@ -5704,7 +5704,7 @@ module lavali { ferrumequinum() : argurus.netscheri { var x : argurus.netscheri; () => { var y = this; }; return x; } >ferrumequinum : () => argurus.netscheri -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >argurus : any @@ -5730,7 +5730,7 @@ module lavali { aequalis() : sagitta.cinereus>, petrophilus.minutilla>, Lanthanum.jugularis> { var x : sagitta.cinereus>, petrophilus.minutilla>, Lanthanum.jugularis>; () => { var y = this; }; return x; } >aequalis : () => sagitta.cinereus>, petrophilus.minutilla>, Lanthanum.jugularis> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >petrophilus : any @@ -5791,7 +5791,7 @@ module dogramacii { fossor() : minutus.inez { var x : minutus.inez; () => { var y = this; }; return x; } >fossor : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >argurus : any @@ -5817,7 +5817,7 @@ module dogramacii { humboldti() : sagitta.cinereus { var x : sagitta.cinereus; () => { var y = this; }; return x; } >humboldti : () => sagitta.cinereus -> : ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >lavali : any @@ -5843,7 +5843,7 @@ module dogramacii { mexicana() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; } >mexicana : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -5861,7 +5861,7 @@ module dogramacii { martini() : julianae.oralis { var x : julianae.oralis; () => { var y = this; }; return x; } >martini : () => julianae.oralis -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >julianae : any @@ -5887,7 +5887,7 @@ module dogramacii { beatus() : Lanthanum.jugularis { var x : Lanthanum.jugularis; () => { var y = this; }; return x; } >beatus : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -5905,7 +5905,7 @@ module dogramacii { leporina() : trivirgatus.falconeri { var x : trivirgatus.falconeri; () => { var y = this; }; return x; } >leporina : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -5923,7 +5923,7 @@ module dogramacii { pearsonii() : dammermani.melanops { var x : dammermani.melanops; () => { var y = this; }; return x; } >pearsonii : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -5941,7 +5941,7 @@ module dogramacii { keaysi() : howi.angulatus { var x : howi.angulatus; () => { var y = this; }; return x; } >keaysi : () => howi.angulatus -> : ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >lavali : any @@ -5967,7 +5967,7 @@ module dogramacii { hindei() : imperfecta.lasiurus { var x : imperfecta.lasiurus; () => { var y = this; }; return x; } >hindei : () => imperfecta.lasiurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >macrorhinos : any @@ -5997,7 +5997,7 @@ module dogramacii { culturatus() : samarensis.pelurus, julianae.sumatrana> { var x : samarensis.pelurus, julianae.sumatrana>; () => { var y = this; }; return x; } >culturatus : () => samarensis.pelurus, julianae.sumatrana> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >daubentonii : any @@ -6031,7 +6031,7 @@ module dogramacii { bedfordiae() : quasiater.carolinensis { var x : quasiater.carolinensis; () => { var y = this; }; return x; } >bedfordiae : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -6049,7 +6049,7 @@ module dogramacii { paramorum() : Lanthanum.megalonyx { var x : Lanthanum.megalonyx; () => { var y = this; }; return x; } >paramorum : () => Lanthanum.megalonyx -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.megalonyx @@ -6067,7 +6067,7 @@ module dogramacii { rubidus() : trivirgatus.lotor { var x : trivirgatus.lotor; () => { var y = this; }; return x; } >rubidus : () => trivirgatus.lotor -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >julianae : any @@ -6093,7 +6093,7 @@ module dogramacii { juninensis() : quasiater.bobrinskoi { var x : quasiater.bobrinskoi; () => { var y = this; }; return x; } >juninensis : () => quasiater.bobrinskoi -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.bobrinskoi @@ -6111,7 +6111,7 @@ module dogramacii { marginata() : argurus.wetmorei>> { var x : argurus.wetmorei>>; () => { var y = this; }; return x; } >marginata : () => argurus.wetmorei>> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >rionegrensis : any @@ -6153,7 +6153,7 @@ module dogramacii { Meitnerium() : ruatanica.Praseodymium> { var x : ruatanica.Praseodymium>; () => { var y = this; }; return x; } >Meitnerium : () => ruatanica.Praseodymium> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >julianae : any @@ -6187,7 +6187,7 @@ module dogramacii { pinetorum() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >pinetorum : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -6205,7 +6205,7 @@ module dogramacii { hoolock() : samarensis.pelurus { var x : samarensis.pelurus; () => { var y = this; }; return x; } >hoolock : () => samarensis.pelurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >argurus : any @@ -6231,7 +6231,7 @@ module dogramacii { poeyi() : gabriellae.echinatus { var x : gabriellae.echinatus; () => { var y = this; }; return x; } >poeyi : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -6249,7 +6249,7 @@ module dogramacii { Thulium() : julianae.durangae { var x : julianae.durangae; () => { var y = this; }; return x; } >Thulium : () => julianae.durangae -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.durangae @@ -6267,7 +6267,7 @@ module dogramacii { patrius() : Lanthanum.jugularis { var x : Lanthanum.jugularis; () => { var y = this; }; return x; } >patrius : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -6285,7 +6285,7 @@ module dogramacii { quadraticauda() : julianae.nudicaudus { var x : julianae.nudicaudus; () => { var y = this; }; return x; } >quadraticauda : () => julianae.nudicaudus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.nudicaudus @@ -6303,7 +6303,7 @@ module dogramacii { ater() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; } >ater : () => ruatanica.americanus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >x : ruatanica.americanus @@ -6325,7 +6325,7 @@ module dogramacii { grunniens() : nigra.gracilis, julianae.sumatrana>, ruatanica.americanus> { var x : nigra.gracilis, julianae.sumatrana>, ruatanica.americanus>; () => { var y = this; }; return x; } >grunniens : () => nigra.gracilis, julianae.sumatrana>, ruatanica.americanus> -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >samarensis : any @@ -6363,7 +6363,7 @@ module dogramacii { howensis() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; } >howensis : () => ruatanica.americanus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >x : ruatanica.americanus @@ -6381,7 +6381,7 @@ module dogramacii { karlkoopmani() : caurinus.psilurus { var x : caurinus.psilurus; () => { var y = this; }; return x; } >karlkoopmani : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -6399,7 +6399,7 @@ module dogramacii { mirapitanga() : julianae.albidens { var x : julianae.albidens; () => { var y = this; }; return x; } >mirapitanga : () => julianae.albidens -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >gabriellae : any @@ -6425,7 +6425,7 @@ module dogramacii { ophiodon() : aurata { var x : aurata; () => { var y = this; }; return x; } >ophiodon : () => aurata -> : ^^^^^^^^^^^^ +> : ^^^^^^ >x : aurata > : ^^^^^^ >() => { var y = this; } : () => void @@ -6439,7 +6439,7 @@ module dogramacii { landeri() : samarensis.pelurus { var x : samarensis.pelurus; () => { var y = this; }; return x; } >landeri : () => samarensis.pelurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >Lanthanum : any @@ -6465,7 +6465,7 @@ module dogramacii { sonomae() : trivirgatus.lotor, koepckeae> { var x : trivirgatus.lotor, koepckeae>; () => { var y = this; }; return x; } >sonomae : () => trivirgatus.lotor, koepckeae> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >panglima : any @@ -6495,7 +6495,7 @@ module dogramacii { erythromos() : caurinus.johorensis, nigra.dolichurus> { var x : caurinus.johorensis, nigra.dolichurus>; () => { var y = this; }; return x; } >erythromos : () => caurinus.johorensis, nigra.dolichurus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >panglima : any @@ -6552,7 +6552,7 @@ module lutreolus { mittendorfi() : rionegrensis.caniventer { var x : rionegrensis.caniventer; () => { var y = this; }; return x; } >mittendorfi : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -6570,7 +6570,7 @@ module lutreolus { blicki() : dogramacii.robustulus { var x : dogramacii.robustulus; () => { var y = this; }; return x; } >blicki : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -6588,7 +6588,7 @@ module lutreolus { culionensis() : argurus.dauricus { var x : argurus.dauricus; () => { var y = this; }; return x; } >culionensis : () => argurus.dauricus -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >ruatanica : any @@ -6614,7 +6614,7 @@ module lutreolus { scrofa() : petrophilus.sodyi { var x : petrophilus.sodyi; () => { var y = this; }; return x; } >scrofa : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >gabriellae : any @@ -6640,7 +6640,7 @@ module lutreolus { fernandoni() : quasiater.carolinensis { var x : quasiater.carolinensis; () => { var y = this; }; return x; } >fernandoni : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -6658,7 +6658,7 @@ module lutreolus { Tin() : sagitta.leptoceros> { var x : sagitta.leptoceros>; () => { var y = this; }; return x; } >Tin : () => sagitta.leptoceros> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >lutreolus : any @@ -6692,7 +6692,7 @@ module lutreolus { marmorata() : panamensis.setulosus> { var x : panamensis.setulosus>; () => { var y = this; }; return x; } >marmorata : () => panamensis.setulosus> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >quasiater : any @@ -6726,7 +6726,7 @@ module lutreolus { tavaratra() : Lanthanum.nitidus { var x : Lanthanum.nitidus; () => { var y = this; }; return x; } >tavaratra : () => Lanthanum.nitidus -> : ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >howi : any @@ -6752,7 +6752,7 @@ module lutreolus { peregrina() : daubentonii.nesiotes { var x : daubentonii.nesiotes; () => { var y = this; }; return x; } >peregrina : () => daubentonii.nesiotes -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >macrorhinos : any @@ -6778,7 +6778,7 @@ module lutreolus { frontalis() : macrorhinos.marmosurus>, samarensis.pallidus> { var x : macrorhinos.marmosurus>, samarensis.pallidus>; () => { var y = this; }; return x; } >frontalis : () => macrorhinos.marmosurus>, samarensis.pallidus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >ruatanica : any @@ -6820,7 +6820,7 @@ module lutreolus { cuniculus() : patas.uralensis { var x : patas.uralensis; () => { var y = this; }; return x; } >cuniculus : () => patas.uralensis -> : ^^^^^^^^^^^ +> : ^^^^^^ >patas : any > : ^^^ >x : patas.uralensis @@ -6838,7 +6838,7 @@ module lutreolus { magdalenae() : julianae.gerbillus> { var x : julianae.gerbillus>; () => { var y = this; }; return x; } >magdalenae : () => julianae.gerbillus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >rionegrensis : any @@ -6872,7 +6872,7 @@ module lutreolus { andamanensis() : julianae.oralis { var x : julianae.oralis; () => { var y = this; }; return x; } >andamanensis : () => julianae.oralis -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >ruatanica : any @@ -6898,7 +6898,7 @@ module lutreolus { dispar() : panamensis.linulus { var x : panamensis.linulus; () => { var y = this; }; return x; } >dispar : () => panamensis.linulus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >dogramacii : any @@ -6933,7 +6933,7 @@ module argurus { chinensis() : Lanthanum.jugularis { var x : Lanthanum.jugularis; () => { var y = this; }; return x; } >chinensis : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -6951,7 +6951,7 @@ module argurus { duodecimcostatus() : lavali.xanthognathus { var x : lavali.xanthognathus; () => { var y = this; }; return x; } >duodecimcostatus : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -6969,7 +6969,7 @@ module argurus { foxi() : daubentonii.nesiotes { var x : daubentonii.nesiotes; () => { var y = this; }; return x; } >foxi : () => daubentonii.nesiotes -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >lavali : any @@ -6995,7 +6995,7 @@ module argurus { macleayii() : petrophilus.sodyi>, petrophilus.minutilla> { var x : petrophilus.sodyi>, petrophilus.minutilla>; () => { var y = this; }; return x; } >macleayii : () => petrophilus.sodyi>, petrophilus.minutilla> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >quasiater : any @@ -7037,7 +7037,7 @@ module argurus { darienensis() : trivirgatus.oconnelli { var x : trivirgatus.oconnelli; () => { var y = this; }; return x; } >darienensis : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -7055,7 +7055,7 @@ module argurus { hardwickii() : macrorhinos.daphaenodon { var x : macrorhinos.daphaenodon; () => { var y = this; }; return x; } >hardwickii : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -7073,7 +7073,7 @@ module argurus { albifrons() : rionegrensis.veraecrucis { var x : rionegrensis.veraecrucis; () => { var y = this; }; return x; } >albifrons : () => rionegrensis.veraecrucis -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >lavali : any @@ -7099,7 +7099,7 @@ module argurus { jacobitus() : caurinus.johorensis>> { var x : caurinus.johorensis>>; () => { var y = this; }; return x; } >jacobitus : () => caurinus.johorensis>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >macrorhinos : any @@ -7141,7 +7141,7 @@ module argurus { guentheri() : rendalli.moojeni { var x : rendalli.moojeni; () => { var y = this; }; return x; } >guentheri : () => rendalli.moojeni -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >lutreolus : any @@ -7167,7 +7167,7 @@ module argurus { mahomet() : imperfecta.ciliolabrum { var x : imperfecta.ciliolabrum; () => { var y = this; }; return x; } >mahomet : () => imperfecta.ciliolabrum -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >argurus : any @@ -7193,7 +7193,7 @@ module argurus { misionensis() : macrorhinos.marmosurus, gabriellae.echinatus> { var x : macrorhinos.marmosurus, gabriellae.echinatus>; () => { var y = this; }; return x; } >misionensis : () => macrorhinos.marmosurus, gabriellae.echinatus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >daubentonii : any @@ -7236,7 +7236,7 @@ module nigra { solomonis() : panglima.abidi, argurus.netscheri, julianae.oralis>>> { var x : panglima.abidi, argurus.netscheri, julianae.oralis>>>; () => { var y = this; }; return x; } >solomonis : () => panglima.abidi, argurus.netscheri, julianae.oralis>>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >quasiater : any @@ -7302,7 +7302,7 @@ module nigra { alfredi() : caurinus.psilurus { var x : caurinus.psilurus; () => { var y = this; }; return x; } >alfredi : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -7320,7 +7320,7 @@ module nigra { morrisi() : ruatanica.hector, quasiater.wattsi>>> { var x : ruatanica.hector, quasiater.wattsi>>>; () => { var y = this; }; return x; } >morrisi : () => ruatanica.hector, quasiater.wattsi>>> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >trivirgatus : any @@ -7378,7 +7378,7 @@ module nigra { lekaguli() : Lanthanum.nitidus { var x : Lanthanum.nitidus; () => { var y = this; }; return x; } >lekaguli : () => Lanthanum.nitidus -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >dammermani : any @@ -7404,7 +7404,7 @@ module nigra { dimissus() : imperfecta.subspinosus { var x : imperfecta.subspinosus; () => { var y = this; }; return x; } >dimissus : () => imperfecta.subspinosus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >x : imperfecta.subspinosus @@ -7422,7 +7422,7 @@ module nigra { phaeotis() : julianae.sumatrana { var x : julianae.sumatrana; () => { var y = this; }; return x; } >phaeotis : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -7440,7 +7440,7 @@ module nigra { ustus() : julianae.acariensis { var x : julianae.acariensis; () => { var y = this; }; return x; } >ustus : () => julianae.acariensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.acariensis @@ -7458,7 +7458,7 @@ module nigra { sagei() : howi.marcanoi { var x : howi.marcanoi; () => { var y = this; }; return x; } >sagei : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -7499,7 +7499,7 @@ module panglima { bottegi(): macrorhinos.marmosurus, gabriellae.echinatus>, sagitta.stolzmanni> { var x: macrorhinos.marmosurus, gabriellae.echinatus>, sagitta.stolzmanni>; () => { var y = this; }; return x; } >bottegi : () => macrorhinos.marmosurus, gabriellae.echinatus>, sagitta.stolzmanni> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >rendalli : any @@ -7537,7 +7537,7 @@ module panglima { jerdoni(): macrorhinos.daphaenodon { var x: macrorhinos.daphaenodon; () => { var y = this; }; return x; } >jerdoni : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -7555,7 +7555,7 @@ module panglima { camtschatica(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; } >camtschatica : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -7573,7 +7573,7 @@ module panglima { spadix(): petrophilus.sodyi { var x: petrophilus.sodyi; () => { var y = this; }; return x; } >spadix : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >macrorhinos : any @@ -7599,7 +7599,7 @@ module panglima { luismanueli(): rendalli.moojeni { var x: rendalli.moojeni; () => { var y = this; }; return x; } >luismanueli : () => rendalli.moojeni -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >julianae : any @@ -7625,7 +7625,7 @@ module panglima { aceramarcae(): daubentonii.arboreus { var x: daubentonii.arboreus; () => { var y = this; }; return x; } >aceramarcae : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >julianae : any @@ -7661,7 +7661,7 @@ module panglima { crassulus(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >crassulus : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >provocax : any @@ -7687,7 +7687,7 @@ module panglima { flamarioni(): imperfecta.lasiurus>, sagitta.leptoceros>> { var x: imperfecta.lasiurus>, sagitta.leptoceros>>; () => { var y = this; }; return x; } >flamarioni : () => imperfecta.lasiurus>, sagitta.leptoceros>> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >patas : any @@ -7741,7 +7741,7 @@ module panglima { mirabilis(): macrorhinos.marmosurus, lavali.lepturus> { var x: macrorhinos.marmosurus, lavali.lepturus>; () => { var y = this; }; return x; } >mirabilis : () => macrorhinos.marmosurus, lavali.lepturus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >petrophilus : any @@ -7789,7 +7789,7 @@ module panglima { greyii(): trivirgatus.oconnelli { var x: trivirgatus.oconnelli; () => { var y = this; }; return x; } >greyii : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -7807,7 +7807,7 @@ module panglima { macedonicus(): petrophilus.minutilla { var x: petrophilus.minutilla; () => { var y = this; }; return x; } >macedonicus : () => petrophilus.minutilla -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >x : petrophilus.minutilla @@ -7825,7 +7825,7 @@ module panglima { galili(): samarensis.cahirinus { var x: samarensis.cahirinus; () => { var y = this; }; return x; } >galili : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >dammermani : any @@ -7851,7 +7851,7 @@ module panglima { thierryi(): dogramacii.robustulus { var x: dogramacii.robustulus; () => { var y = this; }; return x; } >thierryi : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -7869,7 +7869,7 @@ module panglima { ega(): imperfecta.lasiurus> { var x: imperfecta.lasiurus>; () => { var y = this; }; return x; } >ega : () => imperfecta.lasiurus> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >julianae : any @@ -7912,7 +7912,7 @@ module quasiater { concinna(): rendalli.zuluensis { var x: rendalli.zuluensis; () => { var y = this; }; return x; } >concinna : () => rendalli.zuluensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >x : rendalli.zuluensis @@ -7930,7 +7930,7 @@ module quasiater { aeneus(): howi.marcanoi { var x: howi.marcanoi; () => { var y = this; }; return x; } >aeneus : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -7948,7 +7948,7 @@ module quasiater { aloysiisabaudiae(): argurus.netscheri, lavali.lepturus> { var x: argurus.netscheri, lavali.lepturus>; () => { var y = this; }; return x; } >aloysiisabaudiae : () => argurus.netscheri, lavali.lepturus> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >trivirgatus : any @@ -7982,7 +7982,7 @@ module quasiater { tenellus(): julianae.nudicaudus { var x: julianae.nudicaudus; () => { var y = this; }; return x; } >tenellus : () => julianae.nudicaudus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.nudicaudus @@ -8000,7 +8000,7 @@ module quasiater { andium(): lavali.beisa { var x: lavali.beisa; () => { var y = this; }; return x; } >andium : () => lavali.beisa -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.beisa @@ -8018,7 +8018,7 @@ module quasiater { persephone(): panglima.fundatus { var x: panglima.fundatus; () => { var y = this; }; return x; } >persephone : () => panglima.fundatus -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >samarensis : any @@ -8044,7 +8044,7 @@ module quasiater { patrizii(): Lanthanum.megalonyx { var x: Lanthanum.megalonyx; () => { var y = this; }; return x; } >patrizii : () => Lanthanum.megalonyx -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.megalonyx @@ -8077,7 +8077,7 @@ module minutus { simoni(): argurus.netscheri> { var x: argurus.netscheri>; () => { var y = this; }; return x; } >simoni : () => argurus.netscheri> -> : ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >lavali : any @@ -8111,7 +8111,7 @@ module minutus { lobata(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; } >lobata : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -8129,7 +8129,7 @@ module minutus { rusticus(): dogramacii.aurata { var x: dogramacii.aurata; () => { var y = this; }; return x; } >rusticus : () => dogramacii.aurata -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.aurata @@ -8147,7 +8147,7 @@ module minutus { latona(): daubentonii.nesiotes { var x: daubentonii.nesiotes; () => { var y = this; }; return x; } >latona : () => daubentonii.nesiotes -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >dammermani : any @@ -8173,7 +8173,7 @@ module minutus { famulus(): patas.uralensis { var x: patas.uralensis; () => { var y = this; }; return x; } >famulus : () => patas.uralensis -> : ^^^^^^^^^^^ +> : ^^^^^^ >patas : any > : ^^^ >x : patas.uralensis @@ -8191,7 +8191,7 @@ module minutus { flaviceps(): minutus.inez> { var x: minutus.inez>; () => { var y = this; }; return x; } >flaviceps : () => minutus.inez> -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >argurus : any @@ -8225,7 +8225,7 @@ module minutus { paradoxolophus(): nigra.dolichurus> { var x: nigra.dolichurus>; () => { var y = this; }; return x; } >paradoxolophus : () => nigra.dolichurus> -> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >lutreolus : any @@ -8259,7 +8259,7 @@ module minutus { Osmium(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >Osmium : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -8277,7 +8277,7 @@ module minutus { vulgaris(): Lanthanum.nitidus { var x: Lanthanum.nitidus; () => { var y = this; }; return x; } >vulgaris : () => Lanthanum.nitidus -> : ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >lavali : any @@ -8303,7 +8303,7 @@ module minutus { betsileoensis(): panglima.amphibius { var x: panglima.amphibius; () => { var y = this; }; return x; } >betsileoensis : () => panglima.amphibius -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >caurinus : any @@ -8329,7 +8329,7 @@ module minutus { vespuccii(): argurus.gilbertii, provocax.melanoleuca> { var x: argurus.gilbertii, provocax.melanoleuca>; () => { var y = this; }; return x; } >vespuccii : () => argurus.gilbertii, provocax.melanoleuca> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >gabriellae : any @@ -8363,7 +8363,7 @@ module minutus { olympus(): Lanthanum.megalonyx { var x: Lanthanum.megalonyx; () => { var y = this; }; return x; } >olympus : () => Lanthanum.megalonyx -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.megalonyx @@ -8400,7 +8400,7 @@ module caurinus { martiniquensis(): ruatanica.hector>> { var x: ruatanica.hector>>; () => { var y = this; }; return x; } >martiniquensis : () => ruatanica.hector>> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >julianae : any @@ -8442,7 +8442,7 @@ module caurinus { devius(): samarensis.pelurus, trivirgatus.falconeri>> { var x: samarensis.pelurus, trivirgatus.falconeri>>; () => { var y = this; }; return x; } >devius : () => samarensis.pelurus, trivirgatus.falconeri>> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >dogramacii : any @@ -8484,7 +8484,7 @@ module caurinus { masalai(): argurus.oreas { var x: argurus.oreas; () => { var y = this; }; return x; } >masalai : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -8502,7 +8502,7 @@ module caurinus { kathleenae(): nigra.dolichurus { var x: nigra.dolichurus; () => { var y = this; }; return x; } >kathleenae : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >patas : any @@ -8528,7 +8528,7 @@ module caurinus { simulus(): gabriellae.echinatus { var x: gabriellae.echinatus; () => { var y = this; }; return x; } >simulus : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -8546,7 +8546,7 @@ module caurinus { nigrovittatus(): caurinus.mahaganus>> { var x: caurinus.mahaganus>>; () => { var y = this; }; return x; } >nigrovittatus : () => caurinus.mahaganus>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >gabriellae : any @@ -8588,7 +8588,7 @@ module caurinus { senegalensis(): gabriellae.klossii, dammermani.melanops> { var x: gabriellae.klossii, dammermani.melanops>; () => { var y = this; }; return x; } >senegalensis : () => gabriellae.klossii, dammermani.melanops> -> : ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >howi : any @@ -8622,7 +8622,7 @@ module caurinus { acticola(): argurus.luctuosa { var x: argurus.luctuosa; () => { var y = this; }; return x; } >acticola : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -8649,7 +8649,7 @@ module macrorhinos { tansaniana(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >tansaniana : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -8682,7 +8682,7 @@ module howi { pennatus(): howi.marcanoi { var x: howi.marcanoi; () => { var y = this; }; return x; } >pennatus : () => howi.marcanoi -> : ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : marcanoi @@ -8718,7 +8718,7 @@ module nigra { dichotomus(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >dichotomus : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -8736,7 +8736,7 @@ module nigra { arnuxii(): panamensis.linulus, lavali.beisa> { var x: panamensis.linulus, lavali.beisa>; () => { var y = this; }; return x; } >arnuxii : () => panamensis.linulus, lavali.beisa> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >trivirgatus : any @@ -8770,7 +8770,7 @@ module nigra { verheyeni(): lavali.xanthognathus { var x: lavali.xanthognathus; () => { var y = this; }; return x; } >verheyeni : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -8788,7 +8788,7 @@ module nigra { dauuricus(): gabriellae.amicus { var x: gabriellae.amicus; () => { var y = this; }; return x; } >dauuricus : () => gabriellae.amicus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.amicus @@ -8806,7 +8806,7 @@ module nigra { tristriatus(): rionegrensis.veraecrucis> { var x: rionegrensis.veraecrucis>; () => { var y = this; }; return x; } >tristriatus : () => rionegrensis.veraecrucis> -> : ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >howi : any @@ -8840,7 +8840,7 @@ module nigra { lasiura(): panglima.abidi>, Lanthanum.nitidus> { var x: panglima.abidi>, Lanthanum.nitidus>; () => { var y = this; }; return x; } >lasiura : () => panglima.abidi>, Lanthanum.nitidus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >samarensis : any @@ -8890,7 +8890,7 @@ module nigra { gangetica(): argurus.luctuosa { var x: argurus.luctuosa; () => { var y = this; }; return x; } >gangetica : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -8908,7 +8908,7 @@ module nigra { brucei(): chrysaeolus.sarasinorum { var x: chrysaeolus.sarasinorum; () => { var y = this; }; return x; } >brucei : () => chrysaeolus.sarasinorum -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >chrysaeolus : any > : ^^^ >julianae : any @@ -8949,7 +8949,7 @@ module sagitta { maracajuensis(): samarensis.cahirinus { var x: samarensis.cahirinus; () => { var y = this; }; return x; } >maracajuensis : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >Lanthanum : any @@ -8994,7 +8994,7 @@ module minutus { vexillaris(): samarensis.cahirinus { var x: samarensis.cahirinus; () => { var y = this; }; return x; } >vexillaris : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >lavali : any @@ -9062,7 +9062,7 @@ module panamensis { goslingi(): daubentonii.arboreus { var x: daubentonii.arboreus; () => { var y = this; }; return x; } >goslingi : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >gabriellae : any @@ -9088,7 +9088,7 @@ module panamensis { taki(): patas.uralensis { var x: patas.uralensis; () => { var y = this; }; return x; } >taki : () => patas.uralensis -> : ^^^^^^^^^^^ +> : ^^^^^^ >patas : any > : ^^^ >x : patas.uralensis @@ -9106,7 +9106,7 @@ module panamensis { fumosus(): rendalli.moojeni, lavali.beisa> { var x: rendalli.moojeni, lavali.beisa>; () => { var y = this; }; return x; } >fumosus : () => rendalli.moojeni, lavali.beisa> -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >argurus : any @@ -9140,7 +9140,7 @@ module panamensis { rufinus(): macrorhinos.konganensis { var x: macrorhinos.konganensis; () => { var y = this; }; return x; } >rufinus : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -9158,7 +9158,7 @@ module panamensis { lami(): nigra.thalia { var x: nigra.thalia; () => { var y = this; }; return x; } >lami : () => nigra.thalia -> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >patas : any @@ -9184,7 +9184,7 @@ module panamensis { regina(): trivirgatus.oconnelli { var x: trivirgatus.oconnelli; () => { var y = this; }; return x; } >regina : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -9202,7 +9202,7 @@ module panamensis { nanilla(): dammermani.siberu { var x: dammermani.siberu; () => { var y = this; }; return x; } >nanilla : () => dammermani.siberu -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >lavali : any @@ -9228,7 +9228,7 @@ module panamensis { enganus(): petrophilus.sodyi { var x: petrophilus.sodyi; () => { var y = this; }; return x; } >enganus : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >dogramacii : any @@ -9254,7 +9254,7 @@ module panamensis { gomantongensis(): rionegrensis.veraecrucis> { var x: rionegrensis.veraecrucis>; () => { var y = this; }; return x; } >gomantongensis : () => rionegrensis.veraecrucis> -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >caurinus : any @@ -9297,7 +9297,7 @@ module nigra { weddellii(): nigra.dolichurus { var x: nigra.dolichurus; () => { var y = this; }; return x; } >weddellii : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >dogramacii : any @@ -9323,7 +9323,7 @@ module nigra { echinothrix(): Lanthanum.nitidus, argurus.oreas> { var x: Lanthanum.nitidus, argurus.oreas>; () => { var y = this; }; return x; } >echinothrix : () => Lanthanum.nitidus, argurus.oreas> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >panglima : any @@ -9357,7 +9357,7 @@ module nigra { garridoi(): dogramacii.koepckeae { var x: dogramacii.koepckeae; () => { var y = this; }; return x; } >garridoi : () => dogramacii.koepckeae -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.koepckeae @@ -9375,7 +9375,7 @@ module nigra { rouxii(): nigra.gracilis, nigra.thalia> { var x: nigra.gracilis, nigra.thalia>; () => { var y = this; }; return x; } >rouxii : () => nigra.gracilis, nigra.thalia> -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >argurus : any @@ -9417,7 +9417,7 @@ module nigra { aurita(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >aurita : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -9435,7 +9435,7 @@ module nigra { geoffrensis(): rionegrensis.caniventer { var x: rionegrensis.caniventer; () => { var y = this; }; return x; } >geoffrensis : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -9453,7 +9453,7 @@ module nigra { theresa(): macrorhinos.marmosurus, argurus.luctuosa>, nigra.dolichurus> { var x: macrorhinos.marmosurus, argurus.luctuosa>, nigra.dolichurus>; () => { var y = this; }; return x; } >theresa : () => macrorhinos.marmosurus, argurus.luctuosa>, nigra.dolichurus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >argurus : any @@ -9503,7 +9503,7 @@ module nigra { melanocarpus(): julianae.albidens, julianae.sumatrana> { var x: julianae.albidens, julianae.sumatrana>; () => { var y = this; }; return x; } >melanocarpus : () => julianae.albidens, julianae.sumatrana> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >dammermani : any @@ -9537,7 +9537,7 @@ module nigra { dubiaquercus(): dogramacii.robustulus { var x: dogramacii.robustulus; () => { var y = this; }; return x; } >dubiaquercus : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -9555,7 +9555,7 @@ module nigra { pectoralis(): julianae.sumatrana { var x: julianae.sumatrana; () => { var y = this; }; return x; } >pectoralis : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -9573,7 +9573,7 @@ module nigra { apoensis(): caurinus.megaphyllus { var x: caurinus.megaphyllus; () => { var y = this; }; return x; } >apoensis : () => caurinus.megaphyllus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.megaphyllus @@ -9591,7 +9591,7 @@ module nigra { grisescens(): Lanthanum.jugularis { var x: Lanthanum.jugularis; () => { var y = this; }; return x; } >grisescens : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -9609,7 +9609,7 @@ module nigra { ramirohitra(): panglima.amphibius { var x: panglima.amphibius; () => { var y = this; }; return x; } >ramirohitra : () => panglima.amphibius -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >trivirgatus : any @@ -9650,7 +9650,7 @@ module samarensis { Palladium(): panamensis.linulus { var x: panamensis.linulus; () => { var y = this; }; return x; } >Palladium : () => panamensis.linulus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >macrorhinos : any @@ -9676,7 +9676,7 @@ module samarensis { castanea(): argurus.netscheri, julianae.oralis> { var x: argurus.netscheri, julianae.oralis>; () => { var y = this; }; return x; } >castanea : () => argurus.netscheri, julianae.oralis> -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >minutus : any @@ -9718,7 +9718,7 @@ module samarensis { chamek(): argurus.pygmaea { var x: argurus.pygmaea; () => { var y = this; }; return x; } >chamek : () => argurus.pygmaea -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >julianae : any @@ -9744,7 +9744,7 @@ module samarensis { nigriceps(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >nigriceps : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -9762,7 +9762,7 @@ module samarensis { lunatus(): pelurus { var x: pelurus; () => { var y = this; }; return x; } >lunatus : () => pelurus -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >sagitta : any @@ -9784,7 +9784,7 @@ module samarensis { madurae(): rionegrensis.caniventer { var x: rionegrensis.caniventer; () => { var y = this; }; return x; } >madurae : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -9802,7 +9802,7 @@ module samarensis { chinchilla(): macrorhinos.daphaenodon { var x: macrorhinos.daphaenodon; () => { var y = this; }; return x; } >chinchilla : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -9820,7 +9820,7 @@ module samarensis { eliasi(): petrophilus.rosalia { var x: petrophilus.rosalia; () => { var y = this; }; return x; } >eliasi : () => petrophilus.rosalia -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >julianae : any @@ -9846,7 +9846,7 @@ module samarensis { proditor(): panamensis.setulosus { var x: panamensis.setulosus; () => { var y = this; }; return x; } >proditor : () => panamensis.setulosus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >gabriellae : any @@ -9872,7 +9872,7 @@ module samarensis { gambianus(): quasiater.wattsi> { var x: quasiater.wattsi>; () => { var y = this; }; return x; } >gambianus : () => quasiater.wattsi> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >julianae : any @@ -9906,7 +9906,7 @@ module samarensis { petteri(): dogramacii.kaiseri { var x: dogramacii.kaiseri; () => { var y = this; }; return x; } >petteri : () => dogramacii.kaiseri -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.kaiseri @@ -9924,7 +9924,7 @@ module samarensis { nusatenggara(): panglima.amphibius { var x: panglima.amphibius; () => { var y = this; }; return x; } >nusatenggara : () => panglima.amphibius -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >lavali : any @@ -9950,7 +9950,7 @@ module samarensis { olitor(): rionegrensis.veraecrucis { var x: rionegrensis.veraecrucis; () => { var y = this; }; return x; } >olitor : () => rionegrensis.veraecrucis -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >lavali : any @@ -9986,7 +9986,7 @@ module samarensis { planifrons(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >planifrons : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >julianae : any @@ -10012,7 +10012,7 @@ module samarensis { badia(): julianae.sumatrana { var x: julianae.sumatrana; () => { var y = this; }; return x; } >badia : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -10030,7 +10030,7 @@ module samarensis { prymnolopha(): sagitta.walkeri { var x: sagitta.walkeri; () => { var y = this; }; return x; } >prymnolopha : () => sagitta.walkeri -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.walkeri @@ -10048,7 +10048,7 @@ module samarensis { natalensis(): trivirgatus.falconeri { var x: trivirgatus.falconeri; () => { var y = this; }; return x; } >natalensis : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -10066,7 +10066,7 @@ module samarensis { hunteri(): julianae.durangae { var x: julianae.durangae; () => { var y = this; }; return x; } >hunteri : () => julianae.durangae -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.durangae @@ -10084,7 +10084,7 @@ module samarensis { sapiens(): pallidus { var x: pallidus; () => { var y = this; }; return x; } >sapiens : () => pallidus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >x : pallidus > : ^^^^^^^^ >() => { var y = this; } : () => void @@ -10098,7 +10098,7 @@ module samarensis { macrocercus(): panamensis.setulosus { var x: panamensis.setulosus; () => { var y = this; }; return x; } >macrocercus : () => panamensis.setulosus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >dogramacii : any @@ -10124,7 +10124,7 @@ module samarensis { nimbae(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >nimbae : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -10142,7 +10142,7 @@ module samarensis { suricatta(): daubentonii.nigricans { var x: daubentonii.nigricans; () => { var y = this; }; return x; } >suricatta : () => daubentonii.nigricans -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >dammermani : any @@ -10168,7 +10168,7 @@ module samarensis { jagorii(): julianae.galapagoensis { var x: julianae.galapagoensis; () => { var y = this; }; return x; } >jagorii : () => julianae.galapagoensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.galapagoensis @@ -10186,7 +10186,7 @@ module samarensis { beecrofti(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >beecrofti : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -10204,7 +10204,7 @@ module samarensis { imaizumii(): minutus.inez, gabriellae.echinatus>, dogramacii.aurata>, lavali.otion>, macrorhinos.konganensis> { var x: minutus.inez, gabriellae.echinatus>, dogramacii.aurata>, lavali.otion>, macrorhinos.konganensis>; () => { var y = this; }; return x; } >imaizumii : () => minutus.inez, gabriellae.echinatus>, dogramacii.aurata>, lavali.otion>, macrorhinos.konganensis> -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >julianae : any @@ -10262,7 +10262,7 @@ module samarensis { colocolo(): quasiater.bobrinskoi { var x: quasiater.bobrinskoi; () => { var y = this; }; return x; } >colocolo : () => quasiater.bobrinskoi -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.bobrinskoi @@ -10280,7 +10280,7 @@ module samarensis { wolfi(): petrophilus.rosalia> { var x: petrophilus.rosalia>; () => { var y = this; }; return x; } >wolfi : () => petrophilus.rosalia> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >Lanthanum : any @@ -10318,7 +10318,7 @@ module samarensis { oblativa(): trivirgatus.falconeri { var x: trivirgatus.falconeri; () => { var y = this; }; return x; } >oblativa : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -10336,7 +10336,7 @@ module samarensis { watersi(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >watersi : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -10354,7 +10354,7 @@ module samarensis { glacialis(): sagitta.cinereus, quasiater.wattsi>> { var x: sagitta.cinereus, quasiater.wattsi>>; () => { var y = this; }; return x; } >glacialis : () => sagitta.cinereus, quasiater.wattsi>> -> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >nigra : any @@ -10404,7 +10404,7 @@ module samarensis { viaria(): chrysaeolus.sarasinorum { var x: chrysaeolus.sarasinorum; () => { var y = this; }; return x; } >viaria : () => chrysaeolus.sarasinorum -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >chrysaeolus : any > : ^^^ >lavali : any @@ -10434,7 +10434,7 @@ module samarensis { alashanicus(): nigra.caucasica { var x: nigra.caucasica; () => { var y = this; }; return x; } >alashanicus : () => nigra.caucasica -> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >ruatanica : any @@ -10460,7 +10460,7 @@ module samarensis { flaviventer(): trivirgatus.tumidifrons> { var x: trivirgatus.tumidifrons>; () => { var y = this; }; return x; } >flaviventer : () => trivirgatus.tumidifrons> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >lavali : any @@ -10494,7 +10494,7 @@ module samarensis { bottai(): lutreolus.schlegeli { var x: lutreolus.schlegeli; () => { var y = this; }; return x; } >bottai : () => lutreolus.schlegeli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.schlegeli @@ -10512,7 +10512,7 @@ module samarensis { pinetis(): argurus.oreas { var x: argurus.oreas; () => { var y = this; }; return x; } >pinetis : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -10530,7 +10530,7 @@ module samarensis { saussurei(): rendalli.crenulata, argurus.netscheri, julianae.oralis>> { var x: rendalli.crenulata, argurus.netscheri, julianae.oralis>>; () => { var y = this; }; return x; } >saussurei : () => rendalli.crenulata, argurus.netscheri, julianae.oralis>> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >gabriellae : any @@ -10611,7 +10611,7 @@ module sagitta { victus(): rionegrensis.caniventer { var x: rionegrensis.caniventer; () => { var y = this; }; return x; } >victus : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -10629,7 +10629,7 @@ module sagitta { hoplomyoides(): panglima.fundatus, nigra.gracilis> { var x: panglima.fundatus, nigra.gracilis>; () => { var y = this; }; return x; } >hoplomyoides : () => panglima.fundatus, nigra.gracilis> -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >julianae : any @@ -10671,7 +10671,7 @@ module sagitta { gratiosus(): lavali.lepturus { var x: lavali.lepturus; () => { var y = this; }; return x; } >gratiosus : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -10689,7 +10689,7 @@ module sagitta { rex(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >rex : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -10707,7 +10707,7 @@ module sagitta { bolami(): trivirgatus.tumidifrons { var x: trivirgatus.tumidifrons; () => { var y = this; }; return x; } >bolami : () => trivirgatus.tumidifrons -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >lutreolus : any @@ -10748,7 +10748,7 @@ module daubentonii { woosnami(): dogramacii.robustulus { var x: dogramacii.robustulus; () => { var y = this; }; return x; } >woosnami : () => dogramacii.robustulus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.robustulus @@ -10794,7 +10794,7 @@ module argurus { pajeros(): gabriellae.echinatus { var x: gabriellae.echinatus; () => { var y = this; }; return x; } >pajeros : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -10812,7 +10812,7 @@ module argurus { capucinus(): rendalli.zuluensis { var x: rendalli.zuluensis; () => { var y = this; }; return x; } >capucinus : () => rendalli.zuluensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >x : rendalli.zuluensis @@ -10830,7 +10830,7 @@ module argurus { cuvieri(): rionegrensis.caniventer { var x: rionegrensis.caniventer; () => { var y = this; }; return x; } >cuvieri : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -10863,7 +10863,7 @@ module chrysaeolus { belzebul(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; } >belzebul : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -10881,7 +10881,7 @@ module chrysaeolus { hinpoon(): nigra.caucasica { var x: nigra.caucasica; () => { var y = this; }; return x; } >hinpoon : () => nigra.caucasica -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >julianae : any @@ -10907,7 +10907,7 @@ module chrysaeolus { kandti(): quasiater.wattsi { var x: quasiater.wattsi; () => { var y = this; }; return x; } >kandti : () => quasiater.wattsi -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >Lanthanum : any @@ -10933,7 +10933,7 @@ module chrysaeolus { cynosuros(): dammermani.melanops { var x: dammermani.melanops; () => { var y = this; }; return x; } >cynosuros : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -10951,7 +10951,7 @@ module chrysaeolus { Germanium(): lavali.beisa { var x: lavali.beisa; () => { var y = this; }; return x; } >Germanium : () => lavali.beisa -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.beisa @@ -10969,7 +10969,7 @@ module chrysaeolus { Ununoctium(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >Ununoctium : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >lavali : any @@ -10995,7 +10995,7 @@ module chrysaeolus { princeps(): minutus.portoricensis { var x: minutus.portoricensis; () => { var y = this; }; return x; } >princeps : () => minutus.portoricensis -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >x : minutus.portoricensis @@ -11022,7 +11022,7 @@ module argurus { leucoptera(): petrophilus.rosalia { var x: petrophilus.rosalia; () => { var y = this; }; return x; } >leucoptera : () => petrophilus.rosalia -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >dogramacii : any @@ -11048,7 +11048,7 @@ module argurus { ochraventer(): sagitta.walkeri { var x: sagitta.walkeri; () => { var y = this; }; return x; } >ochraventer : () => sagitta.walkeri -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.walkeri @@ -11066,7 +11066,7 @@ module argurus { tephromelas(): Lanthanum.jugularis { var x: Lanthanum.jugularis; () => { var y = this; }; return x; } >tephromelas : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -11084,7 +11084,7 @@ module argurus { cracens(): argurus.gilbertii { var x: argurus.gilbertii; () => { var y = this; }; return x; } >cracens : () => argurus.gilbertii -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >lavali : any @@ -11110,7 +11110,7 @@ module argurus { jamaicensis(): nigra.thalia> { var x: nigra.thalia>; () => { var y = this; }; return x; } >jamaicensis : () => nigra.thalia> -> : ^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >howi : any @@ -11144,7 +11144,7 @@ module argurus { gymnocaudus(): dogramacii.aurata { var x: dogramacii.aurata; () => { var y = this; }; return x; } >gymnocaudus : () => dogramacii.aurata -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.aurata @@ -11162,7 +11162,7 @@ module argurus { mayori(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >mayori : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -11195,7 +11195,7 @@ module argurus { salamonis(): lavali.xanthognathus { var x: lavali.xanthognathus; () => { var y = this; }; return x; } >salamonis : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -11213,7 +11213,7 @@ module argurus { paniscus(): ruatanica.Praseodymium { var x: ruatanica.Praseodymium; () => { var y = this; }; return x; } >paniscus : () => ruatanica.Praseodymium -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >caurinus : any @@ -11239,7 +11239,7 @@ module argurus { fagani(): trivirgatus.oconnelli { var x: trivirgatus.oconnelli; () => { var y = this; }; return x; } >fagani : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -11257,7 +11257,7 @@ module argurus { papuanus(): panglima.fundatus { var x: panglima.fundatus; () => { var y = this; }; return x; } >papuanus : () => panglima.fundatus -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >quasiater : any @@ -11283,7 +11283,7 @@ module argurus { timidus(): dammermani.melanops { var x: dammermani.melanops; () => { var y = this; }; return x; } >timidus : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -11301,7 +11301,7 @@ module argurus { nghetinhensis(): gabriellae.klossii { var x: gabriellae.klossii; () => { var y = this; }; return x; } >nghetinhensis : () => gabriellae.klossii -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >argurus : any @@ -11327,7 +11327,7 @@ module argurus { barbei(): samarensis.cahirinus { var x: samarensis.cahirinus; () => { var y = this; }; return x; } >barbei : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >lavali : any @@ -11353,7 +11353,7 @@ module argurus { univittatus(): argurus.peninsulae { var x: argurus.peninsulae; () => { var y = this; }; return x; } >univittatus : () => argurus.peninsulae -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : peninsulae @@ -11380,7 +11380,7 @@ module daubentonii { capreolus(): rendalli.crenulata, lavali.wilsoni> { var x: rendalli.crenulata, lavali.wilsoni>; () => { var y = this; }; return x; } >capreolus : () => rendalli.crenulata, lavali.wilsoni> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >samarensis : any @@ -11414,7 +11414,7 @@ module daubentonii { moreni(): panglima.abidi { var x: panglima.abidi; () => { var y = this; }; return x; } >moreni : () => panglima.abidi -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >julianae : any @@ -11440,7 +11440,7 @@ module daubentonii { hypoleucos(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >hypoleucos : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >trivirgatus : any @@ -11466,7 +11466,7 @@ module daubentonii { paedulcus(): minutus.portoricensis { var x: minutus.portoricensis; () => { var y = this; }; return x; } >paedulcus : () => minutus.portoricensis -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >x : minutus.portoricensis @@ -11484,7 +11484,7 @@ module daubentonii { pucheranii(): samarensis.fuscus { var x: samarensis.fuscus; () => { var y = this; }; return x; } >pucheranii : () => samarensis.fuscus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >julianae : any @@ -11510,7 +11510,7 @@ module daubentonii { stella(): julianae.oralis { var x: julianae.oralis; () => { var y = this; }; return x; } >stella : () => julianae.oralis -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >lutreolus : any @@ -11536,7 +11536,7 @@ module daubentonii { brasiliensis(): imperfecta.subspinosus { var x: imperfecta.subspinosus; () => { var y = this; }; return x; } >brasiliensis : () => imperfecta.subspinosus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >x : imperfecta.subspinosus @@ -11554,7 +11554,7 @@ module daubentonii { brevicaudata(): trivirgatus.oconnelli { var x: trivirgatus.oconnelli; () => { var y = this; }; return x; } >brevicaudata : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -11572,7 +11572,7 @@ module daubentonii { vitticollis(): dogramacii.koepckeae { var x: dogramacii.koepckeae; () => { var y = this; }; return x; } >vitticollis : () => dogramacii.koepckeae -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.koepckeae @@ -11590,7 +11590,7 @@ module daubentonii { huangensis(): caurinus.psilurus { var x: caurinus.psilurus; () => { var y = this; }; return x; } >huangensis : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -11608,7 +11608,7 @@ module daubentonii { cameroni(): petrophilus.rosalia, imperfecta.ciliolabrum>, caurinus.psilurus> { var x: petrophilus.rosalia, imperfecta.ciliolabrum>, caurinus.psilurus>; () => { var y = this; }; return x; } >cameroni : () => petrophilus.rosalia, imperfecta.ciliolabrum>, caurinus.psilurus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >dammermani : any @@ -11658,7 +11658,7 @@ module daubentonii { tianshanica(): howi.marcanoi { var x: howi.marcanoi; () => { var y = this; }; return x; } >tianshanica : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -11685,7 +11685,7 @@ module patas { cartilagonodus(): Lanthanum.nitidus { var x: Lanthanum.nitidus; () => { var y = this; }; return x; } >cartilagonodus : () => Lanthanum.nitidus -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >rionegrensis : any @@ -11711,7 +11711,7 @@ module patas { pyrrhinus(): lavali.beisa { var x: lavali.beisa; () => { var y = this; }; return x; } >pyrrhinus : () => lavali.beisa -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.beisa @@ -11729,7 +11729,7 @@ module patas { insulans(): Lanthanum.jugularis { var x: Lanthanum.jugularis; () => { var y = this; }; return x; } >insulans : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -11747,7 +11747,7 @@ module patas { nigricauda(): caurinus.johorensis, Lanthanum.jugularis> { var x: caurinus.johorensis, Lanthanum.jugularis>; () => { var y = this; }; return x; } >nigricauda : () => caurinus.johorensis, Lanthanum.jugularis> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >Lanthanum : any @@ -11781,7 +11781,7 @@ module patas { muricauda(): panglima.fundatus> { var x: panglima.fundatus>; () => { var y = this; }; return x; } >muricauda : () => panglima.fundatus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >lutreolus : any @@ -11815,7 +11815,7 @@ module patas { albicaudus(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >albicaudus : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -11833,7 +11833,7 @@ module patas { fallax(): ruatanica.hector { var x: ruatanica.hector; () => { var y = this; }; return x; } >fallax : () => ruatanica.hector -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >lutreolus : any @@ -11859,7 +11859,7 @@ module patas { attenuata(): macrorhinos.marmosurus> { var x: macrorhinos.marmosurus>; () => { var y = this; }; return x; } >attenuata : () => macrorhinos.marmosurus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >ruatanica : any @@ -11893,7 +11893,7 @@ module patas { megalura(): howi.marcanoi { var x: howi.marcanoi; () => { var y = this; }; return x; } >megalura : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -11911,7 +11911,7 @@ module patas { neblina(): samarensis.pelurus { var x: samarensis.pelurus; () => { var y = this; }; return x; } >neblina : () => samarensis.pelurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >macrorhinos : any @@ -11937,7 +11937,7 @@ module patas { citellus(): daubentonii.arboreus { var x: daubentonii.arboreus; () => { var y = this; }; return x; } >citellus : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >quasiater : any @@ -11963,7 +11963,7 @@ module patas { tanezumi(): imperfecta.lasiurus { var x: imperfecta.lasiurus; () => { var y = this; }; return x; } >tanezumi : () => imperfecta.lasiurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >dogramacii : any @@ -11989,7 +11989,7 @@ module patas { albiventer(): rendalli.crenulata { var x: rendalli.crenulata; () => { var y = this; }; return x; } >albiventer : () => rendalli.crenulata -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >rendalli : any @@ -12030,7 +12030,7 @@ module provocax { Neodymium(): macrorhinos.marmosurus, lutreolus.foina> { var x: macrorhinos.marmosurus, lutreolus.foina>; () => { var y = this; }; return x; } >Neodymium : () => macrorhinos.marmosurus, lutreolus.foina> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >petrophilus : any @@ -12064,7 +12064,7 @@ module provocax { baeri(): imperfecta.lasiurus { var x: imperfecta.lasiurus; () => { var y = this; }; return x; } >baeri : () => imperfecta.lasiurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >lavali : any @@ -12099,7 +12099,7 @@ module sagitta { Chlorine(): samarensis.cahirinus, dogramacii.robustulus> { var x: samarensis.cahirinus, dogramacii.robustulus>; () => { var y = this; }; return x; } >Chlorine : () => samarensis.cahirinus, dogramacii.robustulus> -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >nigra : any @@ -12133,7 +12133,7 @@ module sagitta { simulator(): macrorhinos.marmosurus, macrorhinos.marmosurus, gabriellae.echinatus>, sagitta.stolzmanni>> { var x: macrorhinos.marmosurus, macrorhinos.marmosurus, gabriellae.echinatus>, sagitta.stolzmanni>>; () => { var y = this; }; return x; } >simulator : () => macrorhinos.marmosurus, macrorhinos.marmosurus, gabriellae.echinatus>, sagitta.stolzmanni>> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >Lanthanum : any @@ -12206,7 +12206,7 @@ module howi { formosae(): Lanthanum.megalonyx { var x: Lanthanum.megalonyx; () => { var y = this; }; return x; } >formosae : () => Lanthanum.megalonyx -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.megalonyx @@ -12224,7 +12224,7 @@ module howi { dudui(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >dudui : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -12242,7 +12242,7 @@ module howi { leander(): daubentonii.nesiotes { var x: daubentonii.nesiotes; () => { var y = this; }; return x; } >leander : () => daubentonii.nesiotes -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >Lanthanum : any @@ -12268,7 +12268,7 @@ module howi { martinsi(): dogramacii.aurata { var x: dogramacii.aurata; () => { var y = this; }; return x; } >martinsi : () => dogramacii.aurata -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.aurata @@ -12286,7 +12286,7 @@ module howi { beatrix(): imperfecta.ciliolabrum, gabriellae.echinatus>, dogramacii.aurata>, imperfecta.ciliolabrum>> { var x: imperfecta.ciliolabrum, gabriellae.echinatus>, dogramacii.aurata>, imperfecta.ciliolabrum>>; () => { var y = this; }; return x; } >beatrix : () => imperfecta.ciliolabrum, gabriellae.echinatus>, dogramacii.aurata>, imperfecta.ciliolabrum>> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >provocax : any @@ -12352,7 +12352,7 @@ module howi { griseoventer(): argurus.oreas { var x: argurus.oreas; () => { var y = this; }; return x; } >griseoventer : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -12370,7 +12370,7 @@ module howi { zerda(): quasiater.wattsi, howi.coludo>> { var x: quasiater.wattsi, howi.coludo>>; () => { var y = this; }; return x; } >zerda : () => quasiater.wattsi, howi.coludo>> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >julianae : any @@ -12420,7 +12420,7 @@ module howi { yucatanicus(): julianae.nudicaudus { var x: julianae.nudicaudus; () => { var y = this; }; return x; } >yucatanicus : () => julianae.nudicaudus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.nudicaudus @@ -12438,7 +12438,7 @@ module howi { nigrita(): argurus.peninsulae { var x: argurus.peninsulae; () => { var y = this; }; return x; } >nigrita : () => argurus.peninsulae -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.peninsulae @@ -12456,7 +12456,7 @@ module howi { jouvenetae(): argurus.dauricus { var x: argurus.dauricus; () => { var y = this; }; return x; } >jouvenetae : () => argurus.dauricus -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >argurus : any @@ -12482,7 +12482,7 @@ module howi { indefessus(): sagitta.walkeri { var x: sagitta.walkeri; () => { var y = this; }; return x; } >indefessus : () => sagitta.walkeri -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.walkeri @@ -12500,7 +12500,7 @@ module howi { vuquangensis(): macrorhinos.daphaenodon { var x: macrorhinos.daphaenodon; () => { var y = this; }; return x; } >vuquangensis : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -12518,7 +12518,7 @@ module howi { Zirconium(): lavali.thaeleri { var x: lavali.thaeleri; () => { var y = this; }; return x; } >Zirconium : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -12536,7 +12536,7 @@ module howi { hyaena(): julianae.oralis { var x: julianae.oralis; () => { var y = this; }; return x; } >hyaena : () => julianae.oralis -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >lavali : any @@ -12571,7 +12571,7 @@ module argurus { nasutus(): lavali.lepturus { var x: lavali.lepturus; () => { var y = this; }; return x; } >nasutus : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -12589,7 +12589,7 @@ module argurus { poecilops(): julianae.steerii { var x: julianae.steerii; () => { var y = this; }; return x; } >poecilops : () => julianae.steerii -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.steerii @@ -12607,7 +12607,7 @@ module argurus { sondaicus(): samarensis.fuscus { var x: samarensis.fuscus; () => { var y = this; }; return x; } >sondaicus : () => samarensis.fuscus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >argurus : any @@ -12633,7 +12633,7 @@ module argurus { auriventer(): petrophilus.rosalia { var x: petrophilus.rosalia; () => { var y = this; }; return x; } >auriventer : () => petrophilus.rosalia -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >lavali : any @@ -12659,7 +12659,7 @@ module argurus { cherriei(): ruatanica.Praseodymium { var x: ruatanica.Praseodymium; () => { var y = this; }; return x; } >cherriei : () => ruatanica.Praseodymium -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >Lanthanum : any @@ -12685,7 +12685,7 @@ module argurus { lindberghi(): minutus.inez { var x: minutus.inez; () => { var y = this; }; return x; } >lindberghi : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >rendalli : any @@ -12711,7 +12711,7 @@ module argurus { pipistrellus(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >pipistrellus : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -12729,7 +12729,7 @@ module argurus { paranus(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >paranus : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -12747,7 +12747,7 @@ module argurus { dubosti(): nigra.thalia { var x: nigra.thalia; () => { var y = this; }; return x; } >dubosti : () => nigra.thalia -> : ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >lutreolus : any @@ -12773,7 +12773,7 @@ module argurus { opossum(): nigra.dolichurus { var x: nigra.dolichurus; () => { var y = this; }; return x; } >opossum : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >lavali : any @@ -12799,7 +12799,7 @@ module argurus { oreopolus(): minutus.portoricensis { var x: minutus.portoricensis; () => { var y = this; }; return x; } >oreopolus : () => minutus.portoricensis -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >x : minutus.portoricensis @@ -12817,7 +12817,7 @@ module argurus { amurensis(): daubentonii.arboreus { var x: daubentonii.arboreus; () => { var y = this; }; return x; } >amurensis : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >lavali : any @@ -12861,7 +12861,7 @@ module lutreolus { strandi(): gabriellae.klossii { var x: gabriellae.klossii; () => { var y = this; }; return x; } >strandi : () => gabriellae.klossii -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >Lanthanum : any @@ -12887,7 +12887,7 @@ module lutreolus { lar(): caurinus.mahaganus { var x: caurinus.mahaganus; () => { var y = this; }; return x; } >lar : () => caurinus.mahaganus -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >julianae : any @@ -12913,7 +12913,7 @@ module lutreolus { erica(): dogramacii.koepckeae { var x: dogramacii.koepckeae; () => { var y = this; }; return x; } >erica : () => dogramacii.koepckeae -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.koepckeae @@ -12931,7 +12931,7 @@ module lutreolus { trichura(): macrorhinos.konganensis { var x: macrorhinos.konganensis; () => { var y = this; }; return x; } >trichura : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -12949,7 +12949,7 @@ module lutreolus { lemniscatus(): panglima.fundatus { var x: panglima.fundatus; () => { var y = this; }; return x; } >lemniscatus : () => panglima.fundatus -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >gabriellae : any @@ -12975,7 +12975,7 @@ module lutreolus { aspalax(): panamensis.linulus { var x: panamensis.linulus; () => { var y = this; }; return x; } >aspalax : () => panamensis.linulus -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >lavali : any @@ -13001,7 +13001,7 @@ module lutreolus { marshalli(): julianae.nudicaudus { var x: julianae.nudicaudus; () => { var y = this; }; return x; } >marshalli : () => julianae.nudicaudus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.nudicaudus @@ -13019,7 +13019,7 @@ module lutreolus { Zinc(): julianae.galapagoensis { var x: julianae.galapagoensis; () => { var y = this; }; return x; } >Zinc : () => julianae.galapagoensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.galapagoensis @@ -13037,7 +13037,7 @@ module lutreolus { monochromos(): howi.coludo { var x: howi.coludo; () => { var y = this; }; return x; } >monochromos : () => howi.coludo -> : ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >lavali : any @@ -13063,7 +13063,7 @@ module lutreolus { purinus(): ruatanica.hector { var x: ruatanica.hector; () => { var y = this; }; return x; } >purinus : () => ruatanica.hector -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >lutreolus : any @@ -13089,7 +13089,7 @@ module lutreolus { ischyrus(): lavali.lepturus { var x: lavali.lepturus; () => { var y = this; }; return x; } >ischyrus : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -13107,7 +13107,7 @@ module lutreolus { tenuis(): macrorhinos.daphaenodon { var x: macrorhinos.daphaenodon; () => { var y = this; }; return x; } >tenuis : () => macrorhinos.daphaenodon -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.daphaenodon @@ -13125,7 +13125,7 @@ module lutreolus { Helium(): julianae.acariensis { var x: julianae.acariensis; () => { var y = this; }; return x; } >Helium : () => julianae.acariensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.acariensis @@ -13152,7 +13152,7 @@ module macrorhinos { bredanensis(): julianae.sumatrana { var x: julianae.sumatrana; () => { var y = this; }; return x; } >bredanensis : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -13170,7 +13170,7 @@ module macrorhinos { othus(): howi.coludo { var x: howi.coludo; () => { var y = this; }; return x; } >othus : () => howi.coludo -> : ^^^^^^^^^^ ^^^^^^^ ^^^^ +> : ^^^^^^ >howi : any > : ^^^ >argurus : any @@ -13196,7 +13196,7 @@ module macrorhinos { hammondi(): julianae.gerbillus, gabriellae.echinatus>, dogramacii.aurata>, lavali.otion> { var x: julianae.gerbillus, gabriellae.echinatus>, dogramacii.aurata>, lavali.otion>; () => { var y = this; }; return x; } >hammondi : () => julianae.gerbillus, gabriellae.echinatus>, dogramacii.aurata>, lavali.otion> -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >minutus : any @@ -13246,7 +13246,7 @@ module macrorhinos { aureocollaris(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >aureocollaris : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -13264,7 +13264,7 @@ module macrorhinos { flavipes(): petrophilus.minutilla { var x: petrophilus.minutilla; () => { var y = this; }; return x; } >flavipes : () => petrophilus.minutilla -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >x : petrophilus.minutilla @@ -13282,7 +13282,7 @@ module macrorhinos { callosus(): trivirgatus.lotor { var x: trivirgatus.lotor; () => { var y = this; }; return x; } >callosus : () => trivirgatus.lotor -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >lutreolus : any @@ -13317,7 +13317,7 @@ module sagitta { zunigae(): rendalli.crenulata> { var x: rendalli.crenulata>; () => { var y = this; }; return x; } >zunigae : () => rendalli.crenulata> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >macrorhinos : any @@ -13351,7 +13351,7 @@ module sagitta { microps(): daubentonii.nigricans> { var x: daubentonii.nigricans>; () => { var y = this; }; return x; } >microps : () => daubentonii.nigricans> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >caurinus : any @@ -13385,7 +13385,7 @@ module sagitta { guaporensis(): daubentonii.arboreus { var x: daubentonii.arboreus; () => { var y = this; }; return x; } >guaporensis : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >gabriellae : any @@ -13411,7 +13411,7 @@ module sagitta { tonkeana(): panglima.fundatus { var x: panglima.fundatus; () => { var y = this; }; return x; } >tonkeana : () => panglima.fundatus -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >petrophilus : any @@ -13437,7 +13437,7 @@ module sagitta { montensis(): dammermani.siberu { var x: dammermani.siberu; () => { var y = this; }; return x; } >montensis : () => dammermani.siberu -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >dogramacii : any @@ -13463,7 +13463,7 @@ module sagitta { sphinx(): minutus.portoricensis { var x: minutus.portoricensis; () => { var y = this; }; return x; } >sphinx : () => minutus.portoricensis -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >x : minutus.portoricensis @@ -13481,7 +13481,7 @@ module sagitta { glis(): argurus.wetmorei { var x: argurus.wetmorei; () => { var y = this; }; return x; } >glis : () => argurus.wetmorei -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >argurus : any @@ -13507,7 +13507,7 @@ module sagitta { dorsalis(): petrophilus.sodyi { var x: petrophilus.sodyi; () => { var y = this; }; return x; } >dorsalis : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >argurus : any @@ -13533,7 +13533,7 @@ module sagitta { fimbriatus(): provocax.melanoleuca { var x: provocax.melanoleuca; () => { var y = this; }; return x; } >fimbriatus : () => provocax.melanoleuca -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provocax : any > : ^^^ >x : provocax.melanoleuca @@ -13551,7 +13551,7 @@ module sagitta { sara(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >sara : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >argurus : any @@ -13577,7 +13577,7 @@ module sagitta { epimelas(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >epimelas : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : stolzmanni @@ -13595,7 +13595,7 @@ module sagitta { pittieri(): samarensis.fuscus { var x: samarensis.fuscus; () => { var y = this; }; return x; } >pittieri : () => samarensis.fuscus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >quasiater : any @@ -13653,7 +13653,7 @@ module gabriellae { pirrensis(): argurus.luctuosa { var x: argurus.luctuosa; () => { var y = this; }; return x; } >pirrensis : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -13671,7 +13671,7 @@ module gabriellae { phaeura(): panglima.abidi { var x: panglima.abidi; () => { var y = this; }; return x; } >phaeura : () => panglima.abidi -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >lutreolus : any @@ -13697,7 +13697,7 @@ module gabriellae { voratus(): lavali.thaeleri { var x: lavali.thaeleri; () => { var y = this; }; return x; } >voratus : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -13715,7 +13715,7 @@ module gabriellae { satarae(): trivirgatus.lotor { var x: trivirgatus.lotor; () => { var y = this; }; return x; } >satarae : () => trivirgatus.lotor -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >argurus : any @@ -13741,7 +13741,7 @@ module gabriellae { hooperi(): caurinus.psilurus { var x: caurinus.psilurus; () => { var y = this; }; return x; } >hooperi : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -13759,7 +13759,7 @@ module gabriellae { perrensi(): rendalli.crenulata { var x: rendalli.crenulata; () => { var y = this; }; return x; } >perrensi : () => rendalli.crenulata -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >trivirgatus : any @@ -13785,7 +13785,7 @@ module gabriellae { ridei(): ruatanica.hector> { var x: ruatanica.hector>; () => { var y = this; }; return x; } >ridei : () => ruatanica.hector> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >julianae : any @@ -13819,7 +13819,7 @@ module gabriellae { audeberti(): daubentonii.arboreus { var x: daubentonii.arboreus; () => { var y = this; }; return x; } >audeberti : () => daubentonii.arboreus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >dogramacii : any @@ -13845,7 +13845,7 @@ module gabriellae { Lutetium(): macrorhinos.marmosurus { var x: macrorhinos.marmosurus; () => { var y = this; }; return x; } >Lutetium : () => macrorhinos.marmosurus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >sagitta : any @@ -13871,7 +13871,7 @@ module gabriellae { atrox(): samarensis.fuscus, dogramacii.koepckeae> { var x: samarensis.fuscus, dogramacii.koepckeae>; () => { var y = this; }; return x; } >atrox : () => samarensis.fuscus, dogramacii.koepckeae> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >julianae : any @@ -13909,7 +13909,7 @@ module gabriellae { tenuipes(): howi.coludo> { var x: howi.coludo>; () => { var y = this; }; return x; } >tenuipes : () => howi.coludo> -> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >macrorhinos : any @@ -13952,7 +13952,7 @@ module imperfecta { marisae(): lavali.thaeleri { var x: lavali.thaeleri; () => { var y = this; }; return x; } >marisae : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -13970,7 +13970,7 @@ module imperfecta { fulvus(): argurus.germaini { var x: argurus.germaini; () => { var y = this; }; return x; } >fulvus : () => argurus.germaini -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.germaini @@ -13988,7 +13988,7 @@ module imperfecta { paranaensis(): dogramacii.koepckeae { var x: dogramacii.koepckeae; () => { var y = this; }; return x; } >paranaensis : () => dogramacii.koepckeae -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.koepckeae @@ -14006,7 +14006,7 @@ module imperfecta { didactylus(): panglima.abidi> { var x: panglima.abidi>; () => { var y = this; }; return x; } >didactylus : () => panglima.abidi> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >dogramacii : any @@ -14040,7 +14040,7 @@ module imperfecta { schreibersii(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >schreibersii : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >argurus : any @@ -14066,7 +14066,7 @@ module imperfecta { orii(): dogramacii.kaiseri { var x: dogramacii.kaiseri; () => { var y = this; }; return x; } >orii : () => dogramacii.kaiseri -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.kaiseri @@ -14088,7 +14088,7 @@ module imperfecta { monticularis(): macrorhinos.konganensis { var x: macrorhinos.konganensis; () => { var y = this; }; return x; } >monticularis : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -14106,7 +14106,7 @@ module imperfecta { Gadolinium(): nigra.caucasica { var x: nigra.caucasica; () => { var y = this; }; return x; } >Gadolinium : () => nigra.caucasica -> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >sagitta : any @@ -14132,7 +14132,7 @@ module imperfecta { oasicus(): caurinus.johorensis> { var x: caurinus.johorensis>; () => { var y = this; }; return x; } >oasicus : () => caurinus.johorensis> -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >argurus : any @@ -14166,7 +14166,7 @@ module imperfecta { paterculus(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >paterculus : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -14184,7 +14184,7 @@ module imperfecta { punctata(): lavali.thaeleri { var x: lavali.thaeleri; () => { var y = this; }; return x; } >punctata : () => lavali.thaeleri -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.thaeleri @@ -14202,7 +14202,7 @@ module imperfecta { invictus(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >invictus : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -14220,7 +14220,7 @@ module imperfecta { stangeri(): petrophilus.minutilla { var x: petrophilus.minutilla; () => { var y = this; }; return x; } >stangeri : () => petrophilus.minutilla -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >x : petrophilus.minutilla @@ -14238,7 +14238,7 @@ module imperfecta { siskiyou(): minutus.inez { var x: minutus.inez; () => { var y = this; }; return x; } >siskiyou : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >macrorhinos : any @@ -14264,7 +14264,7 @@ module imperfecta { welwitschii(): rionegrensis.caniventer { var x: rionegrensis.caniventer; () => { var y = this; }; return x; } >welwitschii : () => rionegrensis.caniventer -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >x : rionegrensis.caniventer @@ -14282,7 +14282,7 @@ module imperfecta { Polonium(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >Polonium : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -14300,7 +14300,7 @@ module imperfecta { harpia(): argurus.luctuosa { var x: argurus.luctuosa; () => { var y = this; }; return x; } >harpia : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -14328,7 +14328,7 @@ module imperfecta { leschenaultii(): argurus.dauricus> { var x: argurus.dauricus>; () => { var y = this; }; return x; } >leschenaultii : () => argurus.dauricus> -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >Lanthanum : any @@ -14362,7 +14362,7 @@ module imperfecta { ludia(): caurinus.johorensis { var x: caurinus.johorensis; () => { var y = this; }; return x; } >ludia : () => caurinus.johorensis -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >rionegrensis : any @@ -14388,7 +14388,7 @@ module imperfecta { sinicus(): macrorhinos.marmosurus { var x: macrorhinos.marmosurus; () => { var y = this; }; return x; } >sinicus : () => macrorhinos.marmosurus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >macrorhinos : any @@ -14423,7 +14423,7 @@ module quasiater { lagotis(): lavali.xanthognathus { var x: lavali.xanthognathus; () => { var y = this; }; return x; } >lagotis : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -14441,7 +14441,7 @@ module quasiater { hussoni(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >hussoni : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -14459,7 +14459,7 @@ module quasiater { bilarni(): samarensis.cahirinus>, dogramacii.koepckeae> { var x: samarensis.cahirinus>, dogramacii.koepckeae>; () => { var y = this; }; return x; } >bilarni : () => samarensis.cahirinus>, dogramacii.koepckeae> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >rendalli : any @@ -14501,7 +14501,7 @@ module quasiater { cabrerae(): lavali.lepturus { var x: lavali.lepturus; () => { var y = this; }; return x; } >cabrerae : () => lavali.lepturus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.lepturus @@ -14536,7 +14536,7 @@ module petrophilus { saundersiae(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; } >saundersiae : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -14554,7 +14554,7 @@ module petrophilus { imberbis(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >imberbis : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -14572,7 +14572,7 @@ module petrophilus { cansdalei(): dammermani.melanops { var x: dammermani.melanops; () => { var y = this; }; return x; } >cansdalei : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -14590,7 +14590,7 @@ module petrophilus { Lawrencium(): nigra.dolichurus { var x: nigra.dolichurus; () => { var y = this; }; return x; } >Lawrencium : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >julianae : any @@ -14616,7 +14616,7 @@ module petrophilus { catta(): argurus.oreas { var x: argurus.oreas; () => { var y = this; }; return x; } >catta : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -14634,7 +14634,7 @@ module petrophilus { breviceps(): argurus.dauricus { var x: argurus.dauricus; () => { var y = this; }; return x; } >breviceps : () => argurus.dauricus -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >dogramacii : any @@ -14660,7 +14660,7 @@ module petrophilus { transitionalis(): rendalli.zuluensis { var x: rendalli.zuluensis; () => { var y = this; }; return x; } >transitionalis : () => rendalli.zuluensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >x : rendalli.zuluensis @@ -14678,7 +14678,7 @@ module petrophilus { heptneri(): argurus.germaini { var x: argurus.germaini; () => { var y = this; }; return x; } >heptneri : () => argurus.germaini -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.germaini @@ -14696,7 +14696,7 @@ module petrophilus { bairdii(): lavali.beisa { var x: lavali.beisa; () => { var y = this; }; return x; } >bairdii : () => lavali.beisa -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.beisa @@ -14737,7 +14737,7 @@ module caurinus { montana(): argurus.oreas { var x: argurus.oreas; () => { var y = this; }; return x; } >montana : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -14755,7 +14755,7 @@ module caurinus { amatus(): lutreolus.schlegeli { var x: lutreolus.schlegeli; () => { var y = this; }; return x; } >amatus : () => lutreolus.schlegeli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.schlegeli @@ -14773,7 +14773,7 @@ module caurinus { bucculentus(): gabriellae.echinatus { var x: gabriellae.echinatus; () => { var y = this; }; return x; } >bucculentus : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -14791,7 +14791,7 @@ module caurinus { lepida(): rendalli.crenulata> { var x: rendalli.crenulata>; () => { var y = this; }; return x; } >lepida : () => rendalli.crenulata> -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >lavali : any @@ -14825,7 +14825,7 @@ module caurinus { graecus(): dogramacii.kaiseri { var x: dogramacii.kaiseri; () => { var y = this; }; return x; } >graecus : () => dogramacii.kaiseri -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.kaiseri @@ -14843,7 +14843,7 @@ module caurinus { forsteri(): petrophilus.minutilla { var x: petrophilus.minutilla; () => { var y = this; }; return x; } >forsteri : () => petrophilus.minutilla -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >x : petrophilus.minutilla @@ -14861,7 +14861,7 @@ module caurinus { perotensis(): samarensis.cahirinus { var x: samarensis.cahirinus; () => { var y = this; }; return x; } >perotensis : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >minutus : any @@ -14887,7 +14887,7 @@ module caurinus { cirrhosus(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >cirrhosus : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -14914,7 +14914,7 @@ module minutus { relictus(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >relictus : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -14932,7 +14932,7 @@ module minutus { aequatorianus(): gabriellae.klossii { var x: gabriellae.klossii; () => { var y = this; }; return x; } >aequatorianus : () => gabriellae.klossii -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >julianae : any @@ -14958,7 +14958,7 @@ module minutus { rhinogradoides(): samarensis.cahirinus { var x: samarensis.cahirinus; () => { var y = this; }; return x; } >rhinogradoides : () => samarensis.cahirinus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >quasiater : any @@ -14993,7 +14993,7 @@ module lutreolus { tarfayensis(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >tarfayensis : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : punicus @@ -15011,7 +15011,7 @@ module lutreolus { Promethium(): samarensis.pelurus { var x: samarensis.pelurus; () => { var y = this; }; return x; } >Promethium : () => samarensis.pelurus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >argurus : any @@ -15037,7 +15037,7 @@ module lutreolus { salinae(): gabriellae.klossii { var x: gabriellae.klossii; () => { var y = this; }; return x; } >salinae : () => gabriellae.klossii -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >macrorhinos : any @@ -15063,7 +15063,7 @@ module lutreolus { kerri(): howi.coludo { var x: howi.coludo; () => { var y = this; }; return x; } >kerri : () => howi.coludo -> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >quasiater : any @@ -15089,7 +15089,7 @@ module lutreolus { scotti(): quasiater.wattsi { var x: quasiater.wattsi; () => { var y = this; }; return x; } >scotti : () => quasiater.wattsi -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >macrorhinos : any @@ -15115,7 +15115,7 @@ module lutreolus { camerunensis(): julianae.gerbillus { var x: julianae.gerbillus; () => { var y = this; }; return x; } >camerunensis : () => julianae.gerbillus -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >imperfecta : any @@ -15141,7 +15141,7 @@ module lutreolus { affinis(): argurus.germaini { var x: argurus.germaini; () => { var y = this; }; return x; } >affinis : () => argurus.germaini -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.germaini @@ -15159,7 +15159,7 @@ module lutreolus { siebersi(): trivirgatus.lotor> { var x: trivirgatus.lotor>; () => { var y = this; }; return x; } >siebersi : () => trivirgatus.lotor> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >argurus : any @@ -15193,7 +15193,7 @@ module lutreolus { maquassiensis(): trivirgatus.oconnelli { var x: trivirgatus.oconnelli; () => { var y = this; }; return x; } >maquassiensis : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -15211,7 +15211,7 @@ module lutreolus { layardi(): julianae.albidens { var x: julianae.albidens; () => { var y = this; }; return x; } >layardi : () => julianae.albidens -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >howi : any @@ -15237,7 +15237,7 @@ module lutreolus { bishopi(): dogramacii.aurata { var x: dogramacii.aurata; () => { var y = this; }; return x; } >bishopi : () => dogramacii.aurata -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.aurata @@ -15255,7 +15255,7 @@ module lutreolus { apodemoides(): caurinus.psilurus { var x: caurinus.psilurus; () => { var y = this; }; return x; } >apodemoides : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -15273,7 +15273,7 @@ module lutreolus { argentiventer(): trivirgatus.mixtus { var x: trivirgatus.mixtus; () => { var y = this; }; return x; } >argentiventer : () => trivirgatus.mixtus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >gabriellae : any @@ -15326,7 +15326,7 @@ module lutreolus { antinorii(): petrophilus.sodyi { var x: petrophilus.sodyi; () => { var y = this; }; return x; } >antinorii : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >quasiater : any @@ -15352,7 +15352,7 @@ module lutreolus { voi(): caurinus.johorensis { var x: caurinus.johorensis; () => { var y = this; }; return x; } >voi : () => caurinus.johorensis -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >dammermani : any @@ -15378,7 +15378,7 @@ module lutreolus { mussoi(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >mussoi : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -15396,7 +15396,7 @@ module lutreolus { truncatus(): trivirgatus.lotor { var x: trivirgatus.lotor; () => { var y = this; }; return x; } >truncatus : () => trivirgatus.lotor -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >sagitta : any @@ -15422,7 +15422,7 @@ module lutreolus { achates(): provocax.melanoleuca { var x: provocax.melanoleuca; () => { var y = this; }; return x; } >achates : () => provocax.melanoleuca -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >provocax : any > : ^^^ >x : provocax.melanoleuca @@ -15440,7 +15440,7 @@ module lutreolus { praedatrix(): howi.angulatus { var x: howi.angulatus; () => { var y = this; }; return x; } >praedatrix : () => howi.angulatus -> : ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >dogramacii : any @@ -15466,7 +15466,7 @@ module lutreolus { mzabi(): quasiater.wattsi, minutus.inez> { var x: quasiater.wattsi, minutus.inez>; () => { var y = this; }; return x; } >mzabi : () => quasiater.wattsi, minutus.inez> -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >trivirgatus : any @@ -15508,7 +15508,7 @@ module lutreolus { xanthinus(): nigra.gracilis, howi.marcanoi> { var x: nigra.gracilis, howi.marcanoi>; () => { var y = this; }; return x; } >xanthinus : () => nigra.gracilis, howi.marcanoi> -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >panamensis : any @@ -15542,7 +15542,7 @@ module lutreolus { tapoatafa(): caurinus.megaphyllus { var x: caurinus.megaphyllus; () => { var y = this; }; return x; } >tapoatafa : () => caurinus.megaphyllus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.megaphyllus @@ -15560,7 +15560,7 @@ module lutreolus { castroviejoi(): Lanthanum.jugularis { var x: Lanthanum.jugularis; () => { var y = this; }; return x; } >castroviejoi : () => Lanthanum.jugularis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >x : Lanthanum.jugularis @@ -15587,7 +15587,7 @@ module howi { bernhardi(): lutreolus.punicus { var x: lutreolus.punicus; () => { var y = this; }; return x; } >bernhardi : () => lutreolus.punicus -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.punicus @@ -15605,7 +15605,7 @@ module howi { isseli(): argurus.germaini { var x: argurus.germaini; () => { var y = this; }; return x; } >isseli : () => argurus.germaini -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.germaini @@ -15638,7 +15638,7 @@ module argurus { sharpei(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >sharpei : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -15656,7 +15656,7 @@ module argurus { palmarum(): macrorhinos.marmosurus { var x: macrorhinos.marmosurus; () => { var y = this; }; return x; } >palmarum : () => macrorhinos.marmosurus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >Lanthanum : any @@ -15691,7 +15691,7 @@ module sagitta { riparius(): nigra.dolichurus { var x: nigra.dolichurus; () => { var y = this; }; return x; } >riparius : () => nigra.dolichurus -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >dogramacii : any @@ -15717,7 +15717,7 @@ module sagitta { dhofarensis(): lutreolus.foina { var x: lutreolus.foina; () => { var y = this; }; return x; } >dhofarensis : () => lutreolus.foina -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.foina @@ -15735,7 +15735,7 @@ module sagitta { tricolor(): argurus.germaini { var x: argurus.germaini; () => { var y = this; }; return x; } >tricolor : () => argurus.germaini -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.germaini @@ -15753,7 +15753,7 @@ module sagitta { gardneri(): lavali.xanthognathus { var x: lavali.xanthognathus; () => { var y = this; }; return x; } >gardneri : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -15771,7 +15771,7 @@ module sagitta { walleri(): rendalli.moojeni, gabriellae.echinatus> { var x: rendalli.moojeni, gabriellae.echinatus>; () => { var y = this; }; return x; } >walleri : () => rendalli.moojeni, gabriellae.echinatus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >chrysaeolus : any @@ -15805,7 +15805,7 @@ module sagitta { talpoides(): gabriellae.echinatus { var x: gabriellae.echinatus; () => { var y = this; }; return x; } >talpoides : () => gabriellae.echinatus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >gabriellae : any > : ^^^ >x : gabriellae.echinatus @@ -15823,7 +15823,7 @@ module sagitta { pallipes(): dammermani.melanops { var x: dammermani.melanops; () => { var y = this; }; return x; } >pallipes : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : dammermani.melanops @@ -15841,7 +15841,7 @@ module sagitta { lagurus(): lavali.beisa { var x: lavali.beisa; () => { var y = this; }; return x; } >lagurus : () => lavali.beisa -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.beisa @@ -15859,7 +15859,7 @@ module sagitta { hipposideros(): julianae.albidens { var x: julianae.albidens; () => { var y = this; }; return x; } >hipposideros : () => julianae.albidens -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >argurus : any @@ -15885,7 +15885,7 @@ module sagitta { griselda(): caurinus.psilurus { var x: caurinus.psilurus; () => { var y = this; }; return x; } >griselda : () => caurinus.psilurus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >x : caurinus.psilurus @@ -15903,7 +15903,7 @@ module sagitta { florium(): rendalli.zuluensis { var x: rendalli.zuluensis; () => { var y = this; }; return x; } >florium : () => rendalli.zuluensis -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >x : rendalli.zuluensis @@ -15940,7 +15940,7 @@ module dammermani { blarina(): dammermani.melanops { var x: dammermani.melanops; () => { var y = this; }; return x; } >blarina : () => dammermani.melanops -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >x : melanops @@ -15958,7 +15958,7 @@ module dammermani { harwoodi(): rionegrensis.veraecrucis, lavali.wilsoni> { var x: rionegrensis.veraecrucis, lavali.wilsoni>; () => { var y = this; }; return x; } >harwoodi : () => rionegrensis.veraecrucis, lavali.wilsoni> -> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >rionegrensis : any > : ^^^ >nigra : any @@ -15992,7 +15992,7 @@ module dammermani { ashaninka(): julianae.nudicaudus { var x: julianae.nudicaudus; () => { var y = this; }; return x; } >ashaninka : () => julianae.nudicaudus -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.nudicaudus @@ -16010,7 +16010,7 @@ module dammermani { wiedii(): julianae.steerii { var x: julianae.steerii; () => { var y = this; }; return x; } >wiedii : () => julianae.steerii -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.steerii @@ -16028,7 +16028,7 @@ module dammermani { godmani(): imperfecta.subspinosus { var x: imperfecta.subspinosus; () => { var y = this; }; return x; } >godmani : () => imperfecta.subspinosus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >x : imperfecta.subspinosus @@ -16046,7 +16046,7 @@ module dammermani { condorensis(): imperfecta.ciliolabrum { var x: imperfecta.ciliolabrum; () => { var y = this; }; return x; } >condorensis : () => imperfecta.ciliolabrum -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >samarensis : any @@ -16072,7 +16072,7 @@ module dammermani { xerophila(): panglima.abidi { var x: panglima.abidi; () => { var y = this; }; return x; } >xerophila : () => panglima.abidi -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >minutus : any @@ -16098,7 +16098,7 @@ module dammermani { laminatus(): panglima.fundatus>> { var x: panglima.fundatus>>; () => { var y = this; }; return x; } >laminatus : () => panglima.fundatus>> -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >howi : any @@ -16140,7 +16140,7 @@ module dammermani { archeri(): howi.marcanoi { var x: howi.marcanoi; () => { var y = this; }; return x; } >archeri : () => howi.marcanoi -> : ^^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >x : howi.marcanoi @@ -16158,7 +16158,7 @@ module dammermani { hidalgo(): minutus.inez { var x: minutus.inez; () => { var y = this; }; return x; } >hidalgo : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >trivirgatus : any @@ -16184,7 +16184,7 @@ module dammermani { unicolor(): lutreolus.schlegeli { var x: lutreolus.schlegeli; () => { var y = this; }; return x; } >unicolor : () => lutreolus.schlegeli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.schlegeli @@ -16202,7 +16202,7 @@ module dammermani { philippii(): nigra.gracilis { var x: nigra.gracilis; () => { var y = this; }; return x; } >philippii : () => nigra.gracilis -> : ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >sagitta : any @@ -16228,7 +16228,7 @@ module dammermani { bocagei(): julianae.albidens { var x: julianae.albidens; () => { var y = this; }; return x; } >bocagei : () => julianae.albidens -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >lavali : any @@ -16269,7 +16269,7 @@ module argurus { aitkeni(): trivirgatus.mixtus, panglima.amphibius> { var x: trivirgatus.mixtus, panglima.amphibius>; () => { var y = this; }; return x; } >aitkeni : () => trivirgatus.mixtus, panglima.amphibius> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >argurus : any @@ -16311,7 +16311,7 @@ module argurus { novaeangliae(): lavali.xanthognathus { var x: lavali.xanthognathus; () => { var y = this; }; return x; } >novaeangliae : () => lavali.xanthognathus -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.xanthognathus @@ -16329,7 +16329,7 @@ module argurus { olallae(): julianae.sumatrana { var x: julianae.sumatrana; () => { var y = this; }; return x; } >olallae : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -16347,7 +16347,7 @@ module argurus { anselli(): dogramacii.aurata { var x: dogramacii.aurata; () => { var y = this; }; return x; } >anselli : () => dogramacii.aurata -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >dogramacii : any > : ^^^ >x : dogramacii.aurata @@ -16365,7 +16365,7 @@ module argurus { timminsi(): macrorhinos.konganensis { var x: macrorhinos.konganensis; () => { var y = this; }; return x; } >timminsi : () => macrorhinos.konganensis -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >macrorhinos : any > : ^^^ >x : macrorhinos.konganensis @@ -16383,7 +16383,7 @@ module argurus { sordidus(): rendalli.moojeni { var x: rendalli.moojeni; () => { var y = this; }; return x; } >sordidus : () => rendalli.moojeni -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >macrorhinos : any @@ -16409,7 +16409,7 @@ module argurus { telfordi(): trivirgatus.oconnelli { var x: trivirgatus.oconnelli; () => { var y = this; }; return x; } >telfordi : () => trivirgatus.oconnelli -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.oconnelli @@ -16427,7 +16427,7 @@ module argurus { cavernarum(): minutus.inez { var x: minutus.inez; () => { var y = this; }; return x; } >cavernarum : () => minutus.inez -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >gabriellae : any @@ -16462,7 +16462,7 @@ module argurus { gravis(): nigra.caucasica, dogramacii.kaiseri> { var x: nigra.caucasica, dogramacii.kaiseri>; () => { var y = this; }; return x; } >gravis : () => nigra.caucasica, dogramacii.kaiseri> -> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ +> : ^^^^^^ >nigra : any > : ^^^ >rendalli : any @@ -16496,7 +16496,7 @@ module argurus { ruschii(): imperfecta.lasiurus> { var x: imperfecta.lasiurus>; () => { var y = this; }; return x; } >ruschii : () => imperfecta.lasiurus> -> : ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >howi : any @@ -16530,7 +16530,7 @@ module argurus { tricuspidatus(): lavali.wilsoni { var x: lavali.wilsoni; () => { var y = this; }; return x; } >tricuspidatus : () => lavali.wilsoni -> : ^^^^^^^^^^^^ +> : ^^^^^^ >lavali : any > : ^^^ >x : lavali.wilsoni @@ -16548,7 +16548,7 @@ module argurus { fernandezi(): dammermani.siberu, panglima.abidi> { var x: dammermani.siberu, panglima.abidi>; () => { var y = this; }; return x; } >fernandezi : () => dammermani.siberu, panglima.abidi> -> : ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >nigra : any @@ -16590,7 +16590,7 @@ module argurus { colletti(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; } >colletti : () => samarensis.pallidus -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^ >samarensis : any > : ^^^ >x : samarensis.pallidus @@ -16608,7 +16608,7 @@ module argurus { microbullatus(): lutreolus.schlegeli { var x: lutreolus.schlegeli; () => { var y = this; }; return x; } >microbullatus : () => lutreolus.schlegeli -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.schlegeli @@ -16626,7 +16626,7 @@ module argurus { eburneae(): chrysaeolus.sarasinorum { var x: chrysaeolus.sarasinorum; () => { var y = this; }; return x; } >eburneae : () => chrysaeolus.sarasinorum -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >chrysaeolus : any > : ^^^ >macrorhinos : any @@ -16652,7 +16652,7 @@ module argurus { tatei(): argurus.pygmaea> { var x: argurus.pygmaea>; () => { var y = this; }; return x; } >tatei : () => argurus.pygmaea> -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >argurus : any @@ -16686,7 +16686,7 @@ module argurus { millardi(): sagitta.walkeri { var x: sagitta.walkeri; () => { var y = this; }; return x; } >millardi : () => sagitta.walkeri -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.walkeri @@ -16704,7 +16704,7 @@ module argurus { pruinosus(): trivirgatus.falconeri { var x: trivirgatus.falconeri; () => { var y = this; }; return x; } >pruinosus : () => trivirgatus.falconeri -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >x : trivirgatus.falconeri @@ -16722,7 +16722,7 @@ module argurus { delator(): argurus.netscheri { var x: argurus.netscheri; () => { var y = this; }; return x; } >delator : () => argurus.netscheri -> : ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >dogramacii : any @@ -16748,7 +16748,7 @@ module argurus { nyikae(): trivirgatus.tumidifrons, petrophilus.minutilla>, julianae.acariensis> { var x: trivirgatus.tumidifrons, petrophilus.minutilla>, julianae.acariensis>; () => { var y = this; }; return x; } >nyikae : () => trivirgatus.tumidifrons, petrophilus.minutilla>, julianae.acariensis> -> : ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >howi : any @@ -16790,7 +16790,7 @@ module argurus { ruemmleri(): panglima.amphibius, gabriellae.echinatus>, dogramacii.aurata>, imperfecta.ciliolabrum> { var x: panglima.amphibius, gabriellae.echinatus>, dogramacii.aurata>, imperfecta.ciliolabrum>; () => { var y = this; }; return x; } >ruemmleri : () => panglima.amphibius, gabriellae.echinatus>, dogramacii.aurata>, imperfecta.ciliolabrum> -> : ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >minutus : any @@ -16867,7 +16867,7 @@ module ruatanica { clara(): panglima.amphibius, argurus.dauricus> { var x: panglima.amphibius, argurus.dauricus>; () => { var y = this; }; return x; } >clara : () => panglima.amphibius, argurus.dauricus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >imperfecta : any @@ -16909,7 +16909,7 @@ module ruatanica { spectabilis(): petrophilus.sodyi { var x: petrophilus.sodyi; () => { var y = this; }; return x; } >spectabilis : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >rionegrensis : any @@ -16935,7 +16935,7 @@ module ruatanica { kamensis(): trivirgatus.lotor, lavali.lepturus> { var x: trivirgatus.lotor, lavali.lepturus>; () => { var y = this; }; return x; } >kamensis : () => trivirgatus.lotor, lavali.lepturus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >panamensis : any @@ -16969,7 +16969,7 @@ module ruatanica { ruddi(): lutreolus.foina { var x: lutreolus.foina; () => { var y = this; }; return x; } >ruddi : () => lutreolus.foina -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >lutreolus : any > : ^^^ >x : lutreolus.foina @@ -16987,7 +16987,7 @@ module ruatanica { bartelsii(): julianae.sumatrana { var x: julianae.sumatrana; () => { var y = this; }; return x; } >bartelsii : () => julianae.sumatrana -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >x : julianae.sumatrana @@ -17005,7 +17005,7 @@ module ruatanica { yerbabuenae(): dammermani.siberu, imperfecta.ciliolabrum> { var x: dammermani.siberu, imperfecta.ciliolabrum>; () => { var y = this; }; return x; } >yerbabuenae : () => dammermani.siberu, imperfecta.ciliolabrum> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >dammermani : any > : ^^^ >imperfecta : any @@ -17047,7 +17047,7 @@ module ruatanica { davidi(): trivirgatus.mixtus { var x: trivirgatus.mixtus; () => { var y = this; }; return x; } >davidi : () => trivirgatus.mixtus -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >trivirgatus : any > : ^^^ >provocax : any @@ -17073,7 +17073,7 @@ module ruatanica { pilirostris(): argurus.wetmorei>, sagitta.leptoceros>>, macrorhinos.konganensis> { var x: argurus.wetmorei>, sagitta.leptoceros>>, macrorhinos.konganensis>; () => { var y = this; }; return x; } >pilirostris : () => argurus.wetmorei>, sagitta.leptoceros>>, macrorhinos.konganensis> -> : ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >imperfecta : any @@ -17139,7 +17139,7 @@ module ruatanica { catherinae(): imperfecta.lasiurus, petrophilus.sodyi> { var x: imperfecta.lasiurus, petrophilus.sodyi>; () => { var y = this; }; return x; } >catherinae : () => imperfecta.lasiurus, petrophilus.sodyi> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >Lanthanum : any @@ -17181,7 +17181,7 @@ module ruatanica { frontata(): argurus.oreas { var x: argurus.oreas; () => { var y = this; }; return x; } >frontata : () => argurus.oreas -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.oreas @@ -17199,7 +17199,7 @@ module ruatanica { Terbium(): caurinus.mahaganus { var x: caurinus.mahaganus; () => { var y = this; }; return x; } >Terbium : () => caurinus.mahaganus -> : ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >julianae : any @@ -17225,7 +17225,7 @@ module ruatanica { thomensis(): minutus.inez> { var x: minutus.inez>; () => { var y = this; }; return x; } >thomensis : () => minutus.inez> -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >minutus : any > : ^^^ >argurus : any @@ -17259,7 +17259,7 @@ module ruatanica { soricinus(): quasiater.carolinensis { var x: quasiater.carolinensis; () => { var y = this; }; return x; } >soricinus : () => quasiater.carolinensis -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^ >quasiater : any > : ^^^ >x : quasiater.carolinensis @@ -17292,7 +17292,7 @@ module caurinus { maini(): ruatanica.Praseodymium { var x: ruatanica.Praseodymium; () => { var y = this; }; return x; } >maini : () => ruatanica.Praseodymium -> : ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^^^^^^ >ruatanica : any > : ^^^ >lavali : any @@ -17327,7 +17327,7 @@ module argurus { loriae(): rendalli.moojeni, gabriellae.echinatus>, sagitta.stolzmanni>, lutreolus.punicus> { var x: rendalli.moojeni, gabriellae.echinatus>, sagitta.stolzmanni>, lutreolus.punicus>; () => { var y = this; }; return x; } >loriae : () => rendalli.moojeni, gabriellae.echinatus>, sagitta.stolzmanni>, lutreolus.punicus> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >macrorhinos : any @@ -17386,7 +17386,7 @@ module panamensis { duthieae(): caurinus.mahaganus, dogramacii.aurata> { var x: caurinus.mahaganus, dogramacii.aurata>; () => { var y = this; }; return x; } >duthieae : () => caurinus.mahaganus, dogramacii.aurata> -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ +> : ^^^^^^ >caurinus : any > : ^^^ >howi : any @@ -17420,7 +17420,7 @@ module panamensis { guereza(): howi.coludo { var x: howi.coludo; () => { var y = this; }; return x; } >guereza : () => howi.coludo -> : ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >howi : any > : ^^^ >sagitta : any @@ -17446,7 +17446,7 @@ module panamensis { buselaphus(): daubentonii.nesiotes, dogramacii.koepckeae>, trivirgatus.mixtus> { var x: daubentonii.nesiotes, dogramacii.koepckeae>, trivirgatus.mixtus>; () => { var y = this; }; return x; } >buselaphus : () => daubentonii.nesiotes, dogramacii.koepckeae>, trivirgatus.mixtus> -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >daubentonii : any > : ^^^ >trivirgatus : any @@ -17496,7 +17496,7 @@ module panamensis { nuttalli(): sagitta.cinereus, chrysaeolus.sarasinorum> { var x: sagitta.cinereus, chrysaeolus.sarasinorum>; () => { var y = this; }; return x; } >nuttalli : () => sagitta.cinereus, chrysaeolus.sarasinorum> -> : ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >argurus : any @@ -17538,7 +17538,7 @@ module panamensis { pelii(): rendalli.crenulata, julianae.steerii> { var x: rendalli.crenulata, julianae.steerii>; () => { var y = this; }; return x; } >pelii : () => rendalli.crenulata, julianae.steerii> -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >rendalli : any > : ^^^ >Lanthanum : any @@ -17572,7 +17572,7 @@ module panamensis { tunneyi(): sagitta.stolzmanni { var x: sagitta.stolzmanni; () => { var y = this; }; return x; } >tunneyi : () => sagitta.stolzmanni -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >sagitta : any > : ^^^ >x : sagitta.stolzmanni @@ -17590,7 +17590,7 @@ module panamensis { lamula(): patas.uralensis { var x: patas.uralensis; () => { var y = this; }; return x; } >lamula : () => patas.uralensis -> : ^^^^^^^^^^^ +> : ^^^^^^ >patas : any > : ^^^ >x : patas.uralensis @@ -17608,7 +17608,7 @@ module panamensis { vampyrus(): julianae.oralis { var x: julianae.oralis; () => { var y = this; }; return x; } >vampyrus : () => julianae.oralis -> : ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >lutreolus : any @@ -17643,7 +17643,7 @@ module petrophilus { palmeri(): panglima.amphibius>, trivirgatus.mixtus, panglima.amphibius>> { var x: panglima.amphibius>, trivirgatus.mixtus, panglima.amphibius>>; () => { var y = this; }; return x; } >palmeri : () => panglima.amphibius>, trivirgatus.mixtus, panglima.amphibius>> -> : ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >howi : any @@ -17709,7 +17709,7 @@ module petrophilus { baeops(): Lanthanum.nitidus { var x: Lanthanum.nitidus; () => { var y = this; }; return x; } >baeops : () => Lanthanum.nitidus -> : ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ +> : ^^^^^^ >Lanthanum : any > : ^^^ >lavali : any @@ -17735,7 +17735,7 @@ module petrophilus { ozensis(): imperfecta.lasiurus, lutreolus.foina> { var x: imperfecta.lasiurus, lutreolus.foina>; () => { var y = this; }; return x; } >ozensis : () => imperfecta.lasiurus, lutreolus.foina> -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >panglima : any @@ -17769,7 +17769,7 @@ module petrophilus { creaghi(): argurus.luctuosa { var x: argurus.luctuosa; () => { var y = this; }; return x; } >creaghi : () => argurus.luctuosa -> : ^^^^^^^^^^^^^ +> : ^^^^^^ >argurus : any > : ^^^ >x : argurus.luctuosa @@ -17787,7 +17787,7 @@ module petrophilus { montivaga(): panamensis.setulosus> { var x: panamensis.setulosus>; () => { var y = this; }; return x; } >montivaga : () => panamensis.setulosus> -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >lavali : any @@ -17836,7 +17836,7 @@ module caurinus { socialis(): panglima.amphibius { var x: panglima.amphibius; () => { var y = this; }; return x; } >socialis : () => panglima.amphibius -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ +> : ^^^^^^ >panglima : any > : ^^^ >trivirgatus : any @@ -17862,7 +17862,7 @@ module caurinus { lundi(): petrophilus.sodyi { var x: petrophilus.sodyi; () => { var y = this; }; return x; } >lundi : () => petrophilus.sodyi -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >petrophilus : any > : ^^^ >trivirgatus : any @@ -17888,7 +17888,7 @@ module caurinus { araeum(): imperfecta.ciliolabrum { var x: imperfecta.ciliolabrum; () => { var y = this; }; return x; } >araeum : () => imperfecta.ciliolabrum -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^^^^^^ >imperfecta : any > : ^^^ >quasiater : any @@ -17914,7 +17914,7 @@ module caurinus { calamianensis(): julianae.gerbillus { var x: julianae.gerbillus; () => { var y = this; }; return x; } >calamianensis : () => julianae.gerbillus -> : ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ +> : ^^^^^^ >julianae : any > : ^^^ >lavali : any @@ -17940,7 +17940,7 @@ module caurinus { petersoni(): panamensis.setulosus { var x: panamensis.setulosus; () => { var y = this; }; return x; } >petersoni : () => panamensis.setulosus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >sagitta : any @@ -17966,7 +17966,7 @@ module caurinus { nitela(): panamensis.linulus { var x: panamensis.linulus; () => { var y = this; }; return x; } >nitela : () => panamensis.linulus -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ +> : ^^^^^^ >panamensis : any > : ^^^ >Lanthanum : any diff --git a/tests/baselines/reference/restInvalidArgumentType.types b/tests/baselines/reference/restInvalidArgumentType.types index b5b4c41090d40..06e49a8101544 100644 --- a/tests/baselines/reference/restInvalidArgumentType.types +++ b/tests/baselines/reference/restInvalidArgumentType.types @@ -11,7 +11,7 @@ enum E { v1, v2 }; function f(p1: T, p2: T[]) { >f : (p1: T, p2: T[]) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >b : string > : ^^^^^^ >p1 : T diff --git a/tests/baselines/reference/restParamUsingMappedTypeOverUnionConstraint.types b/tests/baselines/reference/restParamUsingMappedTypeOverUnionConstraint.types index 83082e3ad849c..32015552e4a35 100644 --- a/tests/baselines/reference/restParamUsingMappedTypeOverUnionConstraint.types +++ b/tests/baselines/reference/restParamUsingMappedTypeOverUnionConstraint.types @@ -9,7 +9,7 @@ type HomomorphicMappedType = { [P in keyof T]: T[P] extends string ? boolean declare function test( >test : (args: T, fn: (...args: HomomorphicMappedType) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ args: T, >args : T @@ -17,7 +17,7 @@ declare function test( fn: (...args: HomomorphicMappedType) => void >fn : (...args: HomomorphicMappedType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : HomomorphicMappedType > : ^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/restParameterTypeInstantiation.types b/tests/baselines/reference/restParameterTypeInstantiation.types index cb6c2ab893c38..d899e0eb646e7 100644 --- a/tests/baselines/reference/restParameterTypeInstantiation.types +++ b/tests/baselines/reference/restParameterTypeInstantiation.types @@ -15,9 +15,9 @@ interface TestGeneric { const removeF = ({ f, ...rest }: TestGeneric) => { >removeF : ({ f, ...rest }: TestGeneric) => { g: TX; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >({ f, ...rest }: TestGeneric) => { return rest} : ({ f, ...rest }: TestGeneric) => { g: TX; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >f : string > : ^^^^^^ >rest : { g: TX; } diff --git a/tests/baselines/reference/restParametersOfNonArrayTypes.types b/tests/baselines/reference/restParametersOfNonArrayTypes.types index b8633a70ee01b..e72e7dfc388d7 100644 --- a/tests/baselines/reference/restParametersOfNonArrayTypes.types +++ b/tests/baselines/reference/restParametersOfNonArrayTypes.types @@ -21,9 +21,9 @@ var f = function foo(...x: number) { } var f2 = (...x: Date, ...y: boolean) => { } >f2 : (...x: Date, ...y: boolean) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >(...x: Date, ...y: boolean) => { } : (...x: Date, ...y: boolean) => void -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : Date > : ^^^^ >y : boolean @@ -35,7 +35,7 @@ class C { foo(...x: C) { } >foo : (...x: C) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : C > : ^ } @@ -71,9 +71,9 @@ var a: { var b = { >b : { foo(...x: string): void; a: (...x: number, ...y: Date) => void; b: (...x: string) => void; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ foo(...x: string) { }, a: function foo(...x: number, ...y: Date) { }, b: (...x: string) => { }} : { foo(...x: string): void; a: (...x: number, ...y: Date) => void; b: (...x: string) => void; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ foo(...x: string) { }, >foo : (...x: string) => void @@ -83,11 +83,11 @@ var b = { a: function foo(...x: number, ...y: Date) { }, >a : (...x: number, ...y: Date) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >function foo(...x: number, ...y: Date) { } : (...x: number, ...y: Date) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >foo : (...x: number, ...y: Date) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : number > : ^^^^^^ >y : Date diff --git a/tests/baselines/reference/restParametersOfNonArrayTypes2.types b/tests/baselines/reference/restParametersOfNonArrayTypes2.types index e223f6dfeac64..63d83d030fc3c 100644 --- a/tests/baselines/reference/restParametersOfNonArrayTypes2.types +++ b/tests/baselines/reference/restParametersOfNonArrayTypes2.types @@ -9,25 +9,25 @@ interface MyThing2 extends Array { } function foo(...x: MyThing) { } >foo : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ var f = function foo(...x: MyThing) { } >f : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >function foo(...x: MyThing) { } : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >foo : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ var f2 = (...x: MyThing, ...y: MyThing) => { } >f2 : (...x: MyThing, ...y: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >(...x: MyThing, ...y: MyThing) => { } : (...x: MyThing, ...y: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ >y : MyThing @@ -39,7 +39,7 @@ class C { foo(...x: MyThing) { } >foo : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ } @@ -51,7 +51,7 @@ interface I { foo(...x: MyThing, ...y: MyThing); >foo : (...x: MyThing, ...y: MyThing) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^ >x : MyThing > : ^^^^^^^ >y : MyThing @@ -60,7 +60,7 @@ interface I { var a: { >a : { (...x: MyThing): any; foo(...x: MyThing): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ (...x: MyThing); >x : MyThing @@ -68,30 +68,30 @@ var a: { foo(...x: MyThing); >foo : (...x: MyThing) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ >x : MyThing > : ^^^^^^^ } var b = { >b : { foo(...x: MyThing): void; a: (...x: MyThing, ...y: MyThing) => void; b: (...x: MyThing) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ foo(...x: MyThing) { }, a: function foo(...x: MyThing, ...y: MyThing) { }, b: (...x: MyThing) => { }} : { foo(...x: MyThing): void; a: (...x: MyThing, ...y: MyThing) => void; b: (...x: MyThing) => void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ foo(...x: MyThing) { }, >foo : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ a: function foo(...x: MyThing, ...y: MyThing) { }, >a : (...x: MyThing, ...y: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >function foo(...x: MyThing, ...y: MyThing) { } : (...x: MyThing, ...y: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >foo : (...x: MyThing, ...y: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ >y : MyThing @@ -99,9 +99,9 @@ var b = { b: (...x: MyThing) => { } >b : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >(...x: MyThing) => { } : (...x: MyThing) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing > : ^^^^^^^ } @@ -111,25 +111,25 @@ var b = { function foo2(...x: MyThing2) { } >foo2 : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ var f3 = function foo(...x: MyThing2) { } >f3 : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >function foo(...x: MyThing2) { } : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >foo : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ var f4 = (...x: MyThing2, ...y: MyThing2) => { } >f4 : (...x: MyThing2, ...y: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >(...x: MyThing2, ...y: MyThing2) => { } : (...x: MyThing2, ...y: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ >y : MyThing2 @@ -141,7 +141,7 @@ class C2 { foo(...x: MyThing2) { } >foo : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ } @@ -153,7 +153,7 @@ interface I2 { foo(...x: MyThing2, ...y: MyThing2); >foo : (...x: MyThing2, ...y: MyThing2) => any -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ >y : MyThing2 @@ -162,7 +162,7 @@ interface I2 { var a2: { >a2 : { (...x: MyThing2): any; foo(...x: MyThing2): any; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ (...x: MyThing2); >x : MyThing2 @@ -170,30 +170,30 @@ var a2: { foo(...x: MyThing2); >foo : (...x: MyThing2) => any -> : ^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ } var b2 = { >b2 : { foo(...x: MyThing2): void; a: (...x: MyThing2, ...y: MyThing2) => void; b: (...x: MyThing2) => void; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ foo(...x: MyThing2) { }, a: function foo(...x: MyThing2, ...y: MyThing2) { }, b: (...x: MyThing2) => { }} : { foo(...x: MyThing2): void; a: (...x: MyThing2, ...y: MyThing2) => void; b: (...x: MyThing2) => void; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ foo(...x: MyThing2) { }, >foo : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ a: function foo(...x: MyThing2, ...y: MyThing2) { }, >a : (...x: MyThing2, ...y: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >function foo(...x: MyThing2, ...y: MyThing2) { } : (...x: MyThing2, ...y: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >foo : (...x: MyThing2, ...y: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ >y : MyThing2 @@ -201,9 +201,9 @@ var b2 = { b: (...x: MyThing2) => { } >b : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >(...x: MyThing2) => { } : (...x: MyThing2) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : MyThing2 > : ^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/restParametersWithArrayTypeAnnotations.types b/tests/baselines/reference/restParametersWithArrayTypeAnnotations.types index ea6798474b156..e80659581c3f4 100644 --- a/tests/baselines/reference/restParametersWithArrayTypeAnnotations.types +++ b/tests/baselines/reference/restParametersWithArrayTypeAnnotations.types @@ -107,25 +107,25 @@ var b = { function foo2(...x: Array) { } >foo2 : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ var f3 = function foo(...x: Array) { } >f3 : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >function foo(...x: Array) { } : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >foo : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ var f4 = (...x: Array, ...y: Array) => { } >f4 : (...x: Array, ...y: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >(...x: Array, ...y: Array) => { } : (...x: Array, ...y: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ >y : string[] @@ -137,7 +137,7 @@ class C2 { foo(...x: Array) { } >foo : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ } @@ -149,7 +149,7 @@ interface I2 { foo(...x: Array, ...y: Array); >foo : (...x: Array, ...y: Array) => any -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^ >x : string[] > : ^^^^^^^^ >y : string[] @@ -158,7 +158,7 @@ interface I2 { var a2: { >a2 : { (...x: Array): any; foo(...x: Array): any; } -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ (...x: Array); >x : string[] @@ -166,30 +166,30 @@ var a2: { foo(...x: Array); >foo : (...x: Array) => any -> : ^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ >x : string[] > : ^^^^^^^^ } var b2 = { >b2 : { foo(...x: Array): void; a: (...x: Array, ...y: Array) => void; b: (...x: Array) => void; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >{ foo(...x: Array) { }, a: function foo(...x: Array, ...y: Array) { }, b: (...x: Array) => { }} : { foo(...x: Array): void; a: (...x: Array, ...y: Array) => void; b: (...x: Array) => void; } -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ foo(...x: Array) { }, >foo : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ a: function foo(...x: Array, ...y: Array) { }, >a : (...x: Array, ...y: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >function foo(...x: Array, ...y: Array) { } : (...x: Array, ...y: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >foo : (...x: Array, ...y: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ >y : string[] @@ -197,9 +197,9 @@ var b2 = { b: (...x: Array) => { } >b : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >(...x: Array) => { } : (...x: Array) => void -> : ^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : string[] > : ^^^^^^^^ } diff --git a/tests/baselines/reference/restTupleElements1.types b/tests/baselines/reference/restTupleElements1.types index c9ca109bbd3c6..6ebefcef2ce5b 100644 --- a/tests/baselines/reference/restTupleElements1.types +++ b/tests/baselines/reference/restTupleElements1.types @@ -241,7 +241,7 @@ let ex = t[x]; // number | string | boolean declare function f0(x: [T, ...U[]]): [T, U]; >f0 : (x: [T, ...U[]]) => [T, U] -> : ^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >x : [T, ...U[]] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/restTuplesFromContextualTypes.types b/tests/baselines/reference/restTuplesFromContextualTypes.types index 5d114e163e8c1..16e947df26414 100644 --- a/tests/baselines/reference/restTuplesFromContextualTypes.types +++ b/tests/baselines/reference/restTuplesFromContextualTypes.types @@ -93,7 +93,7 @@ declare const t1: [number, boolean, string]; declare function f1(cb: (...args: typeof t1) => void): void; >f1 : (cb: (...args: typeof t1) => void) => void -> : ^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (args_0: number, args_1: boolean, args_2: string) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : [number, boolean, string] @@ -259,7 +259,7 @@ declare const t2: [number, boolean, ...string[]]; declare function f2(cb: (...args: typeof t2) => void): void; >f2 : (cb: (...args: typeof t2) => void) => void -> : ^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (args_0: number, args_1: boolean, ...args_2: string[]) => void > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : [number, boolean, ...string[]] @@ -435,7 +435,7 @@ declare const t3: [boolean, ...string[]]; declare function f3(cb: (x: number, ...args: typeof t3) => void): void; >f3 : (cb: (x: number, ...args: typeof t3) => void) => void -> : ^^^^^ ^^ ^^^^^ +> : ^^^^^ ^^^^^ >cb : (x: number, args_0: boolean, ...args_1: string[]) => void > : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number @@ -513,7 +513,7 @@ f3((a, b, c, ...x) => {}) function f4(t: T) { >f4 : (t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >t : T > : ^ @@ -571,9 +571,9 @@ function f4(t: T) { function f(cb: (x: number, ...args: T) => void) {} >f : (cb: (x: number, ...args: T) => void) => void -> : ^^^^^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >cb : (x: number, ...args: T) => void -> : ^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ ^^^^^ >x : number > : ^^^^^^ >args : T @@ -618,9 +618,9 @@ function f4(t: T) { declare function f5(f: (...args: T) => U): (...args: T) => U; >f5 : (f: (...args: T) => U) => (...args: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >f : (...args: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ >args : T @@ -706,13 +706,13 @@ let g4 = f5((...args) => true); declare function pipe(f: (...args: A) => B, g: (x: B) => C): (...args: A) => C; >pipe : (f: (...args: A) => B, g: (x: B) => C) => (...args: A) => C -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >f : (...args: A) => B -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : A > : ^ >g : (x: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : B > : ^ >args : A diff --git a/tests/baselines/reference/restTypeRetainsMappyness.types b/tests/baselines/reference/restTypeRetainsMappyness.types index 67853e6184d1a..efcc4101edc56 100644 --- a/tests/baselines/reference/restTypeRetainsMappyness.types +++ b/tests/baselines/reference/restTypeRetainsMappyness.types @@ -10,9 +10,9 @@ type Foo = { function test(fn: (...args: Foo) => void) { >test : (fn: (...args: Foo) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >fn : (...args: Foo) => void -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : Foo > : ^^^^^^ diff --git a/tests/baselines/reference/returnInfiniteIntersection.types b/tests/baselines/reference/returnInfiniteIntersection.types index c694388100303..1ce84d8ff6256 100644 --- a/tests/baselines/reference/returnInfiniteIntersection.types +++ b/tests/baselines/reference/returnInfiniteIntersection.types @@ -3,17 +3,17 @@ === returnInfiniteIntersection.ts === function recursive() { >recursive : () => ((subkey: T) => any & { p: any; }) & { p: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ let x = (subkey: T) => recursive(); >x : (subkey: T) => any & { p: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >(subkey: T) => recursive() : (subkey: T) => any & { p: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >subkey : T > : ^ >recursive() : ((subkey: T) => any & { p: any; }) & { p: any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >recursive : () => ((subkey: T) => any & { p: any; }) & { p: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/returnStatements.types b/tests/baselines/reference/returnStatements.types index efc3d2d42e304..34d8dce5da62f 100644 --- a/tests/baselines/reference/returnStatements.types +++ b/tests/baselines/reference/returnStatements.types @@ -32,7 +32,7 @@ function fn5(): boolean { return true; } function fn6(): Date { return new Date(12); } >fn6 : () => Date -> : ^^^^^^^^^^ +> : ^^^^^^ >new Date(12) : Date > : ^^^^ >Date : DateConstructor @@ -76,7 +76,7 @@ class D extends C { } function fn10(): I { return { id: 12 }; } >fn10 : () => I -> : ^^^^^^^ +> : ^^^^^^ >{ id: 12 } : { id: number; } > : ^^^^^^^^^^^^^^^ >id : number @@ -86,7 +86,7 @@ function fn10(): I { return { id: 12 }; } function fn11(): I { return new C(); } >fn11 : () => I -> : ^^^^^^^ +> : ^^^^^^ >new C() : C > : ^ >C : typeof C @@ -94,7 +94,7 @@ function fn11(): I { return new C(); } function fn12(): C { return new D(); } >fn12 : () => C -> : ^^^^^^^ +> : ^^^^^^ >new D() : D > : ^ >D : typeof D @@ -102,5 +102,5 @@ function fn12(): C { return new D(); } function fn13(): C { return null; } >fn13 : () => C -> : ^^^^^^^ +> : ^^^^^^ diff --git a/tests/baselines/reference/returnTagTypeGuard.types b/tests/baselines/reference/returnTagTypeGuard.types index c972bbb9ae5c2..ef0b3aa55e92b 100644 --- a/tests/baselines/reference/returnTagTypeGuard.types +++ b/tests/baselines/reference/returnTagTypeGuard.types @@ -64,7 +64,7 @@ class Group { /** @param {Entry | Group} chunk */ function f(chunk) { >f : (chunk: Entry | Group) => string | number -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >chunk : Entry | Group > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/returnTypeInferenceNotTooBroad.types b/tests/baselines/reference/returnTypeInferenceNotTooBroad.types index 40a818b74c486..b2246acd021e7 100644 --- a/tests/baselines/reference/returnTypeInferenceNotTooBroad.types +++ b/tests/baselines/reference/returnTypeInferenceNotTooBroad.types @@ -30,13 +30,13 @@ interface Wrapper { } declare function sepsis(opts: Opts): Wrapper; >sepsis : (opts: Opts) => Wrapper -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >opts : Opts > : ^^^^^^^ declare function unwrap(w: Wrapper): T; >unwrap : (w: Wrapper) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >w : Wrapper > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/returnTypeParameter.types b/tests/baselines/reference/returnTypeParameter.types index d0fe89df37c72..199118584d09a 100644 --- a/tests/baselines/reference/returnTypeParameter.types +++ b/tests/baselines/reference/returnTypeParameter.types @@ -3,13 +3,13 @@ === returnTypeParameter.ts === function f(a: T): T { } // error, no return statement >f : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ function f2(a: T): T { return T; } // bug was that this satisfied the return statement requirement >f2 : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ >T : any diff --git a/tests/baselines/reference/returnTypeParameterWithModules.types b/tests/baselines/reference/returnTypeParameterWithModules.types index 87ef26b87d6b9..9f33cb5094a13 100644 --- a/tests/baselines/reference/returnTypeParameterWithModules.types +++ b/tests/baselines/reference/returnTypeParameterWithModules.types @@ -7,7 +7,7 @@ module M1 { export function reduce(ar, f, e?): Array { >reduce : (ar: any, f: any, e?: any) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >ar : any >f : any >e : any @@ -73,13 +73,13 @@ module M2 { }; export function compose2(g: (x: B) => C, f: (x: D) => B): (x: D) => C { >compose2 : (g: (x: B) => C, f: (x: D) => B) => (x: D) => C -> : ^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^^^^ ^^^^^ ^^^^^ >g : (x: B) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : B > : ^ >f : (x: D) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : D > : ^ >x : D diff --git a/tests/baselines/reference/returnTypePredicateIsInstantiateInContextOfTarget.types b/tests/baselines/reference/returnTypePredicateIsInstantiateInContextOfTarget.types index e7ab9f75d6c19..6e8335084f30a 100644 --- a/tests/baselines/reference/returnTypePredicateIsInstantiateInContextOfTarget.types +++ b/tests/baselines/reference/returnTypePredicateIsInstantiateInContextOfTarget.types @@ -16,7 +16,7 @@ class TestComponent extends React.Component<{ isAny: (obj: any) => obj is T } >TestComponent : TestComponent > : ^^^^^^^^^^^^^ >React.Component : React.Component<{ isAny: (obj: any) => obj is T; }, {}, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >React : typeof React > : ^^^^^^^^^^^^ >Component : typeof React.Component diff --git a/tests/baselines/reference/returnTypeTypeArguments.types b/tests/baselines/reference/returnTypeTypeArguments.types index cd4ec33040500..f56cf51e130ee 100644 --- a/tests/baselines/reference/returnTypeTypeArguments.types +++ b/tests/baselines/reference/returnTypeTypeArguments.types @@ -182,7 +182,7 @@ class X declare var a: { >a : { p1: () => X; p2: { [idx: number]: X; }; p3: X[]; p4: I; p5: any; p6: () => Y; p7: { [idx: number]: Y; }; p8: Y[]; p9: I; pa: any; } -> : ^^^^^^ ^^^^^^^ ^ ^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ p1: () => X; >p1 : () => any diff --git a/tests/baselines/reference/reverseInferenceInContextualInstantiation.types b/tests/baselines/reference/reverseInferenceInContextualInstantiation.types index 089f609400e21..6fab4a9c82d8b 100644 --- a/tests/baselines/reference/reverseInferenceInContextualInstantiation.types +++ b/tests/baselines/reference/reverseInferenceInContextualInstantiation.types @@ -3,7 +3,7 @@ === reverseInferenceInContextualInstantiation.ts === function compare(a: T, b: T): number { return 0; } >compare : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/reverseMappedContravariantInference.types b/tests/baselines/reference/reverseMappedContravariantInference.types index 8b76d2e4e4f2f..73e0f4cc8a932 100644 --- a/tests/baselines/reference/reverseMappedContravariantInference.types +++ b/tests/baselines/reference/reverseMappedContravariantInference.types @@ -5,9 +5,9 @@ declare function conforms(source: { [K in keyof T]: (val: T[K]) => boolean }): (value: T) => boolean; >conforms : (source: { [K in keyof T]: (val: T[K]) => boolean; }) => (value: T) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >source : { [K in keyof T]: (val: T[K]) => boolean; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >val : T[K] > : ^^^^ >value : T diff --git a/tests/baselines/reference/reverseMappedPartiallyInferableTypes.types b/tests/baselines/reference/reverseMappedPartiallyInferableTypes.types index f74e395803141..72d9fdbb0f090 100644 --- a/tests/baselines/reference/reverseMappedPartiallyInferableTypes.types +++ b/tests/baselines/reference/reverseMappedPartiallyInferableTypes.types @@ -61,7 +61,7 @@ export type PropsDefinition = RecordPropsDefinition; declare function extend({ props }: { props: PropsDefinition }): PropsDefinition; >extend : ({ props }: { props: PropsDefinition; }) => PropsDefinition -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^ ^^^^^ >props : RecordPropsDefinition > : ^^^^^^^^^^^^^^^^^^^^^^^^ >props : RecordPropsDefinition @@ -81,19 +81,19 @@ const r = extend({ >extend : ({ props }: { props: RecordPropsDefinition; }) => RecordPropsDefinition > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ props: { notResolved: { type: Object as PropType, validator: x => { return x.valid; } }, explicit: { type: Object as PropType, validator: (x: MyType) => { return x.valid; } } }} : { props: { notResolved: { type: PropType; validator: (x: MyType) => boolean; }; explicit: { type: PropType; validator: (x: MyType) => boolean; }; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ props: { >props : { notResolved: { type: PropType; validator: (x: MyType) => boolean; }; explicit: { type: PropType; validator: (x: MyType) => boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >{ notResolved: { type: Object as PropType, validator: x => { return x.valid; } }, explicit: { type: Object as PropType, validator: (x: MyType) => { return x.valid; } } } : { notResolved: { type: PropType; validator: (x: MyType) => boolean; }; explicit: { type: PropType; validator: (x: MyType) => boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ notResolved: { >notResolved : { type: PropType; validator: (x: MyType) => boolean; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ type: Object as PropType, validator: x => { return x.valid; } } : { type: PropType; validator: (x: MyType) => boolean; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type: Object as PropType, >type : PropType @@ -122,9 +122,9 @@ const r = extend({ }, explicit: { >explicit : { type: PropType; validator: (x: MyType) => boolean; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >{ type: Object as PropType, validator: (x: MyType) => { return x.valid; } } : { type: PropType; validator: (x: MyType) => boolean; } -> : ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ type: Object as PropType, >type : PropType @@ -136,9 +136,9 @@ const r = extend({ validator: (x: MyType) => { >validator : (x: MyType) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >(x: MyType) => { return x.valid; } : (x: MyType) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >x : MyType > : ^^^^^^ @@ -206,7 +206,7 @@ type Box = { contains?(content: T): boolean; >contains : ((content: T) => boolean) | undefined -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >content : T > : ^ @@ -221,7 +221,7 @@ type Mapped = { declare function id(arg: Mapped): Mapped; >id : (arg: Mapped) => Mapped -> : ^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ ^^^^^ >arg : Mapped > : ^^^^^^^^^ @@ -349,7 +349,7 @@ type Mapped1 = { declare function inferMapped1(arg: Mapped1): void; >inferMapped1 : (arg: Mapped1) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >arg : Mapped1 > : ^^^^^^^^^^ @@ -397,7 +397,7 @@ type Mapped2 = { declare function inferMapped2(arg: Mapped2): void; >inferMapped2 : (arg: Mapped2) => void -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >arg : Mapped2 > : ^^^^^^^^^^ @@ -445,7 +445,7 @@ type MappedReadonly = { declare function inferMappedReadonly(arg: MappedReadonly): void; >inferMappedReadonly : (arg: MappedReadonly) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >arg : MappedReadonly > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/reverseMappedTupleContext.types b/tests/baselines/reference/reverseMappedTupleContext.types index d7f2e065c4a6f..635bd434a6505 100644 --- a/tests/baselines/reference/reverseMappedTupleContext.types +++ b/tests/baselines/reference/reverseMappedTupleContext.types @@ -5,7 +5,7 @@ declare function test1(arg: { >test1 : (arg: { [K in keyof T]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : { [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -27,7 +27,7 @@ const result1 = test1(["foo", 42]); declare function test2(arg: { >test2 : (arg: { [K in keyof T]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ >arg : { [K in keyof T]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -59,7 +59,7 @@ type Definition = { }; declare function create(definition: Definition): T; >create : (definition: Definition) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >definition : Definition > : ^^^^^^^^^^^^^ @@ -134,9 +134,9 @@ type KeepLiteralStrings = { }; declare function test4>(obj: { >test4 : >(obj: { [K in keyof T & keyof CompilerOptions]: { dependencies: KeepLiteralStrings; }; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : { [K in keyof T & keyof CompilerOptions]: { dependencies: KeepLiteralStrings; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [K in keyof T & keyof CompilerOptions]: { dependencies: KeepLiteralStrings; diff --git a/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.types b/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.types index 4cbbff8763f1a..5c4d4fc1880a9 100644 --- a/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.types +++ b/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.types @@ -9,7 +9,7 @@ type Selector = (state: S) => R; declare function createStructuredSelector( >createStructuredSelector : (selectors: { [K in keyof T]: Selector; }) => Selector -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ selectors: {[K in keyof T]: Selector}, >selectors : { [K in keyof T]: Selector; } diff --git a/tests/baselines/reference/reverseMappedTypeContextualTypesPerElementOfTupleConstraint.types b/tests/baselines/reference/reverseMappedTypeContextualTypesPerElementOfTupleConstraint.types index e64bd72c368d2..016f7457d3547 100644 --- a/tests/baselines/reference/reverseMappedTypeContextualTypesPerElementOfTupleConstraint.types +++ b/tests/baselines/reference/reverseMappedTypeContextualTypesPerElementOfTupleConstraint.types @@ -7,7 +7,7 @@ type Tuple = readonly [T, ...T[]]; declare function bindAll< >bindAll : >(target: TTarget, bindings: { [K in keyof TTypes]: { type: TTypes[K]; listener: (ev: Parameters any>>[0]) => void; }; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ TTarget extends EventTarget, TTypes extends Tuple @@ -18,7 +18,7 @@ declare function bindAll< bindings: { >bindings : { [K in keyof TTypes]: { type: TTypes[K]; listener: (ev: Parameters any>>[0]) => void; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^ [K in keyof TTypes]: { type: TTypes[K]; @@ -27,7 +27,7 @@ declare function bindAll< listener: ( >listener : (ev: Parameters any>>[0]) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ ^ ^^^^^ +> : ^^^^^ ^^^^^ ev: Parameters any>>[0] >ev : Parameters any>>[0] diff --git a/tests/baselines/reference/reverseMappedTypeDeepDeclarationEmit.types b/tests/baselines/reference/reverseMappedTypeDeepDeclarationEmit.types index 07e92687f19cf..35f4aa39dfb3c 100644 --- a/tests/baselines/reference/reverseMappedTypeDeepDeclarationEmit.types +++ b/tests/baselines/reference/reverseMappedTypeDeepDeclarationEmit.types @@ -25,7 +25,7 @@ export declare const SimpleStringValidator: NativeTypeValidator; ///object validator function export declare const ObjValidator: (validatorObj: ObjectValidator) => (o: any) => V; >ObjValidator : (validatorObj: ObjectValidator) => (o: any) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^ >validatorObj : ObjectValidator > : ^^^^^^^^^^^^^^^^^^ >o : any diff --git a/tests/baselines/reference/reverseMappedTypeIntersectionConstraint.types b/tests/baselines/reference/reverseMappedTypeIntersectionConstraint.types index 600d6c8de4893..137e43ef6e26a 100644 --- a/tests/baselines/reference/reverseMappedTypeIntersectionConstraint.types +++ b/tests/baselines/reference/reverseMappedTypeIntersectionConstraint.types @@ -27,7 +27,7 @@ type StateSchema = { declare function createMachine< >createMachine : , TAction extends string = TConfig["entry"] extends string ? TConfig["entry"] : string>(config: { [K in keyof TConfig & keyof StateConfig]: TConfig[K]; }) => [TAction, TConfig] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TConfig extends StateConfig, TAction extends string = TConfig["entry"] extends string ? TConfig["entry"] : string, @@ -128,11 +128,11 @@ const inferredParams2 = createMachine({ const checkType = () => (value: { [K in keyof U & keyof T]: U[K] }) => value; >checkType : () => (value: { [K in keyof U & keyof T]: U[K]; }) => { [K in keyof U & keyof T]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => (value: { [K in keyof U & keyof T]: U[K] }) => value : () => (value: { [K in keyof U & keyof T]: U[K]; }) => { [K in keyof U & keyof T]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(value: { [K in keyof U & keyof T]: U[K] }) => value : (value: { [K in keyof U & keyof T]: U[K]; }) => { [K in keyof U & keyof T]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : { [K in keyof U & keyof T]: U[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : { [K in keyof U & keyof T]: U[K]; } @@ -194,7 +194,7 @@ interface Stuff { function doStuffWithStuff(s: { [K in keyof T & keyof Stuff]: T[K] } ): T { >doStuffWithStuff : (s: { [K in keyof T & keyof Stuff]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >s : { [K in keyof T & keyof Stuff]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -247,7 +247,7 @@ doStuffWithStuff({ field: 1, anotherField: 'a', extra: 123 }) function doStuffWithStuffArr(arr: { [K in keyof T & keyof Stuff]: T[K] }[]): T[] { >doStuffWithStuffArr : (arr: { [K in keyof T & keyof Stuff]: T[K]; }[]) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >arr : { [K in keyof T & keyof Stuff]: T[K]; }[] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -314,7 +314,7 @@ type XNumber = { x: number } declare function foo(props: {[K in keyof T & keyof XNumber]: T[K]}): void; >foo : (props: { [K in keyof T & "x"]: T[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >props : { [K in keyof T & "x"]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -383,7 +383,7 @@ type NoErrWithOptProps = { x: number, y?: string } declare function baz(props: {[K in keyof T & keyof NoErrWithOptProps]: T[K]}): void; >baz : (props: { [K in keyof T & keyof NoErrWithOptProps]: T[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >props : { [K in keyof T & keyof NoErrWithOptProps]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -470,7 +470,7 @@ interface WithNestedProp { declare function withNestedProp(props: {[K in keyof T & keyof WithNestedProp]: T[K]}): T; >withNestedProp : (props: { [K in keyof T & keyof WithNestedProp]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >props : { [K in keyof T & keyof WithNestedProp]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -521,7 +521,7 @@ interface ProvidedActor { logic: () => Promise; >logic : () => Promise -> : ^^^^^^^^^^^^^ +> : ^^^^^^ } type DistributeActors = TActor extends { src: infer TSrc } @@ -571,12 +571,12 @@ type NoExtra = { declare function createXMachine< >createXMachine : , TActor extends ProvidedActor = TConfig extends { types: { actors: ProvidedActor; }; } ? TConfig["types"]["actors"] : ProvidedActor>(config: { [K in keyof MachineConfig & keyof TConfig]: TConfig[K]; }) => TConfig -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const TConfig extends MachineConfig, TActor extends ProvidedActor = TConfig extends { types: { actors: ProvidedActor} } ? TConfig["types"]["actors"] : ProvidedActor, >types : { actors: ProvidedActor; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ >actors : ProvidedActor > : ^^^^^^^^^^^^^ @@ -602,25 +602,25 @@ const child = () => Promise.resolve("foo"); const config = createXMachine({ >config : { types: { actors: { src: "str"; logic: typeof child; }; }; invoke: { readonly src: "str"; }; } -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >createXMachine({ types: {} as { actors: { src: "str"; logic: typeof child; }; }, invoke: { src: "str", }, extra: 10}) : { types: { actors: { src: "str"; logic: typeof child; }; }; invoke: { readonly src: "str"; }; } -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >createXMachine : , TActor extends ProvidedActor = TConfig extends { types: { actors: ProvidedActor; }; } ? TConfig["types"]["actors"] : ProvidedActor>(config: { [K in keyof MachineConfig & keyof TConfig]: TConfig[K]; }) => TConfig > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ types: {} as { actors: { src: "str"; logic: typeof child; }; }, invoke: { src: "str", }, extra: 10} : { types: { actors: { src: "str"; logic: typeof child; }; }; invoke: { src: "str"; }; extra: number; } -> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types: {} as { >types : { actors: { src: "str"; logic: typeof child; }; } -> : ^^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^ >{} as { actors: { src: "str"; logic: typeof child; }; } : { actors: { src: "str"; logic: typeof child; }; } -> : ^^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^^ ^^^ >{} : {} > : ^^ actors: { >actors : { src: "str"; logic: typeof child; } -> : ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^ src: "str"; >src : "str" diff --git a/tests/baselines/reference/reverseMappedTypeLimitedConstraint.types b/tests/baselines/reference/reverseMappedTypeLimitedConstraint.types index 51a7fcb6c8d0c..3657cb1a46cb1 100644 --- a/tests/baselines/reference/reverseMappedTypeLimitedConstraint.types +++ b/tests/baselines/reference/reverseMappedTypeLimitedConstraint.types @@ -9,7 +9,7 @@ type XNumber_ = { x: number } declare function foo_(props: {[K in keyof T & keyof XNumber_]: T[K]}): T; >foo_ : (props: { [K in keyof T & "x"]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >props : { [K in keyof T & "x"]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -33,11 +33,11 @@ foo_({x: 1, y: 'foo'}); const checkType_ = () => (value: { [K in keyof U & keyof T]: U[K] }) => value; >checkType_ : () => (value: { [K in keyof U & keyof T]: U[K]; }) => { [K in keyof U & keyof T]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => (value: { [K in keyof U & keyof T]: U[K] }) => value : () => (value: { [K in keyof U & keyof T]: U[K]; }) => { [K in keyof U & keyof T]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(value: { [K in keyof U & keyof T]: U[K] }) => value : (value: { [K in keyof U & keyof T]: U[K]; }) => { [K in keyof U & keyof T]: U[K]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : { [K in keyof U & keyof T]: U[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : { [K in keyof U & keyof T]: U[K]; } diff --git a/tests/baselines/reference/reverseMappedTypePrimitiveConstraintProperty.types b/tests/baselines/reference/reverseMappedTypePrimitiveConstraintProperty.types index 1e91058fa931f..5cde85f7a2e9d 100644 --- a/tests/baselines/reference/reverseMappedTypePrimitiveConstraintProperty.types +++ b/tests/baselines/reference/reverseMappedTypePrimitiveConstraintProperty.types @@ -3,7 +3,7 @@ === reverseMappedTypePrimitiveConstraintProperty.ts === declare function test< >test : (obj: { [K in keyof T]: T[K]; }) => T -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ T extends { prop: string; nested: { nestedProp: string } }, >prop : string diff --git a/tests/baselines/reference/reverseMappedUnionInference.types b/tests/baselines/reference/reverseMappedUnionInference.types index 2f3be8f389421..2f9a8f876b2b8 100644 --- a/tests/baselines/reference/reverseMappedUnionInference.types +++ b/tests/baselines/reference/reverseMappedUnionInference.types @@ -9,7 +9,7 @@ interface AnyExtractor { extract: (node: any) => Result | undefined; >extract : (node: any) => Result | undefined -> : ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >node : any } @@ -22,16 +22,16 @@ interface Extractor { extract: (node: T) => Result | undefined; >extract : (node: T) => Result | undefined -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >node : T > : ^ } declare function createExtractor(params: { >createExtractor : (params: { matcher: (node: unknown) => node is T; extract: (node: T) => Result; }) => Extractor -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^ >params : { matcher: (node: unknown) => node is T; extract: (node: T) => Result; } -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ matcher: (node: unknown) => node is T; >matcher : (node: unknown) => node is T @@ -41,7 +41,7 @@ declare function createExtractor(params: { extract: (node: T) => Result; >extract : (node: T) => Result -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >node : T > : ^ @@ -189,7 +189,7 @@ const stringExtractor = createExtractor({ declare function unionType(parsers: { >unionType : (parsers: { [K in keyof Result]: AnyExtractor; }) => AnyExtractor -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >parsers : { [K in keyof Result]: AnyExtractor; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/selfInLambdas.types b/tests/baselines/reference/selfInLambdas.types index 2f36e14fb0190..ae2167930f05b 100644 --- a/tests/baselines/reference/selfInLambdas.types +++ b/tests/baselines/reference/selfInLambdas.types @@ -18,7 +18,7 @@ declare var window: Window; interface Window { onmousemove: (ev: MouseEvent) => any; >onmousemove : (ev: MouseEvent) => any -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >ev : MouseEvent > : ^^^^^^^^^^ diff --git a/tests/baselines/reference/selfReference.types b/tests/baselines/reference/selfReference.types index cc27fe32eeb80..6535016c14891 100644 --- a/tests/baselines/reference/selfReference.types +++ b/tests/baselines/reference/selfReference.types @@ -3,7 +3,7 @@ === selfReference.ts === declare function asFunction(value: T): () => T; >asFunction : (value: T) => () => T -> : ^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^ ^^^^^ >value : T > : ^ diff --git a/tests/baselines/reference/selfReferentialFunctionType.types b/tests/baselines/reference/selfReferentialFunctionType.types index c30237e53186b..ba45801d671dd 100644 --- a/tests/baselines/reference/selfReferentialFunctionType.types +++ b/tests/baselines/reference/selfReferentialFunctionType.types @@ -3,15 +3,15 @@ === selfReferentialFunctionType.ts === declare function f(args: typeof f): T; >f : (args: typeof f) => T -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ >args : typeof f -> : ^ ^ +> : >f : (args: typeof f) => T -> : ^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^ declare function g(args: T): T; >g : (args: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ >g : (args: T) => T > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : T @@ -19,7 +19,7 @@ declare function g(args: T): T; declare function h(): typeof h; >h : () => typeof h -> : ^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ >h : () => typeof h -> : ^^^^^^^^^ ^ ^ +> : ^ ^^^^^^^ diff --git a/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.types b/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.types index 1a2e698f426ed..34a194ff09bc9 100644 --- a/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.types +++ b/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.types @@ -4,7 +4,7 @@ interface ICache { get(key: string): T; >get : (key: string) => T -> : ^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >key : string > : ^^^^^^ } @@ -14,7 +14,7 @@ class CacheService implements ICache { // Should not error that property type of get(key: string): T { >get : (key: string) => T -> : ^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ >key : string > : ^^^^^^ diff --git a/tests/baselines/reference/signatureInstantiationWithRecursiveConstraints.types b/tests/baselines/reference/signatureInstantiationWithRecursiveConstraints.types index 80062f367f2d1..d824ff8bbd971 100644 --- a/tests/baselines/reference/signatureInstantiationWithRecursiveConstraints.types +++ b/tests/baselines/reference/signatureInstantiationWithRecursiveConstraints.types @@ -9,7 +9,7 @@ class Foo { myFunc(arg: T) {} >myFunc : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ } @@ -20,7 +20,7 @@ class Bar { myFunc(arg: T) {} >myFunc : (arg: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >arg : T > : ^ } diff --git a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types index 3e57b7d9240ba..2f7a6f937ae86 100644 --- a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types +++ b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types @@ -21,7 +21,7 @@ function MyClass() { */ MyClass.prototype.optionalParam = function(required, notRequired) { >MyClass.prototype.optionalParam = function(required, notRequired) { return this;} : (required: string, notRequired?: string) => MyClass -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >MyClass.prototype.optionalParam : any >MyClass.prototype : any > : ^^^ diff --git a/tests/baselines/reference/silentNeverPropagation.types b/tests/baselines/reference/silentNeverPropagation.types index 37d09a40a69af..841a0849a40e2 100644 --- a/tests/baselines/reference/silentNeverPropagation.types +++ b/tests/baselines/reference/silentNeverPropagation.types @@ -35,7 +35,7 @@ type MoreState = { declare function createModule(state: TState, actions: TActions): ModuleWithState & TActions; >createModule : (state: TState, actions: TActions) => ModuleWithState & TActions -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >state : TState > : ^^^^^^ >actions : TActions @@ -43,7 +43,7 @@ declare function createModule(state: TState, actions: TActions declare function convert(m: ModuleWithState & TActions): ModuleWithState & TActions; >convert : (m: ModuleWithState & TActions) => ModuleWithState & TActions -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >m : ModuleWithState & TActions > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/simplifyingConditionalWithInteriorConditionalIsRelated.types b/tests/baselines/reference/simplifyingConditionalWithInteriorConditionalIsRelated.types index 933715889d553..ba1f501adcc04 100644 --- a/tests/baselines/reference/simplifyingConditionalWithInteriorConditionalIsRelated.types +++ b/tests/baselines/reference/simplifyingConditionalWithInteriorConditionalIsRelated.types @@ -8,7 +8,7 @@ type ConditionalType = T extends string ? string : number; function ConditionalOrUndefined(): ConditionalType | undefined { >ConditionalOrUndefined : () => ConditionalType | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ return 0 as any; >0 as any : any @@ -18,7 +18,7 @@ function ConditionalOrUndefined(): ConditionalType | undefined { function JustConditional(): ConditionalType { >JustConditional : () => ConditionalType -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ return ConditionalOrUndefined()!; // shouldn't error >ConditionalOrUndefined()! : ConditionalType @@ -33,7 +33,7 @@ function JustConditional(): ConditionalType { // For comparison... function genericOrUndefined(): T | undefined { >genericOrUndefined : () => T | undefined -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ return 0 as any; >0 as any : any @@ -43,7 +43,7 @@ function genericOrUndefined(): T | undefined { function JustGeneric(): T { >JustGeneric : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ return genericOrUndefined()!; // no error >genericOrUndefined()! : NonNullable diff --git a/tests/baselines/reference/sourceMapValidationClasses.types b/tests/baselines/reference/sourceMapValidationClasses.types index 11170a96fba9c..3f9b6315d3fc0 100644 --- a/tests/baselines/reference/sourceMapValidationClasses.types +++ b/tests/baselines/reference/sourceMapValidationClasses.types @@ -45,7 +45,7 @@ module Foo.Bar { function foo(greeting: string): Greeter { >foo : (greeting: string) => Greeter -> : ^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >greeting : string > : ^^^^^^ diff --git a/tests/baselines/reference/sourceMapValidationDecorators.types b/tests/baselines/reference/sourceMapValidationDecorators.types index eed04af4ec6d5..3ffaff6f8f0e4 100644 --- a/tests/baselines/reference/sourceMapValidationDecorators.types +++ b/tests/baselines/reference/sourceMapValidationDecorators.types @@ -3,13 +3,13 @@ === sourceMapValidationDecorators.ts === declare function ClassDecorator1(target: Function): void; >ClassDecorator1 : (target: Function) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >target : Function > : ^^^^^^^^ declare function ClassDecorator2(x: number): (target: Function) => void; >ClassDecorator2 : (x: number) => (target: Function) => void -> : ^^^^ ^^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ >target : Function @@ -17,7 +17,7 @@ declare function ClassDecorator2(x: number): (target: Function) => void; declare function PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void; >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >key : string | symbol @@ -27,7 +27,7 @@ declare function PropertyDecorator1(target: Object, key: string | symbol, descri declare function PropertyDecorator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void; >PropertyDecorator2 : (x: number) => (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void -> : ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ >target : Object @@ -39,7 +39,7 @@ declare function PropertyDecorator2(x: number): (target: Object, key: string | s declare function ParameterDecorator1(target: Object, key: string | symbol, paramIndex: number): void; >ParameterDecorator1 : (target: Object, key: string | symbol, paramIndex: number) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ >target : Object > : ^^^^^^ >key : string | symbol @@ -49,7 +49,7 @@ declare function ParameterDecorator1(target: Object, key: string | symbol, param declare function ParameterDecorator2(x: number): (target: Object, key: string | symbol, paramIndex: number) => void; >ParameterDecorator2 : (x: number) => (target: Object, key: string | symbol, paramIndex: number) => void -> : ^^^^ ^^^^^ ^^^^^^ +> : ^^^^ ^^^^^ >x : number > : ^^^^^^ >target : Object diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.types b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.types index 39a1b1aa02879..de117ae94825d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.types @@ -54,7 +54,7 @@ var robotA: Robot = { name: "mower", skills: { primary: "mowing", secondary: "no function foo1({ skills: { primary: primaryA, secondary: secondaryA } }: Robot) { >foo1 : ({ skills: { primary: primaryA, secondary: secondaryA } }: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >skills : any > : ^^^ >primary : any @@ -80,7 +80,7 @@ function foo1({ skills: { primary: primaryA, secondary: secondaryA } }: Robot) { } function foo2({ name: nameC, skills: { primary: primaryB, secondary: secondaryB } }: Robot) { >foo2 : ({ name: nameC, skills: { primary: primaryB, secondary: secondaryB } }: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >nameC : string @@ -110,7 +110,7 @@ function foo2({ name: nameC, skills: { primary: primaryB, secondary: secondaryB } function foo3({ skills }: Robot) { >foo3 : ({ skills }: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^ >skills : { primary: string; secondary: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.types b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.types index fdf8d693b19da..891ac8574d91e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.types @@ -54,7 +54,7 @@ var robotA: Robot = { name: "mower", skills: { primary: "mowing", secondary: "no function foo1( >foo1 : ({ skills: { primary: primaryA, secondary: secondaryA } }?: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ { skills: { >skills : any @@ -106,7 +106,7 @@ function foo1( } function foo2( >foo2 : ({ name: nameC, skills: { primary: primaryB, secondary: secondaryB } }?: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ { name: nameC = "name", >name : any @@ -166,7 +166,7 @@ function foo2( } function foo3({ skills = { primary: "SomeSkill", secondary: "someSkill" } }: Robot = robotA) { >foo3 : ({ skills }?: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^ >skills : { primary?: string; secondary?: string; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >{ primary: "SomeSkill", secondary: "someSkill" } : { primary: string; secondary: string; } diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.types b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.types index bd7892103ca9a..868c708084980 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.types @@ -42,7 +42,7 @@ var robotA: Robot = { name: "mower", skill: "mowing" }; function foo1({ name: nameA }: Robot) { >foo1 : ({ name: nameA }: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >nameA : string @@ -62,7 +62,7 @@ function foo1({ name: nameA }: Robot) { } function foo2({ name: nameB, skill: skillB }: Robot) { >foo2 : ({ name: nameB, skill: skillB }: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >nameB : string @@ -86,7 +86,7 @@ function foo2({ name: nameB, skill: skillB }: Robot) { } function foo3({ name }: Robot) { >foo3 : ({ name }: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >name : string > : ^^^^^^ diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.types b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.types index bc992fd006ece..b9788de291fd0 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.types @@ -42,7 +42,7 @@ var robotA: Robot = { name: "mower", skill: "mowing" }; function foo1({ name: nameA = "" }: Robot = { }) { >foo1 : ({ name: nameA }?: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >nameA : string @@ -66,7 +66,7 @@ function foo1({ name: nameA = "" }: Robot = { }) { } function foo2({ name: nameB = "", skill: skillB = "noSkill" }: Robot = {}) { >foo2 : ({ name: nameB, skill: skillB }?: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : any > : ^^^ >nameB : string @@ -96,7 +96,7 @@ function foo2({ name: nameB = "", skill: skillB = "noSkill" }: Robot = { } function foo3({ name = "" }: Robot = {}) { >foo3 : ({ name }?: Robot) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^ >name : string > : ^^^^^^ >"" : "" diff --git a/tests/baselines/reference/specedNoStackBlown.types b/tests/baselines/reference/specedNoStackBlown.types index 73a3129604994..fe1faf04a2629 100644 --- a/tests/baselines/reference/specedNoStackBlown.types +++ b/tests/baselines/reference/specedNoStackBlown.types @@ -9,7 +9,7 @@ declare function spected = SpecValue>(spec: SPEC, input: ROOTINPUT): Result; >spected : = SpecValue>(spec: SPEC, input: ROOTINPUT) => Result -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >spec : SPEC > : ^^^^ >input : ROOTINPUT diff --git a/tests/baselines/reference/specializationError.types b/tests/baselines/reference/specializationError.types index 55142377f4671..29e02661aa78c 100644 --- a/tests/baselines/reference/specializationError.types +++ b/tests/baselines/reference/specializationError.types @@ -4,7 +4,7 @@ interface Promise { then(value: T): void; >then : { (onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike): Promise; (value: T): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >value : T > : ^ } @@ -12,13 +12,13 @@ interface Promise { interface Bar { bar(value: "Menu"): Promise; >bar : { (value: "Menu"): Promise; (value: string, element: string): Promise; (value: string): Promise; } -> : ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : "Menu" > : ^^^^^^ bar(value: string, element: string): Promise; >bar : { (value: "Menu"): Promise; (value: string, element: string): Promise; (value: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : string > : ^^^^^^ >element : string @@ -26,7 +26,7 @@ interface Bar { bar(value: string): Promise; >bar : { (value: "Menu"): Promise; (value: string, element: string): Promise; (value: string): Promise; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^ >value : string > : ^^^^^^ } diff --git a/tests/baselines/reference/specializeVarArgs1.types b/tests/baselines/reference/specializeVarArgs1.types index 469f6ee078e0a..cb6692d953475 100644 --- a/tests/baselines/reference/specializeVarArgs1.types +++ b/tests/baselines/reference/specializeVarArgs1.types @@ -11,7 +11,7 @@ interface ObservableArray extends Observable push(...values: T[]); >push : (...values: T[]) => any -> : ^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^ >values : T[] > : ^^^ @@ -21,7 +21,7 @@ interface ObservableArray extends Observable function observableArray(): ObservableArray { return null;} >observableArray : () => ObservableArray -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^ diff --git a/tests/baselines/reference/specializedLambdaTypeArguments.types b/tests/baselines/reference/specializedLambdaTypeArguments.types index b49849667db58..889697c30445d 100644 --- a/tests/baselines/reference/specializedLambdaTypeArguments.types +++ b/tests/baselines/reference/specializedLambdaTypeArguments.types @@ -7,7 +7,7 @@ class X { prop: X< () => Tany >; >prop : X<(() => Tany)> -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^ ^^ } var a: X; >a : X diff --git a/tests/baselines/reference/specializedOverloadWithRestParameters.types b/tests/baselines/reference/specializedOverloadWithRestParameters.types index e5ffddb9cfbc7..efa815ac454cb 100644 --- a/tests/baselines/reference/specializedOverloadWithRestParameters.types +++ b/tests/baselines/reference/specializedOverloadWithRestParameters.types @@ -17,7 +17,7 @@ class Derived1 extends Base { bar() { } } function f(tagName: 'span', ...args): Derived1; // error >f : { (tagName: 'span', ...args: any[]): Derived1; (tagName: number, ...args: any[]): Base; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "span" > : ^^^^^^ >args : any[] @@ -25,7 +25,7 @@ function f(tagName: 'span', ...args): Derived1; // error function f(tagName: number, ...args): Base; >f : { (tagName: "span", ...args: any[]): Derived1; (tagName: number, ...args: any[]): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^ >tagName : number > : ^^^^^^ >args : any[] @@ -40,14 +40,14 @@ function f(tagName: any): Base { } function g(tagName: 'span', arg): Derived1; // error >g : { (tagName: 'span', arg: any): Derived1; (tagName: number, arg: any): Base; } -> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tagName : "span" > : ^^^^^^ >arg : any function g(tagName: number, arg): Base; >g : { (tagName: "span", arg: any): Derived1; (tagName: number, arg: any): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ >tagName : number > : ^^^^^^ >arg : any diff --git a/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.types b/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.types index 63bebef23ec8c..d5c7cd1366c7b 100644 --- a/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.types +++ b/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.types @@ -48,7 +48,7 @@ class C2 { foo(x: T); >foo : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -71,7 +71,7 @@ class C3 { foo(x: T); >foo : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -121,7 +121,7 @@ interface I2 { foo(x: T); >foo : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } @@ -143,7 +143,7 @@ interface I3 { foo(x: T); >foo : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } @@ -175,7 +175,7 @@ var a: { var a2: { >a2 : { (x: 'a'): any; (x: T): any; foo(x: 'a'): any; foo(x: T_1): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ (x: 'a'); >x : "a" @@ -193,14 +193,14 @@ var a2: { foo(x: T); >foo : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ } var a3: { >a3 : { (x: 'a'): any; (x: T): any; foo(x: 'a'): any; foo(x: T_1): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (x: 'a'); >x : "a" @@ -218,7 +218,7 @@ var a3: { foo(x: T); >foo : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.types b/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.types index a906cd8244e1f..cd70c759ad224 100644 --- a/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.types +++ b/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.types @@ -61,7 +61,7 @@ class C2 { foo(x: T); >foo : { (x: "a"): any; (x: string): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -89,7 +89,7 @@ class C3 { foo(x: T); >foo : { (x: "a"): any; (x: string): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -158,7 +158,7 @@ interface I2 { foo(x: T); >foo : { (x: "a"): any; (x: string): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } @@ -190,7 +190,7 @@ interface I3 { foo(x: T); >foo : { (x: "a"): any; (x: string): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } @@ -232,7 +232,7 @@ var a: { var a2: { >a2 : { (x: 'a'): any; (x: string): any; (x: T): any; foo(x: string): any; foo(x: 'a'): any; foo(x: T_1): any; } -> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ (x: 'a'); >x : "a" @@ -260,14 +260,14 @@ var a2: { foo(x: T); >foo : { (x: string): any; (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ } var a3: { >a3 : { (x: 'a'): any; (x: T): any; (x: string): any; foo(x: string): any; foo(x: 'a'): any; foo(x: T_1): any; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (x: 'a'); >x : "a" @@ -295,7 +295,7 @@ var a3: { foo(x: T); >foo : { (x: string): any; (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/spreadExpressionContextualType.types b/tests/baselines/reference/spreadExpressionContextualType.types index 4eb14362f5e2a..c12104c1861ea 100644 --- a/tests/baselines/reference/spreadExpressionContextualType.types +++ b/tests/baselines/reference/spreadExpressionContextualType.types @@ -17,7 +17,7 @@ interface Apple { function test(item: T): T { >test : (item: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >item : T > : ^ @@ -30,7 +30,7 @@ function test(item: T): T { function test2(item: T): T { >test2 : (item: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >item : T > : ^ diff --git a/tests/baselines/reference/spreadIdenticalTypesRemoved.types b/tests/baselines/reference/spreadIdenticalTypesRemoved.types index eb9c7238e0599..3aa37ce8927ff 100644 --- a/tests/baselines/reference/spreadIdenticalTypesRemoved.types +++ b/tests/baselines/reference/spreadIdenticalTypesRemoved.types @@ -25,7 +25,7 @@ interface Animal { function clonePet(pet: Animal, fullCopy?: boolean) { >clonePet : (pet: Animal, fullCopy?: boolean) => { name: string; kind: string; age?: number | undefined; location?: string | undefined; owner?: object | undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >pet : Animal > : ^^^^^^ >fullCopy : boolean | undefined @@ -78,7 +78,7 @@ interface Animal2 { } function billOwner(pet: Animal2) { >billOwner : (pet: Animal2) => { paid: boolean; name?: string | undefined; owner?: string | undefined; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >pet : Animal2 > : ^^^^^^^ diff --git a/tests/baselines/reference/spreadInvalidArgumentType.types b/tests/baselines/reference/spreadInvalidArgumentType.types index bed55b4275aa5..a4e7936786641 100644 --- a/tests/baselines/reference/spreadInvalidArgumentType.types +++ b/tests/baselines/reference/spreadInvalidArgumentType.types @@ -11,7 +11,7 @@ enum E { v1, v2 }; function f(p1: T, p2: T[]) { >f : (p1: T, p2: T[]) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >b : string > : ^^^^^^ >p1 : T diff --git a/tests/baselines/reference/spreadObjectNoCircular1.types b/tests/baselines/reference/spreadObjectNoCircular1.types index 868eaf971daa4..281d4fd04fd32 100644 --- a/tests/baselines/reference/spreadObjectNoCircular1.types +++ b/tests/baselines/reference/spreadObjectNoCircular1.types @@ -21,11 +21,11 @@ class Foo { get foo() { >foo : { content: Foo | Box; } -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^ return { >{ content: this as Foo | Box, ...b, } : { content: Foo | Box; } -> : ^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^^ ^^^ content: this as Foo | Box, >content : Foo | Box diff --git a/tests/baselines/reference/spreadObjectOrFalsy.types b/tests/baselines/reference/spreadObjectOrFalsy.types index 00235259c320a..4660bf9fd3efb 100644 --- a/tests/baselines/reference/spreadObjectOrFalsy.types +++ b/tests/baselines/reference/spreadObjectOrFalsy.types @@ -3,7 +3,7 @@ === spreadObjectOrFalsy.ts === function f1(a: T & undefined) { >f1 : (a: T & undefined) => any -> : ^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >a : T & undefined > : ^^^^^^^^^^^^^ @@ -16,7 +16,7 @@ function f1(a: T & undefined) { function f2(a: T | T & undefined) { >f2 : (a: T | (T & undefined)) => T | (T & undefined) -> : ^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ >a : T | (T & undefined) > : ^^^^^^^^^^^^^^^^^^^ @@ -29,7 +29,7 @@ function f2(a: T | T & undefined) { function f3(a: T) { >f3 : (a: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >a : T > : ^ @@ -42,7 +42,7 @@ function f3(a: T) { function f4(a: object | T) { >f4 : (a: object | T) => {} -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ >a : object | T > : ^^^^^^^^^^ @@ -55,7 +55,7 @@ function f4(a: object | T) { function f5(a: S | T) { >f5 : (a: S | T) => S | T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ >a : S | T > : ^^^^^ @@ -68,7 +68,7 @@ function f5(a: S | T) { function f6(a: T) { >f6 : (a: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >a : T > : ^ @@ -83,7 +83,7 @@ function f6(a: T) { function g1(a: A) { >g1 : (a: A) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ >z : T > : ^ >a : A diff --git a/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.types b/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.types index ca67fa04b1656..739b1e467019a 100644 --- a/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.types +++ b/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.types @@ -3,7 +3,7 @@ === spreadOfParamsFromGeneratorMakesRequiredParams.ts === declare function call any>( >call : any>(fn: Fn, ...args: Parameters) => any -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^ >args : any[] > : ^^^^^ diff --git a/tests/baselines/reference/spreadTupleAccessedByTypeParameter.types b/tests/baselines/reference/spreadTupleAccessedByTypeParameter.types index 48c60ca68d3f8..4c1f1563f6527 100644 --- a/tests/baselines/reference/spreadTupleAccessedByTypeParameter.types +++ b/tests/baselines/reference/spreadTupleAccessedByTypeParameter.types @@ -3,7 +3,7 @@ === spreadTupleAccessedByTypeParameter.ts === export function test(singletons: ["a"][], i: N) { >test : (singletons: ["a"][], i: N) => [] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^ >singletons : ["a"][] > : ^^^^^^^ >i : N diff --git a/tests/baselines/reference/spreadTypeVariable.types b/tests/baselines/reference/spreadTypeVariable.types index 4dc9b35dbc9c8..4735879dc0e37 100644 --- a/tests/baselines/reference/spreadTypeVariable.types +++ b/tests/baselines/reference/spreadTypeVariable.types @@ -3,7 +3,7 @@ === spreadTypeVariable.ts === function f1(arg: T) { >f1 : (arg: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >arg : T > : ^ @@ -16,7 +16,7 @@ function f1(arg: T) { function f2(arg: T) { >f2 : (arg: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >arg : T > : ^ @@ -29,7 +29,7 @@ function f2(arg: T) { function f3(arg: T) { >f3 : (arg: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >arg : T > : ^ @@ -42,7 +42,7 @@ function f3(arg: T) { function f4(arg: T) { >f4 : (arg: T) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >key : string > : ^^^^^^ >arg : T @@ -57,7 +57,7 @@ function f4(arg: T) { function f5(arg: T) { >f5 : (arg: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >key : string > : ^^^^^^ >arg : T @@ -72,7 +72,7 @@ function f5(arg: T) { function f6(arg: T) { >f6 : (arg: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^ >arg : T > : ^ diff --git a/tests/baselines/reference/spreadsAndContextualTupleTypes.types b/tests/baselines/reference/spreadsAndContextualTupleTypes.types index 7b7e677c34008..c5ace132a1175 100644 --- a/tests/baselines/reference/spreadsAndContextualTupleTypes.types +++ b/tests/baselines/reference/spreadsAndContextualTupleTypes.types @@ -3,13 +3,13 @@ === spreadsAndContextualTupleTypes.ts === declare function fx1(x: T): T; >fx1 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ declare function fx2(x: T): T; >fx2 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -165,7 +165,7 @@ const randomID = 'id' as string; declare function foo(path: T): T; >foo : (path: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^ ^^^^^ >path : T > : ^ diff --git a/tests/baselines/reference/spuriousCircularityOnTypeImport.types b/tests/baselines/reference/spuriousCircularityOnTypeImport.types index 254bfdc03a24b..2467f40edabc8 100644 --- a/tests/baselines/reference/spuriousCircularityOnTypeImport.types +++ b/tests/baselines/reference/spuriousCircularityOnTypeImport.types @@ -22,11 +22,11 @@ export type SelectorMap unkno export declare const value2: { >value2 : { sliceSelectors: >(selectorsBySlice: FuncMap) => { [P in keyof FuncMap]: Parameters; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sliceSelectors: >(selectorsBySlice: FuncMap) => { [P in keyof FuncMap]: Parameters }; >sliceSelectors : >(selectorsBySlice: FuncMap) => { [P in keyof FuncMap]: Parameters; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >selectorsBySlice : FuncMap > : ^^^^^^^ @@ -34,11 +34,11 @@ export declare const value2: { export declare const value3: { >value3 : { sliceSelectors: >(selectorsBySlice: FuncMap) => { [P in keyof FuncMap]: Parameters; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sliceSelectors: >(selectorsBySlice: FuncMap) => { [P in keyof FuncMap]: Parameters }; >sliceSelectors : >(selectorsBySlice: FuncMap) => { [P in keyof FuncMap]: Parameters; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >selectorsBySlice : FuncMap > : ^^^^^^^ diff --git a/tests/baselines/reference/spyComparisonChecking.types b/tests/baselines/reference/spyComparisonChecking.types index b97d3bfa9e9d6..f8b0b894fc8d5 100644 --- a/tests/baselines/reference/spyComparisonChecking.types +++ b/tests/baselines/reference/spyComparisonChecking.types @@ -34,7 +34,7 @@ type SpyObj = T & { declare function createSpyObj( >createSpyObj : (name: string, names: Array) => SpyObj -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ name: string, names: Array): SpyObj; >name : string @@ -44,7 +44,7 @@ declare function createSpyObj( function mock(spyName: string, methodNames: Array): SpyObj { >mock : (spyName: string, methodNames: Array) => SpyObj -> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >spyName : string > : ^^^^^^ >methodNames : (keyof T)[] diff --git a/tests/baselines/reference/stackDepthLimitCastingType.types b/tests/baselines/reference/stackDepthLimitCastingType.types index 02b81ea9b44e6..2c8e7a9ab79f5 100644 --- a/tests/baselines/reference/stackDepthLimitCastingType.types +++ b/tests/baselines/reference/stackDepthLimitCastingType.types @@ -12,7 +12,7 @@ declare global { initialize(attributes?: T, options?: CombinedModelConstructorOptions): void; >initialize : (attributes?: T, options?: CombinedModelConstructorOptions) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >attributes : T | undefined > : ^^^^^^^^^^^^^ >options : CombinedModelConstructorOptions | undefined @@ -20,7 +20,7 @@ declare global { fetch(options?: any): JQueryXHR; >fetch : (options?: any) => JQueryXHR -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >options : any } interface ModelConstructorOptions { @@ -34,7 +34,7 @@ declare global { without(...values: TModel[]): TModel[]; >without : (...values: TModel[]) => TModel[] -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >values : TModel[] > : ^^^^^^^^ } @@ -65,7 +65,7 @@ declare module "backbone" { interface ModelWithCache extends Model { fetch(options?: any): JQueryXHR; >fetch : (options?: any) => JQueryXHR -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >options : any } } diff --git a/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.types b/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.types index 6cd18df2c88a1..3fc52337ef4ec 100644 --- a/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.types +++ b/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.types @@ -6,7 +6,7 @@ function outer(x: T) { >outer : (x: T) => typeof Inner -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -44,7 +44,7 @@ class ListWrapper2 { static clone(dit: typeof ListWrapper2, array: T[]): T[] { return array.slice(0); } >clone : (dit: typeof ListWrapper2, array: T[]) => T[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper2 > : ^^^^^^^^^^^^^^^^^^^ >ListWrapper2 : typeof ListWrapper2 @@ -64,7 +64,7 @@ class ListWrapper2 { static reversed(dit: typeof ListWrapper2, array: T[]): T[] { >reversed : (dit: typeof ListWrapper2, array: T[]) => T[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper2 > : ^^^^^^^^^^^^^^^^^^^ >ListWrapper2 : typeof ListWrapper2 @@ -104,11 +104,11 @@ namespace tessst { */ export function funkyFor(array: T[], callback: (element: T, index: number) => U): U { >funkyFor : (array: T[], callback: (element: T, index: number) => U) => U -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >array : T[] > : ^^^ >callback : (element: T, index: number) => U -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >element : T > : ^ >index : number @@ -176,13 +176,13 @@ namespace tessst { interface Scanner { scanRange(start: number, length: number, callback: () => T): T; >scanRange : (start: number, length: number, callback: () => T) => T -> : ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >start : number > : ^^^^^^ >length : number > : ^^^^^^ >callback : () => T -> : ^^^^^^^ +> : ^^^^^^ } class ListWrapper { >ListWrapper : ListWrapper @@ -192,7 +192,7 @@ class ListWrapper { // keep both methods. static createFixedSize(dit: typeof ListWrapper, size: number): any[] { return new Array(size); } >createFixedSize : (dit: typeof ListWrapper, size: number) => any[] -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -208,7 +208,7 @@ class ListWrapper { static createGrowableSize(dit: typeof ListWrapper, size: number): any[] { return new Array(size); } >createGrowableSize : (dit: typeof ListWrapper, size: number) => any[] -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -224,7 +224,7 @@ class ListWrapper { static clone(dit: typeof ListWrapper, array: T[]): T[] { return array.slice(0); } >clone : (dit: typeof ListWrapper, array: T[]) => T[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -244,7 +244,7 @@ class ListWrapper { static forEachWithIndex(dit: typeof ListWrapper, array: T[], fn: (t: T, n: number) => void) { >forEachWithIndex : (dit: typeof ListWrapper, array: T[], fn: (t: T, n: number) => void) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -252,7 +252,7 @@ class ListWrapper { >array : T[] > : ^^^ >fn : (t: T, n: number) => void -> : ^^^^^^^^^^ ^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >t : T > : ^ >n : number @@ -295,7 +295,7 @@ class ListWrapper { } static first(dit: typeof ListWrapper, array: T[]): T { >first : (dit: typeof ListWrapper, array: T[]) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -319,7 +319,7 @@ class ListWrapper { } static last(dit: typeof ListWrapper, array: T[]): T { >last : (dit: typeof ListWrapper, array: T[]) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -363,7 +363,7 @@ class ListWrapper { } static indexOf(dit: typeof ListWrapper, array: T[], value: T, startIndex: number = 0): number { >indexOf : (dit: typeof ListWrapper, array: T[], value: T, startIndex?: number) => number -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -393,7 +393,7 @@ class ListWrapper { } static contains(dit: typeof ListWrapper, list: T[], el: T): boolean { return list.indexOf(el) !== -1; } >contains : (dit: typeof ListWrapper, list: T[], el: T) => boolean -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -421,7 +421,7 @@ class ListWrapper { static reversed(dit: typeof ListWrapper, array: T[]): T[] { >reversed : (dit: typeof ListWrapper, array: T[]) => T[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -503,7 +503,7 @@ class ListWrapper { } static concat(dit: typeof ListWrapper, a: any[], b: any[]): any[] { return a.concat(b); } >concat : (dit: typeof ListWrapper, a: any[], b: any[]) => any[] -> : ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -525,7 +525,7 @@ class ListWrapper { static insert(dit: typeof ListWrapper, list: T[], index: number, value: T) { list.splice(index, 0, value); } >insert : (dit: typeof ListWrapper, list: T[], index: number, value: T) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -553,7 +553,7 @@ class ListWrapper { static removeAt(dit: typeof ListWrapper, list: T[], index: number): T { >removeAt : (dit: typeof ListWrapper, list: T[], index: number) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -593,7 +593,7 @@ class ListWrapper { } static removeAll(dit: typeof ListWrapper, list: T[], items: T[]) { >removeAll : (dit: typeof ListWrapper, list: T[], items: T[]) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -658,7 +658,7 @@ class ListWrapper { } static remove(dit: typeof ListWrapper, list: T[], el: T): boolean { >remove : (dit: typeof ListWrapper, list: T[], el: T) => boolean -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -716,7 +716,7 @@ class ListWrapper { } static clear(dit: typeof ListWrapper, list: any[]) { list.length = 0; } >clear : (dit: typeof ListWrapper, list: any[]) => void -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -736,7 +736,7 @@ class ListWrapper { static isEmpty(dit: typeof ListWrapper, list: any[]): boolean { return list.length == 0; } >isEmpty : (dit: typeof ListWrapper, list: any[]) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -756,7 +756,7 @@ class ListWrapper { static fill(dit: typeof ListWrapper, list: any[], value: any, start: number = 0, end: number = null) { >fill : (dit: typeof ListWrapper, list: any[], value: any, start?: number, end?: number) => void -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -800,7 +800,7 @@ class ListWrapper { } static equals(dit: typeof ListWrapper, a: any[], b: any[]): boolean { >equals : (dit: typeof ListWrapper, a: any[], b: any[]) => boolean -> : ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^ ^^^^^ ^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -870,7 +870,7 @@ class ListWrapper { } static slice(dit: typeof ListWrapper, l: T[], from: number = 0, to: number = null): T[] { >slice : (dit: typeof ListWrapper, l: T[], from?: number, to?: number) => T[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -908,7 +908,7 @@ class ListWrapper { } static splice(dit: typeof ListWrapper, l: T[], from: number, length: number): T[] { return l.splice(from, length); } >splice : (dit: typeof ListWrapper, l: T[], from: number, length: number) => T[] -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -934,7 +934,7 @@ class ListWrapper { static sort(dit: typeof ListWrapper, l: T[], compareFn?: (a: T, b: T) => number) { >sort : (dit: typeof ListWrapper, l: T[], compareFn?: (a: T, b: T) => number) => void -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -942,7 +942,7 @@ class ListWrapper { >l : T[] > : ^^^ >compareFn : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -982,7 +982,7 @@ class ListWrapper { } static toString(dit: typeof ListWrapper, l: T[]): string { return l.toString(); } >toString : (dit: typeof ListWrapper, l: T[]) => string -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -1000,7 +1000,7 @@ class ListWrapper { static toJSON(dit: typeof ListWrapper, l: T[]): string { return JSON.stringify(l); } >toJSON : (dit: typeof ListWrapper, l: T[]) => string -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -1020,7 +1020,7 @@ class ListWrapper { static maximum(dit: typeof ListWrapper, list: T[], predicate: (t: T) => number): T { >maximum : (dit: typeof ListWrapper, list: T[], predicate: (t: T) => number) => T -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >dit : typeof ListWrapper > : ^^^^^^^^^^^^^^^^^^ >ListWrapper : typeof ListWrapper @@ -1028,7 +1028,7 @@ class ListWrapper { >list : T[] > : ^^^ >predicate : (t: T) => number -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ @@ -1169,9 +1169,9 @@ declare function isBlank(x: any): boolean; declare function isPresent(compareFn?: (a: T, b: T) => number): boolean; >isPresent : (compareFn?: (a: T, b: T) => number) => boolean -> : ^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^ >compareFn : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/staticFieldWithInterfaceContext.types b/tests/baselines/reference/staticFieldWithInterfaceContext.types index 936f06cbbdbd0..f5040247492be 100644 --- a/tests/baselines/reference/staticFieldWithInterfaceContext.types +++ b/tests/baselines/reference/staticFieldWithInterfaceContext.types @@ -82,7 +82,7 @@ c[ex] = { a: "a" }; function f(c: I = class { static x = { a: "a" } }) { } >f : (c?: I) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^ >c : I > : ^ >class { static x = { a: "a" } } : typeof (Anonymous class) diff --git a/tests/baselines/reference/staticIndexSignature6.types b/tests/baselines/reference/staticIndexSignature6.types index 0d3effe0c0011..68870e1b893cf 100644 --- a/tests/baselines/reference/staticIndexSignature6.types +++ b/tests/baselines/reference/staticIndexSignature6.types @@ -19,7 +19,7 @@ function foo () { foo(v: T) { return v } >foo : (v: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >v : T > : ^ >v : T diff --git a/tests/baselines/reference/staticInstanceResolution.types b/tests/baselines/reference/staticInstanceResolution.types index 86f56e3fc856f..8f4ab883c7e0b 100644 --- a/tests/baselines/reference/staticInstanceResolution.types +++ b/tests/baselines/reference/staticInstanceResolution.types @@ -14,7 +14,7 @@ class Comment { static getDocCommentText(comments: Comment[]) >getDocCommentText : (comments: Comment[]) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^ >comments : Comment[] > : ^^^^^^^^^ { diff --git a/tests/baselines/reference/staticInstanceResolution3.types b/tests/baselines/reference/staticInstanceResolution3.types index fa071b4345267..b8f3872d70e92 100644 --- a/tests/baselines/reference/staticInstanceResolution3.types +++ b/tests/baselines/reference/staticInstanceResolution3.types @@ -29,7 +29,7 @@ export class Promise { static timeout(delay: number): Promise { >timeout : (delay: number) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >delay : number > : ^^^^^^ diff --git a/tests/baselines/reference/staticInstanceResolution5.types b/tests/baselines/reference/staticInstanceResolution5.types index 0126e6b441d9d..91189e904a387 100644 --- a/tests/baselines/reference/staticInstanceResolution5.types +++ b/tests/baselines/reference/staticInstanceResolution5.types @@ -35,7 +35,7 @@ export class Promise { static timeout(delay: number): Promise { >timeout : (delay: number) => Promise -> : ^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >delay : number > : ^^^^^^ diff --git a/tests/baselines/reference/staticInterfaceAssignmentCompat.types b/tests/baselines/reference/staticInterfaceAssignmentCompat.types index 8ef9f8f8587f4..570decabfdad1 100644 --- a/tests/baselines/reference/staticInterfaceAssignmentCompat.types +++ b/tests/baselines/reference/staticInterfaceAssignmentCompat.types @@ -7,7 +7,7 @@ class Shape { static create(): Shape { >create : () => Shape -> : ^^^^^^^^^^^ +> : ^^^^^^ return new Shape(); >new Shape() : Shape @@ -20,7 +20,7 @@ class Shape { interface ShapeFactory { create(): Shape; >create : () => Shape -> : ^^^^^^^^^^^ +> : ^^^^^^ } var x: ShapeFactory = Shape; diff --git a/tests/baselines/reference/staticMethodReferencingTypeArgument1.types b/tests/baselines/reference/staticMethodReferencingTypeArgument1.types index a3e950cb777d1..89071f80f5181 100644 --- a/tests/baselines/reference/staticMethodReferencingTypeArgument1.types +++ b/tests/baselines/reference/staticMethodReferencingTypeArgument1.types @@ -26,7 +26,7 @@ module Editor { static MakeHead(): List { >MakeHead : () => List -> : ^^^^^^^^^^ +> : ^^^^^^ var entry: List = new List(true, null); // can't access T here >entry : List diff --git a/tests/baselines/reference/staticMismatchBecauseOfPrototype.types b/tests/baselines/reference/staticMismatchBecauseOfPrototype.types index cb99b03b1905c..db4e555bd2ce4 100644 --- a/tests/baselines/reference/staticMismatchBecauseOfPrototype.types +++ b/tests/baselines/reference/staticMismatchBecauseOfPrototype.types @@ -8,7 +8,7 @@ interface A { } declare var A: { >A : { new (): A; prototype: A; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ prototype: A; >prototype : A diff --git a/tests/baselines/reference/strictBindCallApply1.types b/tests/baselines/reference/strictBindCallApply1.types index e2f7fbbb011d7..72410ddd4faf4 100644 --- a/tests/baselines/reference/strictBindCallApply1.types +++ b/tests/baselines/reference/strictBindCallApply1.types @@ -23,7 +23,7 @@ declare function overloaded(n: number): string; declare function generic(x: T): T; >generic : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -319,7 +319,7 @@ class C { generic(x: T): T { return x } >generic : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >x : T @@ -904,9 +904,9 @@ C.apply(c, [10, "hello", 30]); // Error function bar(callback: (this: 1, ...args: T) => void) { >bar : (callback: (this: 1, ...args: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >callback : (this: 1, ...args: T) => void -> : ^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >this : 1 > : ^ >args : T @@ -939,9 +939,9 @@ function bar(callback: (this: 1, ...args: T) => void) { function baz(callback: (this: 1, ...args: T extends 1 ? [unknown] : [unknown, unknown]) => void) { >baz : (callback: (this: 1, ...args: T extends 1 ? [unknown] : [unknown, unknown]) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >callback : (this: 1, ...args: T extends 1 ? [unknown] : [unknown, unknown]) => void -> : ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ >this : 1 > : ^ >args : T extends 1 ? [unknown] : [unknown, unknown] @@ -997,7 +997,7 @@ class Foo { fn(...args: T): void {} >fn : (...args: T) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >args : T > : ^ } @@ -1026,7 +1026,7 @@ class Bar { fn(...args: T extends 1 ? [unknown] : [unknown, unknown]) {} >fn : (...args: T extends 1 ? [unknown] : [unknown, unknown]) => void -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^ >args : T extends 1 ? [unknown] : [unknown, unknown] > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/strictBindCallApply2.types b/tests/baselines/reference/strictBindCallApply2.types index 30bdcd84ecbf2..f956e8b6ba138 100644 --- a/tests/baselines/reference/strictBindCallApply2.types +++ b/tests/baselines/reference/strictBindCallApply2.types @@ -9,7 +9,7 @@ interface Foo { blub: string }; function fn(this: Foo) {} >fn : (this: Foo) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >this : Foo > : ^^^ diff --git a/tests/baselines/reference/strictFunctionTypes1.types b/tests/baselines/reference/strictFunctionTypes1.types index 0b184466a67b5..cae628d71de4f 100644 --- a/tests/baselines/reference/strictFunctionTypes1.types +++ b/tests/baselines/reference/strictFunctionTypes1.types @@ -3,13 +3,13 @@ === strictFunctionTypes1.ts === declare function f1(f1: (x: T) => void, f2: (x: T) => void): (x: T) => void; >f1 : (f1: (x: T) => void, f2: (x: T) => void) => (x: T) => void -> : ^^^^^^^^ ^ ^^^^^^ ^ ^^^^^ ^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >f1 : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >f2 : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >x : T @@ -17,31 +17,31 @@ declare function f1(f1: (x: T) => void, f2: (x: T) => void): (x: T) => void; declare function f2(obj: T, f1: (x: T) => void, f2: (x: T) => void): T; >f2 : (obj: T, f1: (x: T) => void, f2: (x: T) => void) => T -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >obj : T > : ^ >f1 : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >f2 : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ declare function f3(obj: T, f1: (x: T) => void, f2: (f: (x: T) => void) => void): T; >f3 : (obj: T, f1: (x: T) => void, f2: (f: (x: T) => void) => void) => T -> : ^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >obj : T > : ^ >f1 : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ >f2 : (f: (x: T) => void) => void -> : ^^^^ ^ ^^^^^ +> : ^^^^ ^^^^^ >f : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -51,7 +51,7 @@ interface Func { (x: T): void } declare function f4(f1: Func, f2: Func): Func; >f4 : (f1: Func, f2: Func) => Func -> : ^^^^^^^^^^^^ ^ ^^^^^^^^^^ ^ ^^^^^^^^^ ^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >f1 : Func > : ^^^^^^^ >f2 : Func @@ -59,7 +59,7 @@ declare function f4(f1: Func, f2: Func): Func; declare function fo(x: Object): void; >fo : (x: Object) => void -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Object > : ^^^^^^ @@ -165,7 +165,7 @@ const x11 = f3(never, fo, fx); // "def" declare function foo(a: ReadonlyArray): T; >foo : (a: ReadonlyArray) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : readonly T[] > : ^^^^^^^^^^^^ @@ -191,13 +191,13 @@ interface B extends A { b: string } declare function acceptUnion(x: A | number): void; >acceptUnion : (x: A | number) => void -> : ^^^^^ ^^^^^ +> : ^^^^ ^^^^^ >x : number | A > : ^^^^^^^^^^ declare function acceptA(x: A): void; >acceptA : (x: A) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : A > : ^ @@ -211,11 +211,11 @@ declare let b: B; declare function coAndContra(value: T, func: (t: T) => void): T; >coAndContra : (value: T, func: (t: T) => void) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T > : ^ >func : (t: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ @@ -257,11 +257,11 @@ const t3: A = coAndContra(never, acceptA); declare function coAndContraArray(value: T[], func: (t: T) => void): T[]; >coAndContraArray : (value: T[], func: (t: T) => void) => T[] -> : ^^^^^^^^^^^^ ^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^ ^^^^^ >value : T[] > : ^^^ >func : (t: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >t : T > : ^ diff --git a/tests/baselines/reference/strictFunctionTypesErrors.types b/tests/baselines/reference/strictFunctionTypesErrors.types index 80207235c80ab..6645c3b9c44b2 100644 --- a/tests/baselines/reference/strictFunctionTypesErrors.types +++ b/tests/baselines/reference/strictFunctionTypesErrors.types @@ -6,19 +6,19 @@ export {} declare let f1: (x: Object) => Object; >f1 : (x: Object) => Object -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Object > : ^^^^^^ declare let f2: (x: Object) => string; >f2 : (x: Object) => string -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Object > : ^^^^^^ declare let f3: (x: string) => Object; >f3 : (x: string) => Object -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : string > : ^^^^^^ @@ -481,7 +481,7 @@ interface Cat extends Animal { cat: void } interface Comparer1 { compare(a: T, b: T): number; >compare : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -515,7 +515,7 @@ dogComparer1 = animalComparer1; // Ok interface Comparer2 { compare: (a: T, b: T) => number; >compare : (a: T, b: T) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >a : T > : ^ >b : T @@ -555,7 +555,7 @@ interface Crate { onSetItem: (item: T) => void; >onSetItem : (item: T) => void -> : ^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >item : T > : ^ } @@ -590,17 +590,17 @@ dogCrate = animalCrate; // Error declare let fc1: (f: (x: Animal) => Animal) => void; >fc1 : (f: (x: Animal) => Animal) => void -> : ^^^^ ^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >f : (x: Animal) => Animal -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Animal > : ^^^^^^ declare let fc2: (f: (x: Dog) => Dog) => void; >fc2 : (f: (x: Dog) => Dog) => void -> : ^^^^ ^^^ ^^^^^^^^ +> : ^^^^ ^^^^^ >f : (x: Dog) => Dog -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Dog > : ^^^ @@ -633,7 +633,7 @@ namespace n1 { static f1(x: Animal): Animal { throw "wat"; } >f1 : (x: Animal) => Animal -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Animal > : ^^^^^^ >"wat" : "wat" @@ -641,7 +641,7 @@ namespace n1 { static f2(x: Dog): Animal { throw "wat"; }; >f2 : (x: Dog) => Animal -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Dog > : ^^^ >"wat" : "wat" @@ -694,9 +694,9 @@ namespace n2 { type BivariantHack = { foo(x: Input): Output }["foo"]; >BivariantHack : (x: Input) => Output -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >foo : (x: Input) => Output -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Input > : ^^^^^ diff --git a/tests/baselines/reference/strictModeReservedWordInClassDeclaration.types b/tests/baselines/reference/strictModeReservedWordInClassDeclaration.types index 333d0f6d71a96..f7aad35236202 100644 --- a/tests/baselines/reference/strictModeReservedWordInClassDeclaration.types +++ b/tests/baselines/reference/strictModeReservedWordInClassDeclaration.types @@ -29,7 +29,7 @@ class Foo { } public banana(x: public) { } >banana : (x: public) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : public > : ^^^^^^ } diff --git a/tests/baselines/reference/strictNullChecksNoWidening.types b/tests/baselines/reference/strictNullChecksNoWidening.types index cd2eba57bb76d..526dc6ca6ecf6 100644 --- a/tests/baselines/reference/strictNullChecksNoWidening.types +++ b/tests/baselines/reference/strictNullChecksNoWidening.types @@ -65,7 +65,7 @@ var b5 = [[], [,]]; declare function f(x: T): T; >f : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/strictOptionalProperties1.types b/tests/baselines/reference/strictOptionalProperties1.types index 4c1d9dce6ee70..d4f59087a3741 100644 --- a/tests/baselines/reference/strictOptionalProperties1.types +++ b/tests/baselines/reference/strictOptionalProperties1.types @@ -370,7 +370,7 @@ function f2(obj: { a?: string, b?: string | undefined }) { function f3(obj: Partial<{ a: string, b: string | undefined }>) { >f3 : (obj: Partial<{ a: string; b: string | undefined; }>) => void -> : ^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^ >obj : Partial<{ a: string; b: string | undefined; }> > : ^^^^^^^^^^^^^ ^^^^^ ^^^^ >a : string @@ -889,9 +889,9 @@ declare let tx4: [(string | undefined)?]; declare function f11(x: { p?: T }): T; >f11 : (x: { p?: T; }) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { p?: T; } -> : ^^^^^^^^^^ +> : ^^^^^^ ^^^ >p : T | undefined > : ^^^^^^^^^^^^^ @@ -929,7 +929,7 @@ f11(ox4); // string | undefined declare function f12(x: [T?]): T; >f12 : (x: [T?]) => T -> : ^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : [T?] > : ^^^^ @@ -967,7 +967,7 @@ f12(tx4); // string | undefined declare function f13(x: Partial): T; >f13 : (x: Partial) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : Partial > : ^^^^^^^^^^ @@ -1043,7 +1043,7 @@ type Undefinable = T | undefined; function expectNotUndefined(value: Undefinable): T { >expectNotUndefined : (value: Undefinable) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : Undefinable > : ^^^^^^^^^^^^^^ @@ -1076,7 +1076,7 @@ interface Bar { function aa(input: Bar): void { >aa : (input: Bar) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : Bar > : ^^^ diff --git a/tests/baselines/reference/strictSubtypeAndNarrowing.types b/tests/baselines/reference/strictSubtypeAndNarrowing.types index d1d764e008b93..44737de6b0c22 100644 --- a/tests/baselines/reference/strictSubtypeAndNarrowing.types +++ b/tests/baselines/reference/strictSubtypeAndNarrowing.types @@ -295,7 +295,7 @@ function fx4(f: (() => void) | undefined) { function checkA(f: FnTypes) { >checkA : (f: FnTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : FnTypes > : ^^^^^^^ @@ -323,7 +323,7 @@ function checkA(f: FnTypes) { function checkB(f: FnTypes) { >checkB : (f: FnTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : FnTypes > : ^^^^^^^ @@ -351,7 +351,7 @@ function checkB(f: FnTypes) { function checkC(f: FnTypes) { >checkC : (f: FnTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : FnTypes > : ^^^^^^^ @@ -379,7 +379,7 @@ function checkC(f: FnTypes) { function checkD(f: FnTypes) { >checkD : (f: FnTypes) => void -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >f : FnTypes > : ^^^^^^^ @@ -634,7 +634,7 @@ type NarrowByDeepValue = DeepPathT extends readonly [ declare function doesValueAtDeepPathSatisfy< >doesValueAtDeepPathSatisfy : (obj: ObjT, deepPath: DeepPathT, predicate: (arg: unknown) => arg is ValueT) => obj is NarrowByDeepValue -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ObjT extends object, const DeepPathT extends ReadonlyArray, @@ -693,7 +693,7 @@ declare function assert(condition: boolean): asserts condition; function test1(foo: Foo): {value: {type: 'A'}; a?: number} { >test1 : (foo: Foo) => { value: { type: 'A'; }; a?: number; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >foo : Foo > : ^^^ >value : { type: 'A'; } @@ -730,7 +730,7 @@ function test1(foo: Foo): {value: {type: 'A'}; a?: number} { function test2(foo: Foo): {value: {type: 'A'}; a?: number} { >test2 : (foo: Foo) => { value: { type: 'A'; }; a?: number; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >foo : Foo > : ^^^ >value : { type: 'A'; } @@ -799,15 +799,15 @@ type Union = { premium: false } | { premium: true }; declare const checkIsPremium: (a: Union) => a is Union & Premium; >checkIsPremium : (a: Union) => a is { premium: true; } & Premium -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : Union > : ^^^^^ const f = (value: Union) => { >f : (value: Union) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >(value: Union) => { if (!checkIsPremium(value)) { value.premium; }} : (value: Union) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >value : Union > : ^^^^^ diff --git a/tests/baselines/reference/stringEnumLiteralTypes1.types b/tests/baselines/reference/stringEnumLiteralTypes1.types index fd4352cb9f6a7..4ab1e50638fac 100644 --- a/tests/baselines/reference/stringEnumLiteralTypes1.types +++ b/tests/baselines/reference/stringEnumLiteralTypes1.types @@ -74,7 +74,7 @@ function f1() { function f2(a: YesNo, b: UnknownYesNo, c: Choice) { >f2 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -109,7 +109,7 @@ function f2(a: YesNo, b: UnknownYesNo, c: Choice) { function f3(a: Choice.Yes, b: YesNo) { >f3 : (a: Choice.Yes, b: YesNo) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -218,7 +218,7 @@ function f3(a: Choice.Yes, b: YesNo) { declare function g(x: Choice.Yes): string; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -226,7 +226,7 @@ declare function g(x: Choice.Yes): string; declare function g(x: Choice.No): boolean; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.No > : ^^^^^^^^^ >Choice : any @@ -234,13 +234,13 @@ declare function g(x: Choice.No): boolean; declare function g(x: Choice): number; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : Choice > : ^^^^^^ function f5(a: YesNo, b: UnknownYesNo, c: Choice) { >f5 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -324,7 +324,7 @@ function assertNever(x: never): never { function f10(x: YesNo) { >f10 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -356,7 +356,7 @@ function f10(x: YesNo) { function f11(x: YesNo) { >f11 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -395,7 +395,7 @@ function f11(x: YesNo) { function f12(x: UnknownYesNo) { >f12 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -416,7 +416,7 @@ function f12(x: UnknownYesNo) { function f13(x: UnknownYesNo) { >f13 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -465,7 +465,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -509,7 +509,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/stringEnumLiteralTypes2.types b/tests/baselines/reference/stringEnumLiteralTypes2.types index 5f95ed5f4962f..f289a65ac70b3 100644 --- a/tests/baselines/reference/stringEnumLiteralTypes2.types +++ b/tests/baselines/reference/stringEnumLiteralTypes2.types @@ -74,7 +74,7 @@ function f1() { function f2(a: YesNo, b: UnknownYesNo, c: Choice) { >f2 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -109,7 +109,7 @@ function f2(a: YesNo, b: UnknownYesNo, c: Choice) { function f3(a: Choice.Yes, b: YesNo) { >f3 : (a: Choice.Yes, b: YesNo) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -218,7 +218,7 @@ function f3(a: Choice.Yes, b: YesNo) { declare function g(x: Choice.Yes): string; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.Yes > : ^^^^^^^^^^ >Choice : any @@ -226,7 +226,7 @@ declare function g(x: Choice.Yes): string; declare function g(x: Choice.No): boolean; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : Choice.No > : ^^^^^^^^^ >Choice : any @@ -234,13 +234,13 @@ declare function g(x: Choice.No): boolean; declare function g(x: Choice): number; >g : { (x: Choice.Yes): string; (x: Choice.No): boolean; (x: Choice): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : Choice > : ^^^^^^ function f5(a: YesNo, b: UnknownYesNo, c: Choice) { >f5 : (a: YesNo, b: UnknownYesNo, c: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : YesNo > : ^^^^^ >b : UnknownYesNo @@ -324,7 +324,7 @@ function assertNever(x: never): never { function f10(x: YesNo) { >f10 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -356,7 +356,7 @@ function f10(x: YesNo) { function f11(x: YesNo) { >f11 : (x: YesNo) => "true" | "false" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^ >x : YesNo > : ^^^^^ @@ -395,7 +395,7 @@ function f11(x: YesNo) { function f12(x: UnknownYesNo) { >f12 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -416,7 +416,7 @@ function f12(x: UnknownYesNo) { function f13(x: UnknownYesNo) { >f13 : (x: UnknownYesNo) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -465,7 +465,7 @@ type Item = function f20(x: Item) { >f20 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ @@ -509,7 +509,7 @@ function f20(x: Item) { function f21(x: Item) { >f21 : (x: Item) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >x : Item > : ^^^^ diff --git a/tests/baselines/reference/stringEnumLiteralTypes3.types b/tests/baselines/reference/stringEnumLiteralTypes3.types index 34cf2ab6714ec..56fa9f119113e 100644 --- a/tests/baselines/reference/stringEnumLiteralTypes3.types +++ b/tests/baselines/reference/stringEnumLiteralTypes3.types @@ -51,7 +51,7 @@ type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No; function f1(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f1 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -96,7 +96,7 @@ function f1(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f2(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f2 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -141,7 +141,7 @@ function f2(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f3(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f3 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -186,7 +186,7 @@ function f3(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f4(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f4 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -231,7 +231,7 @@ function f4(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f5(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f5 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -388,7 +388,7 @@ function f5(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f6(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f6 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -545,7 +545,7 @@ function f6(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f7(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { >f7 : (a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >a : Choice.Yes > : ^^^^^^^^^^ >b : YesNo @@ -686,7 +686,7 @@ function f7(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) { function f10(x: Yes): Yes { >f10 : (x: Yes) => Yes -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Choice.Yes > : ^^^^^^^^^^ @@ -731,7 +731,7 @@ function f10(x: Yes): Yes { function f11(x: YesNo): YesNo { >f11 : (x: YesNo) => YesNo -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : YesNo > : ^^^^^ @@ -776,7 +776,7 @@ function f11(x: YesNo): YesNo { function f12(x: UnknownYesNo): UnknownYesNo { >f12 : (x: UnknownYesNo) => UnknownYesNo -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : UnknownYesNo > : ^^^^^^^^^^^^ @@ -821,7 +821,7 @@ function f12(x: UnknownYesNo): UnknownYesNo { function f13(x: Choice): Choice { >f13 : (x: Choice) => Choice -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : Choice > : ^^^^^^ diff --git a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.types b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.types index fbd2d17a4f91b..51a7549287a3f 100644 --- a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.types +++ b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.types @@ -161,7 +161,7 @@ interface I { var a: { >a : { (): string; (x: any): number; [x: string]: string; a: string; b: number; c: () => {}; d: string; e: number; 1: string; 2: number; foo(): string; "3.0": string; "4.0": number; f: MyString; } -> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^ [x: string]: string; >x : string @@ -224,7 +224,7 @@ var b: { [x: string]: string; } = { >x : string > : ^^^^^^ >{ a: '', b: 1, c: () => { }, "d": '', "e": 1, 1.0: '', 2.0: 1, "3.0": '', "4.0": 1, f: null, get X() { return ''; }, set X(v) { }, foo() { return ''; }} : { a: string; b: number; c: () => void; d: string; e: number; 1: string; 2: number; "3.0": string; "4.0": number; f: MyString; X: string; foo(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ a: '', >a : string diff --git a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.types b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.types index 2a09e7b2a05f7..e4246e13ad86d 100644 --- a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.types +++ b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.types @@ -76,7 +76,7 @@ interface Foo2 { var a: { >a : { [x: string]: A; a: A; b: B; c: number; d: string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ [x: string]: A; >x : string diff --git a/tests/baselines/reference/stringLiteralCheckedInIf01.types b/tests/baselines/reference/stringLiteralCheckedInIf01.types index d2642452659a9..f5dd5f573a5cf 100644 --- a/tests/baselines/reference/stringLiteralCheckedInIf01.types +++ b/tests/baselines/reference/stringLiteralCheckedInIf01.types @@ -11,7 +11,7 @@ type T = S[] | S; function f(foo: T) { >f : (foo: T) => S -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^ >foo : T > : ^ diff --git a/tests/baselines/reference/stringLiteralCheckedInIf02.types b/tests/baselines/reference/stringLiteralCheckedInIf02.types index ae5f9207c4a86..c53cbbeea8cee 100644 --- a/tests/baselines/reference/stringLiteralCheckedInIf02.types +++ b/tests/baselines/reference/stringLiteralCheckedInIf02.types @@ -11,7 +11,7 @@ type T = S[] | S; function isS(t: T): t is S { >isS : (t: T) => t is S -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >t : T > : ^ @@ -34,7 +34,7 @@ function isS(t: T): t is S { function f(foo: T) { >f : (foo: T) => S -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^ >foo : T > : ^ diff --git a/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.types b/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.types index 173eee97008c4..7b3e0ec765d1c 100644 --- a/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.types +++ b/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.types @@ -48,7 +48,7 @@ function f3(x: 'a'); function f3(x: Object); >f3 : { (x: "a"): any; (x: Object): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : Object > : ^^^^^^ @@ -116,7 +116,7 @@ function f7(x: 'a'); function f7(x: Date); >f7 : { (x: "a"): any; (x: Date): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : Date > : ^^^^ @@ -133,7 +133,7 @@ function f8(x: 'a'); function f8(x: RegExp); >f8 : { (x: "a"): any; (x: RegExp): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : RegExp > : ^^^^^^ @@ -209,7 +209,7 @@ class C implements String { match(regexp: any): RegExpMatchArray { return null; } >match : (regexp: any) => RegExpMatchArray -> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >regexp : any replace(searchValue: any, replaceValue: any): string { return null; } @@ -296,7 +296,7 @@ function f10(x: 'a'); function f10(x: C); >f10 : { (x: "a"): any; (x: C): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : C > : ^ @@ -320,7 +320,7 @@ function f11(x: 'a'); function f11(x: I); >f11 : { (x: "a"): any; (x: I): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : I > : ^ @@ -337,7 +337,7 @@ function f12(x: 'a'); function f12(x: T); >f12 : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -354,7 +354,7 @@ function f13(x: 'a'); function f13(x: T); >f13 : { (x: "a"): any; (x: T): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -377,7 +377,7 @@ function f14(x: 'a'); function f14(x: E); >f14 : { (x: "a"): any; (x: E): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : E > : ^ @@ -394,7 +394,7 @@ function f15(x: 'a'); function f15(x: U); >f15 : { (x: "a"): any; (x: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : U > : ^ @@ -411,7 +411,7 @@ function f16(x: 'a'); function f16(x: U); >f16 : { (x: "a"): any; (x: U): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : U > : ^ diff --git a/tests/baselines/reference/stringLiteralTypesAndTuples01.types b/tests/baselines/reference/stringLiteralTypesAndTuples01.types index f0de5fb6ab9c5..3d900b348ffd5 100644 --- a/tests/baselines/reference/stringLiteralTypesAndTuples01.types +++ b/tests/baselines/reference/stringLiteralTypesAndTuples01.types @@ -52,7 +52,7 @@ rawr(dinosaur); function rawr(dino: RexOrRaptor) { >rawr : (dino: RexOrRaptor) => "ROAAAAR!" | "yip yip!" -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >dino : RexOrRaptor > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/stringLiteralTypesAsTags01.types b/tests/baselines/reference/stringLiteralTypesAsTags01.types index 4a1b1d1a24834..9ddde2cbfef18 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTags01.types +++ b/tests/baselines/reference/stringLiteralTypesAsTags01.types @@ -33,7 +33,7 @@ interface B extends Entity { function hasKind(entity: Entity, kind: "A"): entity is A; >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; (entity: Entity, kind: Kind): entity is Entity; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : "A" @@ -41,7 +41,7 @@ function hasKind(entity: Entity, kind: "A"): entity is A; function hasKind(entity: Entity, kind: "B"): entity is B; >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; (entity: Entity, kind: Kind): entity is Entity; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : "B" @@ -49,7 +49,7 @@ function hasKind(entity: Entity, kind: "B"): entity is B; function hasKind(entity: Entity, kind: Kind): entity is Entity; >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; (entity: Entity, kind: Kind): entity is Entity; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : Kind diff --git a/tests/baselines/reference/stringLiteralTypesAsTags02.types b/tests/baselines/reference/stringLiteralTypesAsTags02.types index 5053f351738c1..c09c8570721c9 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTags02.types +++ b/tests/baselines/reference/stringLiteralTypesAsTags02.types @@ -33,7 +33,7 @@ interface B extends Entity { function hasKind(entity: Entity, kind: "A"): entity is A; >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : "A" @@ -41,7 +41,7 @@ function hasKind(entity: Entity, kind: "A"): entity is A; function hasKind(entity: Entity, kind: "B"): entity is B; >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : "B" diff --git a/tests/baselines/reference/stringLiteralTypesAsTags03.types b/tests/baselines/reference/stringLiteralTypesAsTags03.types index 354719257f9ed..1e757a749df55 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTags03.types +++ b/tests/baselines/reference/stringLiteralTypesAsTags03.types @@ -37,7 +37,7 @@ interface B extends Entity { // signature and simply check compatibility with the implementation. function hasKind(entity: Entity, kind: "A" | "A"): entity is A; >hasKind : { (entity: Entity, kind: "A" | "A"): entity is A; (entity: Entity, kind: "B"): entity is B; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : "A" @@ -45,7 +45,7 @@ function hasKind(entity: Entity, kind: "A" | "A"): entity is A; function hasKind(entity: Entity, kind: "B" | "B"): entity is B; >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B" | "B"): entity is B; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ >entity : Entity > : ^^^^^^ >kind : "B" diff --git a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.types b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.types index 37b897827ae4d..010cd2c3f296c 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.types +++ b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.types @@ -3,9 +3,9 @@ === stringLiteralTypesAsTypeParameterConstraint01.ts === function foo(f: (x: T) => T) { >foo : (f: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -16,9 +16,9 @@ function foo(f: (x: T) => T) { function bar(f: (x: T) => T) { >bar : (f: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.types b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.types index abd2564bb038b..76225223b3f23 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.types +++ b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.types @@ -3,9 +3,9 @@ === stringLiteralTypesAsTypeParameterConstraint02.ts === function foo(f: (x: T) => T) { >foo : (f: (x: T) => T) => (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ >f : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/stringLiteralTypesOverloads03.types b/tests/baselines/reference/stringLiteralTypesOverloads03.types index 3436b42706bc1..7d289c0fb8f7c 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads03.types +++ b/tests/baselines/reference/stringLiteralTypesOverloads03.types @@ -43,25 +43,25 @@ let helloOrWorld: "hello" | "world"; function f(p: "hello"): JustHello; >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: string): Base; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : "hello" > : ^^^^^^^ function f(p: "hello" | "world"): HelloOrWorld; >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : "hello" | "world" > : ^^^^^^^^^^^^^^^^^ function f(p: "world"): JustWorld; >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ >p : "world" > : ^^^^^^^ function f(p: string): Base; >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: string): Base; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >p : string > : ^^^^^^ @@ -108,25 +108,25 @@ let fResult3 = f(helloOrWorld); function g(p: string): Base; >g : { (p: string): Base; (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : string > : ^^^^^^ function g(p: "hello"): JustHello; >g : { (p: string): Base; (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : "hello" > : ^^^^^^^ function g(p: "hello" | "world"): HelloOrWorld; >g : { (p: string): Base; (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >p : "hello" | "world" > : ^^^^^^^^^^^^^^^^^ function g(p: "world"): JustWorld; >g : { (p: string): Base; (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >p : "world" > : ^^^^^^^ diff --git a/tests/baselines/reference/stringLiteralTypesOverloads05.types b/tests/baselines/reference/stringLiteralTypesOverloads05.types index 06bbae20b1b25..1df392c3326e0 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads05.types +++ b/tests/baselines/reference/stringLiteralTypesOverloads05.types @@ -19,19 +19,19 @@ interface Moose extends Animal { moose: {} } function doThing(x: "dog"): Dog; >doThing : { (x: "dog"): Dog; (x: "cat"): Cat; (x: string): Animal; } -> : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : "dog" > : ^^^^^ function doThing(x: "cat"): Cat; >doThing : { (x: "dog"): Dog; (x: "cat"): Cat; (x: string): Animal; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >x : "cat" > : ^^^^^ function doThing(x: string): Animal; >doThing : { (x: "dog"): Dog; (x: "cat"): Cat; (x: string): Animal; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >x : string > : ^^^^^^ diff --git a/tests/baselines/reference/stringLiteralTypesTypePredicates01.types b/tests/baselines/reference/stringLiteralTypesTypePredicates01.types index e8d9b0dd29448..5f440d34b062c 100644 --- a/tests/baselines/reference/stringLiteralTypesTypePredicates01.types +++ b/tests/baselines/reference/stringLiteralTypesTypePredicates01.types @@ -7,7 +7,7 @@ type Kind = "A" | "B" function kindIs(kind: Kind, is: "A"): kind is "A"; >kindIs : { (kind: Kind, is: "A"): kind is "A"; (kind: Kind, is: "B"): kind is "B"; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >kind : Kind > : ^^^^ >is : "A" @@ -15,7 +15,7 @@ function kindIs(kind: Kind, is: "A"): kind is "A"; function kindIs(kind: Kind, is: "B"): kind is "B"; >kindIs : { (kind: Kind, is: "A"): kind is "A"; (kind: Kind, is: "B"): kind is "B"; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ >kind : Kind > : ^^^^ >is : "B" diff --git a/tests/baselines/reference/stringMappingOverPatternLiterals.types b/tests/baselines/reference/stringMappingOverPatternLiterals.types index 018162b621f5a..52050b54b543a 100644 --- a/tests/baselines/reference/stringMappingOverPatternLiterals.types +++ b/tests/baselines/reference/stringMappingOverPatternLiterals.types @@ -29,7 +29,7 @@ type CTemplate = Lowercase; function f1( >f1 : (a: A, b: B, c: C, a_template: ATemplate, b_template: BTemplate, c_template: CTemplate) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ a: A, >a : "aA" @@ -160,7 +160,7 @@ function f1( function f2(x1: string, x2: Uppercase, x3: Lowercase) { >f2 : (x1: string, x2: Uppercase, x3: Lowercase) => void -> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >x1 : string > : ^^^^^^ >x2 : Uppercase @@ -255,7 +255,7 @@ function f2(x1: string, x2: Uppercase, x3: Lowercase) { function f3( >f3 : (x1: Uppercase, x2: Uppercase>, x3: Uppercase>) => void -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ x1: Uppercase, >x1 : Uppercase @@ -390,7 +390,7 @@ type EquivalentNonStringPat = `AA${Uppercase<`${number}`>}${Uppercase<`${bigint} function f4(x1: NonStringPat, x2: EquivalentNonStringPat) { >f4 : (x1: NonStringPat, x2: EquivalentNonStringPat) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^^^^ >x1 : `AA${Uppercase<`${number}`>}${Uppercase<`${bigint}`>}FALSE` | `AA${Uppercase<`${number}`>}${Uppercase<`${bigint}`>}TRUE` > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x2 : `AA${Uppercase<`${number}`>}${Uppercase<`${bigint}`>}FALSE` | `AA${Uppercase<`${number}`>}${Uppercase<`${bigint}`>}TRUE` @@ -418,7 +418,7 @@ function f4(x1: NonStringPat, x2: EquivalentNonStringPat) { function f5( >f5 : (cap_tem: `A${string}`, cap_str: Capitalize, cap_tem_map: Capitalize<`A${string}`>, cap_tem_map2: Capitalize<`a${string}`>, uncap_tem: `a${string}`, uncap_str: Uncapitalize, uncap_tem_map: Uncapitalize<`A${string}`>, uncap_tem_map2: Uncapitalize<`a${string}`>) => void -> : ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ cap_tem: `A${string}`, >cap_tem : `A${string}` diff --git a/tests/baselines/reference/stringMappingReduction.types b/tests/baselines/reference/stringMappingReduction.types index b0e8fcb016ec8..983fab4d30937 100644 --- a/tests/baselines/reference/stringMappingReduction.types +++ b/tests/baselines/reference/stringMappingReduction.types @@ -67,23 +67,23 @@ type EPlusFallback = C extends Keys ? EMap[C] : "unrecognised event"; type VirtualEvent = { bivarianceHack(event: EPlusFallback>): any; }['bivarianceHack']; >VirtualEvent : (event: EPlusFallback>) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >bivarianceHack : (event: EPlusFallback>) => any -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >event : EPlusFallback> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare const _virtualOn: (eventQrl: VirtualEvent) => void; >_virtualOn : (eventQrl: VirtualEvent) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >eventQrl : (event: {}) => any > : ^^^^^^^^^^^^^^^^^^ export const virtualOn = (eventQrl: VirtualEvent) => { >virtualOn : (eventQrl: VirtualEvent) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >(eventQrl: VirtualEvent) => { _virtualOn(eventQrl);} : (eventQrl: VirtualEvent) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >eventQrl : (event: EPlusFallback>) => any > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/structural1.types b/tests/baselines/reference/structural1.types index 9ad09f9944a23..05ad6a51e65ee 100644 --- a/tests/baselines/reference/structural1.types +++ b/tests/baselines/reference/structural1.types @@ -17,7 +17,7 @@ module M { export function f(i:I) { >f : (i: I) => void -> : ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >i : I > : ^ } diff --git a/tests/baselines/reference/styledComponentsInstantiaionLimitNotReached.types b/tests/baselines/reference/styledComponentsInstantiaionLimitNotReached.types index 61fdc4edabf7e..649098dd0bad5 100644 --- a/tests/baselines/reference/styledComponentsInstantiaionLimitNotReached.types +++ b/tests/baselines/reference/styledComponentsInstantiaionLimitNotReached.types @@ -448,7 +448,7 @@ export interface StyledComponentBase< withComponent( >withComponent : { (component: WithC): StyledComponent, T, O & StyledComponentInnerOtherProps, A | StyledComponentInnerAttrs>; >(component: WithC_1): StyledComponent; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ component: WithC, >component : WithC @@ -462,7 +462,7 @@ export interface StyledComponentBase< >; withComponent>( >withComponent : { (component: WithC_1): StyledComponent, T, O & StyledComponentInnerOtherProps, A | StyledComponentInnerAttrs>; >(component: WithC): StyledComponent; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ ^ ^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ >JSX : any > : ^^^ >React : any diff --git a/tests/baselines/reference/subclassThisTypeAssignable01.types b/tests/baselines/reference/subclassThisTypeAssignable01.types index 3c3e94a389728..7eae3a6ab1aa4 100644 --- a/tests/baselines/reference/subclassThisTypeAssignable01.types +++ b/tests/baselines/reference/subclassThisTypeAssignable01.types @@ -4,7 +4,7 @@ interface Lifecycle { oninit?(vnode: Vnode): number; >oninit : (vnode: Vnode) => number -> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >vnode : Vnode > : ^^^^^^^^^^^^^^^^^^^ @@ -22,7 +22,7 @@ interface Vnode = Lifecycle { view(this: State, vnode: Vnode): number; >view : (this: State, vnode: Vnode) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^ >this : State > : ^^^^^ >vnode : Vnode @@ -32,13 +32,13 @@ interface Component { interface ClassComponent extends Lifecycle> { oninit?(vnode: Vnode): number; >oninit : (vnode: Vnode) => number -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >vnode : Vnode > : ^^^^^^^^^^^^^^ view(vnode: Vnode): number; >view : (vnode: Vnode) => number -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >vnode : Vnode > : ^^^^^^^^^^^^^^ } @@ -53,7 +53,7 @@ class C implements ClassComponent { view(v: Vnode) { return 0; } >view : (v: Vnode) => number -> : ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >v : Vnode> > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >0 : 0 diff --git a/tests/baselines/reference/subclassThisTypeAssignable02.types b/tests/baselines/reference/subclassThisTypeAssignable02.types index c37ef52204b04..84b9133998cca 100644 --- a/tests/baselines/reference/subclassThisTypeAssignable02.types +++ b/tests/baselines/reference/subclassThisTypeAssignable02.types @@ -4,7 +4,7 @@ interface Lifecycle> { oninit?(vnode: Vnode): number; >oninit : ((vnode: Vnode) => number) | undefined -> : ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >vnode : Vnode > : ^^^^^^^^^^^^^^^^^^^ @@ -22,7 +22,7 @@ interface Vnode> { interface Component> { view(this: State, vnode: Vnode): number; >view : (this: State, vnode: Vnode) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ +> : ^^^^^^^ ^^^^^^^^^ ^^^^^ >this : State > : ^^^^^ >vnode : Vnode @@ -32,13 +32,13 @@ interface Component> { interface ClassComponent extends Lifecycle> { oninit?(vnode: Vnode): number; >oninit : ((vnode: Vnode) => number) | undefined -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ >vnode : Vnode > : ^^^^^^^^^^^^^^ view(vnode: Vnode): number; >view : (vnode: Vnode) => number -> : ^^^^^^^^^^^^^ ^ ^^^^^ +> : ^^^^^^^^ ^^^^^ >vnode : Vnode > : ^^^^^^^^^^^^^^ } @@ -53,7 +53,7 @@ class C implements ClassComponent { view(v: Vnode) { return 0; } >view : (v: Vnode) => number -> : ^^^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^ >v : Vnode > : ^^^^^^^^^^^^^^^^^ >0 : 0 diff --git a/tests/baselines/reference/substituteReturnTypeSatisfiesConstraint.types b/tests/baselines/reference/substituteReturnTypeSatisfiesConstraint.types index 112e4cf3d8364..00d85f3dbc0e2 100644 --- a/tests/baselines/reference/substituteReturnTypeSatisfiesConstraint.types +++ b/tests/baselines/reference/substituteReturnTypeSatisfiesConstraint.types @@ -11,7 +11,7 @@ type O = { m: () => M }; >O : O > : ^ >m : () => M -> : ^^^^^^^ +> : ^^^^^^ type X = T; >X : T diff --git a/tests/baselines/reference/substitutionTypeNoMergeOfAssignableType.types b/tests/baselines/reference/substitutionTypeNoMergeOfAssignableType.types index 8eaa4f0e8b637..1611da6a7dc24 100644 --- a/tests/baselines/reference/substitutionTypeNoMergeOfAssignableType.types +++ b/tests/baselines/reference/substitutionTypeNoMergeOfAssignableType.types @@ -33,7 +33,7 @@ interface Entry { function makeEntityStore>(config: T): Nodes { >makeEntityStore : >(config: T) => Nodes -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >config : T > : ^ diff --git a/tests/baselines/reference/substitutionTypesInIndexedAccessTypes.types b/tests/baselines/reference/substitutionTypesInIndexedAccessTypes.types index c4750559bffd8..3b04069d62ea1 100644 --- a/tests/baselines/reference/substitutionTypesInIndexedAccessTypes.types +++ b/tests/baselines/reference/substitutionTypesInIndexedAccessTypes.types @@ -19,13 +19,13 @@ type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never }; declare function withBoundary(args?: Subset): T; >withBoundary : (args?: Subset) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : Subset | undefined > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function withoutBoundary(args?: T): T; >withoutBoundary : (args?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T | undefined > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/subtypeReductionUnionConstraints.types b/tests/baselines/reference/subtypeReductionUnionConstraints.types index 111dafea9b5c3..934f3d2cc46fe 100644 --- a/tests/baselines/reference/subtypeReductionUnionConstraints.types +++ b/tests/baselines/reference/subtypeReductionUnionConstraints.types @@ -52,17 +52,17 @@ declare function isNode(node: unknown): node is Node; declare function isBar(node: Node): node is BarNode; >isBar : (node: Node) => node is BarNode -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ >node : Node > : ^^^^ export function visitNodes(node: Document | Node, predicate: (testNode: Node) => testNode is T): void { >visitNodes : (node: Document | Node, predicate: (testNode: Node) => testNode is T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >node : Node | Document > : ^^^^^^^^^^^^^^^ >predicate : (testNode: Node) => testNode is T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >testNode : Node > : ^^^^ @@ -130,7 +130,7 @@ type B = { b: string }; function f1(t: T, x: A | B) { >f1 : (t: T, x: A | B) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >x : A | B diff --git a/tests/baselines/reference/subtypeRelationForNever.types b/tests/baselines/reference/subtypeRelationForNever.types index 0b46e0a934d1d..a876a540728ed 100644 --- a/tests/baselines/reference/subtypeRelationForNever.types +++ b/tests/baselines/reference/subtypeRelationForNever.types @@ -15,15 +15,15 @@ function fail(message: string) : never { throw new Error(message); } function withFew(values: a[], haveFew: (values: a[]) => r, haveNone: (reason: string) => r): r { >withFew : (values: a[], haveFew: (values: a[]) => r, haveNone: (reason: string) => r) => r -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ ^^^^^^^ +> : ^ ^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ >values : a[] > : ^^^ >haveFew : (values: a[]) => r -> : ^^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >values : a[] > : ^^^ >haveNone : (reason: string) => r -> : ^^^^^^^^^ ^^^^^^ +> : ^^^^^^^^^ ^^^^^ >reason : string > : ^^^^^^ @@ -55,7 +55,7 @@ function withFew(values: a[], haveFew: (values: a[]) => r, haveNone: (reas } function id(value: a) : a { return value; } >id : (value: a) => a -> : ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^ >value : a > : ^ >value : a diff --git a/tests/baselines/reference/subtypesOfAny.types b/tests/baselines/reference/subtypesOfAny.types index 500765051c007..6223e42cdb4f7 100644 --- a/tests/baselines/reference/subtypesOfAny.types +++ b/tests/baselines/reference/subtypesOfAny.types @@ -154,7 +154,7 @@ interface I13 { foo: (x:T) => T; >foo : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/subtypesOfTypeParameter.types b/tests/baselines/reference/subtypesOfTypeParameter.types index 497ec9660753a..932a0ae23febc 100644 --- a/tests/baselines/reference/subtypesOfTypeParameter.types +++ b/tests/baselines/reference/subtypesOfTypeParameter.types @@ -25,7 +25,7 @@ class D1 extends C3 { function f1(x: T, y: U) { >f1 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -112,7 +112,7 @@ module c { // errors throughout function f2(x: T, y: U) { >f2 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -350,13 +350,13 @@ function f2(x: T, y: U) { var r8 = true ? (x: T) => { return x } : x; >r8 : T | ((x: T_1) => T_1) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ >true ? (x: T) => { return x } : x : T | ((x: T_1) => T_1) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ >true : true > : ^^^^ >(x: T) => { return x } : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -366,15 +366,15 @@ function f2(x: T, y: U) { var r8b = true ? x : (x: T) => { return x }; // type parameters not identical across declarations >r8b : T | ((x: T_1) => T_1) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ >true ? x : (x: T) => { return x } : T | ((x: T_1) => T_1) -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^^^^^^^^^^^^^ >true : true > : ^^^^ >x : T > : ^ >(x: T) => { return x } : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -584,7 +584,7 @@ function f2(x: T, y: U) { function f17(a: T) { >f17 : (a: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >a : T > : ^ @@ -615,7 +615,7 @@ function f2(x: T, y: U) { function f18(a: U) { >f18 : (a: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : U > : ^ diff --git a/tests/baselines/reference/subtypesOfTypeParameterWithConstraints2.types b/tests/baselines/reference/subtypesOfTypeParameterWithConstraints2.types index bf2eba0bd43f5..30d98b30807b1 100644 --- a/tests/baselines/reference/subtypesOfTypeParameterWithConstraints2.types +++ b/tests/baselines/reference/subtypesOfTypeParameterWithConstraints2.types @@ -5,7 +5,7 @@ function f1(x: T, y: U) { >f1 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -39,7 +39,7 @@ function f1(x: T, y: U) { // V > U > T function f2(x: T, y: U, z: V) { >f2 : (x: T, y: U, z: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -125,7 +125,7 @@ function f2(x: T, y: U, z: V) { // Date > U > T function f3(x: T, y: U) { >f3 : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ >y : U @@ -270,7 +270,7 @@ module c { function f4(x: T) { >f4 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -320,7 +320,7 @@ function f4(x: T) { function f5(x: T) { >f5 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -351,7 +351,7 @@ function f5(x: T) { function f6(x: T) { >f6 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -382,7 +382,7 @@ function f6(x: T) { function f7(x: T) { >f7 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -413,7 +413,7 @@ function f7(x: T) { function f8(x: T) { >f8 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -448,7 +448,7 @@ function f8(x: T) { function f9(x: T) { >f9 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -479,7 +479,7 @@ function f9(x: T) { function f10(x: T) { >f10 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ >foo : number > : ^^^^^^ >x : T @@ -520,7 +520,7 @@ function f10(x: T) { function f11 void>(x: T) { >f11 : void>(x: T) => void -> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -551,7 +551,7 @@ function f11 void>(x: T) { function f12(x: U) => U>(x: T) { >f12 : (x: U) => U>(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : U > : ^ >x : T @@ -559,13 +559,13 @@ function f12(x: U) => U>(x: T) { var r8 = true ? (x: T) => { return x } : x; // ok >r8 : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >true ? (x: T) => { return x } : x : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >true : true > : ^^^^ >(x: T) => { return x } : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -575,15 +575,15 @@ function f12(x: U) => U>(x: T) { var r8b = true ? x : (x: T) => { return x }; // ok, type parameters not identical across declarations >r8b : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >true ? x : (x: T) => { return x } : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >true : true > : ^^^^ >x : T > : ^ >(x: T) => { return x } : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >x : T > : ^ >x : T @@ -592,7 +592,7 @@ function f12(x: U) => U>(x: T) { function f13(x: T) { >f13 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -627,7 +627,7 @@ function f13(x: T) { function f14(x: T) { >f14 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -662,7 +662,7 @@ function f14(x: T) { function f15>(x: T) { >f15 : >(x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -697,7 +697,7 @@ function f15>(x: T) { function f16(x: T) { >f16 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -760,7 +760,7 @@ function f16(x: T) { function f17(x: T) { >f17 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >f : typeof f > : ^^^^^^^^ >x : T @@ -799,7 +799,7 @@ function f17(x: T) { function f18(x: T) { >f18 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >c : typeof c > : ^^^^^^^^ >x : T @@ -838,13 +838,13 @@ function f18(x: T) { function f19(x: T) { >f19 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ function f17(a: U) { >f17 : (a: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : U > : ^ @@ -875,7 +875,7 @@ function f19(x: T) { function f18(a: V) { >f18 : (a: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >a : V > : ^ @@ -907,7 +907,7 @@ function f19(x: T) { function f20(x: T) { >f20 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -942,7 +942,7 @@ function f20(x: T) { function f21(x: T) { >f21 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/subtypesOfTypeParameterWithConstraints3.types b/tests/baselines/reference/subtypesOfTypeParameterWithConstraints3.types index 0e80f299c804f..d63eb8851eb2e 100644 --- a/tests/baselines/reference/subtypesOfTypeParameterWithConstraints3.types +++ b/tests/baselines/reference/subtypesOfTypeParameterWithConstraints3.types @@ -5,7 +5,7 @@ function f(t: T, u: U, v: V) { >f : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/subtypesOfTypeParameterWithConstraints4.types b/tests/baselines/reference/subtypesOfTypeParameterWithConstraints4.types index 5ff0a327accff..61ba8d55dae7f 100644 --- a/tests/baselines/reference/subtypesOfTypeParameterWithConstraints4.types +++ b/tests/baselines/reference/subtypesOfTypeParameterWithConstraints4.types @@ -11,7 +11,7 @@ class Foo { foo: number; } function f(t: T, u: U, v: V) { >f : (t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/subtypesOfTypeParameterWithRecursiveConstraints.types b/tests/baselines/reference/subtypesOfTypeParameterWithRecursiveConstraints.types index 0bcce96c75427..f24bc5cba4189 100644 --- a/tests/baselines/reference/subtypesOfTypeParameterWithRecursiveConstraints.types +++ b/tests/baselines/reference/subtypesOfTypeParameterWithRecursiveConstraints.types @@ -11,7 +11,7 @@ class Foo { foo: T; } function f, U extends Foo, V extends Foo>(t: T, u: U, v: V) { >f : , U extends Foo, V extends Foo>(t: T, u: U, v: V) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >t : T > : ^ >u : U diff --git a/tests/baselines/reference/subtypesOfUnion.types b/tests/baselines/reference/subtypesOfUnion.types index b27d0dc9d749e..0f343b6934f87 100644 --- a/tests/baselines/reference/subtypesOfUnion.types +++ b/tests/baselines/reference/subtypesOfUnion.types @@ -111,7 +111,7 @@ interface I1 { foo13: (x: T) => T; // error >foo13 : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >x : T > : ^ @@ -198,7 +198,7 @@ interface I2 { foo13: (x: T) => T; // error >foo13 : (x: T_1) => T_1 -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/subtypingWithCallSignatures.types b/tests/baselines/reference/subtypingWithCallSignatures.types index e7e6615fbf4f1..b9832adcfd6e3 100644 --- a/tests/baselines/reference/subtypingWithCallSignatures.types +++ b/tests/baselines/reference/subtypingWithCallSignatures.types @@ -42,7 +42,7 @@ module CallSignature { >foo1 : { (cb: (x: number) => void): (x: number) => void; (cb: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" @@ -89,7 +89,7 @@ module CallSignature { >foo2 : { (cb: (x: number, y: number) => void): (x: number, y: number) => void; (cb: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" diff --git a/tests/baselines/reference/subtypingWithCallSignatures2.types b/tests/baselines/reference/subtypingWithCallSignatures2.types index 94d450026d962..ecfa4ca9204f7 100644 --- a/tests/baselines/reference/subtypingWithCallSignatures2.types +++ b/tests/baselines/reference/subtypingWithCallSignatures2.types @@ -35,7 +35,7 @@ class OtherDerived extends Base { bing: string; } declare function foo1(a: (x: number) => number[]): typeof a; >foo1 : { (a: (x: number) => number[]): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: number) => number[] > : ^^^^ ^^^^^ >x : number @@ -50,7 +50,7 @@ declare function foo1(a: any): any; declare function foo2(a: (x: number) => string[]): typeof a; >foo2 : { (a: (x: number) => string[]): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: number) => string[] > : ^^^^ ^^^^^ >x : number @@ -65,7 +65,7 @@ declare function foo2(a: any): any; declare function foo3(a: (x: number) => void): typeof a; >foo3 : { (a: (x: number) => void): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: number) => void > : ^^^^ ^^^^^ >x : number @@ -80,7 +80,7 @@ declare function foo3(a: any): any; declare function foo4(a: (x: string, y: number) => string): typeof a; >foo4 : { (a: (x: string, y: number) => string): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: string, y: number) => string > : ^^^^ ^^^^^ ^^^^^ >x : string @@ -97,7 +97,7 @@ declare function foo4(a: any): any; declare function foo5(a: (x: (arg: string) => number) => string): typeof a; >foo5 : { (a: (x: (arg: string) => number) => string): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: (arg: string) => number) => string > : ^^^^ ^^^^^ >x : (arg: string) => number @@ -114,11 +114,11 @@ declare function foo5(a: any): any; declare function foo6(a: (x: (arg: Base) => Derived) => Base): typeof a; >foo6 : { (a: (x: (arg: Base) => Derived) => Base): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: (arg: Base) => Derived) => Base -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >a : (x: (arg: Base) => Derived) => Base @@ -131,11 +131,11 @@ declare function foo6(a: any): any; declare function foo7(a: (x: (arg: Base) => Derived) => (r: Base) => Derived): typeof a; >foo7 : { (a: (x: (arg: Base) => Derived) => (r: Base) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -150,15 +150,15 @@ declare function foo7(a: any): any; declare function foo8(a: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a; >foo8 : { (a: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -173,15 +173,15 @@ declare function foo8(a: any): any; declare function foo9(a: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a; >foo9 : { (a: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -196,9 +196,9 @@ declare function foo9(a: any): any; declare function foo10(a: (...x: Derived[]) => Derived): typeof a; >foo10 : { (a: (...x: Derived[]) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ >a : (...x: Derived[]) => Derived @@ -211,9 +211,9 @@ declare function foo10(a: any): any; declare function foo11(a: (x: { foo: string }, y: { foo: string; bar: string }) => Base): typeof a; >foo11 : { (a: (x: { foo: string; }, y: { foo: string; bar: string; }) => Base): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -234,9 +234,9 @@ declare function foo11(a: any): any; declare function foo12(a: (x: Array, y: Array) => Array): typeof a; >foo12 : { (a: (x: Array, y: Array) => Array): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -251,9 +251,9 @@ declare function foo12(a: any): any; declare function foo13(a: (x: Array, y: Array) => Array): typeof a; >foo13 : { (a: (x: Array, y: Array) => Array): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -268,9 +268,9 @@ declare function foo13(a: any): any; declare function foo14(a: (x: { a: string; b: number }) => Object): typeof a; >foo14 : { (a: (x: { a: string; b: number; }) => Object): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : (x: { a: string; b: number; }) => Object -> : ^^^^ ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -287,7 +287,7 @@ declare function foo14(a: any): any; declare function foo15(a: { >foo15 : { (a: { (x: number): number[]; (x: string): string[]; }): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : { (x: number): number[]; (x: string): string[]; } > : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ @@ -310,9 +310,9 @@ declare function foo15(a: any): any; declare function foo16(a: { >foo16 : { (a: { (x: T): number[]; (x: U): number[]; }): typeof a; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ >a : { (x: T): number[]; (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ (x: T): number[]; >x : T @@ -333,7 +333,7 @@ declare function foo16(a: any): any; declare function foo17(a: { >foo17 : { (a: { (x: (a: number) => number): number[]; (x: (a: string) => string): string[]; }): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : { (x: (a: number) => number): number[]; (x: (a: string) => string): string[]; } > : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ @@ -360,9 +360,9 @@ declare function foo17(a: any): any; declare function foo18(a: { >foo18 : { (a: { (x: { (a: number): number; (a: string): string; }): any[]; (x: { (a: boolean): boolean; (a: Date): Date; }): any[]; }): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : { (x: { (a: number): number; (a: string): string; }): any[]; (x: { (a: boolean): boolean; (a: Date): Date; }): any[]; } -> : ^^^^^^ ^^^ ^^^^^^ ^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ (x: { >x : { (a: number): number; (a: string): string; } @@ -379,7 +379,7 @@ declare function foo18(a: { }): any[]; (x: { >x : { (a: boolean): boolean; (a: Date): Date; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ (a: boolean): boolean; >a : boolean @@ -401,9 +401,9 @@ declare function foo18(a: any): any; var r1arg1 = (x: T) => [x]; >r1arg1 : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: T) => [x] : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ >[x] : T[] @@ -455,9 +455,9 @@ var r1b = [r1arg1, r1arg2]; // generic signature, subtype in both directions var r2arg1 = (x: T) => ['']; >r2arg1 : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >(x: T) => [''] : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ >[''] : string[] @@ -509,9 +509,9 @@ var r2b = [r2arg2, r2arg1]; var r3arg1 = (x: T) => x; >r3arg1 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => x : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >x : T @@ -557,9 +557,9 @@ var r3b = [r3arg2, r3arg1]; var r4arg1 = (x: T, y: U) => x; >r4arg1 : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >(x: T, y: U) => x : (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : U @@ -611,11 +611,11 @@ var r4b = [r4arg2, r4arg1]; var r5arg1 = (x: (arg: T) => U) => null; >r5arg1 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ >(x: (arg: T) => U) => null : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >null : T @@ -665,11 +665,11 @@ var r5b = [r5arg2, r5arg1]; var r6arg1 = (x: (arg: T) => U) => null; >r6arg1 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U) => null : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >null : T @@ -677,11 +677,11 @@ var r6arg1 = (x: (arg: T) => U) => null; var r6arg2 = (x: (arg: Base) => Derived) => null; >r6arg2 : (x: (arg: Base) => Derived) => Base -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >(x: (arg: Base) => Derived) => null : (x: (arg: Base) => Derived) => Base -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >null : Base @@ -719,15 +719,15 @@ var r6b = [r6arg2, r6arg1]; var r7arg1 = (x: (arg: T) => U) => (r: T) => null; >r7arg1 : (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U) => (r: T) => null : (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >(r: T) => null : (r: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >r : T > : ^ >null : U @@ -735,15 +735,15 @@ var r7arg1 = (x: (arg: T) => U) => (r: T) => var r7arg2 = (x: (arg: Base) => Derived) => (r: Base) => null; >r7arg2 : (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >(x: (arg: Base) => Derived) => (r: Base) => null : (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >(r: Base) => null : (r: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >r : Base > : ^^^^ >null : Derived @@ -781,19 +781,19 @@ var r7b = [r7arg2, r7arg1]; var r8arg1 = (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => null; >r8arg1 : (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => null : (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >(r: T) => null : (r: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >r : T > : ^ >null : U @@ -801,19 +801,19 @@ var r8arg1 = (x: (arg: T) => U, y: (arg2: T) var r8arg2 = (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => null; >r8arg2 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >(x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => null : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >(r: Base) => null : (r: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >r : Base > : ^^^^ >null : Derived @@ -851,15 +851,15 @@ var r8b = [r8arg2, r8arg1]; var r9arg1 = (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => null; >r9arg1 : (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => null : (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -867,7 +867,7 @@ var r9arg1 = (x: (arg: T) => U, y: (arg2: { f >bing : number > : ^^^^^^ >(r: T) => null : (r: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >r : T > : ^ >null : U @@ -875,19 +875,19 @@ var r9arg1 = (x: (arg: T) => U, y: (arg2: { f var r9arg2 = (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => null; >r9arg2 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >(x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => null : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >(r: Base) => null : (r: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >r : Base > : ^^^^ >null : Derived @@ -925,9 +925,9 @@ var r9b = [r9arg2, r9arg1]; var r10arg1 = (...x: T[]) => x[0]; >r10arg1 : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >(...x: T[]) => x[0] : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : T[] > : ^^^ >x[0] : T @@ -939,9 +939,9 @@ var r10arg1 = (...x: T[]) => x[0]; var r10arg2 = (...x: Derived[]) => null; >r10arg2 : (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ >(...x: Derived[]) => null : (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^ >x : Derived[] > : ^^^^^^^^^ >null : Derived @@ -979,9 +979,9 @@ var r10b = [r10arg2, r10arg1]; var r11arg1 = (x: T, y: T) => x; >r11arg1 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >(x: T, y: T) => x : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : T @@ -1039,9 +1039,9 @@ var r11b = [r11arg2, r11arg1]; var r12arg1 = >(x: Array, y: T) => >null; >r12arg1 : (x: Array, y: T) => Derived[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >>(x: Array, y: T) => >null : (x: Array, y: T) => Derived[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -1051,9 +1051,9 @@ var r12arg1 = >(x: Array, y: T) => >n var r12arg2 = (x: Array, y: Array) => >null; >r12arg2 : (x: Array, y: Array) => Derived[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ >(x: Array, y: Array) => >null : (x: Array, y: Array) => Derived[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -1093,9 +1093,9 @@ var r12b = [r12arg2, r12arg1]; var r13arg1 = >(x: Array, y: T) => y; >r13arg1 : (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >>(x: Array, y: T) => y : (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -1105,9 +1105,9 @@ var r13arg1 = >(x: Array, y: T) => y; var r13arg2 = (x: Array, y: Array) => >null; >r13arg2 : (x: Array, y: Array) => Derived[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ >(x: Array, y: Array) => >null : (x: Array, y: Array) => Derived[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -1147,11 +1147,11 @@ var r13b = [r13arg2, r13arg1]; var r14arg1 = (x: { a: T; b: T }) => x.a; >r14arg1 : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: { a: T; b: T }) => x.a : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -1207,9 +1207,9 @@ var r14b = [r14arg2, r14arg1]; var r15arg1 = (x: T) => null >r15arg1 : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: T) => null : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ >null : T[] @@ -1225,9 +1225,9 @@ var r15 = foo15(r15arg1); // any var r16arg1 = (x: T) => [1]; >r16arg1 : (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >(x: T) => [1] : (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ >[1] : number[] @@ -1247,11 +1247,11 @@ var r16 = foo16(r16arg1); var r17arg1 = (x: (a: T) => T) => null; >r17arg1 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: (a: T) => T) => null : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >null : T[] @@ -1267,11 +1267,11 @@ var r17 = foo17(r17arg1); // any var r18arg1 = (x: (a: T) => T) => null; >r18arg1 : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: (a: T) => T) => null : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >null : T[] diff --git a/tests/baselines/reference/subtypingWithCallSignatures3.types b/tests/baselines/reference/subtypingWithCallSignatures3.types index c15a2a3dab141..d062d277da94f 100644 --- a/tests/baselines/reference/subtypingWithCallSignatures3.types +++ b/tests/baselines/reference/subtypingWithCallSignatures3.types @@ -55,11 +55,11 @@ module Errors { declare function foo7(a2: (x: (arg: Base) => Derived) => (r: Base) => Derived2): typeof a2; >foo7 : { (a2: (x: (arg: Base) => Derived) => (r: Base) => Derived2): (x: (arg: Base) => Derived) => (r: Base) => Derived2; (a2: any): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -74,15 +74,15 @@ module Errors { declare function foo8(a2: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a2; >foo8 : { (a2: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; (a2: any): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -97,9 +97,9 @@ module Errors { declare function foo10(a2: (...x: Base[]) => Base): typeof a2; >foo10 : { (a2: (...x: Base[]) => Base): (...x: Base[]) => Base; (a2: any): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (...x: Base[]) => Base -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >a2 : (...x: Base[]) => Base @@ -112,9 +112,9 @@ module Errors { declare function foo11(a2: (x: { foo: string }, y: { foo: string; bar: string }) => Base): typeof a2; >foo11 : { (a2: (x: { foo: string; }, y: { foo: string; bar: string; }) => Base): (x: { foo: string; }, y: { foo: string; bar: string; }) => Base; (a2: any): any; } -> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -135,9 +135,9 @@ module Errors { declare function foo12(a2: (x: Array, y: Array) => Array): typeof a2; >foo12 : { (a2: (x: Array, y: Array) => Array): (x: Array, y: Array) => Array; (a2: any): any; } -> : ^^^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (x: Array, y: Array) => Array -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -213,13 +213,13 @@ module Errors { declare function foo17(a2: { >foo17 : { (a2: { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; }): { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; }; (a2: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >a2 : { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -232,7 +232,7 @@ module Errors { }): any[]; (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -260,7 +260,7 @@ module Errors { >foo2 : { (a2: (x: number) => string[]): (x: number) => string[]; (a2: any): any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^ >x : T > : ^ >null : U[] @@ -280,7 +280,7 @@ module Errors { >'' : "" > : ^^ >(x: T) => null : (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^ >x : T > : ^ >null : U[] @@ -292,7 +292,7 @@ module Errors { >[(x: T) => null, (x: number) => ['']] : ((x: number) => string[])[] > : ^^^^^ ^^^^^^^^^^^^^^^^ >(x: T) => null : (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^ >x : T > : ^ >null : U[] @@ -308,15 +308,15 @@ module Errors { var r2arg = (x: (arg: T) => U) => (r: T) => null; >r2arg : (x: (arg: T) => U) => (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U) => (r: T) => null : (x: (arg: T) => U) => (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >(r: T) => null : (r: T) => V -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >r : T > : ^ >null : V @@ -324,15 +324,15 @@ module Errors { var r2arg2 = (x: (arg: Base) => Derived) => (r: Base) => null; >r2arg2 : (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ >(x: (arg: Base) => Derived) => (r: Base) => null : (x: (arg: Base) => Derived) => (r: Base) => Derived2 -> : ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >(r: Base) => null : (r: Base) => Derived2 -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^ >r : Base > : ^^^^ >null : Derived2 @@ -370,21 +370,21 @@ module Errors { var r3arg = (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => null; >r3arg : (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => null : (x: (arg: T) => U, y: (arg2: { foo: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: number; } > : ^^^^^^^ ^^^ >foo : number > : ^^^^^^ >(r: T) => null : (r: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^^ >r : T > : ^ >null : U @@ -392,19 +392,19 @@ module Errors { var r3arg2 = (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => null; >r3arg2 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >(x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => null : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >(r: Base) => null : (r: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^ >r : Base > : ^^^^ >null : Derived @@ -440,9 +440,9 @@ module Errors { var r4arg = (...x: T[]) => null; >r4arg : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >(...x: T[]) => null : (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : T[] > : ^^^ >null : T @@ -450,9 +450,9 @@ module Errors { var r4arg2 = (...x: Base[]) => null; >r4arg2 : (...x: Base[]) => Base -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >(...x: Base[]) => null : (...x: Base[]) => Base -> : ^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >x : Base[] > : ^^^^^^ >null : Base @@ -490,9 +490,9 @@ module Errors { var r5arg = (x: T, y: T) => null; >r5arg : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >(x: T, y: T) => null : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : T > : ^ >y : T @@ -550,9 +550,9 @@ module Errors { var r6arg = (x: Array, y: Array) => >null; >r6arg : (x: Array, y: Array) => Derived[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ >(x: Array, y: Array) => >null : (x: Array, y: Array) => Derived[] -> : ^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^^^^^^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -562,9 +562,9 @@ module Errors { var r6arg2 = >(x: Array, y: Array) => null; >r6arg2 : (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >>(x: Array, y: Array) => null : (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ >x : Base[] > : ^^^^^^ >y : Base[] @@ -604,11 +604,11 @@ module Errors { var r7arg = (x: { a: T; b: T }) => null; >r7arg : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: { a: T; b: T }) => null : (x: { a: T; b: T; }) => T -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -660,11 +660,11 @@ module Errors { var r7arg3 = (x: { a: T; b: T }) => 1; >r7arg3 : (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >(x: { a: T; b: T }) => 1 : (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -702,11 +702,11 @@ module Errors { var r8arg = (x: (a: T) => T) => null; >r8arg : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: (a: T) => T) => null : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >null : T[] @@ -722,11 +722,11 @@ module Errors { var r9arg = (x: (a: T) => T) => null; >r9arg : (x: (a: T) => T) => any[] -> : ^^^^^^^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^ >(x: (a: T) => T) => null : (x: (a: T) => T) => any[] -> : ^^^^^^^ ^ ^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >null : any[] @@ -749,9 +749,9 @@ module WithGenericSignaturesInBaseType { declare function foo2(a2: (x: T) => T[]): typeof a2; >foo2 : { (a2: (x: T) => T[]): (x: T) => T[]; (a2: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >a2 : (x: T) => T[] @@ -764,9 +764,9 @@ module WithGenericSignaturesInBaseType { var r2arg2 = (x: T) => ['']; >r2arg2 : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >(x: T) => [''] : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ >[''] : string[] @@ -784,9 +784,9 @@ module WithGenericSignaturesInBaseType { declare function foo3(a2: (x: T) => string[]): typeof a2; >foo3 : { (a2: (x: T) => string[]): (x: T) => string[]; (a2: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ >a2 : (x: T) => string[] @@ -799,9 +799,9 @@ module WithGenericSignaturesInBaseType { var r3arg2 = (x: T) => null; >r3arg2 : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: T) => null : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ >null : T[] diff --git a/tests/baselines/reference/subtypingWithCallSignatures4.types b/tests/baselines/reference/subtypingWithCallSignatures4.types index 1b99d25538a8f..078a5b107087d 100644 --- a/tests/baselines/reference/subtypingWithCallSignatures4.types +++ b/tests/baselines/reference/subtypingWithCallSignatures4.types @@ -35,9 +35,9 @@ class OtherDerived extends Base { bing: string; } declare function foo1(a: (x: T) => T[]); >foo1 : { (a: (x: T) => T[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a : (x: T) => T[] -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -48,9 +48,9 @@ declare function foo1(a: any): any; declare function foo2(a2: (x: T) => string[]); >foo2 : { (a2: (x: T) => string[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a2 : (x: T) => string[] -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -61,9 +61,9 @@ declare function foo2(a: any): any; declare function foo3(a3: (x: T) => void); >foo3 : { (a3: (x: T) => void): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -74,9 +74,9 @@ declare function foo3(a: any): any; declare function foo4(a4: (x: T, y: U) => string); >foo4 : { (a4: (x: T, y: U) => string): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a4 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -89,11 +89,11 @@ declare function foo4(a: any): any; declare function foo5(a5: (x: (arg: T) => U) => T); >foo5 : { (a5: (x: (arg: T) => U) => T): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a5 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -104,11 +104,11 @@ declare function foo5(a: any): any; declare function foo6(a6: (x: (arg: T) => Derived) => T); >foo6 : { (a6: (x: (arg: T) => Derived) => T): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a6 : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ @@ -119,15 +119,15 @@ declare function foo6(a: any): any; declare function foo11(a11: (x: { foo: T }, y: { foo: T; bar: T }) => Base); >foo11 : { (a11: (x: { foo: T; }, y: { foo: T; bar: T; }) => Base): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a11 : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -140,11 +140,11 @@ declare function foo11(a: any): any; declare function foo15(a15: (x: { a: T; b: T }) => T[]); >foo15 : { (a15: (x: { a: T; b: T; }) => T[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a15 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -157,11 +157,11 @@ declare function foo15(a: any): any; declare function foo16(a16: (x: { a: T; b: T }) => T[]); >foo16 : { (a16: (x: { a: T; b: T; }) => T[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a16 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -174,19 +174,19 @@ declare function foo16(a: any): any; declare function foo17(a17: { >foo17 : { (a17: { (x: (a: T) => T): T[]; (x: (a: T_1) => T_1): T_1[]; }): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a17 : { (x: (a: T) => T): T[]; (x: (a: T_1) => T_1): T_1[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (x: (a: T) => T): T[]; >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ (x: (a: T) => T): T[]; >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -198,13 +198,13 @@ declare function foo17(a: any): any; declare function foo18(a18: { >foo18 : { (a18: { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; }): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a18 : { (x: { (a: T): T; (a: T_1): T_1; }): any[]; (x: { (a: T_2): T_2; (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -217,7 +217,7 @@ declare function foo18(a18: { }): any[]; (x: { >x : { (a: T): T; (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (a: T): T; >a : T @@ -236,9 +236,9 @@ declare function foo18(a: any): any; var r1arg = (x: T) => null; >r1arg : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: T) => null : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ >null : T[] @@ -246,9 +246,9 @@ var r1arg = (x: T) => null; var r1arg2 = (x: T) => null; >r1arg2 : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: T) => null : (x: T) => T[] -> : ^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : T > : ^ >null : T[] @@ -284,9 +284,9 @@ var r1b = [r1arg2, r1arg]; var r2arg = (x: T) => ['']; >r2arg : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >(x: T) => [''] : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ >[''] : string[] @@ -296,9 +296,9 @@ var r2arg = (x: T) => ['']; var r2arg2 = (x: T) => ['']; >r2arg2 : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >(x: T) => [''] : (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^^^ >x : T > : ^ >[''] : string[] @@ -336,9 +336,9 @@ var r2b = [r2arg2, r2arg]; var r3arg = (x: T) => null; >r3arg : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >(x: T) => null : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ >null : T @@ -346,9 +346,9 @@ var r3arg = (x: T) => null; var r3arg2 = (x: T) => { }; >r3arg2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >(x: T) => { } : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -382,9 +382,9 @@ var r3b = [r3arg2, r3arg]; var r4arg = (x: T, y: U) => ''; >r4arg : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >(x: T, y: U) => '' : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : U @@ -394,9 +394,9 @@ var r4arg = (x: T, y: U) => ''; var r4arg2 = (x: T, y: U) => ''; >r4arg2 : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >(x: T, y: U) => '' : (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >y : U @@ -434,11 +434,11 @@ var r4b = [r4arg2, r4arg]; var r5arg = (x: (arg: T) => U) => null; >r5arg : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ >(x: (arg: T) => U) => null : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >null : T @@ -446,11 +446,11 @@ var r5arg = (x: (arg: T) => U) => null; var r5arg2 = (x: (arg: T) => U) => null; >r5arg2 : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ >(x: (arg: T) => U) => null : (x: (arg: T) => U) => T -> : ^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >null : T @@ -486,11 +486,11 @@ var r5b = [r5arg2, r5arg]; var r6arg = (x: (arg: T) => U) => null; >r6arg : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >(x: (arg: T) => U) => null : (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >null : T @@ -498,11 +498,11 @@ var r6arg = (x: (arg: T) => U) => null; var r6arg2 = (x: (arg: T) => Derived) => null; >r6arg2 : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >(x: (arg: T) => Derived) => null : (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >null : T @@ -538,15 +538,15 @@ var r6b = [r6arg2, r6arg]; var r11arg = (x: { foo: T }, y: { foo: U; bar: U }) => null; >r11arg : (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >(x: { foo: T }, y: { foo: U; bar: U }) => null : (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -556,15 +556,15 @@ var r11arg = (x: { foo: T }, y: { foo: U; bar: U }) => null; var r11arg2 = (x: { foo: T }, y: { foo: T; bar: T }) => null; >r11arg2 : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >(x: { foo: T }, y: { foo: T; bar: T }) => null : (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -602,11 +602,11 @@ var r11b = [r11arg2, r11arg]; var r15arg = (x: { a: U; b: V; }) => null; >r15arg : (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^ >(x: { a: U; b: V; }) => null : (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^ ^^^^^ ^^^^^^^^ >x : { a: U; b: V; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : U > : ^ >b : V @@ -616,11 +616,11 @@ var r15arg = (x: { a: U; b: V; }) => null; var r15arg2 = (x: { a: T; b: T }) => null; >r15arg2 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: { a: T; b: T }) => null : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -658,11 +658,11 @@ var r15b = [r15arg2, r15arg]; var r16arg = (x: { a: T; b: T }) => null; >r16arg : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >(x: { a: T; b: T }) => null : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -672,11 +672,11 @@ var r16arg = (x: { a: T; b: T }) => null; var r16arg2 = (x: { a: T; b: T }) => null; >r16arg2 : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >(x: { a: T; b: T }) => null : (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -714,11 +714,11 @@ var r16b = [r16arg2, r16arg]; var r17arg = (x: (a: T) => T) => null; >r17arg : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >(x: (a: T) => T) => null : (x: (a: T) => T) => T[] -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ >null : T[] @@ -734,11 +734,11 @@ var r17 = foo17(r17arg); var r18arg = (x: (a: T) => T) => null; >r18arg : (x: (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >(x: (a: T) => T) => null : (x: (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >a : T > : ^ >null : any[] diff --git a/tests/baselines/reference/subtypingWithCallSignaturesA.types b/tests/baselines/reference/subtypingWithCallSignaturesA.types index 25be70cd918a2..f7d6f889b392f 100644 --- a/tests/baselines/reference/subtypingWithCallSignaturesA.types +++ b/tests/baselines/reference/subtypingWithCallSignaturesA.types @@ -3,7 +3,7 @@ === subtypingWithCallSignaturesA.ts === declare function foo3(cb: (x: number) => number): typeof cb; >foo3 : (cb: (x: number) => number) => typeof cb -> : ^^^^^ ^^^^^ ^^ +> : ^^^^^ ^^^^^ >cb : (x: number) => number > : ^^^^ ^^^^^ >x : number diff --git a/tests/baselines/reference/subtypingWithCallSignaturesWithSpecializedSignatures.types b/tests/baselines/reference/subtypingWithCallSignaturesWithSpecializedSignatures.types index 82e7239cdde70..c6390d4d173bb 100644 --- a/tests/baselines/reference/subtypingWithCallSignaturesWithSpecializedSignatures.types +++ b/tests/baselines/reference/subtypingWithCallSignaturesWithSpecializedSignatures.types @@ -100,7 +100,7 @@ module MemberWithCallSignature { } a3: (x: T) => void; >a3 : (x: T) => void -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -124,7 +124,7 @@ module MemberWithCallSignature { a3: (x: T) => string; // ok because base returns void >a3 : (x: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -145,7 +145,7 @@ module MemberWithCallSignature { } a2: (x: T) => T; >a2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -165,7 +165,7 @@ module MemberWithCallSignature { // N's a2: (x: T) => string; // error because base returns non-void; >a2 : (x: T) => string -> : ^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/subtypingWithConstructSignatures.types b/tests/baselines/reference/subtypingWithConstructSignatures.types index fdd25774a44f7..80cbb2dd486d0 100644 --- a/tests/baselines/reference/subtypingWithConstructSignatures.types +++ b/tests/baselines/reference/subtypingWithConstructSignatures.types @@ -38,7 +38,7 @@ module ConstructSignature { var rarg2: new (x: T) => string; >rarg2 : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -89,7 +89,7 @@ module ConstructSignature { var r4arg1: new (x: T) => string; >r4arg1 : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/subtypingWithConstructSignatures2.types b/tests/baselines/reference/subtypingWithConstructSignatures2.types index 8dd74c7fca96f..7a4c5a0bf1c57 100644 --- a/tests/baselines/reference/subtypingWithConstructSignatures2.types +++ b/tests/baselines/reference/subtypingWithConstructSignatures2.types @@ -35,7 +35,7 @@ class OtherDerived extends Base { bing: string; } declare function foo1(a: new (x: number) => number[]): typeof a; >foo1 : { (a: new (x: number) => number[]): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: number) => number[] > : ^^^^^^^^ ^^^^^ >x : number @@ -50,7 +50,7 @@ declare function foo1(a: any): any; declare function foo2(a: new (x: number) => string[]): typeof a; >foo2 : { (a: new (x: number) => string[]): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: number) => string[] > : ^^^^^^^^ ^^^^^ >x : number @@ -65,7 +65,7 @@ declare function foo2(a: any): any; declare function foo3(a: new (x: number) => void): typeof a; >foo3 : { (a: new (x: number) => void): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: number) => void > : ^^^^^^^^ ^^^^^ >x : number @@ -80,7 +80,7 @@ declare function foo3(a: any): any; declare function foo4(a: new (x: string, y: number) => string): typeof a; >foo4 : { (a: new (x: string, y: number) => string): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: string, y: number) => string > : ^^^^^^^^ ^^^^^ ^^^^^ >x : string @@ -97,7 +97,7 @@ declare function foo4(a: any): any; declare function foo5(a: new (x: new (arg: string) => number) => string): typeof a; >foo5 : { (a: new (x: new (arg: string) => number) => string): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: new (arg: string) => number) => string > : ^^^^^^^^ ^^^^^ >x : new (arg: string) => number @@ -114,11 +114,11 @@ declare function foo5(a: any): any; declare function foo6(a: new (x: new (arg: Base) => Derived) => Base): typeof a; >foo6 : { (a: new (x: new (arg: Base) => Derived) => Base): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: new (arg: Base) => Derived) => Base -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >a : new (x: new (arg: Base) => Derived) => Base @@ -131,11 +131,11 @@ declare function foo6(a: any): any; declare function foo7(a: new (x: new (arg: Base) => Derived) => new (r: Base) => Derived): typeof a; >foo7 : { (a: new (x: new (arg: Base) => Derived) => new (r: Base) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: new (arg: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -150,15 +150,15 @@ declare function foo7(a: any): any; declare function foo8(a: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived): typeof a; >foo8 : { (a: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : new (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -173,15 +173,15 @@ declare function foo8(a: any): any; declare function foo9(a: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived): typeof a; >foo9 : { (a: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : new (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -196,9 +196,9 @@ declare function foo9(a: any): any; declare function foo10(a: new (...x: Derived[]) => Derived): typeof a; >foo10 : { (a: new (...x: Derived[]) => Derived): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ >a : new (...x: Derived[]) => Derived @@ -211,9 +211,9 @@ declare function foo10(a: any): any; declare function foo11(a: new (x: { foo: string }, y: { foo: string; bar: string }) => Base): typeof a; >foo11 : { (a: new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -234,9 +234,9 @@ declare function foo11(a: any): any; declare function foo12(a: new (x: Array, y: Array) => Array): typeof a; >foo12 : { (a: new (x: Array, y: Array) => Array): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -251,9 +251,9 @@ declare function foo12(a: any): any; declare function foo13(a: new (x: Array, y: Array) => Array): typeof a; >foo13 : { (a: new (x: Array, y: Array) => Array): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -268,9 +268,9 @@ declare function foo13(a: any): any; declare function foo14(a: new (x: { a: string; b: number }) => Object): typeof a; >foo14 : { (a: new (x: { a: string; b: number; }) => Object): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : new (x: { a: string; b: number; }) => Object -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -287,7 +287,7 @@ declare function foo14(a: any): any; declare function foo15(a: { >foo15 : { (a: { new (x: number): number[]; new (x: string): string[]; }): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : { new (x: number): number[]; new (x: string): string[]; } > : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ @@ -310,9 +310,9 @@ declare function foo15(a: any): any; declare function foo16(a: { >foo16 : { (a: { new (x: T): number[]; new (x: U): number[]; }): typeof a; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ >a : { new (x: T): number[]; new (x: U): number[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^ new (x: T): number[]; >x : T @@ -333,7 +333,7 @@ declare function foo16(a: any): any; declare function foo17(a: { >foo17 : { (a: { new (x: (a: number) => number): number[]; new (x: (a: string) => string): string[]; }): typeof a; (a: any): any; } -> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : { new (x: (a: number) => number): number[]; new (x: (a: string) => string): string[]; } > : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ @@ -360,9 +360,9 @@ declare function foo17(a: any): any; declare function foo18(a: { >foo18 : { (a: { new (x: { new (a: number): number; new (a: string): string; }): any[]; new (x: { new (a: boolean): boolean; new (a: Date): Date; }): any[]; }): typeof a; (a: any): any; } -> : ^^^^^^ ^^^^ ^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >a : { new (x: { new (a: number): number; new (a: string): string; }): any[]; new (x: { new (a: boolean): boolean; new (a: Date): Date; }): any[]; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (x: { >x : { new (a: number): number; new (a: string): string; } @@ -379,7 +379,7 @@ declare function foo18(a: { }): any[]; new (x: { >x : { new (a: boolean): boolean; new (a: Date): Date; } -> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^ new (a: boolean): boolean; >a : boolean @@ -401,7 +401,7 @@ declare function foo18(a: any): any; var r1arg1: new (x: T) => T[]; >r1arg1 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -443,7 +443,7 @@ var r1b = [r1arg1, r1arg2]; // generic signature, subtype in both directions var r2arg1: new (x: T) => string[]; >r2arg1 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -485,7 +485,7 @@ var r2b = [r2arg2, r2arg1]; var r3arg1: new (x: T) => T; >r3arg1 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -527,7 +527,7 @@ var r3b = [r3arg2, r3arg1]; var r4arg1: new (x: T, y: U) => T; >r4arg1 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -573,9 +573,9 @@ var r4b = [r4arg2, r4arg1]; var r5arg1: new (x: new (arg: T) => U) => T; >r5arg1 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -619,17 +619,17 @@ var r5b = [r5arg2, r5arg1]; var r6arg1: new (x: new (arg: T) => U) => T; >r6arg1 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ var r6arg2: new (x: new (arg: Base) => Derived) => Base; >r6arg2 : new (x: new (arg: Base) => Derived) => Base -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ @@ -665,9 +665,9 @@ var r6b = [r6arg2, r6arg1]; var r7arg1: new (x: new (arg: T) => U) => new (r: T) => U; >r7arg1 : new (x: new (arg: T) => U) => new (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -675,9 +675,9 @@ var r7arg1: new (x: new (arg: T) => U) => new var r7arg2: new (x: new (arg: Base) => Derived) => new (r: Base) => Derived; >r7arg2 : new (x: new (arg: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -715,13 +715,13 @@ var r7b = [r7arg2, r7arg1]; var r8arg1: new (x: new (arg: T) => U, y: new (arg2: T) => U) => new (r: T) => U; >r8arg1 : new (x: new (arg: T) => U, y: new (arg2: T) => U) => new (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ >y : new (arg2: T) => U -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -729,13 +729,13 @@ var r8arg1: new (x: new (arg: T) => U, y: new var r8arg2: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived; >r8arg2 : new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : new (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -773,13 +773,13 @@ var r8b = [r8arg2, r8arg1]; var r9arg1: new (x: new (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => new (r: T) => U; >r9arg1 : new (x: new (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => new (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -791,13 +791,13 @@ var r9arg1: new (x: new (arg: T) => U, y: (ar var r9arg2: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived; >r9arg2 : new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : new (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -833,13 +833,13 @@ var r9b = [r9arg2, r9arg1]; var r10arg1: new (...x: T[]) => T; >r10arg1 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ var r10arg2: new (...x: Derived[]) => Derived; >r10arg2 : new (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ @@ -875,7 +875,7 @@ var r10b = [r10arg2, r10arg1]; var r11arg1: new (x: T, y: T) => T; >r11arg1 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -883,7 +883,7 @@ var r11arg1: new (x: T, y: T) => T; var r11arg2: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >r11arg2 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -927,7 +927,7 @@ var r11b = [r11arg2, r11arg1]; var r12arg1: new >(x: Array, y: T) => Array; >r12arg1 : new (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -935,7 +935,7 @@ var r12arg1: new >(x: Array, y: T) => Array var r12arg2: new (x: Array, y: Array) => Array; >r12arg2 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -973,7 +973,7 @@ var r12b = [r12arg2, r12arg1]; var r13arg1: new >(x: Array, y: T) => T; >r13arg1 : new (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -981,7 +981,7 @@ var r13arg1: new >(x: Array, y: T) => T; var r13arg2: new (x: Array, y: Array) => Array; >r13arg2 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -1019,9 +1019,9 @@ var r13b = [r13arg2, r13arg1]; var r14arg1: new (x: { a: T; b: T }) => T; >r14arg1 : new (x: { a: T; b: T; }) => T -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -1029,7 +1029,7 @@ var r14arg1: new (x: { a: T; b: T }) => T; var r14arg2: new (x: { a: string; b: number }) => Object; >r14arg2 : new (x: { a: string; b: number; }) => Object -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -1067,7 +1067,7 @@ var r14b = [r14arg2, r14arg1]; var r15arg1: new (x: T) => T[]; >r15arg1 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -1081,7 +1081,7 @@ var r15 = foo15(r15arg1); // any var r16arg1: new (x: T) => number[]; >r16arg1 : new (x: T) => number[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -1097,9 +1097,9 @@ var r16 = foo16(r16arg1); var r17arg1: new (x: (a: T) => T) => T[]; >r17arg1 : new (x: (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ @@ -1113,9 +1113,9 @@ var r17 = foo17(r17arg1); // any var r18arg1: new (x: (a: T) => T) => T[]; >r18arg1 : new (x: (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : (a: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/subtypingWithConstructSignatures3.types b/tests/baselines/reference/subtypingWithConstructSignatures3.types index 44f61b271e1d0..62e36b693f84a 100644 --- a/tests/baselines/reference/subtypingWithConstructSignatures3.types +++ b/tests/baselines/reference/subtypingWithConstructSignatures3.types @@ -55,11 +55,11 @@ module Errors { declare function foo7(a2: new (x: new (arg: Base) => Derived) => new (r: Base) => Derived2): typeof a2; >foo7 : { (a2: new (x: new (arg: Base) => Derived) => new (r: Base) => Derived2): new (x: new (arg: Base) => Derived) => new (r: Base) => Derived2; (a2: any): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (x: new (arg: Base) => Derived) => new (r: Base) => Derived2 -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -74,15 +74,15 @@ module Errors { declare function foo8(a2: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived): typeof a2; >foo8 : { (a2: new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived): new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived; (a2: any): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (x: new (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : new (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -97,9 +97,9 @@ module Errors { declare function foo10(a2: new (...x: Base[]) => Base): typeof a2; >foo10 : { (a2: new (...x: Base[]) => Base): new (...x: Base[]) => Base; (a2: any): any; } -> : ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (...x: Base[]) => Base -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >a2 : new (...x: Base[]) => Base @@ -112,9 +112,9 @@ module Errors { declare function foo11(a2: new (x: { foo: string }, y: { foo: string; bar: string }) => Base): typeof a2; >foo11 : { (a2: new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base): new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base; (a2: any): any; } -> : ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -135,9 +135,9 @@ module Errors { declare function foo12(a2: new (x: Array, y: Array) => Array): typeof a2; >foo12 : { (a2: new (x: Array, y: Array) => Array): new (x: Array, y: Array) => Array; (a2: any): any; } -> : ^^^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -213,13 +213,13 @@ module Errors { declare function foo17(a2: { >foo17 : { (a2: { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; }): { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; }; (a2: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ >a2 : { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -232,7 +232,7 @@ module Errors { }): any[]; new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -254,7 +254,7 @@ module Errors { var r1arg1: new (x: T) => U[]; >r1arg1 : new (x: T) => U[] -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -296,9 +296,9 @@ module Errors { var r2arg1: new (x: new (arg: T) => U) => new (r: T) => V; >r2arg1 : new (x: new (arg: T) => U) => new (r: T) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -306,9 +306,9 @@ module Errors { var r2arg2: new (x: new (arg: Base) => Derived) => new (r: Base) => Derived2; >r2arg2 : new (x: new (arg: Base) => Derived) => new (r: Base) => Derived2 -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : new (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -346,13 +346,13 @@ module Errors { var r3arg1: new (x: new (arg: T) => U, y: (arg2: { foo: number; }) => U) => new (r: T) => U; >r3arg1 : new (x: new (arg: T) => U, y: (arg2: { foo: number; }) => U) => new (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: number; } > : ^^^^^^^ ^^^ >foo : number @@ -362,13 +362,13 @@ module Errors { var r3arg2: new (x: (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived; >r3arg2 : new (x: (arg: Base) => Derived, y: new (arg2: Base) => Derived) => new (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : new (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -404,13 +404,13 @@ module Errors { var r4arg1: new (...x: T[]) => T; >r4arg1 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ var r4arg2: new (...x: Base[]) => Base; >r4arg2 : new (...x: Base[]) => Base -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ @@ -446,7 +446,7 @@ module Errors { var r5arg1: new (x: T, y: T) => T; >r5arg1 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -454,7 +454,7 @@ module Errors { var r5arg2: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >r5arg2 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -498,7 +498,7 @@ module Errors { var r6arg1: new (x: Array, y: Array) => Array; >r6arg1 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -506,7 +506,7 @@ module Errors { var r6arg2: new >(x: Array, y: Array) => T; >r6arg2 : new (x: Array, y: Array) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Base[] @@ -544,9 +544,9 @@ module Errors { var r7arg1: new (x: { a: T; b: T }) => T; >r7arg1 : new (x: { a: T; b: T; }) => T -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -592,9 +592,9 @@ module Errors { var r7arg3: new (x: { a: T; b: T }) => number; >r7arg3 : new (x: { a: T; b: T; }) => number -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -630,9 +630,9 @@ module Errors { var r8arg: new (x: new (a: T) => T) => T[]; >r8arg : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -646,9 +646,9 @@ module Errors { var r9arg: new (x: new (a: T) => T) => any[]; >r9arg : new (x: new (a: T) => T) => any[] -> : ^^^^^^^^^^^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -669,9 +669,9 @@ module WithGenericSignaturesInBaseType { declare function foo2(a2: new (x: T) => T[]): typeof a2; >foo2 : { (a2: new (x: T) => T[]): new (x: T) => T[]; (a2: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >a2 : new (x: T) => T[] @@ -684,7 +684,7 @@ module WithGenericSignaturesInBaseType { var r2arg2: new (x: T) => string[]; >r2arg2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -698,9 +698,9 @@ module WithGenericSignaturesInBaseType { declare function foo3(a2: new (x: T) => string[]): typeof a2; >foo3 : { (a2: new (x: T) => string[]): new (x: T) => string[]; (a2: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >a2 : new (x: T) => string[] @@ -713,7 +713,7 @@ module WithGenericSignaturesInBaseType { var r3arg2: new (x: T) => T[]; >r3arg2 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/subtypingWithConstructSignatures4.types b/tests/baselines/reference/subtypingWithConstructSignatures4.types index 33ac1d89d8b9f..481a30c8bd60f 100644 --- a/tests/baselines/reference/subtypingWithConstructSignatures4.types +++ b/tests/baselines/reference/subtypingWithConstructSignatures4.types @@ -35,9 +35,9 @@ class OtherDerived extends Base { bing: string; } declare function foo1(a: new (x: T) => T[]); >foo1 : { (a: new (x: T) => T[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -48,9 +48,9 @@ declare function foo1(a: any): any; declare function foo2(a2: new (x: T) => string[]); >foo2 : { (a2: new (x: T) => string[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -61,9 +61,9 @@ declare function foo2(a: any): any; declare function foo3(a3: new (x: T) => void); >foo3 : { (a3: new (x: T) => void): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -74,9 +74,9 @@ declare function foo3(a: any): any; declare function foo4(a4: new (x: T, y: U) => string); >foo4 : { (a4: new (x: T, y: U) => string): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -89,11 +89,11 @@ declare function foo4(a: any): any; declare function foo5(a5: new (x: new (arg: T) => U) => T); >foo5 : { (a5: new (x: new (arg: T) => U) => T): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a5 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -104,11 +104,11 @@ declare function foo5(a: any): any; declare function foo6(a6: new (x: new (arg: T) => Derived) => T); >foo6 : { (a6: new (x: new (arg: T) => Derived) => T): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a6 : new (x: new (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -119,15 +119,15 @@ declare function foo6(a: any): any; declare function foo11(a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base); >foo11 : { (a11: new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a11 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -140,11 +140,11 @@ declare function foo11(a: any): any; declare function foo15(a15: new (x: { a: T; b: T }) => T[]); >foo15 : { (a15: new (x: { a: T; b: T; }) => T[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a15 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -157,11 +157,11 @@ declare function foo15(a: any): any; declare function foo16(a16: new (x: { a: T; b: T }) => T[]); >foo16 : { (a16: new (x: { a: T; b: T; }) => T[]): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -174,19 +174,19 @@ declare function foo16(a: any): any; declare function foo17(a17: { >foo17 : { (a17: { new (x: new (a: T) => T): T[]; new (x: new (a: T_1) => T_1): T_1[]; }): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a17 : { new (x: new (a: T) => T): T[]; new (x: new (a: T_1) => T_1): T_1[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (x: new (a: T) => T): T[]; >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ new (x: new (a: T) => T): T[]; >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -198,13 +198,13 @@ declare function foo17(a: any): any; declare function foo18(a18: { >foo18 : { (a18: { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; }): any; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a18 : { new (x: { new (a: T): T; new (a: T_1): T_1; }): any[]; new (x: { new (a: T_2): T_2; new (a: T_3): T_3; }): any[]; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -217,7 +217,7 @@ declare function foo18(a18: { }): any[]; new (x: { >x : { new (a: T): T; new (a: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ new (a: T): T; >a : T @@ -236,13 +236,13 @@ declare function foo18(a: any): any; var r1arg: new (x: T) => T[]; >r1arg : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var r1arg2: new (x: T) => T[]; >r1arg2 : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -276,13 +276,13 @@ var r1b = [r1arg2, r1arg]; var r2arg: new (x: T) => string[]; >r2arg : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var r2arg2: new (x: T) => string[]; >r2arg2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -316,13 +316,13 @@ var r2b = [r2arg2, r2arg]; var r3arg: new (x: T) => T; >r3arg : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ var r3arg2: new (x: T) => void; >r3arg2 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ @@ -356,7 +356,7 @@ var r3b = [r3arg2, r3arg]; var r4arg: new (x: T, y: U) => string; >r4arg : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -364,7 +364,7 @@ var r4arg: new (x: T, y: U) => string; var r4arg2: new (x: T, y: U) => string; >r4arg2 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -400,17 +400,17 @@ var r4b = [r4arg2, r4arg]; var r5arg: new (x: new (arg: T) => U) => T; >r5arg : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ var r5arg2: new (x: new (arg: T) => U) => T; >r5arg2 : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -444,17 +444,17 @@ var r5b = [r5arg2, r5arg]; var r6arg: new (x: new (arg: T) => U) => T; >r6arg : new (x: new (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => U -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ var r6arg2: new (x: new (arg: T) => Derived) => T; >r6arg2 : new (x: new (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : new (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^ ^^^^^ >arg : T > : ^ @@ -488,13 +488,13 @@ var r6b = [r6arg2, r6arg]; var r11arg: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; >r11arg : new (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -502,13 +502,13 @@ var r11arg: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; var r11arg2: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; >r11arg2 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -544,9 +544,9 @@ var r11b = [r11arg2, r11arg]; var r15arg: new (x: { a: U; b: V; }) => U[]; >r15arg : new (x: { a: U; b: V; }) => U[] -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : { a: U; b: V; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : U > : ^ >b : V @@ -554,9 +554,9 @@ var r15arg: new (x: { a: U; b: V; }) => U[]; var r15arg2: new (x: { a: T; b: T }) => T[]; >r15arg2 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -592,9 +592,9 @@ var r15b = [r15arg2, r15arg]; var r16arg: new (x: { a: T; b: T }) => T[]; >r16arg : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -602,9 +602,9 @@ var r16arg: new (x: { a: T; b: T }) => T[]; var r16arg2: new (x: { a: T; b: T }) => T[]; >r16arg2 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -640,9 +640,9 @@ var r16b = [r16arg2, r16arg]; var r17arg: new (x: new (a: T) => T) => T[]; >r17arg : new (x: new (a: T) => T) => T[] -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >a : T > : ^ @@ -656,9 +656,9 @@ var r17 = foo17(r17arg); var r18arg: new (x: new (a: T) => T) => any[]; >r18arg : new (x: new (a: T) => T) => any[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : new (a: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >a : T > : ^ diff --git a/tests/baselines/reference/subtypingWithConstructSignatures5.types b/tests/baselines/reference/subtypingWithConstructSignatures5.types index 6f6605583d865..458e7249c2c60 100644 --- a/tests/baselines/reference/subtypingWithConstructSignatures5.types +++ b/tests/baselines/reference/subtypingWithConstructSignatures5.types @@ -72,17 +72,17 @@ interface A { // T a6: new (x: (arg: Base) => Derived) => Base; >a6 : new (x: (arg: Base) => Derived) => Base -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived; >a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >r : Base @@ -90,13 +90,13 @@ interface A { // T a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -104,13 +104,13 @@ interface A { // T a9: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived; >a9 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived -> : ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : Base > : ^^^^ >y : (arg2: Base) => Derived -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : Base > : ^^^^ >r : Base @@ -118,13 +118,13 @@ interface A { // T a10: new (...x: Derived[]) => Derived; >a10 : new (...x: Derived[]) => Derived -> : ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^ >x : Derived[] > : ^^^^^^^^^ a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base; >a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base -> : ^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : { foo: string; } > : ^^^^^^^ ^^^ >foo : string @@ -138,7 +138,7 @@ interface A { // T a12: new (x: Array, y: Array) => Array; >a12 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived2[] @@ -146,7 +146,7 @@ interface A { // T a13: new (x: Array, y: Array) => Array; >a13 : new (x: Array, y: Array) => Array -> : ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : Derived[] @@ -154,7 +154,7 @@ interface A { // T a14: new (x: { a: string; b: number }) => Object; >a14 : new (x: { a: string; b: number; }) => Object -> : ^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: string; b: number; } > : ^^^^^ ^^^^^ ^^^ >a : string @@ -166,7 +166,7 @@ interface A { // T interface B extends A { a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -176,25 +176,25 @@ interface I extends B { // N's a: new (x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; // ok >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; // ok since Base returns void >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => T; // ok, instantiation of N is a subtype of M, T is string, U is number >a4 : new (x: T, y: U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -202,25 +202,25 @@ interface I extends B { a5: new (x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy >a6 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a7: new (x: (arg: T) => U) => (r: T) => U; // ok >a7 : new (x: (arg: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >r : T @@ -228,13 +228,13 @@ interface I extends B { a8: new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; // ok >a8 : new (x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: T) => U -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : T > : ^ >r : T @@ -242,13 +242,13 @@ interface I extends B { a9: new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; // ok, same as a8 with compatible object literal >a9 : new (x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^ ^ ^ +> : ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ >y : (arg2: { foo: string; bing: number; }) => U -> : ^^^^^^^ ^^^^^^ +> : ^^^^^^^ ^^^^^ >arg2 : { foo: string; bing: number; } > : ^^^^^^^ ^^^^^^^^ ^^^ >foo : string @@ -260,13 +260,13 @@ interface I extends B { a10: new (...x: T[]) => T; // ok >a10 : new (...x: T[]) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T[] > : ^^^ a11: new (x: T, y: T) => T; // ok >a11 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -274,7 +274,7 @@ interface I extends B { a12: new >(x: Array, y: T) => Array; // ok, less specific parameter type >a12 : new (x: Array, y: T) => Array -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -282,7 +282,7 @@ interface I extends B { a13: new >(x: Array, y: T) => T; // ok, T = Array, satisfies constraint, contextual signature instantiation succeeds >a13 : new (x: Array, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Base[] > : ^^^^^^ >y : T @@ -290,9 +290,9 @@ interface I extends B { a14: new (x: { a: T; b: U }) => T; // ok >a14 : new (x: { a: T; b: U; }) => T -> : ^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : { a: T; b: U; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : U diff --git a/tests/baselines/reference/subtypingWithConstructSignatures6.types b/tests/baselines/reference/subtypingWithConstructSignatures6.types index 23ea5c655480e..ff4e68ce9f43d 100644 --- a/tests/baselines/reference/subtypingWithConstructSignatures6.types +++ b/tests/baselines/reference/subtypingWithConstructSignatures6.types @@ -39,25 +39,25 @@ interface A { // T // M's a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -65,29 +65,29 @@ interface A { // T a5: new (x: (arg: T) => U) => T; >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a6: new (x: (arg: T) => Derived) => T; >a6 : new (x: (arg: T) => Derived) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : (arg: T) => Derived -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ a11: new (x: { foo: T }, y: { foo: T; bar: T }) => Base; >a11 : new (x: { foo: T; }, y: { foo: T; bar: T; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: T; bar: T; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : T > : ^ >bar : T @@ -95,9 +95,9 @@ interface A { // T a15: new (x: { a: T; b: T }) => T[]; >a15 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -105,9 +105,9 @@ interface A { // T a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T @@ -118,7 +118,7 @@ interface A { // T interface I extends A { a: new (x: T) => T[]; >a : new (x: T) => T[] -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -126,7 +126,7 @@ interface I extends A { interface I2 extends A { a2: new (x: T) => string[]; >a2 : new (x: T) => string[] -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -134,7 +134,7 @@ interface I2 extends A { interface I3 extends A { a3: new (x: T) => T; >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -142,7 +142,7 @@ interface I3 extends A { interface I4 extends A { a4: new (x: T, y: U) => string; >a4 : new (x: T, y: U) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -152,9 +152,9 @@ interface I4 extends A { interface I5 extends A { a5: new (x: (arg: T) => U) => T; >a5 : new (x: (arg: T) => U) => T -> : ^^^^^^^^^^^ ^ ^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : (arg: T) => U -> : ^^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >arg : T > : ^ } @@ -162,13 +162,13 @@ interface I5 extends A { interface I7 extends A { a11: new (x: { foo: T }, y: { foo: U; bar: U }) => Base; >a11 : new (x: { foo: T; }, y: { foo: U; bar: U; }) => Base -> : ^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : { foo: T; } -> : ^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >foo : T > : ^ >y : { foo: U; bar: U; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^ ^^^ >foo : U > : ^ >bar : U @@ -178,9 +178,9 @@ interface I7 extends A { interface I9 extends A { a16: new (x: { a: T; b: T }) => T[]; >a16 : new (x: { a: T; b: T; }) => T[] -> : ^^^^^^^^ ^ ^ ^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : { a: T; b: T; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^ >a : T > : ^ >b : T diff --git a/tests/baselines/reference/subtypingWithConstructSignaturesWithSpecializedSignatures.types b/tests/baselines/reference/subtypingWithConstructSignaturesWithSpecializedSignatures.types index f96f96abbe6f7..1e6841a34398c 100644 --- a/tests/baselines/reference/subtypingWithConstructSignaturesWithSpecializedSignatures.types +++ b/tests/baselines/reference/subtypingWithConstructSignaturesWithSpecializedSignatures.types @@ -100,7 +100,7 @@ module MemberWithCallSignature { } a3: new (x: T) => void; >a3 : new (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -124,7 +124,7 @@ module MemberWithCallSignature { a3: new (x: T) => string; // ok because base returns void >a3 : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -145,7 +145,7 @@ module MemberWithCallSignature { } a2: new (x: T) => T; >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -165,7 +165,7 @@ module MemberWithCallSignature { // N's a2: new (x: T) => string; // error because base returns non-void; >a2 : new (x: T) => string -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } diff --git a/tests/baselines/reference/subtypingWithGenericCallSignaturesWithOptionalParameters.types b/tests/baselines/reference/subtypingWithGenericCallSignaturesWithOptionalParameters.types index 668c475459a08..744814a452233 100644 --- a/tests/baselines/reference/subtypingWithGenericCallSignaturesWithOptionalParameters.types +++ b/tests/baselines/reference/subtypingWithGenericCallSignaturesWithOptionalParameters.types @@ -7,23 +7,23 @@ module ClassTypeParam { interface Base { a: () => T; >a : () => T -> : ^^^^^^^ +> : ^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -31,7 +31,7 @@ module ClassTypeParam { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -41,13 +41,13 @@ module ClassTypeParam { interface I1 extends Base { a: () => T; // ok, same T of required params >a : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I2 extends Base { a: (x?: T) => T; // ok, same T of required params >a : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ } @@ -55,7 +55,7 @@ module ClassTypeParam { interface I3 extends Base { a: (x: T) => T; // error, too many required params >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -64,13 +64,13 @@ module ClassTypeParam { interface I4 extends Base { a2: () => T; // ok, same T of required params >a2 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I5 extends Base { a2: (x?: T) => T; // ok, same T of required params >a2 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ } @@ -78,7 +78,7 @@ module ClassTypeParam { interface I6 extends Base { a2: (x: T) => T; // ok, same number of params >a2 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -87,13 +87,13 @@ module ClassTypeParam { interface I7 extends Base { a3: () => T; // ok, fewer required params >a3 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I8 extends Base { a3: (x?: T) => T; // ok, fewer required params >a3 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ } @@ -101,7 +101,7 @@ module ClassTypeParam { interface I9 extends Base { a3: (x: T) => T; // ok, same T of required params >a3 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -109,7 +109,7 @@ module ClassTypeParam { interface I10 extends Base { a3: (x: T, y: T) => T; // error, too many required params >a3 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -120,13 +120,13 @@ module ClassTypeParam { interface I11 extends Base { a4: () => T; // ok, fewer required params >a4 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I12 extends Base { a4: (x?: T, y?: T) => T; // ok, fewer required params >a4 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -136,7 +136,7 @@ module ClassTypeParam { interface I13 extends Base { a4: (x: T) => T; // ok, same T of required params >a4 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -144,7 +144,7 @@ module ClassTypeParam { interface I14 extends Base { a4: (x: T, y: T) => T; // ok, same number of params >a4 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -155,13 +155,13 @@ module ClassTypeParam { interface I15 extends Base { a5: () => T; // ok, fewer required params >a5 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I16 extends Base { a5: (x?: T, y?: T) => T; // ok, fewer required params >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -171,7 +171,7 @@ module ClassTypeParam { interface I17 extends Base { a5: (x: T) => T; // ok, all present params match >a5 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -179,7 +179,7 @@ module ClassTypeParam { interface I18 extends Base { a5: (x: T, y: T) => T; // ok, same number of params >a5 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -193,23 +193,23 @@ module GenericSignaturesInvalid { interface Base2 { a: () => T; >a : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -217,7 +217,7 @@ module GenericSignaturesInvalid { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -227,13 +227,13 @@ module GenericSignaturesInvalid { interface I1 extends Base2 { a: () => T; >a : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I2 extends Base2 { a: (x?: T) => T; >a : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ } @@ -241,7 +241,7 @@ module GenericSignaturesInvalid { interface I3 extends Base2 { a: (x: T) => T; >a : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -250,13 +250,13 @@ module GenericSignaturesInvalid { interface I4 extends Base2 { a2: () => T; >a2 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I5 extends Base2 { a2: (x?: T) => T >a2 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ } @@ -264,7 +264,7 @@ module GenericSignaturesInvalid { interface I6 extends Base2 { a2: (x: T) => T; >a2 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -273,13 +273,13 @@ module GenericSignaturesInvalid { interface I7 extends Base2 { a3: () => T; >a3 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I8 extends Base2 { a3: (x?: T) => T; >a3 : (x?: T) => T -> : ^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ >x : T > : ^ } @@ -287,7 +287,7 @@ module GenericSignaturesInvalid { interface I9 extends Base2 { a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -295,7 +295,7 @@ module GenericSignaturesInvalid { interface I10 extends Base2 { a3: (x: T, y: T) => T; >a3 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -306,13 +306,13 @@ module GenericSignaturesInvalid { interface I11 extends Base2 { a4: () => T; >a4 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I12 extends Base2 { a4: (x?: T, y?: T) => T; >a4 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -322,7 +322,7 @@ module GenericSignaturesInvalid { interface I13 extends Base2 { a4: (x: T) => T; >a4 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -330,7 +330,7 @@ module GenericSignaturesInvalid { interface I14 extends Base2 { a4: (x: T, y: T) => T; >a4 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -341,13 +341,13 @@ module GenericSignaturesInvalid { interface I15 extends Base2 { a5: () => T; >a5 : () => T -> : ^^^^^^^ +> : ^^^^^^ } interface I16 extends Base2 { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -357,7 +357,7 @@ module GenericSignaturesInvalid { interface I17 extends Base2 { a5: (x: T) => T; >a5 : (x: T) => T -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ } @@ -365,7 +365,7 @@ module GenericSignaturesInvalid { interface I18 extends Base2 { a5: (x: T, y: T) => T; >a5 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -378,23 +378,23 @@ module GenericSignaturesValid { interface Base2 { a: () => T; >a : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ a2: (x?: T) => T; >a2 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ a3: (x: T) => T; >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ a4: (x: T, y?: T) => T; >a4 : (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -402,7 +402,7 @@ module GenericSignaturesValid { a5: (x?: T, y?: T) => T; >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -413,13 +413,13 @@ module GenericSignaturesValid { interface I1 extends Base2 { a: () => T; // ok, same number of required params >a : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ } interface I2 extends Base2 { a: (x?: T) => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ } @@ -427,7 +427,7 @@ module GenericSignaturesValid { interface I3 extends Base2 { a: (x: T) => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -436,13 +436,13 @@ module GenericSignaturesValid { interface I4 extends Base2 { a2: () => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a2 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ } interface I5 extends Base2 { a2: (x?: T) => T; // ok, identical >a2 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ } @@ -450,7 +450,7 @@ module GenericSignaturesValid { interface I6 extends Base2 { a2: (x: T) => T; // ok, same number of params >a2 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -459,13 +459,13 @@ module GenericSignaturesValid { interface I7 extends Base2 { a3: () => T; // error, no inferences for T so {} not assignable to {} in return type >a3 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ } interface I8 extends Base2 { a3: (x?: T) => T; // ok, fewer required params >a3 : (x?: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^ >x : T > : ^ } @@ -473,7 +473,7 @@ module GenericSignaturesValid { interface I9 extends Base2 { a3: (x: T) => T; // ok, identical, same number of required params >a3 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -481,7 +481,7 @@ module GenericSignaturesValid { interface I10 extends Base2 { a3: (x: T, y: T) => T; // error, too many required params >a3 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -492,13 +492,13 @@ module GenericSignaturesValid { interface I11 extends Base2 { a4: () => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a4 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ } interface I12 extends Base2 { a4: (x?: T, y?: T) => T; // ok, fewer required params >a4 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -508,7 +508,7 @@ module GenericSignaturesValid { interface I13 extends Base2 { a4: (x: T) => T; // ok, same T of required params >a4 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -516,7 +516,7 @@ module GenericSignaturesValid { interface I14 extends Base2 { a4: (x: T, y: T) => T; // error, too many required params >a4 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -527,13 +527,13 @@ module GenericSignaturesValid { interface I15 extends Base2 { a5: () => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a5 : () => T -> : ^^^^^^^^^^ +> : ^ ^^^^^^^ } interface I16 extends Base2 { a5: (x?: T, y?: T) => T; // ok, fewer required params >a5 : (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -543,7 +543,7 @@ module GenericSignaturesValid { interface I17 extends Base2 { a5: (x: T) => T; // ok, all present params match >a5 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -551,7 +551,7 @@ module GenericSignaturesValid { interface I18 extends Base2 { a5: (x: T, y: T) => T; // ok, same number of params >a5 : (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/subtypingWithGenericConstructSignaturesWithOptionalParameters.types b/tests/baselines/reference/subtypingWithGenericConstructSignaturesWithOptionalParameters.types index 8e94f4e00c7b9..65d2e28defb10 100644 --- a/tests/baselines/reference/subtypingWithGenericConstructSignaturesWithOptionalParameters.types +++ b/tests/baselines/reference/subtypingWithGenericConstructSignaturesWithOptionalParameters.types @@ -7,23 +7,23 @@ module ClassTypeParam { interface Base { a: new () => T; >a : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ a2: new (x?: T) => T; >a2 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y?: T) => T; >a4 : new (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -31,7 +31,7 @@ module ClassTypeParam { a5: new (x?: T, y?: T) => T; >a5 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -41,13 +41,13 @@ module ClassTypeParam { interface I1 extends Base { a: new () => T; // ok, same T of required params >a : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I2 extends Base { a: new (x?: T) => T; // ok, same T of required params >a : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -55,7 +55,7 @@ module ClassTypeParam { interface I3 extends Base { a: new (x: T) => T; // error, too many required params >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -64,13 +64,13 @@ module ClassTypeParam { interface I4 extends Base { a2: new () => T; // ok, same T of required params >a2 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I5 extends Base { a2: new (x?: T) => T; // ok, same T of required params >a2 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -78,7 +78,7 @@ module ClassTypeParam { interface I6 extends Base { a2: new (x: T) => T; // ok, same number of params >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -87,13 +87,13 @@ module ClassTypeParam { interface I7 extends Base { a3: new () => T; // ok, fewer required params >a3 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I8 extends Base { a3: new (x?: T) => T; // ok, fewer required params >a3 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -101,7 +101,7 @@ module ClassTypeParam { interface I9 extends Base { a3: new (x: T) => T; // ok, same T of required params >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -109,7 +109,7 @@ module ClassTypeParam { interface I10 extends Base { a3: new (x: T, y: T) => T; // error, too many required params >a3 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -120,13 +120,13 @@ module ClassTypeParam { interface I11 extends Base { a4: new () => T; // ok, fewer required params >a4 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I12 extends Base { a4: new (x?: T, y?: T) => T; // ok, fewer required params >a4 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -136,7 +136,7 @@ module ClassTypeParam { interface I13 extends Base { a4: new (x: T) => T; // ok, same T of required params >a4 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -144,7 +144,7 @@ module ClassTypeParam { interface I14 extends Base { a4: new (x: T, y: T) => T; // ok, same number of params >a4 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -155,13 +155,13 @@ module ClassTypeParam { interface I15 extends Base { a5: new () => T; // ok, fewer required params >a5 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I16 extends Base { a5: new (x?: T, y?: T) => T; // ok, fewer required params >a5 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -171,7 +171,7 @@ module ClassTypeParam { interface I17 extends Base { a5: new (x: T) => T; // ok, all present params match >a5 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -179,7 +179,7 @@ module ClassTypeParam { interface I18 extends Base { a5: new (x: T, y: T) => T; // ok, same number of params >a5 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -193,23 +193,23 @@ module GenericSignaturesInvalid { interface Base2 { a: new () => T; >a : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ a2: new (x?: T) => T; >a2 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y?: T) => T; >a4 : new (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -217,7 +217,7 @@ module GenericSignaturesInvalid { a5: new (x?: T, y?: T) => T; >a5 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -227,13 +227,13 @@ module GenericSignaturesInvalid { interface I1 extends Base2 { a: new () => T; >a : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I2 extends Base2 { a: new (x?: T) => T; >a : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -241,7 +241,7 @@ module GenericSignaturesInvalid { interface I3 extends Base2 { a: new (x: T) => T; >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -250,13 +250,13 @@ module GenericSignaturesInvalid { interface I4 extends Base2 { a2: new () => T; >a2 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I5 extends Base2 { a2: new (x?: T) => T >a2 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -264,7 +264,7 @@ module GenericSignaturesInvalid { interface I6 extends Base2 { a2: new (x: T) => T; >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -273,13 +273,13 @@ module GenericSignaturesInvalid { interface I7 extends Base2 { a3: new () => T; >a3 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I8 extends Base2 { a3: new (x?: T) => T; >a3 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -287,7 +287,7 @@ module GenericSignaturesInvalid { interface I9 extends Base2 { a3: new (x: T) => T; >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -295,7 +295,7 @@ module GenericSignaturesInvalid { interface I10 extends Base2 { a3: new (x: T, y: T) => T; >a3 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -306,13 +306,13 @@ module GenericSignaturesInvalid { interface I11 extends Base2 { a4: new () => T; >a4 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I12 extends Base2 { a4: new (x?: T, y?: T) => T; >a4 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -322,7 +322,7 @@ module GenericSignaturesInvalid { interface I13 extends Base2 { a4: new (x: T) => T; >a4 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -330,7 +330,7 @@ module GenericSignaturesInvalid { interface I14 extends Base2 { a4: new (x: T, y: T) => T; >a4 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -341,13 +341,13 @@ module GenericSignaturesInvalid { interface I15 extends Base2 { a5: new () => T; >a5 : new () => T -> : ^^^^^^^^^^^ +> : ^^^^^^^^^^ } interface I16 extends Base2 { a5: new (x?: T, y?: T) => T; >a5 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -357,7 +357,7 @@ module GenericSignaturesInvalid { interface I17 extends Base2 { a5: new (x: T) => T; >a5 : new (x: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >x : T > : ^ } @@ -365,7 +365,7 @@ module GenericSignaturesInvalid { interface I18 extends Base2 { a5: new (x: T, y: T) => T; >a5 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -378,23 +378,23 @@ module GenericSignaturesValid { interface Base2 { a: new () => T; >a : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ a2: new (x?: T) => T; >a2 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ a3: new (x: T) => T; >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ a4: new (x: T, y?: T) => T; >a4 : new (x: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -402,7 +402,7 @@ module GenericSignaturesValid { a5: new (x?: T, y?: T) => T; >a5 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -413,13 +413,13 @@ module GenericSignaturesValid { interface I1 extends Base2 { a: new () => T; // ok, same number of required params >a : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ } interface I2 extends Base2 { a: new (x?: T) => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ } @@ -427,7 +427,7 @@ module GenericSignaturesValid { interface I3 extends Base2 { a: new (x: T) => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -436,13 +436,13 @@ module GenericSignaturesValid { interface I4 extends Base2 { a2: new () => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a2 : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ } interface I5 extends Base2 { a2: new (x?: T) => T; // ok, identical >a2 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ } @@ -450,7 +450,7 @@ module GenericSignaturesValid { interface I6 extends Base2 { a2: new (x: T) => T; // ok, same number of params >a2 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -459,13 +459,13 @@ module GenericSignaturesValid { interface I7 extends Base2 { a3: new () => T; // ok, fewer required params >a3 : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ } interface I8 extends Base2 { a3: new (x?: T) => T; // error, no inferences for T so {} not assignable to {} in return type >a3 : new (x?: T) => T -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ } @@ -473,7 +473,7 @@ module GenericSignaturesValid { interface I9 extends Base2 { a3: new (x: T) => T; // ok, identical, same number of required params >a3 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -481,7 +481,7 @@ module GenericSignaturesValid { interface I10 extends Base2 { a3: new (x: T, y: T) => T; // error, too many required params >a3 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -492,13 +492,13 @@ module GenericSignaturesValid { interface I11 extends Base2 { a4: new () => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a4 : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ } interface I12 extends Base2 { a4: new (x?: T, y?: T) => T; // ok, fewer required params >a4 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -508,7 +508,7 @@ module GenericSignaturesValid { interface I13 extends Base2 { a4: new (x: T) => T; // ok, same T of required params >a4 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -516,7 +516,7 @@ module GenericSignaturesValid { interface I14 extends Base2 { a4: new (x: T, y: T) => T; // ok, same number of params >a4 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -527,13 +527,13 @@ module GenericSignaturesValid { interface I15 extends Base2 { a5: new () => T; // error, not identical and contextual signature instatiation can't make inference from T to T >a5 : new () => T -> : ^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^^ } interface I16 extends Base2 { a5: new (x?: T, y?: T) => T; // ok, fewer required params >a5 : new (x?: T, y?: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ >x : T > : ^ >y : T @@ -543,7 +543,7 @@ module GenericSignaturesValid { interface I17 extends Base2 { a5: new (x: T) => T; // ok, all present params match >a5 : new (x: T) => T -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ } @@ -551,7 +551,7 @@ module GenericSignaturesValid { interface I18 extends Base2 { a5: new (x: T, y: T) => T; // ok, same number of params >a5 : new (x: T, y: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : T diff --git a/tests/baselines/reference/subtypingWithObjectMembersOptionality.types b/tests/baselines/reference/subtypingWithObjectMembersOptionality.types index 7e0e69cb9acfe..f97706d59404c 100644 --- a/tests/baselines/reference/subtypingWithObjectMembersOptionality.types +++ b/tests/baselines/reference/subtypingWithObjectMembersOptionality.types @@ -62,15 +62,15 @@ interface S3 extends T3 { // object literal case var a: { Foo?: Base; }; >a : { Foo?: Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >Foo : Base > : ^^^^ var b = { Foo: null }; >b : { Foo: Derived; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >{ Foo: null } : { Foo: Derived; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >Foo : Derived > : ^^^^^^^ >null : Derived @@ -86,7 +86,7 @@ var r = true ? a : b; >a : { Foo?: Base; } > : ^^^^^^^^^^^^^^^ >b : { Foo: Derived; } -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ module TwoLevels { >TwoLevels : typeof TwoLevels @@ -131,15 +131,15 @@ module TwoLevels { // object literal case var a: { Foo?: Base; }; >a : { Foo?: Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >Foo : Base > : ^^^^ var b = { Foo: null }; >b : { Foo: Derived2; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >{ Foo: null } : { Foo: Derived2; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >Foo : Derived2 > : ^^^^^^^^ >null : Derived2 @@ -155,5 +155,5 @@ module TwoLevels { >a : { Foo?: Base; } > : ^^^^^^^^^^^^^^^ >b : { Foo: Derived2; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ } diff --git a/tests/baselines/reference/subtypingWithObjectMembersOptionality2.types b/tests/baselines/reference/subtypingWithObjectMembersOptionality2.types index ffaceb602b983..ba44de41be63d 100644 --- a/tests/baselines/reference/subtypingWithObjectMembersOptionality2.types +++ b/tests/baselines/reference/subtypingWithObjectMembersOptionality2.types @@ -50,13 +50,13 @@ interface S3 extends T3 { // object literal case var a: { Foo: Base; } >a : { Foo: Base; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >Foo : Base > : ^^^^ var b: { Foo?: Derived; } >b : { Foo?: Derived; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >Foo : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/subtypingWithObjectMembersOptionality3.types b/tests/baselines/reference/subtypingWithObjectMembersOptionality3.types index 850966dc3f121..9adf04f816183 100644 --- a/tests/baselines/reference/subtypingWithObjectMembersOptionality3.types +++ b/tests/baselines/reference/subtypingWithObjectMembersOptionality3.types @@ -50,13 +50,13 @@ interface S3 extends T3 { // object literal case var a: { Foo?: Base; } >a : { Foo?: Base; } -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >Foo : Base > : ^^^^ var b: { Foo2: Derived; } >b : { Foo2: Derived; } -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^ >Foo2 : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/subtypingWithObjectMembersOptionality4.types b/tests/baselines/reference/subtypingWithObjectMembersOptionality4.types index 5b1bb90226be2..a32f74851f6cd 100644 --- a/tests/baselines/reference/subtypingWithObjectMembersOptionality4.types +++ b/tests/baselines/reference/subtypingWithObjectMembersOptionality4.types @@ -50,13 +50,13 @@ interface S3 extends T3 { // object literal case var a: { Foo: Base; } >a : { Foo: Base; } -> : ^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^ >Foo : Base > : ^^^^ var b: { Foo2?: Derived; } >b : { Foo2?: Derived; } -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ >Foo2 : Derived > : ^^^^^^^ diff --git a/tests/baselines/reference/subtypingWithOptionalProperties.types b/tests/baselines/reference/subtypingWithOptionalProperties.types index dbf85bd75fdc8..dd1f4b0b66ed9 100644 --- a/tests/baselines/reference/subtypingWithOptionalProperties.types +++ b/tests/baselines/reference/subtypingWithOptionalProperties.types @@ -6,7 +6,7 @@ // returns { s?: number; } function f(a: T) { >f : (a: T) => { s?: number; } -> : ^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ ^^^ >a : T > : ^ diff --git a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType1.types b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType1.types index 768604b6013b7..882f73d769dc0 100644 --- a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType1.types +++ b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType1.types @@ -7,11 +7,11 @@ declare class B { m(): B; >m : () => B -> : ^^^^^^^^^^ ^ +> : ^ ^^^^^^^ static g(): B; >g : () => B -> : ^^^^^^^ +> : ^^^^^^ } class D extends B { diff --git a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType2.types b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType2.types index 85c489059905d..fd01494aafd24 100644 --- a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType2.types +++ b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericType2.types @@ -7,7 +7,7 @@ declare class B { m(): B; >m : () => B -> : ^^^^^^^^^^ ^ +> : ^ ^^^^^^^ } class D extends B { diff --git a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithIncorrectNumberOfTypeArguments1.types b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithIncorrectNumberOfTypeArguments1.types index 554b89f81e52e..bf6219508c627 100644 --- a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithIncorrectNumberOfTypeArguments1.types +++ b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithIncorrectNumberOfTypeArguments1.types @@ -7,7 +7,7 @@ class A { constructor(private map: (value: T1) => T2) { >map : (value: T1) => T2 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T1 > : ^^ diff --git a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithNoTypeArguments1.types b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithNoTypeArguments1.types index ff730855614ef..2b44c727e5084 100644 --- a/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithNoTypeArguments1.types +++ b/tests/baselines/reference/superCallFromClassThatDerivesFromGenericTypeButWithNoTypeArguments1.types @@ -7,7 +7,7 @@ class A { constructor(private map: (value: T1) => T2) { >map : (value: T1) => T2 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T1 > : ^^ diff --git a/tests/baselines/reference/superCallParameterContextualTyping1.types b/tests/baselines/reference/superCallParameterContextualTyping1.types index 087be011c2590..bffec3f508550 100644 --- a/tests/baselines/reference/superCallParameterContextualTyping1.types +++ b/tests/baselines/reference/superCallParameterContextualTyping1.types @@ -7,7 +7,7 @@ class A { constructor(private map: (value: T1) => T2) { >map : (value: T1) => T2 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T1 > : ^^ diff --git a/tests/baselines/reference/superCallParameterContextualTyping2.types b/tests/baselines/reference/superCallParameterContextualTyping2.types index 0072e729ce46d..7a0d6b402dc40 100644 --- a/tests/baselines/reference/superCallParameterContextualTyping2.types +++ b/tests/baselines/reference/superCallParameterContextualTyping2.types @@ -7,7 +7,7 @@ class A { constructor(private map: (value: T1) => T2) { >map : (value: T1) => T2 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T1 > : ^^ diff --git a/tests/baselines/reference/superCallParameterContextualTyping3.types b/tests/baselines/reference/superCallParameterContextualTyping3.types index 4518bc004ccc2..cd0ed3df4a220 100644 --- a/tests/baselines/reference/superCallParameterContextualTyping3.types +++ b/tests/baselines/reference/superCallParameterContextualTyping3.types @@ -4,7 +4,7 @@ interface ContextualType { method(parameter: T): void; >method : (parameter: T) => void -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^ ^^^^^ >parameter : T > : ^ } @@ -20,7 +20,7 @@ class CBase { foo(param: ContextualType) { >foo : (param: ContextualType) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^ >param : ContextualType > : ^^^^^^^^^^^^^^^^^ } diff --git a/tests/baselines/reference/superNewCall1.types b/tests/baselines/reference/superNewCall1.types index ffe678d505ad9..8c593ddbaeb19 100644 --- a/tests/baselines/reference/superNewCall1.types +++ b/tests/baselines/reference/superNewCall1.types @@ -7,7 +7,7 @@ class A { constructor(private map: (value: T1) => T2) { >map : (value: T1) => T2 -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >value : T1 > : ^^ diff --git a/tests/baselines/reference/superWithGenerics.types b/tests/baselines/reference/superWithGenerics.types index b8b27741e953d..4a8a41593415f 100644 --- a/tests/baselines/reference/superWithGenerics.types +++ b/tests/baselines/reference/superWithGenerics.types @@ -7,11 +7,11 @@ declare class B { m(): B; >m : () => B -> : ^^^^^^^^^^ ^ +> : ^ ^^^^^^^ static g(): B; >g : () => B -> : ^^^^^^^ +> : ^^^^^^ } class D extends B { diff --git a/tests/baselines/reference/superWithTypeArgument3.types b/tests/baselines/reference/superWithTypeArgument3.types index 15689d635f75d..549fa9a3195f7 100644 --- a/tests/baselines/reference/superWithTypeArgument3.types +++ b/tests/baselines/reference/superWithTypeArgument3.types @@ -11,7 +11,7 @@ class C { bar(x: U) { } >bar : (x: U) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : U > : ^ } diff --git a/tests/baselines/reference/switchComparableCompatForBrands.types b/tests/baselines/reference/switchComparableCompatForBrands.types index b73f1668ebe94..78f33afd016fa 100644 --- a/tests/baselines/reference/switchComparableCompatForBrands.types +++ b/tests/baselines/reference/switchComparableCompatForBrands.types @@ -12,7 +12,7 @@ class MyBrand function test(strInput: string & MyBrand) { >test : (strInput: string & MyBrand) => 1 | 0 -> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^ >strInput : string & MyBrand > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/switchStatements.types b/tests/baselines/reference/switchStatements.types index 12ee1994577b7..a598e6efe7516 100644 --- a/tests/baselines/reference/switchStatements.types +++ b/tests/baselines/reference/switchStatements.types @@ -246,9 +246,9 @@ switch (((x: T) => '')(1)) { } >((x: T) => '')(1) : string > : ^^^^^^ >((x: T) => '') : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >(x: T) => '' : (x: T) => string -> : ^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^^^ >x : T > : ^ >'' : "" diff --git a/tests/baselines/reference/switchWithConstrainedTypeVariable.types b/tests/baselines/reference/switchWithConstrainedTypeVariable.types index fab4e8c75349c..be222e13fd3ac 100644 --- a/tests/baselines/reference/switchWithConstrainedTypeVariable.types +++ b/tests/baselines/reference/switchWithConstrainedTypeVariable.types @@ -5,7 +5,7 @@ function function1(key: T) { >function1 : (key: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >key : T > : ^ diff --git a/tests/baselines/reference/symbolDeclarationEmit12.types b/tests/baselines/reference/symbolDeclarationEmit12.types index 602a3477636ba..f3391d9c22002 100644 --- a/tests/baselines/reference/symbolDeclarationEmit12.types +++ b/tests/baselines/reference/symbolDeclarationEmit12.types @@ -34,7 +34,7 @@ module M { [Symbol.isConcatSpreadable](): I { >[Symbol.isConcatSpreadable] : () => I -> : ^^^^^^^ +> : ^^^^^^ >Symbol.isConcatSpreadable : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor diff --git a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types index 477487d528d40..e048c2b476c25 100644 --- a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types +++ b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types @@ -53,7 +53,7 @@ export class BindingKey { static create>(ctor: T) { >create : >(ctor: T) => BindingKey -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ >ctor : T > : ^ diff --git a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNamesRootDir.types b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNamesRootDir.types index c4f078a083203..a86544f8d2b3e 100644 --- a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNamesRootDir.types +++ b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNamesRootDir.types @@ -53,7 +53,7 @@ export declare class BindingKey { static create>(ctor: T): BindingKey; >create : >(ctor: T) => BindingKey -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >ctor : T > : ^ } diff --git a/tests/baselines/reference/symbolProperty13.types b/tests/baselines/reference/symbolProperty13.types index cbc8d417310f0..82b68325483dd 100644 --- a/tests/baselines/reference/symbolProperty13.types +++ b/tests/baselines/reference/symbolProperty13.types @@ -32,7 +32,7 @@ interface I { declare function foo(i: I): I; >foo : { (i: I): I; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : I > : ^ @@ -43,7 +43,7 @@ declare function foo(a: any): any; declare function bar(i: C): C; >bar : { (i: C): C; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : C > : ^ diff --git a/tests/baselines/reference/symbolProperty14.types b/tests/baselines/reference/symbolProperty14.types index 318ecffb4de50..8e6e9b77a754d 100644 --- a/tests/baselines/reference/symbolProperty14.types +++ b/tests/baselines/reference/symbolProperty14.types @@ -32,7 +32,7 @@ interface I { declare function foo(i: I): I; >foo : { (i: I): I; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : I > : ^ @@ -43,7 +43,7 @@ declare function foo(a: any): any; declare function bar(i: C): C; >bar : { (i: C): C; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : C > : ^ diff --git a/tests/baselines/reference/symbolProperty15.types b/tests/baselines/reference/symbolProperty15.types index 135d040d0e13b..e831263fdd2a2 100644 --- a/tests/baselines/reference/symbolProperty15.types +++ b/tests/baselines/reference/symbolProperty15.types @@ -20,7 +20,7 @@ interface I { declare function foo(i: I): I; >foo : { (i: I): I; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : I > : ^ @@ -31,7 +31,7 @@ declare function foo(a: any): any; declare function bar(i: C): C; >bar : { (i: C): C; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : C > : ^ diff --git a/tests/baselines/reference/symbolProperty16.types b/tests/baselines/reference/symbolProperty16.types index f3e45d55a6526..963250722cae8 100644 --- a/tests/baselines/reference/symbolProperty16.types +++ b/tests/baselines/reference/symbolProperty16.types @@ -31,7 +31,7 @@ interface I { declare function foo(i: I): I; >foo : { (i: I): I; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : I > : ^ @@ -42,7 +42,7 @@ declare function foo(a: any): any; declare function bar(i: C): C; >bar : { (i: C): C; (a: any): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ >i : C > : ^ diff --git a/tests/baselines/reference/symbolProperty21.types b/tests/baselines/reference/symbolProperty21.types index 36627058d970c..71e7771efbdc7 100644 --- a/tests/baselines/reference/symbolProperty21.types +++ b/tests/baselines/reference/symbolProperty21.types @@ -25,7 +25,7 @@ interface I { declare function foo(p: I): { t: T; u: U }; >foo : (p: I) => { t: T; u: U; } -> : ^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ +> : ^ ^^ ^^^^^ ^^^^^ >p : I > : ^^^^^^^ >t : T diff --git a/tests/baselines/reference/symbolProperty22.types b/tests/baselines/reference/symbolProperty22.types index 2d9d7079afa01..8688aec04b1b2 100644 --- a/tests/baselines/reference/symbolProperty22.types +++ b/tests/baselines/reference/symbolProperty22.types @@ -4,7 +4,7 @@ interface I { [Symbol.unscopables](x: T): U; >[Symbol.unscopables] : (x: T) => U -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >Symbol.unscopables : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -17,7 +17,7 @@ interface I { declare function foo(p1: T, p2: I): U; >foo : (p1: T, p2: I) => U -> : ^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^ +> : ^ ^^ ^^^^^^ ^^^^^^ ^^^^^ >p1 : T > : ^ >p2 : I diff --git a/tests/baselines/reference/symbolProperty61.types b/tests/baselines/reference/symbolProperty61.types index 063a20920c19e..0fafbe618acbe 100644 --- a/tests/baselines/reference/symbolProperty61.types +++ b/tests/baselines/reference/symbolProperty61.types @@ -38,9 +38,9 @@ export class MyObservable { subscribe(next: (val: T) => void) { >subscribe : (next: (val: T) => void) => void -> : ^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >next : (val: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ @@ -75,7 +75,7 @@ type InteropObservable = { [Symbol.obs]: () => { subscribe(next: (val: T) => void): void } >[Symbol.obs] : () => { subscribe(next: (val: T) => void): void; } -> : ^^^^^^ ^ +> : ^^^^^^ >Symbol.obs : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -83,16 +83,16 @@ type InteropObservable = { >obs : unique symbol > : ^^^^^^^^^^^^^ >subscribe : (next: (val: T) => void) => void -> : ^^^^^^^ ^ ^^^^^ +> : ^^^^^^^ ^^^^^ >next : (val: T) => void -> : ^^^^^^^^^^^^ +> : ^^^^^^ ^^^^^ >val : T > : ^ } function from(obs: InteropObservable) { >from : (obs: InteropObservable) => { subscribe(next: (val: T) => void): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obs : InteropObservable > : ^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/syntaxErrors.types b/tests/baselines/reference/syntaxErrors.types index ac472301a5382..7ed8237cbadc0 100644 --- a/tests/baselines/reference/syntaxErrors.types +++ b/tests/baselines/reference/syntaxErrors.types @@ -14,7 +14,7 @@ declare class C { t: T } /** @param {C.} skipped */ function f(x, y, skipped) { >f : (x: any, y: any, skipped: C) => any -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ >x : any > : ^^^ >y : any diff --git a/tests/baselines/reference/taggedPrimitiveNarrowing.types b/tests/baselines/reference/taggedPrimitiveNarrowing.types index 82cdee911a97d..5ee5ed07d4546 100644 --- a/tests/baselines/reference/taggedPrimitiveNarrowing.types +++ b/tests/baselines/reference/taggedPrimitiveNarrowing.types @@ -11,7 +11,7 @@ type Hash = string & { __hash: true }; function getHashLength(hash: Hash): number { >getHashLength : (hash: Hash) => number -> : ^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^ >hash : Hash > : ^^^^ @@ -44,7 +44,7 @@ function getHashLength(hash: Hash): number { function getHashLength2(hash: string & T): number { >getHashLength2 : (hash: string & T) => number -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ >__tag__ : unknown > : ^^^^^^^ >hash : string & T diff --git a/tests/baselines/reference/taggedTemplateContextualTyping1.types b/tests/baselines/reference/taggedTemplateContextualTyping1.types index c21c6f67af40a..03c0089f37e75 100644 --- a/tests/baselines/reference/taggedTemplateContextualTyping1.types +++ b/tests/baselines/reference/taggedTemplateContextualTyping1.types @@ -5,7 +5,7 @@ type FuncType = (x: (p: T) => T) => typeof x; >FuncType : FuncType > : ^^^^^^^^ >x : (p: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : T > : ^ >x : (p: T) => T @@ -13,7 +13,7 @@ type FuncType = (x: (p: T) => T) => typeof x; function tempTag1(templateStrs: TemplateStringsArray, f: FuncType, x: T): T; >tempTag1 : { (templateStrs: TemplateStringsArray, f: FuncType, x: T): T; (templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T_1): T_1; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >templateStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : FuncType @@ -23,7 +23,7 @@ function tempTag1(templateStrs: TemplateStringsArray, f: FuncType, x: T): T; function tempTag1(templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T): T; >tempTag1 : { (templateStrs: TemplateStringsArray, f: FuncType, x: T_1): T_1; (templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >templateStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : FuncType @@ -123,9 +123,9 @@ tempTag1 `${ x => { x(undefined); return x; } }${ (y: >x : (p: T) => T > : ^^^^^^^^^^^^^^ >(y: (p: T) => T) => { y(undefined); return y } : (y: (p: T) => T) => (p: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ >y : (p: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : T > : ^ >y(undefined) : number @@ -146,9 +146,9 @@ tempTag1 `${ (x: (p: T) => T) => { x(undefined); return x; } }${ y => >`${ (x: (p: T) => T) => { x(undefined); return x; } }${ y => { y(undefined); return y; } }${ undefined }` : string > : ^^^^^^ >(x: (p: T) => T) => { x(undefined); return x; } : (x: (p: T) => T) => (p: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ >x : (p: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : T > : ^ >x(undefined) : number diff --git a/tests/baselines/reference/taggedTemplateContextualTyping2.types b/tests/baselines/reference/taggedTemplateContextualTyping2.types index 7003b1fb57836..ef8aa4db8fd03 100644 --- a/tests/baselines/reference/taggedTemplateContextualTyping2.types +++ b/tests/baselines/reference/taggedTemplateContextualTyping2.types @@ -5,7 +5,7 @@ type FuncType1 = (x: (p: T) => T) => typeof x; >FuncType1 : FuncType1 > : ^^^^^^^^^ >x : (p: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >p : T > : ^ >x : (p: T) => T @@ -15,7 +15,7 @@ type FuncType2 = (x: (p: T) => T) => typeof x; >FuncType2 : FuncType2 > : ^^^^^^^^^ >x : (p: T) => T -> : ^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >p : T > : ^ >x : (p: T) => T @@ -23,7 +23,7 @@ type FuncType2 = (x: (p: T) => T) => typeof x; function tempTag2(templateStrs: TemplateStringsArray, f: FuncType1, x: number): number; >tempTag2 : { (templateStrs: TemplateStringsArray, f: FuncType1, x: number): number; (templateStrs: TemplateStringsArray, f: FuncType2, h: FuncType2, x: string): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >templateStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : FuncType1 @@ -33,7 +33,7 @@ function tempTag2(templateStrs: TemplateStringsArray, f: FuncType1, x: number): function tempTag2(templateStrs: TemplateStringsArray, f: FuncType2, h: FuncType2, x: string): string; >tempTag2 : { (templateStrs: TemplateStringsArray, f: FuncType1, x: number): number; (templateStrs: TemplateStringsArray, f: FuncType2, h: FuncType2, x: string): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >templateStrs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : FuncType2 diff --git a/tests/baselines/reference/taggedTemplateStringsTypeArgumentInference.types b/tests/baselines/reference/taggedTemplateStringsTypeArgumentInference.types index 0bbe751d127a2..08d82b7f3b14a 100644 --- a/tests/baselines/reference/taggedTemplateStringsTypeArgumentInference.types +++ b/tests/baselines/reference/taggedTemplateStringsTypeArgumentInference.types @@ -4,7 +4,7 @@ // Generic tag with one parameter function noParams(n: T) { } >noParams : (n: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >n : T > : ^ @@ -19,7 +19,7 @@ noParams ``; // Generic tag with parameter which does not use type parameter function noGenericParams(n: TemplateStringsArray) { } >noGenericParams : (n: TemplateStringsArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >n : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ @@ -34,7 +34,7 @@ noGenericParams ``; // Generic tag with multiple type parameters and only one used in parameter type annotation function someGenerics1a(n: T, m: number) { } >someGenerics1a : (n: T, m: number) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >m : number @@ -52,7 +52,7 @@ someGenerics1a `${3}`; function someGenerics1b(n: TemplateStringsArray, m: U) { } >someGenerics1b : (n: TemplateStringsArray, m: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >m : U @@ -71,11 +71,11 @@ someGenerics1b `${3}`; // Generic tag with argument of function type whose parameter is of type parameter type function someGenerics2a(strs: TemplateStringsArray, n: (x: T) => void) { } >someGenerics2a : (strs: TemplateStringsArray, n: (x: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -95,11 +95,11 @@ someGenerics2a `${(n: string) => n}`; function someGenerics2b(strs: TemplateStringsArray, n: (x: T, y: U) => void) { } >someGenerics2b : (strs: TemplateStringsArray, n: (x: T, y: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -124,11 +124,11 @@ someGenerics2b `${ (n: string, x: number) => n }`; // Generic tag with argument of function type whose parameter is not of type parameter type but body/return type uses type parameter function someGenerics3(strs: TemplateStringsArray, producer: () => T) { } >someGenerics3 : (strs: TemplateStringsArray, producer: () => T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >producer : () => T -> : ^^^^^^^ +> : ^^^^^^ someGenerics3 `${() => ''}`; >someGenerics3 `${() => ''}` : void @@ -169,13 +169,13 @@ someGenerics3 `${() => 3}`; // 2 parameter generic tag with argument 1 of type parameter type and argument 2 of function type whose parameter is of type parameter type function someGenerics4(strs: TemplateStringsArray, n: T, f: (x: U) => void) { } >someGenerics4 : (strs: TemplateStringsArray, n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -216,13 +216,13 @@ someGenerics4 `${ null }${ null }`; // 2 parameter generic tag with argument 2 of type parameter type and argument 1 of function type whose parameter is of type parameter type function someGenerics5(strs: TemplateStringsArray, n: T, f: (x: U) => void) { } >someGenerics5 : (strs: TemplateStringsArray, n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -263,19 +263,19 @@ someGenerics5 `${null}${null}`; // Generic tag with multiple arguments of function types that each have parameters of the same generic type function someGenerics6(strs: TemplateStringsArray, a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) { } >someGenerics6 : (strs: TemplateStringsArray, a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : A > : ^ >c : (c: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : A > : ^ @@ -360,19 +360,19 @@ someGenerics6 `${ (n: number) => n }${ (n: number) => n }${ (n: number) => n }`; // Generic tag with multiple arguments of function types that each have parameters of different generic type function someGenerics7(strs: TemplateStringsArray, a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) { } >someGenerics7 : (strs: TemplateStringsArray, a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: B) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >c : (c: C) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ @@ -457,7 +457,7 @@ someGenerics7 `${(n: number) => n}${ (n: string) => n}${ (n: number) => n}`; // Generic tag with argument of generic function type function someGenerics8(strs: TemplateStringsArray, n: T): T { return n; } >someGenerics8 : (strs: TemplateStringsArray, n: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -488,7 +488,7 @@ x `${null}${null}${null}`; // Generic tag with multiple parameters of generic type passed arguments with no best common type function someGenerics9(strs: TemplateStringsArray, a: T, b: T, c: T): T { >someGenerics9 : (strs: TemplateStringsArray, a: T, b: T, c: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >a : T diff --git a/tests/baselines/reference/taggedTemplateStringsTypeArgumentInferenceES6.types b/tests/baselines/reference/taggedTemplateStringsTypeArgumentInferenceES6.types index 827a6c0f224c7..9f1c842c8c8c8 100644 --- a/tests/baselines/reference/taggedTemplateStringsTypeArgumentInferenceES6.types +++ b/tests/baselines/reference/taggedTemplateStringsTypeArgumentInferenceES6.types @@ -4,7 +4,7 @@ // Generic tag with one parameter function noParams(n: T) { } >noParams : (n: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >n : T > : ^ @@ -19,7 +19,7 @@ noParams ``; // Generic tag with parameter which does not use type parameter function noGenericParams(n: TemplateStringsArray) { } >noGenericParams : (n: TemplateStringsArray) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^ ^^^^^^^^^ >n : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ @@ -34,7 +34,7 @@ noGenericParams ``; // Generic tag with multiple type parameters and only one used in parameter type annotation function someGenerics1a(n: T, m: number) { } >someGenerics1a : (n: T, m: number) => void -> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >n : T > : ^ >m : number @@ -52,7 +52,7 @@ someGenerics1a `${3}`; function someGenerics1b(n: TemplateStringsArray, m: U) { } >someGenerics1b : (n: TemplateStringsArray, m: U) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >n : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >m : U @@ -71,11 +71,11 @@ someGenerics1b `${3}`; // Generic tag with argument of function type whose parameter is of type parameter type function someGenerics2a(strs: TemplateStringsArray, n: (x: T) => void) { } >someGenerics2a : (strs: TemplateStringsArray, n: (x: T) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : (x: T) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : T > : ^ @@ -95,11 +95,11 @@ someGenerics2a `${(n: string) => n}`; function someGenerics2b(strs: TemplateStringsArray, n: (x: T, y: U) => void) { } >someGenerics2b : (strs: TemplateStringsArray, n: (x: T, y: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : (x: T, y: U) => void -> : ^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ >x : T > : ^ >y : U @@ -124,11 +124,11 @@ someGenerics2b `${ (n: string, x: number) => n }`; // Generic tag with argument of function type whose parameter is not of type parameter type but body/return type uses type parameter function someGenerics3(strs: TemplateStringsArray, producer: () => T) { } >someGenerics3 : (strs: TemplateStringsArray, producer: () => T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >producer : () => T -> : ^^^^^^^ +> : ^^^^^^ someGenerics3 `${() => ''}`; >someGenerics3 `${() => ''}` : void @@ -169,13 +169,13 @@ someGenerics3 `${() => 3}`; // 2 parameter generic tag with argument 1 of type parameter type and argument 2 of function type whose parameter is of type parameter type function someGenerics4(strs: TemplateStringsArray, n: T, f: (x: U) => void) { } >someGenerics4 : (strs: TemplateStringsArray, n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -216,13 +216,13 @@ someGenerics4 `${ null }${ null }`; // 2 parameter generic tag with argument 2 of type parameter type and argument 1 of function type whose parameter is of type parameter type function someGenerics5(strs: TemplateStringsArray, n: T, f: (x: U) => void) { } >someGenerics5 : (strs: TemplateStringsArray, n: T, f: (x: U) => void) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T > : ^ >f : (x: U) => void -> : ^^^^^^^^^^ +> : ^^^^ ^^^^^ >x : U > : ^ @@ -263,19 +263,19 @@ someGenerics5 `${null}${null}`; // Generic tag with multiple arguments of function types that each have parameters of the same generic type function someGenerics6(strs: TemplateStringsArray, a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) { } >someGenerics6 : (strs: TemplateStringsArray, a: (a: A) => A, b: (b: A) => A, c: (c: A) => A) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : A > : ^ >c : (c: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : A > : ^ @@ -360,19 +360,19 @@ someGenerics6 `${ (n: number) => n }${ (n: number) => n }${ (n: number) => n }`; // Generic tag with multiple arguments of function types that each have parameters of different generic type function someGenerics7(strs: TemplateStringsArray, a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) { } >someGenerics7 : (strs: TemplateStringsArray, a: (a: A) => A, b: (b: B) => B, c: (c: C) => C) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^^^^ ^ ^^^^^^^^^^ +> : ^ ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >a : (a: A) => A -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >a : A > : ^ >b : (b: B) => B -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >b : B > : ^ >c : (c: C) => C -> : ^^^^^^^^^^^ +> : ^^^^ ^^^^^ >c : C > : ^ @@ -457,7 +457,7 @@ someGenerics7 `${(n: number) => n}${ (n: string) => n}${ (n: number) => n}`; // Generic tag with argument of generic function type function someGenerics8(strs: TemplateStringsArray, n: T): T { return n; } >someGenerics8 : (strs: TemplateStringsArray, n: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -488,7 +488,7 @@ x `${null}${null}${null}`; // Generic tag with multiple parameters of generic type passed arguments with no best common type function someGenerics9(strs: TemplateStringsArray, a: T, b: T, c: T): T { >someGenerics9 : (strs: TemplateStringsArray, a: T, b: T, c: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >a : T diff --git a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1.types b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1.types index fead3cfa3b87c..235106b5f88bb 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1.types +++ b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1.types @@ -3,13 +3,13 @@ === taggedTemplateStringsWithOverloadResolution1.ts === function foo(strs: TemplateStringsArray): number; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ function foo(strs: TemplateStringsArray, x: number): string; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -17,7 +17,7 @@ function foo(strs: TemplateStringsArray, x: number): string; function foo(strs: TemplateStringsArray, x: number, y: number): boolean; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -27,7 +27,7 @@ function foo(strs: TemplateStringsArray, x: number, y: number): boolean; function foo(strs: TemplateStringsArray, x: number, y: string): {}; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1_ES6.types b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1_ES6.types index 52b25220f2888..b2a5707e1cdaf 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1_ES6.types +++ b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution1_ES6.types @@ -3,13 +3,13 @@ === taggedTemplateStringsWithOverloadResolution1_ES6.ts === function foo(strs: TemplateStringsArray): number; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ function foo(strs: TemplateStringsArray, x: number): string; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -17,7 +17,7 @@ function foo(strs: TemplateStringsArray, x: number): string; function foo(strs: TemplateStringsArray, x: number, y: number): boolean; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -27,7 +27,7 @@ function foo(strs: TemplateStringsArray, x: number, y: number): boolean; function foo(strs: TemplateStringsArray, x: number, y: string): {}; >foo : { (strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: TemplateStringsArray, x: number, y: number): boolean; (strs: TemplateStringsArray, x: number, y: string): {}; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2.types b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2.types index e239aa63f6f5a..5922a53c42fb3 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2.types +++ b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2.types @@ -3,7 +3,7 @@ === taggedTemplateStringsWithOverloadResolution2.ts === function foo1(strs: TemplateStringsArray, x: number): string; >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -62,7 +62,7 @@ function foo2(strs: string[], x: number): number; function foo2(strs: TemplateStringsArray, x: number): string; >foo2 : { (strs: string[], x: number): number; (strs: TemplateStringsArray, x: number): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2_ES6.types b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2_ES6.types index 663a6d3a10da3..716e437c629d5 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2_ES6.types +++ b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution2_ES6.types @@ -3,7 +3,7 @@ === taggedTemplateStringsWithOverloadResolution2_ES6.ts === function foo1(strs: TemplateStringsArray, x: number): string; >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -62,7 +62,7 @@ function foo2(strs: string[], x: number): number; function foo2(strs: TemplateStringsArray, x: number): string; >foo2 : { (strs: string[], x: number): number; (strs: TemplateStringsArray, x: number): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : number diff --git a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3.types b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3.types index 5ffce8eac3896..b72a2cdbc26e4 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3.types +++ b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3.types @@ -4,7 +4,7 @@ // Ambiguous call picks the first overload in declaration order function fn1(strs: TemplateStringsArray, s: string): string; >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >s : string @@ -12,7 +12,7 @@ function fn1(strs: TemplateStringsArray, s: string): string; function fn1(strs: TemplateStringsArray, n: number): number; >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : number @@ -47,7 +47,7 @@ fn1 `${ {} }`; // Error function fn2(strs: TemplateStringsArray, s: string, n: number): number; >fn2 : { (strs: TemplateStringsArray, s: string, n: number): number; (strs: TemplateStringsArray, n: number, t: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >s : string @@ -57,7 +57,7 @@ function fn2(strs: TemplateStringsArray, s: string, n: number): number; function fn2(strs: TemplateStringsArray, n: number, t: T): T; >fn2 : { (strs: TemplateStringsArray, s: string, n: number): number; (strs: TemplateStringsArray, n: number, t: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : number @@ -144,7 +144,7 @@ fn2 `${ '' }${ 0 }`; // OK // Generic overloads with differing arity function fn3(strs: TemplateStringsArray, n: T): string; >fn3 : { (strs: TemplateStringsArray, n: T): string; (strs: TemplateStringsArray, s: string, t: T_1, u: U): U; (strs: TemplateStringsArray, v: V, u: U_1, t: T_2): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -152,7 +152,7 @@ function fn3(strs: TemplateStringsArray, n: T): string; function fn3(strs: TemplateStringsArray, s: string, t: T, u: U): U; >fn3 : { (strs: TemplateStringsArray, n: T_1): string; (strs: TemplateStringsArray, s: string, t: T, u: U): U; (strs: TemplateStringsArray, v: V, u: U_1, t: T_2): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >s : string @@ -164,7 +164,7 @@ function fn3(strs: TemplateStringsArray, s: string, t: T, u: U): U; function fn3(strs: TemplateStringsArray, v: V, u: U, t: T): number; >fn3 : { (strs: TemplateStringsArray, n: T_1): string; (strs: TemplateStringsArray, s: string, t: T_2, u: U_1): U_1; (strs: TemplateStringsArray, v: V, u: U, t: T): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >v : V @@ -283,7 +283,7 @@ fn3 ``; // Error // Generic overloads with constraints function fn4(strs: TemplateStringsArray, n: T, m: U); >fn4 : { (strs: TemplateStringsArray, n: T, m: U): any; (strs: TemplateStringsArray, n: T_1, m: U_1): any; (strs: TemplateStringsArray): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -293,7 +293,7 @@ function fn4(strs: TemplateStringsArray, n: function fn4(strs: TemplateStringsArray, n: T, m: U); >fn4 : { (strs: TemplateStringsArray, n: T_1, m: U_1): any; (strs: TemplateStringsArray, n: T, m: U): any; (strs: TemplateStringsArray): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -303,7 +303,7 @@ function fn4(strs: TemplateStringsArray, n: function fn4(strs: TemplateStringsArray) >fn4 : { (strs: TemplateStringsArray, n: T, m: U): any; (strs: TemplateStringsArray, n: T_1, m: U_1): any; (strs: TemplateStringsArray): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ @@ -391,7 +391,7 @@ fn4 `${ null }${ true }`; // Non - generic overloads where contextual typing of function arguments has errors function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; >fn5 : { (strs: TemplateStringsArray, f: (n: string) => void): string; (strs: TemplateStringsArray, f: (n: number) => void): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : (n: string) => void @@ -401,7 +401,7 @@ function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; function fn5(strs: TemplateStringsArray, f: (n: number) => void): number; >fn5 : { (strs: TemplateStringsArray, f: (n: string) => void): string; (strs: TemplateStringsArray, f: (n: number) => void): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : (n: number) => void diff --git a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3_ES6.types b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3_ES6.types index 086e7b00c73ac..69afc7d9a43ea 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3_ES6.types +++ b/tests/baselines/reference/taggedTemplateStringsWithOverloadResolution3_ES6.types @@ -4,7 +4,7 @@ // Ambiguous call picks the first overload in declaration order function fn1(strs: TemplateStringsArray, s: string): string; >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >s : string @@ -12,7 +12,7 @@ function fn1(strs: TemplateStringsArray, s: string): string; function fn1(strs: TemplateStringsArray, n: number): number; >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : number @@ -47,7 +47,7 @@ fn1 `${ {} }`; // Error function fn2(strs: TemplateStringsArray, s: string, n: number): number; >fn2 : { (strs: TemplateStringsArray, s: string, n: number): number; (strs: TemplateStringsArray, n: number, t: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >s : string @@ -57,7 +57,7 @@ function fn2(strs: TemplateStringsArray, s: string, n: number): number; function fn2(strs: TemplateStringsArray, n: number, t: T): T; >fn2 : { (strs: TemplateStringsArray, s: string, n: number): number; (strs: TemplateStringsArray, n: number, t: T): T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : number @@ -144,7 +144,7 @@ fn2 `${ '' }${ 0 }`; // OK // Generic overloads with differing arity function fn3(strs: TemplateStringsArray, n: T): string; >fn3 : { (strs: TemplateStringsArray, n: T): string; (strs: TemplateStringsArray, s: string, t: T_1, u: U): U; (strs: TemplateStringsArray, v: V, u: U_1, t: T_2): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -152,7 +152,7 @@ function fn3(strs: TemplateStringsArray, n: T): string; function fn3(strs: TemplateStringsArray, s: string, t: T, u: U): U; >fn3 : { (strs: TemplateStringsArray, n: T_1): string; (strs: TemplateStringsArray, s: string, t: T, u: U): U; (strs: TemplateStringsArray, v: V, u: U_1, t: T_2): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >s : string @@ -164,7 +164,7 @@ function fn3(strs: TemplateStringsArray, s: string, t: T, u: U): U; function fn3(strs: TemplateStringsArray, v: V, u: U, t: T): number; >fn3 : { (strs: TemplateStringsArray, n: T_1): string; (strs: TemplateStringsArray, s: string, t: T_2, u: U_1): U_1; (strs: TemplateStringsArray, v: V, u: U, t: T): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >v : V @@ -283,7 +283,7 @@ fn3 ``; // Error // Generic overloads with constraints function fn4(strs: TemplateStringsArray, n: T, m: U); >fn4 : { (strs: TemplateStringsArray, n: T, m: U): any; (strs: TemplateStringsArray, n: T_1, m: U_1): any; (strs: TemplateStringsArray): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -293,7 +293,7 @@ function fn4(strs: TemplateStringsArray, n: function fn4(strs: TemplateStringsArray, n: T, m: U); >fn4 : { (strs: TemplateStringsArray, n: T_1, m: U_1): any; (strs: TemplateStringsArray, n: T, m: U): any; (strs: TemplateStringsArray): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >n : T @@ -303,7 +303,7 @@ function fn4(strs: TemplateStringsArray, n: function fn4(strs: TemplateStringsArray) >fn4 : { (strs: TemplateStringsArray, n: T, m: U): any; (strs: TemplateStringsArray, n: T_1, m: U_1): any; (strs: TemplateStringsArray): any; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ @@ -391,7 +391,7 @@ fn4 `${ null }${ true }`; // Non - generic overloads where contextual typing of function arguments has errors function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; >fn5 : { (strs: TemplateStringsArray, f: (n: string) => void): string; (strs: TemplateStringsArray, f: (n: number) => void): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : (n: string) => void @@ -401,7 +401,7 @@ function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; function fn5(strs: TemplateStringsArray, f: (n: number) => void): number; >fn5 : { (strs: TemplateStringsArray, f: (n: string) => void): string; (strs: TemplateStringsArray, f: (n: number) => void): number; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^ ^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >f : (n: number) => void diff --git a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.types b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.types index 3fdfc9b5f6c17..3a70722650a11 100644 --- a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.types +++ b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.types @@ -3,7 +3,7 @@ === foo.ts === function id(x: T) { >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/taggedTemplatesInDifferentScopes.types b/tests/baselines/reference/taggedTemplatesInDifferentScopes.types index e5874154ce8a0..b079e059bba07 100644 --- a/tests/baselines/reference/taggedTemplatesInDifferentScopes.types +++ b/tests/baselines/reference/taggedTemplatesInDifferentScopes.types @@ -3,7 +3,7 @@ === taggedTemplatesInDifferentScopes.ts === export function tag(parts: TemplateStringsArray, ...values: any[]) { >tag : (parts: TemplateStringsArray, ...values: any[]) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ >parts : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >values : any[] diff --git a/tests/baselines/reference/taggedTemplatesInModuleAndGlobal.types b/tests/baselines/reference/taggedTemplatesInModuleAndGlobal.types index f91181677af36..640b60ee4c01e 100644 --- a/tests/baselines/reference/taggedTemplatesInModuleAndGlobal.types +++ b/tests/baselines/reference/taggedTemplatesInModuleAndGlobal.types @@ -7,7 +7,7 @@ namespace n { function id(x: T): T { >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ @@ -46,7 +46,7 @@ namespace n { export { } function id(x: T): T { >id : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.types b/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.types index 9cdc21b1266f1..437fd4f9db716 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteNoSubstitutionTemplate1.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.types b/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.types index 0814e2c63c434..a5e4d11f7cd2a 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions1.types b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions1.types index 8eacd130225b0..c6accde4a2379 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions1.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions1.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteTemplateExpressions1.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions2.types b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions2.types index bb7a6bb927b21..6302542dd207c 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions2.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions2.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteTemplateExpressions2.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions3.types b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions3.types index 1b35e60ce2677..a5991836db634 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions3.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions3.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteTemplateExpressions3.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions4.types b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions4.types index 551b4c4161c2c..7b51fbe26c06b 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions4.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions4.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteTemplateExpressions4.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions5.types b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions5.types index 6782727132d0a..4162f8090125a 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions5.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions5.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteTemplateExpressions5.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions6.types b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions6.types index 09efa7d0bd9fc..92218e8084fe4 100644 --- a/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions6.types +++ b/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions6.types @@ -3,7 +3,7 @@ === taggedTemplatesWithIncompleteTemplateExpressions6.ts === function f(x: TemplateStringsArray, y: string, z: string) { >f : (x: TemplateStringsArray, y: string, z: string) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ +> : ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >y : string diff --git a/tests/baselines/reference/taggedTemplatesWithTypeArguments1.types b/tests/baselines/reference/taggedTemplatesWithTypeArguments1.types index 60e867a29316b..60d9bbc1e44d8 100644 --- a/tests/baselines/reference/taggedTemplatesWithTypeArguments1.types +++ b/tests/baselines/reference/taggedTemplatesWithTypeArguments1.types @@ -3,11 +3,11 @@ === taggedTemplatesWithTypeArguments1.ts === declare function f(strs: TemplateStringsArray, ...callbacks: Array<(x: T) => any>): void; >f : (strs: TemplateStringsArray, ...callbacks: Array<(x: T) => any>) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ +> : ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >callbacks : ((x: T) => any)[] -> : ^^^^^^^^^^^ ^^^ +> : ^^^^^ ^^^^^ ^^^ >x : T > : ^ @@ -78,7 +78,7 @@ export const a = f ` declare function g( >g : (strs: TemplateStringsArray, t: (i: Input) => T, u: (i: Input) => U, v: (i: Input) => V) => T | U | V -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^^ ^ ^ +> : ^ ^^ ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ strs: TemplateStringsArray, >strs : TemplateStringsArray @@ -86,15 +86,15 @@ declare function g( t: (i: Input) => T, u: (i: Input) => U, v: (i: Input) => V): T | U | V; >t : (i: Input) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : Input > : ^^^^^ >u : (i: Input) => U -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : Input > : ^^^^^ >v : (i: Input) => V -> : ^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >i : Input > : ^^^^^ @@ -151,15 +151,15 @@ export const b = g ` declare let obj: { >obj : { prop: (strs: TemplateStringsArray, x: (input: T) => T) => { returnedObjProp: T; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ ^^^ +> : ^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^ prop: (strs: TemplateStringsArray, x: (input: T) => T) => { >prop : (strs: TemplateStringsArray, x: (input: T) => T) => { returnedObjProp: T; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^ +> : ^ ^^^^^^^^ ^^^^^ ^^^^^ >strs : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >x : (input: T) => T -> : ^^^^^^^^^^^^^^^ +> : ^^^^^^^^ ^^^^^ >input : T > : ^ diff --git a/tests/baselines/reference/targetTypeTest1.types b/tests/baselines/reference/targetTypeTest1.types index 00c3bae1a9fba..2a1d2f685295e 100644 --- a/tests/baselines/reference/targetTypeTest1.types +++ b/tests/baselines/reference/targetTypeTest1.types @@ -21,7 +21,7 @@ declare class Point public add(dx: number, dy: number): Point; >add : (dx: number, dy: number) => Point -> : ^^^^^ ^^^^^^ ^^^^^^^^^^ +> : ^^^^^ ^^^^^^ ^^^^^ >dx : number > : ^^^^^^ >dy : number diff --git a/tests/baselines/reference/templateExpressionNoInlininingOfConstantBindingWithInitializer.types b/tests/baselines/reference/templateExpressionNoInlininingOfConstantBindingWithInitializer.types index 9b383231b086a..f247aab6c1308 100644 --- a/tests/baselines/reference/templateExpressionNoInlininingOfConstantBindingWithInitializer.types +++ b/tests/baselines/reference/templateExpressionNoInlininingOfConstantBindingWithInitializer.types @@ -12,7 +12,7 @@ type Params = { function example(parameters: Params) { >example : (parameters: Params) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^^ >parameters : Params > : ^^^^^^ @@ -37,7 +37,7 @@ function example(parameters: Params) { function example2(parameters: Params) { >example2 : (parameters: Params) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^ ^^^^^^^^^^^ >parameters : Params > : ^^^^^^ diff --git a/tests/baselines/reference/templateLiteralEscapeSequence.types b/tests/baselines/reference/templateLiteralEscapeSequence.types index 79a5610e8a7d1..aeed3d47b029a 100644 --- a/tests/baselines/reference/templateLiteralEscapeSequence.types +++ b/tests/baselines/reference/templateLiteralEscapeSequence.types @@ -3,7 +3,7 @@ === templateLiteralEscapeSequence.ts === declare function tag(template: TemplateStringsArray, ...substitutions: any[]): string; >tag : (template: TemplateStringsArray, ...substitutions: any[]) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >template : TemplateStringsArray > : ^^^^^^^^^^^^^^^^^^^^ >substitutions : any[] diff --git a/tests/baselines/reference/templateLiteralIntersection2.types b/tests/baselines/reference/templateLiteralIntersection2.types index b2851e6b54b97..072aaacae06c4 100644 --- a/tests/baselines/reference/templateLiteralIntersection2.types +++ b/tests/baselines/reference/templateLiteralIntersection2.types @@ -13,7 +13,7 @@ type JoinedPath = `${Path}/${Path}`; declare function joinedPath(p: JoinedPath): void; >joinedPath : (p: JoinedPath) => void -> : ^^^^^^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : `${Path}/${Path}` > : ^^^^^^^^^^^^^^^^^ @@ -53,7 +53,7 @@ type EndsWithA = `${string}a`; declare function withinAs(p: StartsWithA & EndsWithA): void; >withinAs : (p: StartsWithA & EndsWithA) => void -> : ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^^^^ ^^^^^ >p : `a${string}` & `${string}a` > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/templateLiteralIntersection4.types b/tests/baselines/reference/templateLiteralIntersection4.types index c2fb74918fbf5..c7147399c939f 100644 --- a/tests/baselines/reference/templateLiteralIntersection4.types +++ b/tests/baselines/reference/templateLiteralIntersection4.types @@ -25,7 +25,7 @@ type StoreUtils = Omit<{ declare function createStore(store: Store): StoreUtils; >createStore : (store: Store) => StoreUtils -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >K : string > : ^^^^^^ >store : Store diff --git a/tests/baselines/reference/templateLiteralTypes1.types b/tests/baselines/reference/templateLiteralTypes1.types index bce75a0cd4c86..b10398a81a873 100644 --- a/tests/baselines/reference/templateLiteralTypes1.types +++ b/tests/baselines/reference/templateLiteralTypes1.types @@ -11,13 +11,13 @@ Symbol count: 27,000 / 27,500 (nearest 500) const createScopedActionType = (scope: S) => (type: T) => `${scope}/${type}` as `${S}/${T}`; >createScopedActionType : (scope: S) => (type: T) => `${S}/${T}` -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >(scope: S) => (type: T) => `${scope}/${type}` as `${S}/${T}` : (scope: S) => (type: T) => `${S}/${T}` -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >scope : S > : ^ >(type: T) => `${scope}/${type}` as `${S}/${T}` : (type: T) => `${S}/${T}` -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >type : T > : ^ >`${scope}/${type}` as `${S}/${T}` : `${S}/${T}` @@ -111,7 +111,7 @@ type TCA2 = Cases<'BAR'>; // 'BAR bar BAR bAR' function test(name: `get${Capitalize}`) { >test : (name: `get${Capitalize}`) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >name : `get${Capitalize}` > : ^^^^^^^^^^^^^^^^^^^^^ @@ -130,7 +130,7 @@ function test(name: `get${Capitalize}`) { function fa1(x: T, y: { [P in keyof T]: T[P] }, z: { [P in keyof T & string as `p_${P}`]: T[P] }) { >fa1 : (x: T, y: { [P in keyof T]: T[P]; }, z: { [P_1 in keyof T & string as `p_${P_1}`]: T[P_1]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : T > : ^ >y : { [P in keyof T]: T[P]; } @@ -157,7 +157,7 @@ function fa1(x: T, y: { [P in keyof T]: T[P] }, z: { [P in keyof T & string a function fa2(x: { [P in B as `p_${P}`]: T }, y: { [Q in A as `p_${Q}`]: U }) { >fa2 : (x: { [P in B as `p_${P}`]: T; }, y: { [Q in A as `p_${Q}`]: U; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : { [P in B as `p_${P}`]: T; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >y : { [Q in A as `p_${Q}`]: U; } @@ -361,7 +361,7 @@ type T43 = Split; // string[] declare function getProp(obj: T, path: `${P0}.${P1}.${P2}`): T[P0][P1][P2]; >getProp : { (obj: T, path: `${P0}.${P1}.${P2}`): T[P0][P1][P2]; (obj: T_1, path: `${P0_1}.${P1_1}`): T_1[P0_1][P1_1]; (obj: T_2, path: P0_2): T_2[P0_2]; (obj: object, path: string): unknown; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >path : `${P0}.${P1}.${P2}` @@ -369,7 +369,7 @@ declare function getProp(obj: T, path: `${P0}.${P1}`): T[P0][P1]; >getProp : { (obj: T_1, path: `${P0_1}.${P1_1}.${P2}`): T_1[P0_1][P1_1][P2]; (obj: T, path: `${P0}.${P1}`): T[P0][P1]; (obj: T_2, path: P0_2): T_2[P0_2]; (obj: object, path: string): unknown; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >path : `${P0}.${P1}` @@ -377,7 +377,7 @@ declare function getProp(obj: T, path: P0): T[P0]; >getProp : { (obj: T_1, path: `${P0_1}.${P1}.${P2}`): T_1[P0_1][P1][P2]; (obj: T_2, path: `${P0_2}.${P1_1}`): T_2[P0_2][P1_1]; (obj: T, path: P0): T[P0]; (obj: object, path: string): unknown; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >obj : T > : ^ >path : P0 @@ -492,7 +492,7 @@ type PropType = declare function getPropValue(obj: T, path: P): PropType; >getPropValue : (obj: T, path: P) => PropType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >obj : T > : ^ >path : P @@ -823,7 +823,7 @@ type SubKeys = K extends keyof T ? `${K}.${PathKeys}` declare function getProp2>(obj: T, path: P): PropType; >getProp2 : >(obj: T, path: P) => PropType -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ >obj : T > : ^ >path : P diff --git a/tests/baselines/reference/templateLiteralTypes2.types b/tests/baselines/reference/templateLiteralTypes2.types index 11e0982a4eb61..6599a6e0cb6a5 100644 --- a/tests/baselines/reference/templateLiteralTypes2.types +++ b/tests/baselines/reference/templateLiteralTypes2.types @@ -3,7 +3,7 @@ === templateLiteralTypes2.ts === function ft1(s: string, n: number, u: 'foo' | 'bar' | 'baz', t: T) { >ft1 : (s: string, n: number, u: 'foo' | 'bar' | 'baz', t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >s : string > : ^^^^^^ >n : number @@ -328,13 +328,13 @@ function ft12(s: string) { declare function widening(x: T): T; >widening : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function nonWidening(x: T): T; >nonWidening : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -452,13 +452,13 @@ function ft14(t: `foo${number}`) { declare function g1(x: T): T; >g1 : (x: T) => T -> : ^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^ >x : T > : ^ declare function g2(x: T): T; >g2 : (x: T) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ >x : T > : ^ @@ -497,7 +497,7 @@ function ft20(s: string) { declare function takesLiteral(literal: T): T extends `foo.bar.${infer R}` ? R : unknown; >takesLiteral : (literal: T) => T extends `foo.bar.${infer R}` ? R : unknown -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >literal : T > : ^ diff --git a/tests/baselines/reference/templateLiteralTypes3.types b/tests/baselines/reference/templateLiteralTypes3.types index ea867e8c207f0..2bf8e3615821c 100644 --- a/tests/baselines/reference/templateLiteralTypes3.types +++ b/tests/baselines/reference/templateLiteralTypes3.types @@ -53,13 +53,13 @@ type T11 = Foo1<`**${boolean}**${boolean}**`>; declare function foo1(arg: `*${V}*`): V; >foo1 : (arg: `*${V}*`) => V -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >arg : `*${V}*` > : ^^^^^^^^ function f1(s: string, n: number, b: boolean, t: T) { >f1 : (s: string, n: number, b: boolean, t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >s : string > : ^^^^^^ >n : number @@ -286,7 +286,7 @@ function f2() { function f3(s: string, n: number, b: boolean, t: T) { >f3 : (s: string, n: number, b: boolean, t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >s : string > : ^^^^^^ >n : number @@ -387,7 +387,7 @@ function f3(s: string, n: number, b: boolean, t: T) { function f4(s: string, n: number, b: boolean, t: T) { >f4 : (s: string, n: number, b: boolean, t: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >s : string > : ^^^^^^ >n : number @@ -598,7 +598,7 @@ type Schema = { a: { b: { c: number } } }; declare function chain(field: F | `${F}.${F}`): void; >chain : (field: F | `${F}.${F}`) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >field : F | `${F}.${F}` > : ^^^^^^^^^^^^^^^ @@ -646,7 +646,7 @@ function ff1(x: `foo-${string}`, y: `${string}-bar`, z: `baz-${string}`) { function ff2(x: `foo-${T}`, y: `${T}-bar`, z: `baz-${T}`) { >ff2 : (x: `foo-${T}`, y: `${T}-bar`, z: `baz-${T}`) => void -> : ^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ >x : `foo-${T}` > : ^^^^^^^^^^ >y : `${T}-bar` @@ -750,7 +750,7 @@ type Action = function reducer(action: Action) { >reducer : (action: Action) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^^^^^^^^^ ^^^^^^^^^ >action : Action > : ^^^^^^ @@ -792,13 +792,13 @@ type DotString = `${string}.${string}.${string}`; declare function noSpread

]: { a: P } }; function f3(obj: Mapped3, key: Uppercase) { >f3 : (obj: Mapped3, key: Uppercase) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Mapped3 > : ^^^^^^^^^^ >key : Uppercase @@ -71,7 +71,7 @@ function f3(obj: Mapped3, key: Uppercase) { const x: { a: K } = obj[key]; // Error >x : { a: K; } -> : ^^^^^^^^^ +> : ^^^^^ ^^^ >a : K > : ^ >obj[key] : Mapped3[Uppercase] @@ -91,7 +91,7 @@ type Mapped4 = { function f4(obj: Mapped4, key: keyof Mapped4) { >f4 : (obj: Mapped4, key: keyof Mapped4) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Mapped4 > : ^^^^^^^^^^ >key : K @@ -117,7 +117,7 @@ type Mapped5 = { function f5(obj: Mapped5, key: keyof Mapped5) { >f5 : (obj: Mapped5, key: keyof Mapped5) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Mapped5 > : ^^^^^^^^^^ >key : K extends `_${string}` ? K : never @@ -145,7 +145,7 @@ type Mapped6 = { function f6(obj: Mapped6, key: keyof Mapped6) { >f6 : (obj: Mapped6, key: keyof Mapped6) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ ^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >obj : Mapped6 > : ^^^^^^^^^^ >key : keyof Mapped6 @@ -173,9 +173,9 @@ type Foo = { const get = (t: T, foo: Foo): T => foo[`get${t}`]; // Type 'Foo[`get${T}`]' is not assignable to type 'T' >get : (t: T, foo: Foo) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >(t: T, foo: Foo): T => foo[`get${t}`] : (t: T, foo: Foo) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ >t : T > : ^ >foo : Foo @@ -210,7 +210,7 @@ type NumericBoundsOf = { function validate(obj: T, bounds: NumericBoundsOf) { >validate : (obj: T, bounds: NumericBoundsOf) => boolean -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ >obj : T > : ^ >bounds : NumericBoundsOf @@ -294,7 +294,7 @@ type ObjectWithUnderscoredKeys = { function genericTest(objectWithUnderscoredKeys: ObjectWithUnderscoredKeys, key: K) { >genericTest : (objectWithUnderscoredKeys: ObjectWithUnderscoredKeys, key: K) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >objectWithUnderscoredKeys : ObjectWithUnderscoredKeys > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : K diff --git a/tests/baselines/reference/mappedTypeContextualTypesApplied.types b/tests/baselines/reference/mappedTypeContextualTypesApplied.types index 76c52ea554a66..0de1221c54f57 100644 --- a/tests/baselines/reference/mappedTypeContextualTypesApplied.types +++ b/tests/baselines/reference/mappedTypeContextualTypesApplied.types @@ -11,55 +11,55 @@ type TakeString = (s: string) => any; // Note these all use mapped types. declare function mapped1(obj: T): void; >mapped1 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : T > : ^ declare function mapped2(obj: T): void; >mapped2 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : T > : ^ declare function mapped3(obj: T): void; >mapped3 : (obj: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : T > : ^ declare function mapped4(obj: T & {[P in keyof T]: TakeString}): void; >mapped4 : (obj: T & { [P in keyof T]: TakeString; }) => void -> : ^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^ ^^^^^ >obj : T & { [P in keyof T]: TakeString; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function mapped5(obj: T & {[P in K]: TakeString}): void; >mapped5 : (obj: T & { [P in K]: TakeString; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : T & { [P in K]: TakeString; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declare function mapped6(obj: {[P in K]: TakeString}): void; >mapped6 : (obj: { [P in K]: TakeString; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : { [P in K]: TakeString; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ declare function mapped7(obj: {[P in K]: TakeString}): void; >mapped7 : (obj: { [P in K]: TakeString; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : { [P in K]: TakeString; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ declare function mapped8(obj: {[P in K]: TakeString}): void; >mapped8 : (obj: { [P in K]: TakeString; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : { [P in K]: TakeString; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ declare function mapped9(obj: {[P in K]: TakeString}): void; >mapped9 : (obj: { [P in K]: TakeString; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^^ ^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >obj : { [P in K]: TakeString; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeErrors.types b/tests/baselines/reference/mappedTypeErrors.types index fb4678e5df00e..948e8e8d0b81c 100644 --- a/tests/baselines/reference/mappedTypeErrors.types +++ b/tests/baselines/reference/mappedTypeErrors.types @@ -83,7 +83,7 @@ type T16 = Pick; // Error function f1(x: T) { >f1 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -94,7 +94,7 @@ function f1(x: T) { function f2(x: T) { >f2 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -105,7 +105,7 @@ function f2(x: T) { function f3(x: T) { >f3 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -116,7 +116,7 @@ function f3(x: T) { function f4(x: T) { >f4 : (x: T) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >x : T > : ^ @@ -186,7 +186,7 @@ function f12() { declare function objAndReadonly(primary: T, secondary: Readonly): T; >objAndReadonly : (primary: T, secondary: Readonly) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >primary : T > : ^ >secondary : Readonly @@ -194,7 +194,7 @@ declare function objAndReadonly(primary: T, secondary: Readonly): T; declare function objAndPartial(primary: T, secondary: Partial): T; >objAndPartial : (primary: T, secondary: Partial) => T -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ >primary : T > : ^ >secondary : Partial @@ -392,7 +392,7 @@ interface Foo { function setState(obj: T, props: Pick) { >setState : (obj: T, props: Pick) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >obj : T > : ^ >props : Pick @@ -540,7 +540,7 @@ class C { setState(props: Pick) { >setState : (props: Pick) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >props : Pick > : ^^^^^^^^^^ @@ -800,7 +800,7 @@ let f: Foo2 = { function test1(obj: Pick) { >test1 : (obj: Pick) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : Pick > : ^^^^^^^^^^ @@ -817,7 +817,7 @@ function test1(obj: Pick) { function test2(obj: Record) { >test2 : (obj: Record) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >obj : Record > : ^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeGenericIndexedAccess.types b/tests/baselines/reference/mappedTypeGenericIndexedAccess.types index efaa4be302357..68837eb00daf6 100644 --- a/tests/baselines/reference/mappedTypeGenericIndexedAccess.types +++ b/tests/baselines/reference/mappedTypeGenericIndexedAccess.types @@ -56,7 +56,7 @@ class Test { addEntry(name: T, entry: Types[T]) { >addEntry : (name: T, entry: Types[T]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ >name : T > : ^ >entry : Types[T] @@ -212,9 +212,9 @@ const typeHandlers: TypeHandlers = { const onSomeEvent = (p: P) => >onSomeEvent : (p: P) => void | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >(p: P) => typeHandlers[p.t]?.(p) : (p: P) => void | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >p : P > : ^^^^ diff --git a/tests/baselines/reference/mappedTypeGenericInstantiationPreservesHomomorphism.types b/tests/baselines/reference/mappedTypeGenericInstantiationPreservesHomomorphism.types index 999f3e3d44dab..fe37b4ce5024e 100644 --- a/tests/baselines/reference/mappedTypeGenericInstantiationPreservesHomomorphism.types +++ b/tests/baselines/reference/mappedTypeGenericInstantiationPreservesHomomorphism.types @@ -3,7 +3,7 @@ === internal.ts === export declare function usePrivateType(...args: T): PrivateMapped; >usePrivateType : (...args: T) => PrivateMapped -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ >args : T > : ^ @@ -18,9 +18,9 @@ import {usePrivateType} from './internal'; export const mappedUnionWithPrivateType = (...args: T) => usePrivateType(...args); >mappedUnionWithPrivateType : (...args: T) => T[any] extends infer T_1 ? { [K in keyof T_1]: T[any][K]; } : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(...args: T) => usePrivateType(...args) : (...args: T) => T[any] extends infer T_1 ? { [K in keyof T_1]: T[any][K]; } : never -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >args : T > : ^ >usePrivateType(...args) : T[any] extends infer T_1 ? { [K in keyof T_1]: T[any][K]; } : never diff --git a/tests/baselines/reference/mappedTypeGenericInstantiationPreservesInlineForm.types b/tests/baselines/reference/mappedTypeGenericInstantiationPreservesInlineForm.types index bff95450d37e5..e6ca80bac6348 100644 --- a/tests/baselines/reference/mappedTypeGenericInstantiationPreservesInlineForm.types +++ b/tests/baselines/reference/mappedTypeGenericInstantiationPreservesInlineForm.types @@ -5,9 +5,9 @@ export const test1 = >(schema: { >test1 : >(schema: { [K in keyof Required]: T[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>(schema: { [K in keyof Required]: T[K];}) => {} : >(schema: { [K in keyof Required]: T[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >schema : { [K in keyof Required]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -16,7 +16,7 @@ export const test1 = >(schema: { export function test2>(schema: { >test2 : >(schema: { [K in keyof Required]: T[K]; }) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >schema : { [K in keyof Required]: T[K]; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeGenericWithKnownKeys.types b/tests/baselines/reference/mappedTypeGenericWithKnownKeys.types index b8e9b91522d85..4972781e79f0c 100644 --- a/tests/baselines/reference/mappedTypeGenericWithKnownKeys.types +++ b/tests/baselines/reference/mappedTypeGenericWithKnownKeys.types @@ -5,7 +5,7 @@ function test>(shape: Shape, key: keyof Shape) { >test : >(shape: Shape, key: keyof Shape) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ >shape : Shape > : ^^^^^ >key : keyof Shape diff --git a/tests/baselines/reference/mappedTypeIndexedAccessConstraint.types b/tests/baselines/reference/mappedTypeIndexedAccessConstraint.types index ca70543d16758..2842c9e1c6fc7 100644 --- a/tests/baselines/reference/mappedTypeIndexedAccessConstraint.types +++ b/tests/baselines/reference/mappedTypeIndexedAccessConstraint.types @@ -27,7 +27,7 @@ type M3 = { [K in keyof Identity>]: M0[K] }; function foo(m1: M1[K], m2: M2[K], m3: M3[K]) { >foo : (m1: M1[K], m2: M2[K], m3: M3[K]) => void -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^ ^ ^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ >m1 : M1[K] > : ^^^^^ >m2 : M2[K] @@ -120,9 +120,9 @@ const mapped: { [K in keyof Partial]: Obj[K] } = {}; const resolveMapped = (key: K) => mapped[key].toString(); // Error >resolveMapped : (key: K) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >(key: K) => mapped[key].toString() : (key: K) => string -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ >mapped : { a?: 1 | undefined; b?: 2 | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >key : K @@ -261,9 +261,9 @@ const mapper: { [K in keyof PartMappings]: (o: MapperArgs) => PartMappings[K] const resolveMapper1 = ( >resolveMapper1 : (key: K, o: MapperArgs) => PartMappings[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ >( key: K, o: MapperArgs) => mapper[key](o) : (key: K, o: MapperArgs) => PartMappings[K] -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ >mapper : { "12": (o: MapperArgs<"12">) => number; 42: (o: MapperArgs<42>) => string; foo?: ((o: MapperArgs<"foo">) => boolean | undefined) | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -285,9 +285,9 @@ const resolveMapper1 = ( const resolveMapper2 = ( >resolveMapper2 : (key: K, o: MapperArgs) => PartMappings[K] | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >( key: K, o: MapperArgs) => mapper[key]?.(o) : (key: K, o: MapperArgs) => PartMappings[K] | undefined -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >mapper : { "12": (o: MapperArgs<"12">) => number; 42: (o: MapperArgs<42>) => string; foo?: ((o: MapperArgs<"foo">) => boolean | undefined) | undefined; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeInferenceAliasSubstitution.types b/tests/baselines/reference/mappedTypeInferenceAliasSubstitution.types index 3b411d49e591e..c6f711a44c8db 100644 --- a/tests/baselines/reference/mappedTypeInferenceAliasSubstitution.types +++ b/tests/baselines/reference/mappedTypeInferenceAliasSubstitution.types @@ -23,9 +23,9 @@ type Field = { [K in A]: R } const f = (x: { [K in A]: Field }): R => ({} as any); >f : (x: { [K in A]: Field; }) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(x: { [K in A]: Field }): R => ({} as any) : (x: { [K in A]: Field; }) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^ ^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : { [K in A]: Field; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >({} as any) : any @@ -45,9 +45,9 @@ const r1 = f(v); const g = (x: Field>): R => ({} as any); >g : (x: Field>) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >(x: Field>): R => ({} as any) : (x: Field>) => R -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^ ^ ^ ^^^^^^ +> : ^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ >x : Field> > : ^^^^^^^^^^^^^^^^^^^^^ >({} as any) : any diff --git a/tests/baselines/reference/mappedTypeInferenceErrors.types b/tests/baselines/reference/mappedTypeInferenceErrors.types index 5555dcae57f31..d634395c148a4 100644 --- a/tests/baselines/reference/mappedTypeInferenceErrors.types +++ b/tests/baselines/reference/mappedTypeInferenceErrors.types @@ -12,9 +12,9 @@ type ComputedOf = { declare function foo(options: { props: P, computed: ComputedOf } & ThisType