Skip to content

Commit

Permalink
Merge pull request base62#56 from lmk123/add-typescript-declaration-file
Browse files Browse the repository at this point in the history
add TypeScript Declaration File
  • Loading branch information
andrew authored Nov 14, 2017
2 parents c7bed67 + c010e1f commit d2a89fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare namespace base62 {
export function setCharacterSet(characters: string): void
export function encode(number: number): string
export function decode(string: string): number
}

export = base62

0 comments on commit d2a89fb

Please sign in to comment.