I encountered an issue while attempting to execute a spec.ts file in the Jasmine Framework. After installing @types/core-js version 0.9.46 using the command npm i @types/core-js
, I started receiving the following error messages:
>
../../node_modules/@types/core-js/index.d.ts(358,34): error TS2304:
> Cannot find name 'PropertyKey'.
> ../../node_modules/@types/core-js/index.d.ts(359,34): error TS2304:
> Cannot find name 'PropertyKey'.
... (repeats multiple times) ...