Skip to content

Commit

Permalink
πŸŽ‰ Add TypeScript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Dec 14, 2017
1 parent 073c0c0 commit 1b6197a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type Variant = 'RFC3548' | 'RFC4648' | 'RFC4648-HEX' | 'Crockford'
declare function base32Encode(buffer: ArrayBuffer, variant: Variant): string
export = base32Encode

0 comments on commit 1b6197a

Please sign in to comment.