File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ type State = {
10
10
const states = new WeakMap < AutoCheckElement , State > ( )
11
11
12
12
export default class AutoCheckElement extends HTMLElement {
13
- connectedCallback ( ) {
13
+ connectedCallback ( ) : void {
14
14
const input = this . input
15
15
if ( ! input ) return
16
16
@@ -24,7 +24,7 @@ export default class AutoCheckElement extends HTMLElement {
24
24
input . spellcheck = false
25
25
}
26
26
27
- disconnectedCallback ( ) {
27
+ disconnectedCallback ( ) : void {
28
28
const input = this . input
29
29
if ( ! input ) return
30
30
@@ -37,7 +37,7 @@ export default class AutoCheckElement extends HTMLElement {
37
37
input . setCustomValidity ( '' )
38
38
}
39
39
40
- attributeChangedCallback ( name : string ) {
40
+ attributeChangedCallback ( name : string ) : void {
41
41
if ( name === 'required' ) {
42
42
const input = this . input
43
43
if ( ! input ) return
You can’t perform that action at this time.
0 commit comments