Skip to content

Commit 9f37bdf

Browse files
committed
-
1 parent cdf4204 commit 9f37bdf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/build.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,28 @@ async function emitFlavor(
5151
mergeNamesakes(exposed);
5252
exposed.events = webidl.events;
5353

54-
// Helper to emit and write multiple signatures
54+
// Helper to emit and write multiple iterators
5555
const outputs = [
5656
{
5757
suffix: ".generated.d.ts",
58-
signature: "",
58+
iterator: "",
5959
},
6060
{
6161
suffix: ".iterable.generated.d.ts",
62-
signature: "sync",
62+
iterator: "sync",
6363
},
6464
{
6565
suffix: ".asynciterable.generated.d.ts",
66-
signature: "async",
66+
iterator: "async",
6767
},
6868
] as const;
6969

7070
await Promise.all(
71-
outputs.map(async ({ suffix, signature }) => {
71+
outputs.map(async ({ suffix, iterator }) => {
7272
const content = emitWebIdl(
7373
exposed,
7474
options.global[0],
75-
signature,
75+
iterator,
7676
options.compilerBehavior,
7777
);
7878
await fs.writeFile(

0 commit comments

Comments
 (0)