Open
Description
Bug Report
Sorry, In my memory there's a duplicate issue about the same problem but I can't find it out.
π Search Terms
API, Boolean, Literal
π Version & Regression Information
- I was unable to test this on prior versions because It's API
β― Playground Link
None
π» Code
export interface TrueLiteral extends PrimaryExpression {
readonly kind: SyntaxKind.TrueKeyword;
}
export interface FalseLiteral extends PrimaryExpression {
readonly kind: SyntaxKind.FalseKeyword;
}
π Actual behavior
isLiteralExpression(trueLiteral) === false
π Expected behavior
isLiteralExpression(trueLiteral) === true