File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 11import { ESLintUtils , TSESLint , TSESTree } from '@typescript-eslint/utils' ;
2- import * as tsutils from 'ts-api-utils' ;
32import ts from 'typescript' ;
43import { couldBeFunction } from './could-be-function' ;
54import { couldBeType as tsutilsEtcCouldBeType } from './could-be-type' ;
@@ -59,7 +58,6 @@ export function getTypeServices<
5958 return {
6059 couldBeBehaviorSubject : ( node : TSESTree . Node ) =>
6160 couldBeType ( node , 'BehaviorSubject' ) ,
62- couldBeError : ( node : TSESTree . Node ) => couldBeType ( node , 'Error' ) ,
6361 couldBeFunction : ( node : TSESTree . Node ) => {
6462 if ( isArrowFunctionExpression ( node ) || isFunctionDeclaration ( node ) ) {
6563 return true ;
@@ -75,8 +73,5 @@ export function getTypeServices<
7573 couldReturnObservable : ( node : TSESTree . Node ) =>
7674 couldReturnType ( node , 'Observable' ) ,
7775 couldReturnType,
78- isAny : ( node : TSESTree . Node ) => tsutils . isIntrinsicAnyType ( getTypeAtLocation ( node ) ) ,
79- isReferenceType : ( node : TSESTree . Node ) => tsutils . isTypeReference ( getTypeAtLocation ( node ) ) ,
80- isUnknown : ( node : TSESTree . Node ) => tsutils . isIntrinsicUnknownType ( getTypeAtLocation ( node ) ) ,
8176 } ;
8277}
You can’t perform that action at this time.
0 commit comments