Home Reference Source Repository
import {ExportDefaultDeclaration} from 'esast/src/ast.js'
public class | source

ExportDefaultDeclaration

Extends:

Node → ExportDefaultDeclaration

export default declaration

Constructor Summary

Public Constructor
public

constructor(declaration: *)

Member Summary

Public Members
public

declaration: Declaration | Expression

Inherited Summary

From class Node
public get

type: *

For compatibility with other AST representations, all Node instances have a 'type' property that is the name of that type.
public

toJSON(): *

Convert to JSON.
public

toString(): *

Public Constructors

public constructor(declaration: *) source

Params:

NameTypeAttributeDescription
declaration *

Public Members

public declaration: Declaration | Expression source