agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions
New rule: prevent unsafe assignment of fp-ts types
Ouverte
fp-ts
- Langage dominant
- TypeScript
- Étoiles
- 92
- Forks
- 5
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```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;
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.