diff --git a/packages/transducers/src/iterator.ts b/packages/transducers/src/iterator.ts
index 43f32df6d3..22ddd8c6d6 100644
--- a/packages/transducers/src/iterator.ts
+++ b/packages/transducers/src/iterator.ts
@@ -38,7 +38,7 @@ export function* iterator(xform: Transducer, xs: Iterable): Itera
* @param xs
*/
export function* iterator1(xform: Transducer, xs: Iterable): IterableIterator {
- const reduce = (>xform([null, null, (acc, x) => (acc = x)]))[2];
+ const reduce = (>xform([null, null, (_, x) => x]))[2];
for (let x of xs) {
let y = reduce(SEMAPHORE, x);
if (isReduced(y)) {
diff --git a/packages/transducers/src/xform/interleave.ts b/packages/transducers/src/xform/interleave.ts
index 526c1d2b18..0d773928fb 100644
--- a/packages/transducers/src/xform/interleave.ts
+++ b/packages/transducers/src/xform/interleave.ts
@@ -5,12 +5,12 @@ import { isReduced } from "../reduced";
export function interleave(sep: B | (() => B)): Transducer;
export function interleave(sep: B | (() => B), src: Iterable): IterableIterator;
-export function interleave(sep: B | (() => B), src?: Iterable): any {
+export function interleave(sep: any, src?: Iterable): any {
return src ?
iterator(interleave(sep), src) :
(rfn: Reducer) => {
const r = rfn[2];
- const _sep = typeof sep === "function" ? sep : () => sep;
+ const _sep: () => B = typeof sep === "function" ? sep : () => sep;
return compR(rfn,
(acc, x: A) => {
acc = r(acc, _sep());
diff --git a/packages/transducers/src/xform/interpose.ts b/packages/transducers/src/xform/interpose.ts
index daab88ac73..200fb0ecb9 100644
--- a/packages/transducers/src/xform/interpose.ts
+++ b/packages/transducers/src/xform/interpose.ts
@@ -5,12 +5,12 @@ import { isReduced } from "../reduced";
export function interpose(sep: B | (() => B)): Transducer;
export function interpose(sep: B | (() => B), src: Iterable): IterableIterator;
-export function interpose(sep: B | (() => B), src?: Iterable): any {
+export function interpose(sep: any, src?: Iterable): any {
return src ?
iterator(interpose(sep), src) :
(rfn: Reducer) => {
const r = rfn[2];
- const _sep = typeof sep === "function" ? sep : () => sep;
+ const _sep: () => B = typeof sep === "function" ? sep : () => sep;
let first = true;
return compR(rfn,
(acc, x: A) => {