facebookarchive/prepack

Output typed code.

Open

#1.085 aberto em 13 de out. de 2017

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (520 forks)batch import
design neededenhancementhelp wantedlevel 4 (hard)

Métricas do repositório

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

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.

Guia do colaborador