MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / getFieldSetterName

Function getFieldSetterName

src/code-gen/fields.ts:104–105  ·  view source on GitHub ↗
(field: ProcessedField)

Source from the content-addressed store, hash-verified

102}
103
104export const getFieldSetterName = (field: ProcessedField) =>
105 `set${field.originalName.toPascalCase()}`
106
107export const getFieldGetterName = (field: ProcessedField) =>
108 `get${field.originalName.toPascalCase()}`;

Callers

nothing calls this directly

Calls 1

toPascalCaseMethod · 0.80

Tested by

no test coverage detected