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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument of type 'null' is not assignable to parameter of type 'MappingContextValue' #299

Open
simonsheng opened this issue Jun 27, 2020 · 0 comments

Comments

@simonsheng
Copy link

馃挰 Question

I am new to typescript and trying to lear our code step by step. I use react-native init to create a project and type 'them.service.ts'. But my vscode always complain 'Argument of type "null" is not assignable to parameter of type "MappingContextValue'.

I googled and people mentioned: 'restrict null check'. but how can I disable the check. I tried to configure tslint.json etc.

npx react-native --version : 4.10.1

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

No branches or pull requests

1 participant