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

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

  •  
  •   SystemLight ·
    SystemLight · 2021 年 9 月 1 日 · 1986 次点击
    这是一个创建于 1607 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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   ·   835 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 22:30 · PVG 06:30 · LAX 14:30 · JFK 17:30
    ♥ Do have faith in what you're doing.