We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc9ef72 commit 8af71c0Copy full SHA for 8af71c0
packages/language-service/src/utils/ts_utils.ts
@@ -559,11 +559,11 @@ export function isStandaloneDecorator(decorator: ts.Decorator): boolean | null {
559
continue;
560
}
561
// TODO(dylhunn): What if this is a dynamically evaluated expression?
562
- if (property.name.getText() === 'standalone' && property.initializer.getText() === 'true') {
563
- return true;
+ if (property.name.getText() === 'standalone' && property.initializer.getText() === 'false') {
+ return false;
564
565
566
- return false;
+ return true;
567
568
569
/**
0 commit comments