@typescript-eslint/type-utils
Advanced tools
Comparing version 7.13.1-alpha.3 to 7.13.1-alpha.4
@@ -15,3 +15,5 @@ import * as ts from 'typescript'; | ||
*/ | ||
export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags, isReceiver?: boolean): boolean; | ||
export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags, | ||
/** @deprecated This params is not used and will be removed in the future.*/ | ||
isReceiver?: boolean): boolean; | ||
//# sourceMappingURL=typeFlagUtils.d.ts.map |
@@ -51,4 +51,7 @@ "use strict"; | ||
*/ | ||
function isTypeFlagSet(type, flagsToCheck, isReceiver) { | ||
function isTypeFlagSet(type, flagsToCheck, | ||
/** @deprecated This params is not used and will be removed in the future.*/ | ||
isReceiver) { | ||
const flags = getTypeFlags(type); | ||
// eslint-disable-next-line deprecation/deprecation -- not used | ||
if (isReceiver && flags & ANY_OR_UNKNOWN) { | ||
@@ -55,0 +58,0 @@ return true; |
{ | ||
"name": "@typescript-eslint/type-utils", | ||
"version": "7.13.1-alpha.3", | ||
"version": "7.13.1-alpha.4", | ||
"description": "Type utilities for working with TypeScript + ESLint together", | ||
@@ -49,4 +49,4 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/typescript-estree": "7.13.1-alpha.3", | ||
"@typescript-eslint/utils": "7.13.1-alpha.3", | ||
"@typescript-eslint/typescript-estree": "7.13.1-alpha.4", | ||
"@typescript-eslint/utils": "7.13.1-alpha.4", | ||
"debug": "^4.3.4", | ||
@@ -57,3 +57,3 @@ "ts-api-utils": "^1.3.0" | ||
"@jest/types": "29.6.3", | ||
"@typescript-eslint/parser": "7.13.1-alpha.3", | ||
"@typescript-eslint/parser": "7.13.1-alpha.4", | ||
"ajv": "^6.12.6", | ||
@@ -60,0 +60,0 @@ "downlevel-dts": "*", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
109838
1589
+ Added@typescript-eslint/scope-manager@7.13.1-alpha.4(transitive)
+ Added@typescript-eslint/types@7.13.1-alpha.4(transitive)
+ Added@typescript-eslint/typescript-estree@7.13.1-alpha.4(transitive)
+ Added@typescript-eslint/utils@7.13.1-alpha.4(transitive)
+ Added@typescript-eslint/visitor-keys@7.13.1-alpha.4(transitive)
- Removed@typescript-eslint/scope-manager@7.13.1-alpha.3(transitive)
- Removed@typescript-eslint/types@7.13.1-alpha.3(transitive)
- Removed@typescript-eslint/typescript-estree@7.13.1-alpha.3(transitive)
- Removed@typescript-eslint/utils@7.13.1-alpha.3(transitive)
- Removed@typescript-eslint/visitor-keys@7.13.1-alpha.3(transitive)