File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export async function generateAPIClient(
2727 options ?: typeof global . GLOBAL_OPTIONS ,
2828) : Promise < string [ ] > {
2929 if ( options ) {
30+ // tslint:disable-next-line:no-object-mutation
3031 global . GLOBAL_OPTIONS = options ;
3132 }
3233
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ if (typeof argv.source === 'undefined' && argv.source !== true) {
4141 process . exit ( 1 ) ;
4242}
4343
44+ // tslint:disable-next-line:no-object-mutation
4445global . GLOBAL_OPTIONS = {
4546 outputPath : argv . output || './output' ,
4647 sourceFile : argv . source ,
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ function defineEnumOrInterface(
294294 )
295295 : defineInterface (
296296 'schema' in definition
297- ? definition . schema !
297+ ? definition . schema
298298 : ( definition as OpenAPIV2 . SchemaObject ) ,
299299 key ,
300300 ) ;
You can’t perform that action at this time.
0 commit comments