Skip to content

Commit a06b8fb

Browse files
committed
ts[biome]: Fix lint/suspicious/noImplicitAnyLet
1 parent 8716a01 commit a06b8fb

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

codegen/templates/javascript/types/struct_enum.ts.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 %}

javascript/biome.jsonc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
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
},

javascript/src/models/ingestSourceIn.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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":

javascript/src/models/ingestSourceOut.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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":

0 commit comments

Comments
 (0)