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 1
1
import { ESLintUtils , TSESLint , TSESTree } from '@typescript-eslint/utils' ;
2
- import * as tsutils from 'ts-api-utils' ;
3
2
import ts from 'typescript' ;
4
3
import { couldBeFunction } from './could-be-function' ;
5
4
import { couldBeType as tsutilsEtcCouldBeType } from './could-be-type' ;
@@ -59,7 +58,6 @@ export function getTypeServices<
59
58
return {
60
59
couldBeBehaviorSubject : ( node : TSESTree . Node ) =>
61
60
couldBeType ( node , 'BehaviorSubject' ) ,
62
- couldBeError : ( node : TSESTree . Node ) => couldBeType ( node , 'Error' ) ,
63
61
couldBeFunction : ( node : TSESTree . Node ) => {
64
62
if ( isArrowFunctionExpression ( node ) || isFunctionDeclaration ( node ) ) {
65
63
return true ;
@@ -75,8 +73,5 @@ export function getTypeServices<
75
73
couldReturnObservable : ( node : TSESTree . Node ) =>
76
74
couldReturnType ( node , 'Observable' ) ,
77
75
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 ) ) ,
81
76
} ;
82
77
}
You can’t perform that action at this time.
0 commit comments