@draconides/youtube-iframe
Version:
YouTube API iFrame Wrapper
10 lines • 315 B
TypeScript
import type { YT } from './types';
/**
* Get a typed YouTube api object.
* This function will add YouTube iframe api into the dom if not present
* @returns - Return a Promise of YT
* @version 1.0.0
* @since 1.0.0
*/
export declare const YouTubeIFrameAPI: () => Promise<YT>;
//# sourceMappingURL=index.d.ts.map