Skip to content

Commit 31fa8f9

Browse files
committed
revert usages of async
1 parent 3e1098a commit 31fa8f9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/productions/type.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ export class Type extends Base {
171171

172172
get generic() {
173173
if (this.subtype.length && this.tokens.base) {
174-
if (this.tokens.base.value === "iterable" && this.tokens.async)
175-
return "async iterable";
176174
return this.tokens.base.value;
177175
}
178176
return "";
@@ -263,7 +261,6 @@ for more information.`;
263261
const type_body = () => {
264262
if (this.union || this.generic) {
265263
return w.ts.wrap([
266-
w.token(this.tokens.async, w.ts.generic),
267264
w.token(this.tokens.base, w.ts.generic),
268265
w.token(this.tokens.open),
269266
...this.subtype.map((t) => t.write(w)),

0 commit comments

Comments
 (0)