-
Notifications
You must be signed in to change notification settings - Fork 8
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
9be58d9
commit 598eb96
Showing
3 changed files
with
10 additions
and
7 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,13 +1,16 @@ | ||
export * from "./build/types/RTMPServer"; | ||
|
||
export type { default as Server } from "./build/types/Server"; | ||
export type { default as Application } from "./build/types/Application"; | ||
export type { default as Client } from "./build/types/Client"; | ||
export type { default as Stream, AMFData, Command } from "./build/types/Stream"; | ||
export type { default as IncomingStreamBridge, StreamStats } from "./build/types/IncomingStreamBridge"; | ||
export type Server = import("./build/types/Server"); | ||
export type Application = import("./build/types/Application"); | ||
export type Client = import("./build/types/Client"); | ||
export type Stream = import("./build/types/Stream"); | ||
export type IncomingStreamBridge = import("./build/types/IncomingStreamBridge"); | ||
export type IncomingStreamTrackBridge = import("./build/types/IncomingStreamTrackBridge"); | ||
|
||
export type { | ||
default as IncomingStreamTrackBridge, | ||
ActiveEncodingInfo, ActiveLayersInfo, | ||
EncodingStats, LayerStats, MediaStats, PacketWaitTime, TrackStats, | ||
} from "./build/types/IncomingStreamTrackBridge"; | ||
|
||
export type { AMFData, Command } from "./build/types/Stream"; | ||
export type { StreamStats } from "./build/types/IncomingStreamBridge"; |
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