loopbackio / loopbackio/loopback-next
Issue on your example example app, todo-list vs your latest release.
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1.1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 27
Description
### Describe the bug
Has no exported member 'FakeTimerInstallOpts' when 'npm run build'.
### Logs
```shell
node_modules/@types/sinon/index.d.ts:1447:53 - error TS2694: Namespace '"/home/lemz/Projects/Loopback/todo-
list/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.
1447 useFakeTimers: boolean | Partial;
~~~~~~~~~~~~~~~~~~~~
node_modules/@types/sinon/index.d.ts:1569:67 - error TS2694: Namespace '"/home/lemz/Projects/Loopback/todo-
list/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.
1569 useFakeTimers(config?: number | Date | Partial): SinonFakeTimers;
~~~~~~~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: node_modules/@types/sinon/index.d.ts:1447
```
### Additional information
_No response_
### Reproduction
https://github.com/lemadane/todolist-loopback4
Contributor guide
Research direction
Start by reproducing the failure with npm run build in the linked todolist-loopback4 example. Inspect node_modules/@types/sinon/index.d.ts and the @sinonjs/fake-timers declaration referenced by the errors; done means the example builds without the missing FakeTimerInstallOpts errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100