lit-ui-router / TypedLitViewDeclaration
Type Alias: TypedLitViewDeclaration<T>
ts
type TypedLitViewDeclaration<T> =
| TypedLitViewComponent<T> & _ViewDeclaration
| _ViewDeclaration & {
component: TypedLitViewComponent<T>;
};Defined in: packages/lit-ui-router/src/interface.ts:463
A view declaration as a TypedLitStateDeclaration checks it: a bare TypedLitViewComponent, or an object with one as its component.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends DefaultResolvesType | DefaultResolvesType |