Skip to content

Commit 237bffc

Browse files
committed
use unknown instead of any accordingly to Aaron
1 parent 73236ad commit 237bffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base64.d.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ declare const decode: (src: string) => string;
7777
* check if a value is a valid Base64 string
7878
* @param {String} src a value to check
7979
*/
80-
declare const isValid: (src: any) => boolean;
80+
declare const isValid: (src: unknown) => boolean;
8181
/**
8282
* extend String.prototype with relevant methods
8383
*/
@@ -105,7 +105,7 @@ declare const gBase64: {
105105
utob: (u: string) => string;
106106
btou: (b: string) => string;
107107
decode: (src: string) => string;
108-
isValid: (src: any) => boolean;
108+
isValid: (src: unknown) => boolean;
109109
fromUint8Array: (u8a: Uint8Array, urlsafe?: boolean) => string;
110110
toUint8Array: (a: string) => Uint8Array;
111111
extendString: () => void;

0 commit comments

Comments
 (0)