We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unknown
any
1 parent 237bffc commit f2587ccCopy full SHA for f2587cc
base64.d.ts
@@ -77,7 +77,7 @@ declare const decode: (src: string) => string;
77
* check if a value is a valid Base64 string
78
* @param {String} src a value to check
79
*/
80
-declare const isValid: (src: any) => boolean;
+declare const isValid: (src: unknown) => boolean;
81
/**
82
* extend String.prototype with relevant methods
83
@@ -105,7 +105,7 @@ declare const gBase64: {
105
utob: (u: string) => string;
106
btou: (b: string) => string;
107
decode: (src: string) => string;
108
- isValid: (src: any) => boolean;
+ isValid: (src: unknown) => boolean;
109
fromUint8Array: (u8a: Uint8Array, urlsafe?: boolean) => string;
110
toUint8Array: (a: string) => Uint8Array;
111
extendString: () => void;
0 commit comments