You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declarefunctionloadBlob(): Promise<Blob>;declarefunctionreadBlobAsJson(blob: Blob): Promise<any>;loadBlob().then(readBlobAsJson).then(d=>{d.x// d is Type Blob here});
Expected behavior:
Compiles without error
Actual behavior:
Property 'x' does not exist on type 'Blob'.
This works without error if an explicit type is set on readBlobAsJson instead of any. Compiled without error in 2.0.6
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.1.4
Code
Expected behavior:
Compiles without error
Actual behavior:
Property 'x' does not exist on type 'Blob'.
This works without error if an explicit type is set on readBlobAsJson instead of any. Compiled without error in 2.0.6
The text was updated successfully, but these errors were encountered: