| 127 | |
| 128 | // This object represents the Output of the Riot compiler |
| 129 | export interface RiotComponentWrapper<Component> { |
| 130 | readonly css?: string | null |
| 131 | readonly exports?: RiotComponentFactoryFunction<Component> | Component | null |
| 132 | readonly name?: string | null |
| 133 | |
| 134 | template?( |
| 135 | template: ( |
| 136 | template: string, |
| 137 | bindings?: BindingData<Component>[], |
| 138 | ) => TemplateChunk<Component>, |
| 139 | expressionTypes: Record<keyof typeof ExpressionType, number>, |
| 140 | bindingTypes: Record<keyof typeof BindingType, number>, |
| 141 | getComponent: TagBindingData['getComponent'], |
| 142 | ): TemplateChunk<Component> | null |
| 143 | } |
| 144 | |
| 145 | // Interface for components factory functions |
| 146 | export interface RiotComponentFactoryFunction<Component> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…