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
The snippet below is the code of the AssetsScreen.tsx file.
AssetsScreen.tsx
import { Text, View } from 'react-native'; import React, { Component } from 'react'; export default class AssetsScreen extends Component { render() { return ( <View> <Text>AssetsScreen</Text> </View> ); } }
Expecting typescript does not display the error message "Operator '<' cannot be applied to the types 'View' and 'RegExp'".
But it's strange that some other components don't have the same problem.
npx react-native init rn_wallet --template react-native-template-typescript.
yarn start
yarn android
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected results
The snippet below is the code of the
AssetsScreen.tsx
file.Expecting typescript does not display the error message "Operator '<' cannot be applied to the types 'View' and 'RegExp'".
But it's strange that some other components don't have the same problem.
Observed results
Steps to reproduce
npx react-native init rn_wallet --template react-native-template-typescript.
yarn start
yarn android
Environment
The text was updated successfully, but these errors were encountered: