Skip to content

Commit 63995c2

Browse files
authored
Merge pull request #21048 from linbingquan/dev-ts-audiocontext
TS: Updated AudioContext.d.ts
2 parents 35bcafe + 552f3c1 commit 63995c2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/audio/AudioContext.d.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
export const AudioContext: AudioContext;
1+
/**
2+
* see {@link https://github.com/mrdoob/three.js/blob/master/src/audio/AudioContext.js|src/audio/AudioContext.js}
3+
*/
4+
export namespace AudioContext {
5+
6+
export function getContext(): AudioContext;
7+
8+
export function setContext(): void
9+
10+
}

0 commit comments

Comments
 (0)