|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | declare function forEach<O extends readonly unknown[], This = undefined>(
|
|---|
| 2 | arr: O,
|
|---|
| 3 | callback: (this: This | void, value: O[number], index: number, array: O) => void,
|
|---|
| 4 | thisArg?: This,
|
|---|
| 5 | ): void;
|
|---|
| 6 |
|
|---|
| 7 | declare function forEach<O extends ArrayLike<unknown>, This = undefined>(
|
|---|
| 8 | arr: O,
|
|---|
| 9 | callback: (this: This | void, value: O[number], index: number, array: O) => void,
|
|---|
| 10 | thisArg?: This,
|
|---|
| 11 | ): void;
|
|---|
| 12 |
|
|---|
| 13 | declare function forEach<O extends object, This = undefined>(
|
|---|
| 14 | obj: O,
|
|---|
| 15 | callback: (this: This | void, value: O[keyof O], key: keyof O, obj: O) => void,
|
|---|
| 16 | thisArg?: This,
|
|---|
| 17 | ): void;
|
|---|
| 18 |
|
|---|
| 19 | declare function forEach<O extends string, This = undefined>(
|
|---|
| 20 | str: O,
|
|---|
| 21 | callback: (this: This | void, value: O[number], index: number, str: O) => void,
|
|---|
| 22 | thisArg: This,
|
|---|
| 23 | ): void;
|
|---|
| 24 |
|
|---|
| 25 | export = forEach;
|
|---|
| 26 |
|
|---|
| 27 | declare function forEachInternal<O, C extends (this: This | void, value: unknown, index: PropertyKey, obj: O) => void, This = undefined>(
|
|---|
| 28 | value: O,
|
|---|
| 29 | callback: C,
|
|---|
| 30 | thisArg?: This,
|
|---|
| 31 | ): void;
|
|---|
| 32 |
|
|---|
| 33 | declare namespace forEach {
|
|---|
| 34 | export type _internal = typeof forEachInternal;
|
|---|
| 35 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.