-
-
Save luggage66/d4285cab6c4aece72d4073dd2e3a4125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface XslElement<P> { | |
type: string | XslComponent<P> | StatelessComponent<P>; | |
props: P; | |
key: string | null; | |
} | |
type XslNode = XslElement<any> | string; | |
interface StatelessComponent<P> { | |
(props: P & { children?: XslNode }, context?: any): XslElement<any> | undefined; | |
displayName?: string; | |
} | |
interface XslAttributes { | |
} | |
declare class XslComponent<P> { | |
props: Readonly<{ children? }> & Readonly<P>; | |
} | |
declare namespace JSX { | |
interface Element { } | |
interface ElementClass extends XslComponent<any> { | |
props: {}; | |
render(): JSX.Element | null; | |
} | |
interface ElementAttributesProperty { props: {}; } | |
interface IntrinsicAttributes extends XslAttributes { } | |
interface IntrinsicClassAttributes<T> extends XslAttributes { } | |
interface IntrinsicElements { | |
[elemName: string]: any; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment