mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
* Add av typings * Migrate to exports rather than a namespace * Revert back to namespace approach * Write tests and fix bugs * Convert indentation to spaces * Remove all files except index.d.ts from "files" in tsconfig
17 lines
338 B
TypeScript
17 lines
338 B
TypeScript
/// <reference path="./baseTypes.d.ts" />
|
|
|
|
declare namespace AV {
|
|
class Buffer {
|
|
static allocate(size: number): Buffer;
|
|
|
|
constructor(data: TypedArray);
|
|
|
|
length: number;
|
|
|
|
copy(): Buffer;
|
|
slice(offset: number, length: number): Buffer;
|
|
toBlob(): Blob;
|
|
toBlobURL(): string;
|
|
}
|
|
}
|