10 lines
431 B
TypeScript
10 lines
431 B
TypeScript
|
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>;
|