V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
chenhui7373
V2EX  ›  Node.js

Deno.ts 有解决.d.ts 的问题吗?

  •  
  •   chenhui7373 · May 2, 2020 · 6324 views
    This topic created in 2199 days ago, the information mentioned may be changed or developed.
    还是说 deno.land 本质是一个 把所有 @types 集中存起来的仓库 ?
    Supplement 1  ·  May 10, 2020
    人生苦短 py2 go py3 deno
    Supplement 2  ·  May 17, 2020
    // @deno-types="./foo.d.ts"
    import * as foo from "./foo.js";
    3 replies    2020-05-02 16:04:35 +08:00
    hantsy
        1
    hantsy  
       May 2, 2020   ❤️ 1
    现在大部分开源项目都是自带了 Types 了。
    VtoExtension
        2
    VtoExtension  
       May 2, 2020   ❤️ 2
    我记得.d.ts 只是为 JS 提供声明。纯 TS 库不用.d.ts 吧
    okampfer
        3
    okampfer  
       May 2, 2020   ❤️ 1
    2L 正解
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3798 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 71ms · UTC 00:07 · PVG 08:07 · LAX 17:07 · JFK 20:07
    ♥ Do have faith in what you're doing.