Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "tslint_rules/util"

Index

Functions

couldBeType

  • couldBeType(type: Type, name: string | RegExp): boolean

getClassesWithAnnotation

  • getClassesWithAnnotation(sourceFile: SourceFile, annotationName: string): Node[]

getObservableSubscribeExpression

  • getObservableSubscribeExpression(node: Node, program: Program): Node[]

hasImport

  • hasImport(sourceFile: SourceFile, moduleName: string, namedImport: string): boolean
  • Parameters

    • sourceFile: SourceFile
    • moduleName: string
    • namedImport: string

    Returns boolean

isReferenceType

  • isReferenceType(type: Type): boolean

isType

  • isType(type: Type, name: string | RegExp): boolean

isUnionType

  • isUnionType(type: Type): boolean

Generated using TypeDoc