ソースを参照

style(types): 拼写错误

vian 5 年 前
コミット
d7d43e55da
2 ファイル変更2 行追加2 行削除
  1. 1 1
      types/src/interface/Compliation.ts
  2. 1 1
      types/src/interface/base.ts

+ 1 - 1
types/src/interface/Compliation.ts

@@ -19,7 +19,7 @@ export enum versionType {
   PRO = 'pro', // 专业版
   PRO = 'pro', // 专业版
 }
 }
 
 
-export interface IComplication {
+export interface ICompilation {
   ID: string;
   ID: string;
   name: string;
   name: string;
   description: string;
   description: string;

+ 1 - 1
types/src/interface/base.ts

@@ -35,5 +35,5 @@ export interface IDelete<T extends IAny> {
 export interface IBulkWrite<T extends IAny> {
 export interface IBulkWrite<T extends IAny> {
   update?: IUpdate<T>[];
   update?: IUpdate<T>[];
   create?: ICreate<T>[];
   create?: ICreate<T>[];
-  delete?: IDelete<T>[];
+  remove?: IDelete<T>[];
 }
 }