Skip to content

Support higher order inferences for constructor functions #31116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 30, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Accept new baselines
  • Loading branch information
ahejlsberg committed Apr 25, 2019
commit 50f5e160aa3b52881eeb481a6601dc9c266bb50d
12 changes: 6 additions & 6 deletions tests/baselines/reference/bluebirdStaticThis.types
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,9 @@ var fooProm: Promise<Foo>;
>fooProm : Promise<Foo>

fooProm = Promise.try(Promise, () => {
>fooProm = Promise.try(Promise, () => { return foo;}) : any
>fooProm = Promise.try(Promise, () => { return foo;}) : Promise<Foo>
>fooProm : Promise<Foo>
>Promise.try(Promise, () => { return foo;}) : any
>Promise.try(Promise, () => { return foo;}) : Promise<Foo>
>Promise.try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
>Promise : typeof Promise
>try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
Expand All @@ -713,9 +713,9 @@ fooProm = Promise.try(Promise, () => {

});
fooProm = Promise.try(Promise, () => {
>fooProm = Promise.try(Promise, () => { return foo;}, arr) : any
>fooProm = Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
>fooProm : Promise<Foo>
>Promise.try(Promise, () => { return foo;}, arr) : any
>Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
>Promise.try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
>Promise : typeof Promise
>try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
Expand All @@ -729,9 +729,9 @@ fooProm = Promise.try(Promise, () => {
>arr : any[]

fooProm = Promise.try(Promise, () => {
>fooProm = Promise.try(Promise, () => { return foo;}, arr, x) : any
>fooProm = Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
>fooProm : Promise<Foo>
>Promise.try(Promise, () => { return foo;}, arr, x) : any
>Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
>Promise.try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
>Promise : typeof Promise
>try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy