From 96fe2d10a4da0521b7cd72d90fd42121f9311978 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 6 Oct 2019 01:02:34 +0900 Subject: Update eslint and @typescript-eslint (denoland/deno_std#621) Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e --- fs/path/parse_format_test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fs/path/parse_format_test.ts') diff --git a/fs/path/parse_format_test.ts b/fs/path/parse_format_test.ts index 8829891da..db83c3354 100644 --- a/fs/path/parse_format_test.ts +++ b/fs/path/parse_format_test.ts @@ -1,5 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ +/* eslint-disable @typescript-eslint/no-explicit-any */ +// TODO(kt3k): fix any types in this file import { test } from "../../testing/mod.ts"; import { assertEquals } from "../../testing/asserts.ts"; @@ -80,7 +82,7 @@ const unixSpecialCaseFormatTests = [ ]; function checkParseFormat(path: any, paths: any): void { - paths.forEach(function(p: Record[]) { + paths.forEach(function(p: Array>) { const element = p[0]; const output = path.parse(element); assertEquals(typeof output.root, "string"); @@ -96,7 +98,7 @@ function checkParseFormat(path: any, paths: any): void { } function checkSpecialCaseParseFormat(path: any, testCases: any): void { - testCases.forEach(function(testCase: Record[]) { + testCases.forEach(function(testCase: Array>) { const element = testCase[0]; const expect = testCase[1]; const output = path.parse(element); -- cgit v1.2.3