File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
codegen/templates/javascript/types Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export const {{ type.name | to_upper_camel_case }}Serializer = {
7272 },
7373
7474 _toJsonObject(self: {{ type.name | to_upper_camel_case }}): any {
75+ // biome-ignore lint/suspicious/noImplicitAnyLet: the return type needs to be any
7576 let {{ content_field_name }};
7677 switch (self.{{ disc_field_name }}) {
7778 {% - for variant in type .variants %}
Original file line number Diff line number Diff line change 2828 // needs codegen fix
2929 "noExplicitAny" : " off" ,
3030 // needs codegen fix
31- "noEmptyInterface" : " off" ,
32- // needs codegen fix
33- "noImplicitAnyLet" : " off"
31+ "noEmptyInterface" : " off"
3432 }
3533 }
3634 },
Original file line number Diff line number Diff line change @@ -349,6 +349,7 @@ export const IngestSourceInSerializer = {
349349 } ,
350350
351351 _toJsonObject ( self : IngestSourceIn ) : any {
352+ // biome-ignore lint/suspicious/noImplicitAnyLet: the return type needs to be any
352353 let config ;
353354 switch ( self . type ) {
354355 case "generic-webhook" :
Original file line number Diff line number Diff line change @@ -367,6 +367,7 @@ export const IngestSourceOutSerializer = {
367367 } ,
368368
369369 _toJsonObject ( self : IngestSourceOut ) : any {
370+ // biome-ignore lint/suspicious/noImplicitAnyLet: the return type needs to be any
370371 let config ;
371372 switch ( self . type ) {
372373 case "generic-webhook" :
You can’t perform that action at this time.
0 commit comments