Changelog
1.9.0
Bugfixes:
getNextToken
no longer omits EndOfFileToken
when there is no trivia before EOF. That means the only inputs where getNextToken
returns undefined
are SourceFile
and EndOfFileToken
Features:
isNodeFlagSet
, isTypeFlagSet
, isSymbolFlagSet
,isObjectFlagSet
, isModifierFlagSet
Changelog
1.8.0
Features:
isJsxAttributes
, isIntersectionTypeNode
, isTypeOperatorNode
, isTypePredicateNode
, isTypeQueryNode
, isUnionTypeNode
Changelog
1.7.0
Bugfixes:
isFunctionScopeBoundary
now handles Interfaces, TypeAliases, FunctionSignatures, etcFeatures:
isThisParameter
, isSameLine
and isFunctionWithBody
Changelog
1.6.0
Features:
isValidPropertyAccess
, isValidNumericLiteral
and isValidPropertyName
Changelog
1.3.0
Bugfixes:
canHaveLeadingTrivia
:
hasOwnThisReference
: now includes accessors on object literalsFeatures:
Changelog
1.2.2
Bugfixes:
hasOwnThisReference
: