SonarJS linter helper functions

    Function isGenericType

    • Checks if a node has a generic type like:

      function foo (bar: T) { bar // is generic }

      Parameters

      • node: Node

        TSESTree.Node

      • services: ParserServicesWithTypeInformation

        RuleContext.parserServices

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR