Skip to content

Commit 4c461b2

Browse files
committed
test: remove any in favor of proper type
1 parent efc6d50 commit 4c461b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/i18n-preferred-locale-detection/i18n-preferred-locale-detection.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { Request } from 'playwright'
12
import { join } from 'path'
23
import { FileRef, nextTestSetup } from 'e2e-utils'
34

@@ -12,7 +13,7 @@ describe('i18-preferred-locale-redirect', () => {
1213
})
1314

1415
let requestedPreferredLocalePathCount = 0
15-
browser.on('request', (request: any) => {
16+
browser.on('request', (request: Request) => {
1617
if (new URL(request.url(), 'http://n').pathname === '/id') {
1718
requestedPreferredLocalePathCount++
1819
}

0 commit comments

Comments
 (0)