A naming convention that supports alternate/pretty URI.

interface WithAltUri {
    fromAltUri: ((input: string) => undefined | Component);
    toAltUri: ((comp: Component) => string);
}

Properties

Properties

fromAltUri: ((input: string) => undefined | Component)

Parse from alternate URI.

Type declaration

    • (input): undefined | Component
    • Parameters

      • input: string

      Returns undefined | Component

      Component, or undefined if it cannot be parsed.

toAltUri: ((comp: Component) => string)

Convert to alternate URI.