cgdddd
V2EX  ›  问与答

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

  •  
  •   cgdddd · Mar 24, 2022 · 1475 views
    This topic created in 1584 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   ·   909 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:34 · PVG 04:34 · LAX 13:34 · JFK 16:34
    ♥ Do have faith in what you're doing.