3.0.5 • Published 2 months ago

@types/can-autoplay v3.0.5

Weekly downloads
520
License
MIT
Repository
github
Last release
2 months ago

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.

3.0.5

2 months ago

3.0.4

6 months ago

3.0.3

7 months ago

3.0.2

10 months ago

3.0.1

3 years ago

3.0.0

4 years ago