I added addEventListener to ServiceWorkerRegistration. But cant get event.target.state.
error is Property \'state\' does not exist on type \'EventTarget\'.
Property \'state\' does not exist on type \'EventTarget\'.