Skip to content

Commit f02d3f9

Browse files
committed
Remove any typings
1 parent 6816be1 commit f02d3f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/typings/JSONValue.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export type JSONValue = null | boolean | number | string | object | any[];
1+
export type JSONValue = null | boolean | number | string | object | JSONValue[];

src/util/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @param value The value to test if it's a plain object or not.
44
* @returns `true` if `value` is a plain object, `false` if not.
55
*/
6-
export function isPlainObj(value: any): boolean {
6+
export function isPlainObj(value: unknown): boolean {
77
return !!value && Object.getPrototypeOf(value) === Object.prototype;
88
}
99

0 commit comments

Comments
 (0)