Skip to content

Commit

Permalink
chore: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 23, 2024
1 parent 1f90519 commit d7a258a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,22 @@ export interface AbstractList<List> {
* @returns List
*/
getElement: () => List;

/**
* Inserting an Element into a List
*
*
* @public
* @param {(List extends any ? List : never)} element The element being inserted.
* @param {(List extends any ? List : never)?} after The element that will be using to reference position to inserting a new element (optional).
* @returns List | boolean | undefined
*
* @example
*
* @example
* ```
* interface Person {
* name: string,
* name: string,
* age: number
* }
*
*
* const personLists = new List<Partial<Person>>();
* personLists.appends([
* {
Expand All @@ -84,7 +84,7 @@ export interface AbstractList<List> {
* name: "hanan",
* age: 10,
* },
* ]);
* ]);
* personLists.insert({
* name: "insert",
* age: 20,
Expand Down

0 comments on commit d7a258a

Please sign in to comment.