lanjianrong пре 4 година
родитељ
комит
9a45103a9e
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      src/services/typding.d.ts

+ 8 - 0
src/services/typding.d.ts

@@ -19,4 +19,12 @@ declare namespace API {
     list: T[]
     total: number
   }
+
+  /** @description 通讯录 */
+  type ContractItem = {
+    id: string
+  }
+  type ContractList = ContractItem[]
+  type ContractUpdateParmas = ContractItem
+  type ContractAddParams = Omit<ContractItem, 'id'>
 }