Преглед изворни кода

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', // 专业版
 }
 
-export interface IComplication {
+export interface ICompilation {
   ID: string;
   name: 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> {
   update?: IUpdate<T>[];
   create?: ICreate<T>[];
-  delete?: IDelete<T>[];
+  remove?: IDelete<T>[];
 }