Skip to content

Commit

Permalink
chore(wdio): check in components.d.ts file (#5617)
Browse files Browse the repository at this point in the history
this commit checks in the `components.d.ts` file from the wdio
migration. during the migration, we didn't check this file in to prevent
unnecessary merge conflicts. now that we've moved from
karma/browserstack to wdio, let's check the file in.

update the project's `.gitignnore` to allow the file to be checked in.

STENCIL-1203
  • Loading branch information
rwaskiewicz authored Apr 2, 2024
1 parent 81fa375 commit c1a9f20
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ null_errors*.json
# TODO(STENCIL-454): Remove or change this up once we've eliminated unused exports
unused-exports*.txt

# TODO(STENCIL-1203): check in type files back into the repository after migration
test/wdio/src/components.d.ts
test/wdio/www-global-script/
# wdio test output
test/wdio/test-components
test/wdio/www-global-script/
test/wdio/www-prerender-script
test/wdio/www-invisible-prehydration/
182 changes: 182 additions & 0 deletions test/wdio/src/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
/* 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 AppRoot {
}
interface CmpA {
}
interface CmpB {
}
interface CmpC {
}
interface CmpClientScoped {
}
interface CmpClientShadow {
}
interface CmpD {
"uniqueId": string;
}
interface CmpScopedA {
}
interface CmpScopedB {
}
interface CmpTextBlue {
}
interface CmpTextGreen {
}
interface TestSvg {
}
}
declare global {
interface HTMLAppRootElement extends Components.AppRoot, HTMLStencilElement {
}
var HTMLAppRootElement: {
prototype: HTMLAppRootElement;
new (): HTMLAppRootElement;
};
interface HTMLCmpAElement extends Components.CmpA, HTMLStencilElement {
}
var HTMLCmpAElement: {
prototype: HTMLCmpAElement;
new (): HTMLCmpAElement;
};
interface HTMLCmpBElement extends Components.CmpB, HTMLStencilElement {
}
var HTMLCmpBElement: {
prototype: HTMLCmpBElement;
new (): HTMLCmpBElement;
};
interface HTMLCmpCElement extends Components.CmpC, HTMLStencilElement {
}
var HTMLCmpCElement: {
prototype: HTMLCmpCElement;
new (): HTMLCmpCElement;
};
interface HTMLCmpClientScopedElement extends Components.CmpClientScoped, HTMLStencilElement {
}
var HTMLCmpClientScopedElement: {
prototype: HTMLCmpClientScopedElement;
new (): HTMLCmpClientScopedElement;
};
interface HTMLCmpClientShadowElement extends Components.CmpClientShadow, HTMLStencilElement {
}
var HTMLCmpClientShadowElement: {
prototype: HTMLCmpClientShadowElement;
new (): HTMLCmpClientShadowElement;
};
interface HTMLCmpDElement extends Components.CmpD, HTMLStencilElement {
}
var HTMLCmpDElement: {
prototype: HTMLCmpDElement;
new (): HTMLCmpDElement;
};
interface HTMLCmpScopedAElement extends Components.CmpScopedA, HTMLStencilElement {
}
var HTMLCmpScopedAElement: {
prototype: HTMLCmpScopedAElement;
new (): HTMLCmpScopedAElement;
};
interface HTMLCmpScopedBElement extends Components.CmpScopedB, HTMLStencilElement {
}
var HTMLCmpScopedBElement: {
prototype: HTMLCmpScopedBElement;
new (): HTMLCmpScopedBElement;
};
interface HTMLCmpTextBlueElement extends Components.CmpTextBlue, HTMLStencilElement {
}
var HTMLCmpTextBlueElement: {
prototype: HTMLCmpTextBlueElement;
new (): HTMLCmpTextBlueElement;
};
interface HTMLCmpTextGreenElement extends Components.CmpTextGreen, HTMLStencilElement {
}
var HTMLCmpTextGreenElement: {
prototype: HTMLCmpTextGreenElement;
new (): HTMLCmpTextGreenElement;
};
interface HTMLTestSvgElement extends Components.TestSvg, HTMLStencilElement {
}
var HTMLTestSvgElement: {
prototype: HTMLTestSvgElement;
new (): HTMLTestSvgElement;
};
interface HTMLElementTagNameMap {
"app-root": HTMLAppRootElement;
"cmp-a": HTMLCmpAElement;
"cmp-b": HTMLCmpBElement;
"cmp-c": HTMLCmpCElement;
"cmp-client-scoped": HTMLCmpClientScopedElement;
"cmp-client-shadow": HTMLCmpClientShadowElement;
"cmp-d": HTMLCmpDElement;
"cmp-scoped-a": HTMLCmpScopedAElement;
"cmp-scoped-b": HTMLCmpScopedBElement;
"cmp-text-blue": HTMLCmpTextBlueElement;
"cmp-text-green": HTMLCmpTextGreenElement;
"test-svg": HTMLTestSvgElement;
}
}
declare namespace LocalJSX {
interface AppRoot {
}
interface CmpA {
}
interface CmpB {
}
interface CmpC {
}
interface CmpClientScoped {
}
interface CmpClientShadow {
}
interface CmpD {
"uniqueId"?: string;
}
interface CmpScopedA {
}
interface CmpScopedB {
}
interface CmpTextBlue {
}
interface CmpTextGreen {
}
interface TestSvg {
}
interface IntrinsicElements {
"app-root": AppRoot;
"cmp-a": CmpA;
"cmp-b": CmpB;
"cmp-c": CmpC;
"cmp-client-scoped": CmpClientScoped;
"cmp-client-shadow": CmpClientShadow;
"cmp-d": CmpD;
"cmp-scoped-a": CmpScopedA;
"cmp-scoped-b": CmpScopedB;
"cmp-text-blue": CmpTextBlue;
"cmp-text-green": CmpTextGreen;
"test-svg": TestSvg;
}
}
export { LocalJSX as JSX };
declare module "@stencil/core" {
export namespace JSX {
interface IntrinsicElements {
"app-root": LocalJSX.AppRoot & JSXBase.HTMLAttributes<HTMLAppRootElement>;
"cmp-a": LocalJSX.CmpA & JSXBase.HTMLAttributes<HTMLCmpAElement>;
"cmp-b": LocalJSX.CmpB & JSXBase.HTMLAttributes<HTMLCmpBElement>;
"cmp-c": LocalJSX.CmpC & JSXBase.HTMLAttributes<HTMLCmpCElement>;
"cmp-client-scoped": LocalJSX.CmpClientScoped & JSXBase.HTMLAttributes<HTMLCmpClientScopedElement>;
"cmp-client-shadow": LocalJSX.CmpClientShadow & JSXBase.HTMLAttributes<HTMLCmpClientShadowElement>;
"cmp-d": LocalJSX.CmpD & JSXBase.HTMLAttributes<HTMLCmpDElement>;
"cmp-scoped-a": LocalJSX.CmpScopedA & JSXBase.HTMLAttributes<HTMLCmpScopedAElement>;
"cmp-scoped-b": LocalJSX.CmpScopedB & JSXBase.HTMLAttributes<HTMLCmpScopedBElement>;
"cmp-text-blue": LocalJSX.CmpTextBlue & JSXBase.HTMLAttributes<HTMLCmpTextBlueElement>;
"cmp-text-green": LocalJSX.CmpTextGreen & JSXBase.HTMLAttributes<HTMLCmpTextGreenElement>;
"test-svg": LocalJSX.TestSvg & JSXBase.HTMLAttributes<HTMLTestSvgElement>;
}
}
}

0 comments on commit c1a9f20

Please sign in to comment.