File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,14 @@ export interface CreateCodeContextOpts {
8989 * @default python
9090 */
9191 // eslint-disable-next-line @typescript-eslint/ban-types
92- language ?: 'python' | 'javascript' | 'typescript' | 'r' | 'java' | 'bash' | ( string & { } )
92+ language ?:
93+ | 'python'
94+ | 'javascript'
95+ | 'typescript'
96+ | 'r'
97+ | 'java'
98+ | 'bash'
99+ | ( string & { } )
93100 /**
94101 * Timeout for the request in **milliseconds**.
95102 *
@@ -151,7 +158,14 @@ export class Sandbox extends BaseSandbox {
151158 * If not defined, the default Python context is used.
152159 */
153160 // eslint-disable-next-line @typescript-eslint/ban-types
154- language ?: 'python' | 'javascript' | 'typescript' | 'r' | 'java' | 'bash' | ( string & { } )
161+ language ?:
162+ | 'python'
163+ | 'javascript'
164+ | 'typescript'
165+ | 'r'
166+ | 'java'
167+ | 'bash'
168+ | ( string & { } )
155169 }
156170 ) : Promise < Execution >
157171 /**
You can’t perform that action at this time.
0 commit comments