We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db6aca commit 0e9f98dCopy full SHA for 0e9f98d
env.d.ts
@@ -885,7 +885,7 @@ declare global {
885
type ScriptSuccess<T = unknown> = { ok: true } & T
886
type ScriptFailure = { ok: false, msg?: string }
887
type ScriptResponse<T = unknown> = ScriptSuccess<T> | ScriptFailure
888
- type Scriptor<TArgs extends any[] = any[]> = { name: string, call: (...args: TArgs) => unknown }
+ type Scriptor<TArgs = any> = { name: string, call: (args: TArgs) => unknown }
889
type Context = CliContext | SubscriptContext | ScriptorContext | BrainContext
890
type ObjectId = { $oid: string }
891
0 commit comments