From cc2ecdd17a0fe6a70d58fad20a1c169d50853d5f Mon Sep 17 00:00:00 2001 From: Christopher Quadflieg Date: Fri, 5 Jun 2020 08:38:51 +0200 Subject: [PATCH] chore: update glob types --- src/cli/htmlhint.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/htmlhint.ts b/src/cli/htmlhint.ts index 21e269fb6..3a3557982 100644 --- a/src/cli/htmlhint.ts +++ b/src/cli/htmlhint.ts @@ -5,6 +5,7 @@ import * as chalk from 'chalk' import * as program from 'commander' import { existsSync, readFileSync, statSync } from 'fs' import * as glob from 'glob' +import { IGlob } from 'glob' import * as parseGlob from 'parse-glob' import { dirname, resolve, sep } from 'path' import * as request from 'request' @@ -428,8 +429,7 @@ function walkPath( }) } - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const walk: any = glob( + const walk: IGlob = glob( pattern, { cwd: base,