Skip to content

Commit c970712

Browse files
committed
Fix lint issues
1 parent 72bac75 commit c970712

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default class Element {
77
[name: string]: AttributeValueType | HTMLElement | undefined;
88

99
public get element(): HTMLElement {
10-
return this.privElement!
10+
return this.privElement!;
1111
}
1212

1313
constructor(

src/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
export type AttributeValueType = string | number | symbol | bigint | ((event: Event) => unknown);
1+
export type AttributeValueType =
2+
| string
3+
| number
4+
| symbol
5+
| bigint
6+
| ((event: Event) => unknown);
27

38
export type AttributesType = {
49
[key: string]: AttributeValueType;

0 commit comments

Comments
 (0)