cgdddd
V2EX  ›  问与答

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

  •  
  •   cgdddd · Mar 24, 2022 · 1407 views
    This topic created in 1545 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   ·   3380 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 11:03 · PVG 19:03 · LAX 04:03 · JFK 07:03
    ♥ Do have faith in what you're doing.