facebookarchive/prepack

Output typed code.

Open

#1,085 建立於 2017年10月13日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (520 fork)batch import
design neededenhancementhelp wantedlevel 4 (hard)

倉庫指標

Star
 (14,268 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南