Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600)

* Enable tsc alwaysStrict

* Enable tsc strictBindCallApply

* Enable tsc noImplicitThis

* Add d.ts

* Improve types

* Add ?

* Increase coverage

* Improve coverage
This commit is contained in:
Michael Telatynski
2022-11-21 11:24:59 +00:00
committed by GitHub
parent 0b54699829
commit 8c0d202df4
23 changed files with 188 additions and 68 deletions
+7
View File
@@ -433,4 +433,11 @@ describe("Notifier", () => {
expect(Notifier._displayPopupNotification).toHaveBeenCalledTimes(1);
});
});
describe("setPromptHidden", () => {
it("should persist by default", () => {
Notifier.setPromptHidden(true);
expect(localStorage.getItem("notifications_hidden")).toBeTruthy();
});
});
});