babel-traverse: Denote that path keys may be indexes

This commit is contained in:
Ryan Petrich
2018-06-11 02:18:04 -04:00
parent d77dc9c062
commit 920bf98cd8
+1 -1
View File
@@ -340,7 +340,7 @@ export class NodePath<T = Node> {
listKey: string;
inList: boolean;
parentKey: string;
key: string;
key: string | number;
node: T;
scope: Scope;
type: string;