We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee8b9d commit d3e2388Copy full SHA for d3e2388
1 file changed
src/compiler/utilities.ts
@@ -3791,8 +3791,8 @@ namespace ts {
3791
}
3792
3793
export function getModifierFlags(node: Node): ModifierFlags {
3794
- if (node.modifierFlagsCache! & ModifierFlags.HasComputedFlags) {
3795
- return node.modifierFlagsCache! & ~ModifierFlags.HasComputedFlags;
+ if (node.modifierFlagsCache & ModifierFlags.HasComputedFlags) {
+ return node.modifierFlagsCache & ~ModifierFlags.HasComputedFlags;
3796
3797
3798
const flags = getModifierFlagsNoCache(node);
0 commit comments