(input: ComponentInput)
| 339 | // ============================================================================= |
| 340 | |
| 341 | function normalizeIdentifier(input: ComponentInput): ComponentIdentifier { |
| 342 | if (typeof input === "string") { |
| 343 | return { name: input }; |
| 344 | } |
| 345 | return input; |
| 346 | } |
| 347 | |
| 348 | function resolveComponentValue( |
| 349 | id: ComponentIdentifier, |