We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e653cf5 commit 2474f44Copy full SHA for 2474f44
scripts/apitypings/main.go
@@ -768,7 +768,7 @@ func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) {
768
// isBuiltIn returns the string for a builtin type that we want to support
769
// if the name is a reserved builtin type. This is for types like 'comparable'.
770
// These types are not implemented in golang, so we just have to hardcode it.
771
-func (_ Generator) isBuiltIn(name string) (bool, string) {
+func (Generator) isBuiltIn(name string) (bool, string) {
772
// Note: @emyrk If we use constraints like Ordered, we can pull those
773
// dynamically from their respective packages. This is a method on Generator
774
// so if someone wants to implement that, they can find the respective package
0 commit comments