simplified stuff (thx WebStorm)

This commit is contained in:
Sebastian Seedorf
2020-12-05 23:00:08 +01:00
parent adf8c400bc
commit 87e69e29c6
8 changed files with 21 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ Deno.test("isRequired (match)", async () => {
});
Deno.test("isRequired (no match)", async () => {
const values = [
const values: (undefined|null)[] = [
undefined,
null,
];
@@ -59,7 +59,7 @@ Deno.test("isDefined (match)", async () => {
});
Deno.test("isDefined (no match)", async () => {
const values = [
const values: undefined[] = [
undefined,
];
for (const value of values) {