-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix index.d.ts to properly use commonjs "export =" syntax - output the native .d.ts. while the end user should not need to call C++ methods, this way we reduce transitive typechecking errors.
- Loading branch information
1 parent
7d5e0bb
commit ea62f68
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
export * from "./build/types/AudioCodecs"; | ||
|
||
export type { default as AudioDecoder } from "./build/types/AudioDecoder"; | ||
export type { default as AudioEncoder } from "./build/types/AudioEncoder"; | ||
export type AudioDecoder = import("./build/types/AudioDecoder"); | ||
export type AudioEncoder = import("./build/types/AudioEncoder"); | ||
export type AudioEncoderIncomingStreamTrack = import("./build/types/AudioEncoderIncomingStreamTrack"); | ||
|
||
export type { | ||
default as IncomingStreamTrackBridge, | ||
ActiveEncodingInfo, ActiveLayersInfo, | ||
EncodingStats, LayerStats, MediaStats, PacketWaitTime, TrackStats, | ||
} from "./build/types/AudioEncoderIncomingStreamTrack"; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters