We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
async
1 parent 3e1098a commit 31fa8f9Copy full SHA for 31fa8f9
lib/productions/type.js
@@ -171,8 +171,6 @@ export class Type extends Base {
171
172
get generic() {
173
if (this.subtype.length && this.tokens.base) {
174
- if (this.tokens.base.value === "iterable" && this.tokens.async)
175
- return "async iterable";
176
return this.tokens.base.value;
177
}
178
return "";
@@ -263,7 +261,6 @@ for more information.`;
263
261
const type_body = () => {
264
262
if (this.union || this.generic) {
265
return w.ts.wrap([
266
- w.token(this.tokens.async, w.ts.generic),
267
w.token(this.tokens.base, w.ts.generic),
268
w.token(this.tokens.open),
269
...this.subtype.map((t) => t.write(w)),
0 commit comments