12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
|
|
import type { ElementType } from 'react'
|
||
|
|
import type { AfterJSXCallback, BeforeJSXCallback, InsteadJSXCallback } from '.'
|
||
|
|
|
||
|
|
export const jPatches = new Map<
|
||
|
|
ElementType | string,
|
||
|
|
[
|
||
|
|
before?: Set<BeforeJSXCallback>,
|
||
|
|
after?: Set<AfterJSXCallback>,
|
||
|
|
instead?: Set<InsteadJSXCallback>,
|
||
|
|
]
|
||
|
|
>()
|