We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd50b47 + 17845fb commit e8f4b74Copy full SHA for e8f4b74
base64/encode/encode.node.ts
@@ -4,7 +4,7 @@ namespace $ {
4
if (! str) return ''
5
if (Buffer.isBuffer(str)) return str.toString('base64')
6
7
- return Buffer.from(str).toString('base64')
+ return Buffer.from(str as string).toString('base64')
8
}
9
10
$.$mol_base64_encode = $mol_base64_encode_node
0 commit comments