@@ -9,9 +9,9 @@ export interface ReactComponent<E, R, P> {
|
|||||||
readonly displayName?: string
|
readonly displayName?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type E<T> = T extends ReactComponent<infer E, any, any> ? E : never
|
export type Error<T> = T extends ReactComponent<infer E, any, any> ? E : never
|
||||||
export type R<T> = T extends ReactComponent<any, infer R, any> ? R : never
|
export type Context<T> = T extends ReactComponent<any, infer R, any> ? R : never
|
||||||
export type P<T> = T extends ReactComponent<any, any, infer P> ? P : never
|
export type Props<T> = T extends ReactComponent<any, any, infer P> ? P : never
|
||||||
|
|
||||||
export const nonReactiveTags = [Tracer.ParentSpan] as const
|
export const nonReactiveTags = [Tracer.ParentSpan] as const
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user