We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React.Component
React.ReactNode
Currently the code just stringifies types and compares them against constant strings. This doesn't work if the import isn't named React.
React
Investigation needed: can we do reliable symbol comparisons with ts.Symbol.equals?
ts.Symbol.equals
Tests should cover:
import {Component, ReactNode} from 'react'
class Foo extends Component<{n: ReactNode}> {}
import * as R from 'react'
class Foo extends R.Component<{n: R.ReactNode}>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently the code just stringifies types and compares them against constant strings. This doesn't work if the import isn't named
React
.Investigation needed: can we do reliable symbol comparisons with
ts.Symbol.equals
?Tests should cover:
import {Component, ReactNode} from 'react'
&&class Foo extends Component<{n: ReactNode}> {}
import * as R from 'react'
:class Foo extends R.Component<{n: R.ReactNode}>
The text was updated successfully, but these errors were encountered: