6 lines
158 B
TypeScript
6 lines
158 B
TypeScript
import * as t from '@babel/types';
|
|
export default function findGlobals(ast: t.Node): {
|
|
name: string;
|
|
nodes: (t.Identifier | t.ThisExpression)[];
|
|
}[];
|