Skip to content

Commit 4b3d371

Browse files
authored
updating link to Context instead of BaseContext (#1238)
1 parent f216061 commit 4b3d371

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tone/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { getContext, setContext } from "./core/Global";
2-
import { BaseContext } from "./core/context/BaseContext";
2+
import { Context } from "./core/context/Context";
33
export * from "./classes";
44
export * from "./version";
55
import { getContext } from "./core/Global";
@@ -10,16 +10,16 @@ export { supported } from "./core/context/AudioContext";
1010

1111
/**
1212
* The current audio context time of the global {@link BaseContext}.
13-
* @see {@link BaseContext.now}
13+
* @see {@link Context.now}
1414
* @category Core
1515
*/
1616
export function now(): Seconds {
1717
return getContext().now();
1818
}
1919

2020
/**
21-
* The current audio context time of the global {@link BaseContext} without the {@link BaseContext.lookAhead}
22-
* @see {@link BaseContext.immediate}
21+
* The current audio context time of the global {@link Context} without the {@link Context.lookAhead}
22+
* @see {@link Context.immediate}
2323
* @category Core
2424
*/
2525
export function immediate(): Seconds {
@@ -100,7 +100,7 @@ export function getDraw(): import("./core/util/Draw").DrawClass {
100100

101101
/**
102102
* A reference to the global context
103-
* @see {@link BaseContext}
103+
* @see {@link Context}
104104
* @deprecated Use {@link getContext} instead
105105
*/
106106
export const context = getContext();

0 commit comments

Comments
 (0)