-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Disable strictFunctionTypes in typescript #48959
Comments
Please check that the typescript file is part of the expected |
I tried all options:
"typescript.tsdk": "./node_modules/typescript/lib"
{
but still getting the same error, No issues compiling code via command line tsc --p ./tsconfig.json |
Does |
Sorry, I have two tsconfig.json files. When I opened "workspace settings" (Ctrl+Shift+P) (link bellow) I have to use command line: Now I added "strictFunctionTypes": false under "compilerOptions" what is fixed that issue. Thanks for your help. |
I have one more question. Do you know if I can ignore warning line (underline green) in my settings.json when I added a new variable. For example I made changes settings.json { and using this variable in launch.json
But I am getting "Problems (1)": "Unknown configuration setting" Maybe I need to declare under some parent? what can I use? |
Glad to hear the issue was resolved. Unsure about the config problem. The settings file is generally intended for vscode and extension settings, not general config options. I recommend putting port in the |
Hi I need to disable strict function parameter in Visual Studio by using "strictFunctionTypes" argument.
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html
microsoft/TypeScript#18654
I tried adding "strictFunctionTypes": false into tsconfig.json and setting.json but VScode ignore reading those settings.
The text was updated successfully, but these errors were encountered: