Open
Description
opened on Dec 30, 2020
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
Activity