agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions

New rule: prevent unsafe assignment of fp-ts types

Đang mở
#728 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.