cgdddd
V2EX  ›  问与答

在 vscode 中有没有插件能实现 Typescript 给字段定义接口后自动生成接口中的属性?

  •  
  •   cgdddd · Mar 24, 2022 · 1469 views
    This topic created in 1582 days ago, the information mentioned may be changed or developed.

    在 vscode 中有没有插件能实现 Typescript 给字段定义接口后自动生成接口中的属性?

    const data = reactive<IDbTableState>({
    // 使用插件将 IDbTableState 接口中的属性自动生成
    })
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3131 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 13:54 · PVG 21:54 · LAX 06:54 · JFK 09:54
    ♥ Do have faith in what you're doing.