@types/eslint
Advanced tools
Comparing version 8.56.3 to 8.56.4
@@ -1180,2 +1180,14 @@ /// <reference path="helpers.d.ts" /> | ||
// Temporarily loosen type for just flat config files (see #68232) | ||
type FlatConfigParserModule = | ||
& Omit<ParserModule, "parseForESLint"> | ||
& ({ | ||
parse(text: string, options?: any): unknown; | ||
} | { | ||
parseForESLint(text: string, options?: any): Omit<ESLintParseResult, "ast" | "scopeManager"> & { | ||
ast: unknown; | ||
scopeManager?: unknown; | ||
}; | ||
}); | ||
type ParserModule = | ||
@@ -1254,3 +1266,3 @@ & ESLint.ObjectMetaProperties | ||
*/ | ||
parser?: ParserModule; | ||
parser?: FlatConfigParserModule; | ||
@@ -1257,0 +1269,0 @@ /** |
{ | ||
"name": "@types/eslint", | ||
"version": "8.56.3", | ||
"version": "8.56.4", | ||
"description": "TypeScript definitions for eslint", | ||
@@ -68,4 +68,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint", | ||
}, | ||
"typesPublisherContentHash": "db61d0c45ee279ce72fec6d0a714d75c6f8212d6a92954dada5d010c1170058a", | ||
"typesPublisherContentHash": "8ae0e5cc4b09608bfecdba6f13af7bde23b0995c86abf6d9f3d612694594ea55", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 22 Feb 2024 22:35:17 GMT | ||
* Last updated: Tue, 27 Feb 2024 20:07:21 GMT | ||
* Dependencies: [@types/estree](https://npmjs.com/package/@types/estree), [@types/json-schema](https://npmjs.com/package/@types/json-schema) | ||
@@ -14,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186191
5502