mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 19:43:20 +08:00
Merge pull request #15710 from kserin/master
Phonon: add global variable to window
This commit is contained in:
1
types/phonon/index.d.ts
vendored
1
types/phonon/index.d.ts
vendored
@@ -190,6 +190,7 @@ interface Document {
|
||||
interface Window {
|
||||
on(event: string, callback: (event: Phonon.PhononCustomWindowEvent) => void, useCapture?: boolean): void;
|
||||
off(event: string, callback: (event: Phonon.PhononCustomWindowEvent) => void, useCapture?: boolean): void;
|
||||
phonon: Phonon.Phonon;
|
||||
}
|
||||
interface Element {
|
||||
on(event: string, callback: (event: any) => void, useCapture?: boolean): void;
|
||||
|
||||
@@ -550,3 +550,4 @@ phonon.options({
|
||||
});
|
||||
setupHTML();
|
||||
phonon.navigator().start();
|
||||
window.phonon;
|
||||
|
||||
Reference in New Issue
Block a user