Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NamingConvention<A, R>

Naming convention, which interprets a name component in a specific way.

Type parameters

  • A

    input type to construct component.

  • R = A

    output type to interpret component.

Hierarchy

  • NamingConvention

Index

Properties

Properties

create

create: (v: A) => Component

Create a component from input value following this naming convention.

Type declaration

match

match: (comp: Component) => boolean

Determine if a component follows this naming convention.

Type declaration

parse

parse: (comp: Component) => R

Parse value of a matched component.

Type declaration

Generated using TypeDoc