two-stroke 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/test.mjs +3 -5
  2. package/package.json +1 -1
package/bin/test.mjs CHANGED
@@ -31,11 +31,9 @@ if (fs.existsSync("wrangler.toml")) {
31
31
  "",
32
32
  ts.ScriptTarget.Latest,
33
33
  );
34
- const result = printer.printNode(
35
- ts.EmitHint.Unspecified,
36
- types[0],
37
- resultFile,
38
- );
34
+ const result = types
35
+ .map((t) => printer.printNode(ts.EmitHint.Unspecified, t, resultFile))
36
+ .join("\n\n");
39
37
  fs.writeFileSync(
40
38
  "test/api.d.ts",
41
39
  await prettier.format(result, { parser: "typescript" }),
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  "name": "two-stroke",
53
53
  "packageManager": "yarn@4.6.0",
54
54
  "type": "module",
55
- "version": "4.2.0",
55
+ "version": "4.3.0",
56
56
  "devDependencies": {
57
57
  "@types/eslint": "^9.6.1",
58
58
  "eslint": "^9.23.0",