@typescript-eslint/type-utils
Advanced tools
Comparing version 5.9.2-alpha.0 to 5.9.2-alpha.2
@@ -18,4 +18,4 @@ import * as ts from 'typescript'; | ||
*/ | ||
declare function isTypeReadonly(checker: ts.TypeChecker, type: ts.Type, options: ReadonlynessOptions): boolean; | ||
declare function isTypeReadonly(checker: ts.TypeChecker, type: ts.Type, options?: ReadonlynessOptions): boolean; | ||
export { isTypeReadonly }; | ||
//# sourceMappingURL=isTypeReadonly.d.ts.map |
@@ -162,3 +162,3 @@ "use strict"; | ||
*/ | ||
function isTypeReadonly(checker, type, options) { | ||
function isTypeReadonly(checker, type, options = exports.readonlynessOptionsDefaults) { | ||
return (isTypeReadonlyRecurser(checker, type, options, new Set()) === | ||
@@ -165,0 +165,0 @@ 3 /* Readonly */); |
{ | ||
"name": "@typescript-eslint/type-utils", | ||
"version": "5.9.2-alpha.0+5f897287", | ||
"version": "5.9.2-alpha.2+bb8de2c1", | ||
"description": "Type utilities for working with TypeScript + ESLint together", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@typescript-eslint/experimental-utils": "5.9.2-alpha.0+5f897287", | ||
"@typescript-eslint/experimental-utils": "5.9.2-alpha.2+bb8de2c1", | ||
"debug": "^4.3.2", | ||
@@ -48,3 +48,3 @@ "tsutils": "^3.21.0" | ||
"devDependencies": { | ||
"@typescript-eslint/parser": "5.9.2-alpha.0+5f897287", | ||
"@typescript-eslint/parser": "5.9.2-alpha.2+bb8de2c1", | ||
"typescript": "*" | ||
@@ -71,3 +71,3 @@ }, | ||
}, | ||
"gitHead": "5f897287b8e43aa38734c0f262c8fa937bf2e940" | ||
"gitHead": "bb8de2c157de8e5677aba320284a41033848fe33" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
68256