Skip to content

Commit 14fb384

Browse files
achingbrainrvagg
authored andcommitted
chore: update return type and import
1 parent 0790d09 commit 14fb384

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bases/base45.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { from } from './base.js'
1+
import { from } from './base.ts'
22

33
const alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:'
44

@@ -31,7 +31,7 @@ export const base45 = from({
3131
}
3232
return ret
3333
},
34-
decode: (input: string): Uint8Array => {
34+
decode: (input: string): Uint8Array<ArrayBuffer> => {
3535
if ((input.length * 2) % 3 === 2) {
3636
throw new Error('Unexpected end of data')
3737
}

0 commit comments

Comments
 (0)