Skip to content

Commit 7e5b130

Browse files
committed
docs(common/secret): update decompress example with correct base64 string
1 parent 8b948fb commit 7e5b130

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/secret.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function compress(str: string): string {
5858
* @example
5959
* ```ts twoslash
6060
* import { decompress } from '@ryanuo/utils'
61-
* decompress(compress('hello world')) // => 'hello world'
61+
* decompress('aGVsbG8lMjB3b3JsZA%3D%3D) // => 'hello world'
6262
* ```
6363
* @param str - The compressed Base64 string.
6464
* @returns The original decompressed string.

0 commit comments

Comments
 (0)