astro-ghostcms/.pnpm-store/v3/files/ef/c9a5e097b93cfc9cfc816f91ccb...

10 lines
431 B
Plaintext

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>;