[@types/react] - Compile errors on TypeScript 3.8.x #69207
-
More of an FYI, feel free to close immediately. Mostly here for others who may have the same issue - I have a repo w/ some technical debt that still uses typescript ../../../node_modules/@types/react/ts5.0/index.d.ts(3229,50): error TS1110: Type expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3230,51): error TS1110: Type expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3231,48): error TS1110: Type expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3231,91): error TS1005: '(' expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3232,28): error TS1110: Type expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3235,11): error TS1110: Type expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3235,50): error TS1005: '(' expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3237,10): error TS1005: '(' expected.
../../../node_modules/@types/react/ts5.0/index.d.ts(3237,74): error TS1005: '(' expected. Remedial action // package.json
{
"devDependencies": {
"@types/react": "^18.0.0 <=18.2.56",
"@types/scheduler": "^0.16.8",
}
} Note that Edit On my particular repo (the one w/ the tech debt I mentioned) - I determined (based on its dependents) - that I could upgrade to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks for the discussion about "react", some useful links for everyone: Pinging the DT module owners: @johnnyreilly, @bbenezech, @pzavolinsky, @ericanderson, @DovydasNavickas, @theruther4d, @guilhermehubner, @ferdaber, @jrakotoharisoa, @pascaloliv, @Hotell, @franklixuefei, @Jessidhia, @saranshkataria, @lukyth, @eps1lon, @zieka, @dancerphil, @dimitropoulos, @disjukr, @vhfmag, @hellatan, @priyanshurav, @Semigradsky, @mattpocock. |
Beta Was this translation helpful? Give feedback.
-
TypeScript 3.8 is not supported by any |
Beta Was this translation helpful? Give feedback.
TypeScript 3.8 is not supported by any
@types/*
package. The lowest, currently supported TypeScript version is 4.7. See https://github.com/definitelyTyped/DefinitelyTyped/#support-window for more information.