alibaba/pipcook

core: remove type assertion as possible

Open

#143 aberto em 27 de abr. de 2020

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (212 forks)github user discovery
coregood first issue

Métricas do repositório

Stars
 (2.591 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Type assertion allows us to override TypeSciprt's inference, and we should avoid using them to solve type conflicts manually, which means we should be careful with the use of assertions

Refer to:

Guia do colaborador