From b54d6ab0c2f9b7c5f59bf4799c391256f4004b9a Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 18 Oct 2022 18:57:15 +0200 Subject: [PATCH] Fix test typing. --- tests/redirect.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/redirect.test.ts b/tests/redirect.test.ts index 062b2fc..1e0491e 100644 --- a/tests/redirect.test.ts +++ b/tests/redirect.test.ts @@ -68,7 +68,7 @@ test('Redirect.isMatch', (t) => { const invalidRedirect = new HostnameRedirect({ test: 'invalid', - } as unknown as Redirects['parameters']); + } as unknown as HostnameRedirect['parameters']); const samples: Array<[Redirects, UrlSamples]> = [ [invalidRedirect, [['https://example.org', false]]],