mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
5 lines
175 B
TypeScript
5 lines
175 B
TypeScript
import { encode, decode } from 'base64-arraybuffer';
|
|
|
|
encode(new Float32Array([1, 2, 3]).buffer); // $ExpectType string
|
|
decode('AACAPwAAAEAAAEBA'); // $ExpectType ArrayBuffer
|