facebookarchive/prepack

Output typed code.

Open

#1.085 geöffnet am 13. Okt. 2017

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (520 Forks)batch import
design neededenhancementhelp wantedlevel 4 (hard)

Repository-Metriken

Stars
 (14.268 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide