File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ export interface CreateCodeContextOpts {
8888 *
8989 * @default python
9090 */
91- language ?: 'python' | 'javascript' | 'typescript' | 'r' | 'java' | 'bash' | string
91+ // eslint-disable-next-line @typescript-eslint/ban-types
92+ language ?: 'python' | 'javascript' | 'typescript' | 'r' | 'java' | 'bash' | ( string & { } )
9293 /**
9394 * Timeout for the request in **milliseconds**.
9495 *
@@ -149,7 +150,8 @@ export class Sandbox extends BaseSandbox {
149150 *
150151 * If not defined, the default Python context is used.
151152 */
152- language ?: 'python' | 'javascript' | 'typescript' | 'r' | 'java' | 'bash' | string
153+ // eslint-disable-next-line @typescript-eslint/ban-types
154+ language ?: 'python' | 'javascript' | 'typescript' | 'r' | 'java' | 'bash' | ( string & { } )
153155 }
154156 ) : Promise < Execution >
155157 /**
You can’t perform that action at this time.
0 commit comments