Skip to content

Commit

Permalink
Update www/docs/faq.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd authored Jan 28, 2025
1 parent fb14e2a commit 4034809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/docs/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ and import it when you want this effect.
import { call, type Operation } from "effection";

declare global {
interface Promise<T> extends Operation<T> {}
interface Promise<T> extends Operation<T> {}
}

Object.defineProperty(Promise.prototype, Symbol.iterator, {
value(): {
value() {
return call(() => this)[Symbol.iterator]();
}
},
});
```

Expand Down

0 comments on commit 4034809

Please sign in to comment.