Skip to content

Commit 0e74b30

Browse files
authored
fix(youtubeplayer): add missing type (#67)
1 parent 771e4e7 commit 0e74b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/registry/youtube-player.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useHead } from '#imports'
55
import type { RegistryScriptInput } from '#nuxt-scripts'
66

77
export interface YouTubePlayerApi {
8-
YT: typeof YT
8+
YT: typeof YT & { ready: (fn: () => void) => void }
99
}
1010

1111
declare global {

0 commit comments

Comments
 (0)