diff --git a/src/types.ts b/src/types.ts index 606fbc4..9e8fee9 100644 --- a/src/types.ts +++ b/src/types.ts @@ -25,8 +25,6 @@ export interface RPCMethod { // @ts-ignore export const RPC_REQUEST_SCHEMA: JSONSchemaType = { - anyOf: [], - oneOf: [], type: "object", properties: { module: { @@ -70,6 +68,7 @@ export interface Plugin { name: string; plugin: PluginFunction; exports?: any; + default?: Plugin; } export type RPCStreamHandler = (