Skip to main content

Module export_declarations

Module export_declarations 

Source
Expand description

The exported variable declarations whose export keyword exports more than one name.

One export keyword exports every name of export const { a, b } = x;, export const [a, b] = x; and export const a = 1, b = 2;. fallow fix can remove that keyword only when every one of these names is unused, so it must know all the names, also of a nested pattern, a default value or a rest element.

Structs§

SharedExportDeclaration
One top-level exported variable declaration that binds more than one name or binds its names through a destructuring pattern.

Functions§

shared_export_declarations
The shared export declarations of the file at path.