Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 2x 2x 2x 2x 2x 2x 2x 2x 2x 3x 3x 3x | /** @import { ExportDefaultDeclaration, Node } from 'estree' */
/** @import { Context } from '../types' */
import * as e from '../../../errors.js';
/**
* @param {ExportDefaultDeclaration} node
* @param {Context} context
*/
export function ExportDefaultDeclaration(node, context) {
if (context.state.ast_type === 'instance') {
e.module_illegal_default_export(node);
}
context.next();
}
|