Skip to main content

Class: SnakeCaseNamingConvention

SnakeCaseNamingConvention

example this_is_snake_case

Implements

Constructors

constructor

new SnakeCaseNamingConvention()

Properties

separatorCharacter

separatorCharacter: string = '_'

Implementation of

NamingConvention.separatorCharacter

Defined in

lib/naming-conventions/snake-case-naming-convention.ts:9


splittingExpression

splittingExpression: RegExp

Implementation of

NamingConvention.splittingExpression

Defined in

lib/naming-conventions/snake-case-naming-convention.ts:10

Methods

transformPropertyName

transformPropertyName(sourcePropNameParts): string

Parameters

NameType
sourcePropNamePartsstring[]

Returns

string

Implementation of

NamingConvention.transformPropertyName

Defined in

lib/naming-conventions/snake-case-naming-convention.ts:12