DefinitelyTyped/types/fast64/index.d.ts
Nathan Shively-Sanders f0ce987bc1 Update project urls to match NPM url
Note that this *trivially* updates project urls by adding the NPM url to
the end, even when the urls are almost identical or the DT one is
outdated. I'll clean up the urls in a later commit.

This PR is unfinished! Please do not merge it yet.
2019-02-11 17:10:55 -08:00

16 lines
646 B
TypeScript

// Type definitions for fast64 0.5
// Project: https://github.com/superhuman/fast64, https://github.com/conradirwin/fast64
// Definitions by: Rares Matei <https://github.com/rarmatei>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface Options {
uint8Array: boolean;
}
export function encode(value: string): string;
export function decode(base64: string): string;
export function decode(base64: string, options: Options): Uint8Array;
export function urlencode(value: string): string;
export function urldecode(base64: string): string;
export function urldecode(base64: string, options: Options): Uint8Array;