( instance: T, context: LeafletContextInterface, container?: C | null, )
| 9 | }> |
| 10 | |
| 11 | export function createElementObject<T, C = unknown>( |
| 12 | instance: T, |
| 13 | context: LeafletContextInterface, |
| 14 | container?: C | null, |
| 15 | ): LeafletElement<T, C> { |
| 16 | return Object.freeze({ instance, context, container }) |
| 17 | } |
| 18 | |
| 19 | export type ElementHook<E, P> = ( |
| 20 | props: P, |
no outgoing calls
no test coverage detected
searching dependent graphs…