(id?: string)
| 491 | } |
| 492 | |
| 493 | function get(id?: string) { |
| 494 | if (typeof id !== 'string') return warn(650) |
| 495 | const root = getNode(id) |
| 496 | return root ? root.context : null |
| 497 | } |
| 498 | |
| 499 | function normalizeAttrs( |
| 500 | element: string | ComponentType<any> | null, |