-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully fix types for universal package
- Loading branch information
1 parent
9c76d47
commit eb7d8be
Showing
4 changed files
with
36 additions
and
1 deletion.
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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* eslint-disable no-prototype-builtins */ | ||
// Copyright (c) 2022 Marten Richter or other contributers (see commit). All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
/** | ||
* // Spec | ||
* @typedef {import('./dom').WebTransportDatagramStats} WebTransportDatagramStats | ||
* @typedef {import('./dom').WebTransportStats} WebTransportStats | ||
* @typedef {import('./dom').WebTransportCloseInfo} WebTransportCloseInfo | ||
* @typedef {import('./dom').WebTransportDatagramDuplexStream} WebTransportDatagramDuplexStream | ||
* @typedef {import('./dom').WebTransportBidirectionalStream} WebTransportBidirectionalStream | ||
* @typedef {import('./dom').WebTransportSendStreamStats} WebTransportSendStreamStats | ||
* @typedef {import('./dom').WebTransportSendStream} WebTransportSendStream | ||
* @typedef {import('./dom').WebTransportReceiveStreamStats} WebTransportReceiveStreamStats | ||
* @typedef {import('./dom').WebTransportReceiveStream} WebTransportReceiveStream | ||
* @typedef {import('./dom').WebTransportHash} WebTransportHash | ||
* @typedef {import('./dom').WebTransportOptions} WebTransportOptions | ||
* @typedef {import('./dom').WebTransportReliabilityMode} WebTransportReliabilityMode | ||
* | ||
* Public API | ||
* @typedef {import('./types').WebTransportSessionImpl} WebTransportSession | ||
* @typedef {import('./types').HttpServerInit} HttpServerInit | ||
*/ | ||
|
||
// both imports from the browser side and for nodes to generate a joint type file | ||
export { HttpServer, Http3Server, Http2Server } from './server.js' | ||
export { WebTransport } from './webtransport.node.js' | ||
|
||
export { | ||
WebTransportPonyfill, | ||
WebTransportPolyfill | ||
} from './webtransport.browser.js' |
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