We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f523f00 commit 4e124d8Copy full SHA for 4e124d8
1 file changed
src/utils/pureComments.ts
@@ -12,16 +12,6 @@ import {
12
} from '../ast/nodes/NodeType';
13
import { SOURCEMAPPING_URL_RE } from './sourceMappingURL';
14
15
-// patch up acorn-walk until class-fields are officially supported
16
-basicWalker.PropertyDefinition = function (node: any, st: any, c: any): void {
17
- if (node.computed) {
18
- c(node.key, st, 'Expression');
19
- }
20
- if (node.value) {
21
- c(node.value, st, 'Expression');
22
23
-};
24
-
25
interface CommentState {
26
annotationIndex: number;
27
annotations: acorn.Comment[];
0 commit comments