fengb / fengb/chai-eventemitter

TypeScript declaration

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi, is this a good TS for your library?

```
declare module 'chai-eventemitter' {
function chaiEventEmitter(chai: any, utils: any): void;
namespace chaiEventEmitter {}
export = chaiEventEmitter;
}

declare module Chai {
interface Assertion {
emitFrom(ee: NodeJS.EventEmitter, event: string, ...args: any[]): Assertion;
}
}
```

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.