69 lines
1.9 KiB
TypeScript
69 lines
1.9 KiB
TypeScript
/* eslint-disable */
|
|
/* tslint:disable */
|
|
/**
|
|
* This is an autogenerated file created by the Stencil compiler.
|
|
* It contains typing information for all components that exist in this project.
|
|
*/
|
|
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
|
|
export namespace Components {
|
|
interface MyComponent {
|
|
/**
|
|
* The first name
|
|
*/
|
|
"first"?: string;
|
|
/**
|
|
* The last name
|
|
*/
|
|
"last"?: string;
|
|
/**
|
|
* The middle name
|
|
*/
|
|
"middle"?: string;
|
|
}
|
|
}
|
|
declare global {
|
|
interface HTMLMyComponentElement extends Components.MyComponent, HTMLStencilElement {
|
|
}
|
|
var HTMLMyComponentElement: {
|
|
prototype: HTMLMyComponentElement;
|
|
new (): HTMLMyComponentElement;
|
|
};
|
|
interface HTMLElementTagNameMap {
|
|
"my-component": HTMLMyComponentElement;
|
|
}
|
|
}
|
|
declare namespace LocalJSX {
|
|
interface MyComponent {
|
|
/**
|
|
* The first name
|
|
*/
|
|
"first"?: string;
|
|
/**
|
|
* The last name
|
|
*/
|
|
"last"?: string;
|
|
/**
|
|
* The middle name
|
|
*/
|
|
"middle"?: string;
|
|
}
|
|
|
|
interface MyComponentAttributes {
|
|
"first": string;
|
|
"middle": string;
|
|
"last": string;
|
|
}
|
|
|
|
interface IntrinsicElements {
|
|
"my-component": Omit<MyComponent, keyof MyComponentAttributes> & { [K in keyof MyComponent & keyof MyComponentAttributes]?: MyComponent[K] } & { [K in keyof MyComponent & keyof MyComponentAttributes as `attr:${K}`]?: MyComponentAttributes[K] } & { [K in keyof MyComponent & keyof MyComponentAttributes as `prop:${K}`]?: MyComponent[K] };
|
|
}
|
|
}
|
|
export { LocalJSX as JSX };
|
|
declare module "@stencil/core" {
|
|
export namespace JSX {
|
|
interface IntrinsicElements {
|
|
"my-component": LocalJSX.IntrinsicElements["my-component"] & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
|
|
}
|
|
}
|
|
}
|