V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
SystemLight

typescript 如何只编译,不做类型检查?

  •  
  •   SystemLight ·
    SystemLight · 2021 年 9 月 1 日 · 2094 次点击
    这是一个创建于 1688 天前的主题,其中的信息可能已经有所发展或是发生改变。
    1 条回复    2021-09-01 13:25:39 +08:00
    Twinkle
        1
    Twinkle  
       2021 年 9 月 1 日
    Vite 用的 esbuild,就是不做类型检查的。

    ref https://esbuild.github.io/content-types/#typescript
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4452 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:09 · PVG 18:09 · LAX 03:09 · JFK 06:09
    ♥ Do have faith in what you're doing.