No need to export constructor

This commit is contained in:
Paul Grau 2021-07-18 15:09:54 +09:00
parent 5617d0f591
commit e3b8fe7e1e

2
lib/index.d.ts vendored
View file

@ -50,7 +50,7 @@ import { Functionalify, Typify } from './functional';
type FunctionalInterface =
Functionalify<Typify<ReadChannel<any>>, ReadChannel<any>> & Functionalify<Typify<WriteChannel<any>>, WriteChannel<any>>
export type ChannelConstructor = {
type ChannelConstructor = {
<T>(length?: number): ReadWriteChannel<T>;
new <T>(length?: number): ReadWriteChannel<T>;
all<T>(...values: T[]): ReadWriteChannel<T>;