DefinitelyTyped/types/b2a/b2a-tests.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

5 lines
86 B
TypeScript

import { btoa, atob } from "b2a";
const b64 = btoa ("foo");
const text = atob (b64);