Type alias Registration

Registration: Alias<`${string}.${string}.${string}`>

String literal helper type. Enforces any assigned string to contain at least three dots. Registrations are used by the Registry to alias classes extending the base Provider as magic strings and should represent sane module paths in dot-notation.

Example

Library-wide Registration pattern:

import { type Registration } from '@sgrud/core';

const registration: Registration = 'sgrud.module.ClassName';

See

Registry

Generated using TypeDoc