e22m4u 2 лет назад
Родитель
Сommit
bc78c710fb
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/repository/repository.d.ts

+ 2 - 2
src/repository/repository.d.ts

@@ -142,7 +142,7 @@ export declare class Repository<
 }
 
 /**
- * Remove id field.
+ * Removes id field.
  */
 type WithoutId<IdName extends string, Data extends ModelData> = Flatten<
   Omit<Data, IdName>
@@ -156,7 +156,7 @@ type PartialWithoutId<IdName extends string, Data extends ModelData> = Flatten<
 >;
 
 /**
- * Makes the given id field as optional.
+ * Makes the required id field as optional.
  */
 type OptionalUnlessRequiredId<
   IdName extends string,