3.0.5 • Published 2 months ago
@types/can-autoplay v3.0.5
Installation
npm install --save @types/can-autoplay
Summary
This package contains type definitions for can-autoplay (https://github.com/video-dev/can-autoplay).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/can-autoplay.
index.d.ts
// Type definitions for can-autoplay 3.0
// Project: https://github.com/video-dev/can-autoplay
// Definitions by: Viacheslav Borodulin <https://github.com/vborodulin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface Options {
inline?: boolean | undefined;
muted?: boolean | undefined;
timeout?: number | undefined;
}
export interface CheckResponse {
result: boolean;
error: Error;
}
export function audio(options?: Options): Promise<CheckResponse>;
export function video(options?: Options): Promise<CheckResponse>;
Additional Details
- Last updated: Thu, 08 Jul 2021 00:35:49 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Viacheslav Borodulin.