chenhui7373
V2EX  ›  Node.js

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

  •  
  •   chenhui7373 · May 2, 2020 · 6392 views
    This topic created in 2228 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   ·   5513 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:56 · PVG 15:56 · LAX 00:56 · JFK 03:56
    ♥ Do have faith in what you're doing.