UNPKG

sucrase

Version:

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

8 lines (7 loc) 325 B
import TokenProcessor from '../TokenProcessor'; /** * For an import or export statement, check if this might be actually a property * name like in `{import: 1}`. If not, then we can trust that it's a real import * or export. */ export default function isMaybePropertyName(tokens: TokenProcessor, index: number): boolean;