Skip to content

Commit 1842fb5

Browse files
committed
fix: More incorrect types from rebasing
1 parent 0f51a46 commit 1842fb5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"bugs": "https://github.com/preactjs/preact-custom-element/issues",
5252
"homepage": "https://github.com/preactjs/preact-custom-element",
5353
"files": [
54+
"src",
5455
"dist",
5556
"LICENSE",
5657
"package.json",

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type Options = {
1111
shadow: false;
1212
} | {
1313
shadow: true;
14-
mode: 'open' | 'closed';
14+
mode?: 'open' | 'closed';
1515
};
1616

1717
/**
@@ -44,7 +44,7 @@ type Options = {
4444
*/
4545
export default function register(
4646
Component: AnyComponent,
47-
tagName: string,
47+
tagName?: string,
4848
propNames?: string[],
4949
options?: Options,
5050
): void;

0 commit comments

Comments
 (0)