DefinitelyTyped/types/b2a/index.d.ts
PatPL e4d71d1dd4 Add types to the 'b2a' NPM package (#35363)
* Add b2a types

* Update tsconfig.json

* b2a build fixes
2019-05-14 11:12:09 -07:00

20 lines
431 B
TypeScript

// Type definitions for b2a 1.0
// Project: https://github.com/kaelzhang/b2a#readme
// Definitions by: PatPL <https://github.com/PatPL>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Converts base64 string back into original text
*/
declare function atob(base64: string): string;
/**
* Converts text into base64 string
*/
declare function btoa(text: string): string;
export {
atob,
btoa
};