0.1.0 #1
@@ -9,6 +9,10 @@ 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 R<T> = T extends ReactComponent<any, infer R, any> ? R : never
|
||||||
|
export type P<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