agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions
New rule: prevent unsafe assignment of fp-ts types
Đang mở
fp-ts
- Ngôn ngữ chính
- TypeScript
- Star
- 92
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```ts
export const foo: IO = () => "hello";
// These assignments compile because the types are compatible, but the semantics are such that doing so is almost certainly an error.
export const bar: Lazy = foo;
export const baz: () => string = foo;
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.