GT2/Ejectable/node_modules/sucrase/dist/util/getTSImportedNames.d.ts

10 lines
431 B
TypeScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
import type TokenProcessor from "../TokenProcessor";
/**
* Special case code to scan for imported names in ESM TypeScript. We need to do this so we can
* properly get globals so we can compute shadowed globals.
*
* This is similar to logic in CJSImportProcessor, but trimmed down to avoid logic with CJS
* replacement and flow type imports.
*/
export default function getTSImportedNames(tokens: TokenProcessor): Set<string>;