Skip to content
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

Build Error : Type Not assignable #93

Closed
paulpatarinski opened this issue Apr 6, 2016 · 2 comments
Closed

Build Error : Type Not assignable #93

paulpatarinski opened this issue Apr 6, 2016 · 2 comments

Comments

@paulpatarinski
Copy link

Building the extension results in the following error :

debugger\webkit\webKitDebugAdapter.ts(348,16): error TS2322: Type 'Promise<Promise[]>' is not assignable to type 'Promise<SetBreakpointByUrlResponse[]>'.

Stack Trace :

[08:16:10] Starting 'build'...
debugger\webkit\webKitDebugAdapter.ts(348,16): error TS2322: Type 'Promise<Promise[]>' is not assignable to type 'Promise<SetBreakpointByUrlResponse[]>'.
Type 'Promise[]' is not assignable to type 'SetBreakpointByUrlResponse[]'.
Type 'Promise' is not assignable to type 'SetBreakpointByUrlResponse'.
Property 'result' is missing in type 'Promise'.
debugger\webkit\webKitDebugAdapter.ts(512,35): error TS2339: Property 'error' does not exist on type 'Promise'.
debugger\webkit\webKitDebugAdapter.ts(513,34): error TS2339: Property 'result' does not exist on type 'Promise'.
src\utils\telemetryHelper.ts(86,13): error TS7027: Unreachable code detected.
[08:16:16] TypeScript: 4 semantic errors
[08:16:16] TypeScript: emit succeeded (with errors)
[08:16:17] Finished 'build' after 6.93 s

@guillaumejenkins
Copy link
Contributor

Hi @paulpatarinski, thanks a lot for reporting these errors. Could you let us know what version of TypeScript you are using to compile the extension sources?

@dlebu dlebu mentioned this issue Apr 7, 2016
@dlebu
Copy link
Contributor

dlebu commented Apr 8, 2016

Fixed by #96. Thanks for trying our extension and please keep the feedback coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants