UNPKG

sucrase

Version:

Super-fast alternative to Babel for when you can target modern JS runtimes

7 lines (6 loc) 364 B
import type TokenProcessor from "../TokenProcessor"; import type { DeclarationInfo } from "./getDeclarationInfo"; /** * Common method sharing code between CJS and ESM cases, since they're the same here. */ export default function shouldElideDefaultExport(isTypeScriptTransformEnabled: boolean, tokens: TokenProcessor, declarationInfo: DeclarationInfo): boolean;