Skip to content
Snippets Groups Projects
Unverified Commit 1c82e973 authored by anatawa12's avatar anatawa12 Committed by GitHub
Browse files

fix(build): d.ts生成時にexport defaultを生成するように (#11280)

parent 2b6dbd4f
No related branches found
No related tags found
No related merge requests found
......@@ -51,11 +51,7 @@ export default function generateDTS() {
ts.NodeFlags.Const | ts.NodeFlags.Ambient | ts.NodeFlags.ContextFlags,
),
),
ts.factory.createExportAssignment(
undefined,
true,
ts.factory.createIdentifier('locales'),
),
ts.factory.createExportDefault(ts.factory.createIdentifier('locales')),
];
const printed = ts.createPrinter({
newLine: ts.NewLineKind.LineFeed,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment