feross / feross/multistream

TypeScript Error: 'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.

Open
#56 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
293
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I am getting this type error, the @type is pointing to 2.1, is it an outdated package or am I doing something wrong?
```ts
import MultiStream from 'multistream'
....
return new MultiStream([stdout, stderr])
```

'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.