@esportsplus/reactivity 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -158,11 +158,11 @@ declare const _default: <T>(input: T[], options?: Options) => {
|
|
|
158
158
|
splice: (start: number, deleteCount?: number, ...input: T[]) => Item<T>[];
|
|
159
159
|
unshift: (...input: T[]) => number;
|
|
160
160
|
};
|
|
161
|
-
entries: () =>
|
|
162
|
-
keys: () =>
|
|
163
|
-
values: () =>
|
|
161
|
+
entries: () => ArrayIterator<[number, Infer<T>]>;
|
|
162
|
+
keys: () => ArrayIterator<number>;
|
|
163
|
+
values: () => ArrayIterator<Infer<T>>;
|
|
164
164
|
includes: (searchElement: Infer<T>, fromIndex?: number) => boolean;
|
|
165
|
-
flatMap: <U, This = undefined>(callback: (this: This, value: Infer<T>, index: number, array: Infer<T>[]) => U |
|
|
165
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: Infer<T>, index: number, array: Infer<T>[]) => U | readonly U[], thisArg?: This | undefined) => U[];
|
|
166
166
|
flat: <A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[];
|
|
167
167
|
at: ((index: number) => Infer<T> | undefined) & ((i: number) => any);
|
|
168
168
|
findLast: {
|
|
@@ -177,7 +177,7 @@ declare const _default: <T>(input: T[], options?: Options) => {
|
|
|
177
177
|
(start: number, deleteCount?: number): Infer<T>[];
|
|
178
178
|
};
|
|
179
179
|
with: (index: number, value: Infer<T>) => Infer<T>[];
|
|
180
|
-
[Symbol.iterator]: () =>
|
|
180
|
+
[Symbol.iterator]: () => ArrayIterator<Infer<T>>;
|
|
181
181
|
readonly [Symbol.unscopables]: {
|
|
182
182
|
[x: number]: boolean | undefined;
|
|
183
183
|
length?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"@esportsplus/utilities": "^0.0.8"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@esportsplus/typescript": "^0.4.
|
|
8
|
+
"@esportsplus/typescript": "^0.4.13"
|
|
9
9
|
},
|
|
10
10
|
"main": "build/index.js",
|
|
11
11
|
"name": "@esportsplus/reactivity",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"prepublishOnly": "npm run build"
|
|
18
18
|
},
|
|
19
19
|
"types": "build/index.d.ts",
|
|
20
|
-
"version": "0.3.
|
|
20
|
+
"version": "0.3.2"
|
|
21
21
|
}
|