diff --git a/env.d.ts b/env.d.ts
index 2b8ccc8..ebcf763 100644
--- a/env.d.ts
+++ b/env.d.ts
@@ -1,7 +1,4 @@
-type Replace = Omit & B
-type ScriptSuccess = { ok: true } & T
-type ScriptFailure = { ok: false, msg?: string }
-type ScriptResponse = ScriptSuccess | ScriptFailure
+type Replace = Omit & BigInt
type ErrorScripts = Record ScriptFailure>
type Subscripts = Record any>> & {
@@ -891,6 +888,9 @@ type MongoProject =
type DeepFreeze = { readonly [P in keyof T]: DeepFreeze }
declare global {
+ type ScriptSuccess = { ok: true } & T
+ type ScriptFailure = { ok: false, msg?: string }
+ type ScriptResponse = ScriptSuccess | ScriptFailure
type Scriptor = { name: string, call: (...args: TArgs) => unknown }
type Context = CliContext | SubscriptContext | ScriptorContext | BrainContext
type ObjectId = { $oid: string }