fix(build): d.ts生成時にexport defaultを生成するように (#11280)
This commit is contained in:
		| @@ -51,11 +51,7 @@ export default function generateDTS() { | |||||||
| 				ts.NodeFlags.Const | ts.NodeFlags.Ambient | ts.NodeFlags.ContextFlags, | 				ts.NodeFlags.Const | ts.NodeFlags.Ambient | ts.NodeFlags.ContextFlags, | ||||||
| 			), | 			), | ||||||
| 		), | 		), | ||||||
| 		ts.factory.createExportAssignment( | 		ts.factory.createExportDefault(ts.factory.createIdentifier('locales')), | ||||||
| 			undefined, |  | ||||||
| 			true, |  | ||||||
| 			ts.factory.createIdentifier('locales'), |  | ||||||
| 		), |  | ||||||
| 	]; | 	]; | ||||||
| 	const printed = ts.createPrinter({ | 	const printed = ts.createPrinter({ | ||||||
| 		newLine: ts.NewLineKind.LineFeed, | 		newLine: ts.NewLineKind.LineFeed, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 anatawa12
					anatawa12