We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
TypeScript Version: 3.8.0-dev.20200124
Search Terms:
Code For the TS:
import type * as iface from './iface'; class Foo implements iface.IFace { foo(): void { throw new Error('Method not implemented.'); } }
Expected behavior: No errors. iface is only being used as a type, not a value
iface
Actual behavior: Error:
'iface' cannot be used as a value because it was imported using 'import type'
This code previously did not produce errors in TS 3.8-beta
The text was updated successfully, but these errors were encountered:
@import * as namespace
@implements
andrewbranch
Successfully merging a pull request may close this issue.
TypeScript Version: 3.8.0-dev.20200124
Search Terms:
Code
For the TS:
Expected behavior:
No errors.
iface
is only being used as a type, not a valueActual behavior:
Error:
This code previously did not produce errors in TS 3.8-beta
The text was updated successfully, but these errors were encountered: