Open danielpeintner opened 2 years ago
node_modules/@types/sinon/index.d.ts:1447:53 - error TS2694: Namespace '"C:/Projects/WoT/thingweb/thingweb.node-wot-danielpeintner/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'. 1447 useFakeTimers: boolean | Partial<FakeTimers.FakeTimerInstallOpts>;
To reproduce:
npm install
npm run build
I set the version to a fixed version, see https://github.com/eclipse/thingweb.node-wot/pull/822/commits/ccd01258ae1fe69e58706bb480453fab9ce742b0
npm dedupe (see https://github.com/eclipse/thingweb.node-wot/pull/765#issuecomment-1133772886) solves the issue...
npm dedupe
Not entirely true... the issue persists if the root sinon uses ^ for the version..
^
To reproduce:
npm install
npm run build
I set the version to a fixed version, see https://github.com/eclipse/thingweb.node-wot/pull/822/commits/ccd01258ae1fe69e58706bb480453fab9ce742b0