mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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.
16 lines
646 B
TypeScript
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;
|