MCPcopy Create free account
hub / github.com/nhost/nhost / TypeArrayName

Method TypeArrayName

tools/codegen/processor/typescript/typescript.go:55–57  ·  view source on GitHub ↗
(array *processor.TypeArray)

Source from the content-addressed store, hash-verified

53}
54
55func (t *Typescript) TypeArrayName(array *processor.TypeArray) string {
56 return array.Item.Name() + "[]"
57}
58
59func (t *Typescript) TypeEnumName(name string) string {
60 return format.ToCamelCase(name)

Callers

nothing calls this directly

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected