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.
1 parent 8b948fb commit 7e5b130Copy full SHA for 7e5b130
1 file changed
src/common/secret.ts
@@ -58,7 +58,7 @@ export function compress(str: string): string {
58
* @example
59
* ```ts twoslash
60
* import { decompress } from '@ryanuo/utils'
61
- * decompress(compress('hello world')) // => 'hello world'
+ * decompress('aGVsbG8lMjB3b3JsZA%3D%3D) // => 'hello world'
62
* ```
63
* @param str - The compressed Base64 string.
64
* @returns The original decompressed string.
0 commit comments