DefinitelyTyped/types/base64-arraybuffer/index.d.ts
Ben Cook 49b8178b77 Add type definitions for base64-arraybuffer (#25239)
* Added declarations for 'base64-arraybuffer'

* fix linting and header
2018-04-24 16:19:00 -07:00

8 lines
343 B
TypeScript

// Type definitions for base64-arraybuffer 0.1
// Project: https://github.com/niklasvh/base64-arraybuffer
// Definitions by: Ben Cook <https://github.com/jbencook>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function encode(arraybuffer: ArrayBuffer): string;
export function decode(base64: string): ArrayBuffer;