Skip to content

Commit dc36e68

Browse files
committed
un-type local-storage-events-emitter.ts
1 parent e7b91aa commit dc36e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/local-storage-events-emitter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import { TypedEventEmitter } from "../models/typed-event-emitter";
17+
import { EventEmitter } from "events";
1818

1919
export enum LocalStorageErrors {
2020
Global = 'Global',
@@ -33,5 +33,5 @@ export enum LocalStorageErrors {
3333
* maybe you should check out your disk, as it's probably dying and your session may die with it.
3434
* See: https://github.com/vector-im/element-web/issues/18423
3535
*/
36-
class LocalStorageErrorsEventsEmitter extends TypedEventEmitter<LocalStorageErrors> {}
36+
class LocalStorageErrorsEventsEmitter extends EventEmitter {}
3737
export const localStorageErrorsEventsEmitter = new LocalStorageErrorsEventsEmitter();

0 commit comments

Comments
 (0)