Browse Source

chore: updates comments

e22m4u 2 years ago
parent
commit
bc78c710fb
1 changed files with 2 additions and 2 deletions
  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<
 type WithoutId<IdName extends string, Data extends ModelData> = Flatten<
   Omit<Data, IdName>
   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<
 type OptionalUnlessRequiredId<
   IdName extends string,
   IdName extends string,