loopbackio / loopbackio/loopback-next
Issue on your example example app, todo-list vs your latest release.
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 5.1k
- Fork
- 1.1k
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 27
Mô tả
### 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi với npm run build trong ví dụ todolist-loopback4 được liên kết. Kiểm tra node_modules/@types/sinon/index.d.ts và khai báo @sinonjs/fake-timers được các lỗi tham chiếu đến; hoàn tất khi ví dụ build được mà không có các lỗi FakeTimerInstallOpts bị thiếu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- node.js, typescript
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100