Skip to content

Commit f90d178

Browse files
committed
generate types
1 parent e90a829 commit f90d178

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

@types/copyWithin.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* @param {number} target
3-
* @param {number} start
4-
* @param {number | undefined } end
2+
* @param {number} target // is where it will be trade by copied value
3+
* @param {number} start // position that will start to copy items
4+
* @param {number | undefined } end // position that will end to copy items
55
*/
6-
export function copyWithin(target: number, start: number, end: number | undefined): void;
6+
export function copyWithin(target: number, start?: number, end?: number | undefined): any;

@types/filter.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @param {Function} callback
3+
* @param {any | undefined} thisArg
4+
*/
5+
export function filter(callback: Function, thisArg?: any | undefined): any[];

@types/find.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @param {Function} callback
3+
* @param {any | undefined} thisArg
4+
*/
5+
export function find(callback: Function, thisArg?: any | undefined): any;

@types/some.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @param {Function} callback
3+
* @param {any | undefined} thisArg
4+
*/
5+
export function some(callback: Function, thisArg?: any | undefined): boolean;

0 commit comments

Comments
 (0)