-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Can't call 'super' when extending from 'any' #17032
Comments
How to solve |
As a workaround, you could use |
Use wrapper for win-credstore-parser,because Transform isn't injectable. In previous implementation each entity was separated on lines but currently we get chunks with all lines for each entity. I have to extends Transform this way because of: microsoft/TypeScript#17032
In previous implementation each entity was separated on lines but currently we get chunks with all lines for each entity. I have to extends Transform this way because of: microsoft/TypeScript#17032
In previous implementation each entity was separated on lines but currently we get chunks with all lines for each entity. I have to extends Transform this way because of: microsoft/TypeScript#17032 Use _final instead of _flush to avoid an error: stream.push() after EOF
In previous implementation each entity was separated on lines but currently we get chunks with all lines for each entity. I have to extends Transform this way because of: microsoft/TypeScript#17032 Use _final instead of _flush to avoid an error: stream.push() after EOF Add dependency injection for osx parse.
This form: |
@sevenryze |
@andy-ms yeh, I knew that way, that's works well. |
@sevenryze Actually, with import * as React from "react";
class A extends (React.Component as { new(): any; }) {} This is because without |
@andy-ms I try that again and confirm that what you told is works well. I think there maybe some config errors in my project and it's my mistake to not make sure of this problems. |
TypeScript Version: nightly (2.5.0-dev.20170707)
Code
Expected behavior:
No error.
Actual behavior:
src/a.ts(4,3): error TS2346: Call target does not contain any signatures.
Ref: #14935, #14301
The text was updated successfully, but these errors were encountered: