Export the legacy handler types from the root entry
They appear in App's public setRequestHandler / setNotificationHandler signatures, so TypeDoc's link validation needs them reachable from the entry point.
This commit is contained in:
parent
728b0bf38e
commit
4eab52e372
1 changed files with 6 additions and 0 deletions
|
|
@ -30,6 +30,12 @@ import {
|
||||||
type LegacyNotificationHandler,
|
type LegacyNotificationHandler,
|
||||||
type LegacyRequestHandler,
|
type LegacyRequestHandler,
|
||||||
} from "./legacy-handlers.js";
|
} from "./legacy-handlers.js";
|
||||||
|
export type {
|
||||||
|
LegacyMethodSchema,
|
||||||
|
LegacyNotificationHandler,
|
||||||
|
LegacyRequestHandler,
|
||||||
|
LegacyRequestHandlerExtra,
|
||||||
|
} from "./legacy-handlers.js";
|
||||||
export { EventDispatcher } from "./events.js";
|
export { EventDispatcher } from "./events.js";
|
||||||
|
|
||||||
import { PostMessageTransport } from "./message-transport.js";
|
import { PostMessageTransport } from "./message-transport.js";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue