From e3b8fe7e1e9686184a93b02d191fbaeef40c1c34 Mon Sep 17 00:00:00 2001 From: Paul Grau Date: Sun, 18 Jul 2021 15:09:54 +0900 Subject: [PATCH] No need to export constructor --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index e0d54b2..33c9aa9 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -50,7 +50,7 @@ import { Functionalify, Typify } from './functional'; type FunctionalInterface = Functionalify>, ReadChannel> & Functionalify>, WriteChannel> -export type ChannelConstructor = { +type ChannelConstructor = { (length?: number): ReadWriteChannel; new (length?: number): ReadWriteChannel; all(...values: T[]): ReadWriteChannel;