Definitions of identifiers conflict with those in another file
问题 I'm updating an old component from Typescript 6 to 8. I've updated the Jasmine dependencies in the package.json , but now I'm getting an error: "Definitions of the following identifiers conflict with those in another file: ImplementationCallback, ExpectedRecursive, Expected, SpyObjMethodNames, CustomEqualityTester, CustomMatcherFactory, ExpectationFailed, SpecFunction, SpyObj, jasmine". The two conflicting files are the following: @types/jasmine/index.d.ts @types/jasmine/ts3.1/index.d.ts I've