UNPKG

sucrase

Version:

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

7 lines (6 loc) 253 B
import type TokenProcessor from "../TokenProcessor"; /** * Starting at a potential `with` or (legacy) `assert` token, remove the import * attributes if they exist. */ export declare function removeMaybeImportAttributes(tokens: TokenProcessor): void;