File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ export default class TaskListsElement extends HTMLElement {
25
25
observers . set ( this , new MutationObserver ( syncState . bind ( null , this ) ) )
26
26
}
27
27
28
- connectedCallback ( ) {
28
+ connectedCallback ( ) : void {
29
29
const observer = observers . get ( this )
30
30
if ( observer ) {
31
31
observer . observe ( this , { childList : true , subtree : true } )
32
32
}
33
33
syncState ( this )
34
34
}
35
35
36
- disconnectedCallback ( ) {
36
+ disconnectedCallback ( ) : void {
37
37
const observer = observers . get ( this )
38
38
if ( observer ) {
39
39
observer . disconnect ( )
@@ -68,7 +68,7 @@ export default class TaskListsElement extends HTMLElement {
68
68
return [ 'disabled' ]
69
69
}
70
70
71
- attributeChangedCallback ( name : string , oldValue : string , newValue : string ) {
71
+ attributeChangedCallback ( name : string , oldValue : string , newValue : string ) : void {
72
72
if ( oldValue === newValue ) return
73
73
74
74
switch ( name ) {
You can’t perform that action at this time.
0 commit comments