This commit is contained in:
parent
d3c30b669f
commit
c07540a2c4
@ -1,6 +1,7 @@
|
|||||||
|
import DefaultFormatter from "./_default";
|
||||||
import * as t from "../../types";
|
import * as t from "../../types";
|
||||||
|
|
||||||
export default class IgnoreFormatter {
|
export default class IgnoreFormatter extends DefaultFormatter {
|
||||||
exportDeclaration(node, nodes) {
|
exportDeclaration(node, nodes) {
|
||||||
var declar = t.toStatement(node.declaration, true);
|
var declar = t.toStatement(node.declaration, true);
|
||||||
if (declar) nodes.push(t.inherits(declar, node));
|
if (declar) nodes.push(t.inherits(declar, node));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user