Open dnyaneshwar871992 opened 9 months ago
Hi @dnyaneshwar871992!
The problem is probably that you are using TypeScript 4.0 - that's an extremely outdated version of TypeScript, and TypeScript has since introduced a lot of new syntax that cannot be parsed by that old version.
I'm getting below error while building the application with angular SSR,
Angular 10 Typescript - 4.0.2
Error stack is,
ERROR in node_modules/@apollo/client/utilities/types/OnlyRequiredProperties.d.ts:5:19 - error TS1005: ']' expected. 5 [K in keyof T as {} extends Pick<T, K> ? never : K]: T[K]; ~~ node_modules/@apollo/client/utilities/types/OnlyRequiredProperties.d.ts:5:22 - error TS1005: ';' expected. 5 [K in keyof T as {} extends Pick<T, K> ? never : K]: T[K]; ~ node_modules/@apollo/client/utilities/types/OnlyRequiredProperties.d.ts:5:25 - error TS1128: Declaration or statement expected. 5 [K in keyof T as {} extends Pick<T, K> ? never : K]: T[K];