Closed patlux closed 1 year ago
Ah sorry, I just realised this comes from the tsconfig.json:
{
"compilerOptions": {
"noPropertyAccessFromIndexSignature": true,
}
}
But I'm not sure, why this doesn't occurred previosly...
You can add "skipLibCheck": true
Is it already.
This is the full tsconfig:
{
"compilerOptions": {
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"checkJs": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"extends": "expo/tsconfig.base",
"exclude": ["dist", "*.app/", "*.js"]
}
Weird. I don’t get it for myself - however if you want to submit a PR I don’t see any harm merging it
You need to "exclude": ["node_modules"]
You need to
"exclude": ["node_modules"]
I've tried this but unfortunately it doesn't work. I've worked around it by adding this to *.d.ts
file.
declare namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: string
}
}