Skip to content

Commit

Permalink
API update for jsx-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
derkoe committed Dec 7, 2022
1 parent 304cf4f commit 25662a7
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/qwik/src/jsx-runtime/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,31 @@ export interface FunctionComponent<P = Record<string, any>> {
}

// @public (undocumented)
const jsx: <T extends string | FunctionComponent<any>>(type: T, props: T extends FunctionComponent<infer PROPS> ? PROPS : Record<string, any>, key?: string | number | null) => JSXNode<T>;
export { jsx }
export { jsx as jsxs }

// @public (undocumented)
namespace JSX_2 {
export namespace JSX {
// (undocumented)
interface Element extends JSXNode {
export interface Element extends JSXNode {
}
// (undocumented)
interface ElementChildrenAttribute {
export interface ElementChildrenAttribute {
// (undocumented)
children: any;
}
// Warning: (ae-forgotten-export) The symbol "QwikIntrinsicAttributes" needs to be exported by the entry point jsx-runtime.d.ts
//
// (undocumented)
interface IntrinsicAttributes extends QwikIntrinsicAttributes {
export interface IntrinsicAttributes extends QwikIntrinsicAttributes {
}
// Warning: (ae-forgotten-export) The symbol "QwikIntrinsicElements" needs to be exported by the entry point jsx-runtime.d.ts
//
// (undocumented)
interface IntrinsicElements extends QwikIntrinsicElements {
export interface IntrinsicElements extends QwikIntrinsicElements {
}
}
export { JSX_2 as JSX }

// @public (undocumented)
const jsx: <T extends string | FunctionComponent<any>>(type: T, props: T extends FunctionComponent<infer PROPS> ? PROPS : Record<string, any>, key?: string | number | null) => JSXNode<T>;
export { jsx }
export { jsx as jsxs }

// Warning: (ae-forgotten-export) The symbol "JsxDevOpts" needs to be exported by the entry point jsx-runtime.d.ts
//
Expand Down

0 comments on commit 25662a7

Please sign in to comment.