function* operation() { //@ts-expect-error `string` is not assignable to `number`! let count = yield* createString(); return count.toExponential() }