Refactoring
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-07-05 01:29:35 +02:00
parent a5eb50eec9
commit 507ee472ad

View File

@@ -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