facebookarchive/prepack

Output typed code.

Open

#1 085 ouverte le 13 oct. 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (520 forks)batch import
design neededenhancementhelp wantedlevel 4 (hard)

Métriques du dépôt

Stars
 (14 268 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Feature suggestion

Allow outputting code that has at least all of the type information that prepack understands. Currently, types are assumed and come in from model declarations, including automatically with babel-plugin-flow-prepack, but the output code is completely untyped. Printing the types would be good for debugging, but most importantly it allows further tools to benefit from the type information, for example - closure compiler.

Guide contributeur