We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45c5206 + e8f4b74 commit b9b1db4Copy full SHA for b9b1db4
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