alibaba/pipcook

core: remove type assertion as possible

Open

#143 opened on Apr 27, 2020

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

Repository metrics

Stars
 (2,591 stars)
PR merge metrics
 (PR metrics pending)

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:

Contributor guide