8000 chore: Typescript generator TODOs resolved, adding explainations by Emyrk · Pull Request #6633 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: Typescript generator TODOs resolved, adding explainations #6633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Conform comment
  • Loading branch information
Emyrk committed Mar 16, 2023
commit fa17a613115012ea399972baa0f4be87c1f0dc5f
3 changes: 1 addition & 2 deletions scripts/apitypings/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,7 @@ func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) {
ValueType: "any",
AboveTypeLine: fmt.Sprintf("%s\n%s",
indentedComment("Embedded anonymous struct, please fix by naming it"),
// Must include an eslint exception, otherwise the typescript linter will complain about
// the usage of an "any" type.
// Linter needs to be disabled here, or else it will complain about the "any" type.
indentedComment("eslint-disable-next-line @typescript-eslint/no-explicit-any"),
),
}, nil
Expand Down
0