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

7 lines
364 B
TypeScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
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;