We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i have a Definition issues. And i'm using nest v6
node_modules/nest-emitter/nest-emitter.module.d.ts:3:35 - error TS2694: Namespace 'NodeJS' has no exported member 'Events'.
3 declare type NestEmitter = NodeJS.Events
import {EventEmitter} from 'events'; /// <reference types="node" /> import { DynamicModule } from '@nestjs/common'; declare type NestEmitter = NodeJS.Events; export declare class NestEmitterModule { static forRoot(emitter: NestEmitter): DynamicModule; } export {};
So i'm replace that. it works fine.
import {EventEmitter} from 'events'; /// <reference types="node" /> import { DynamicModule } from '@nestjs/common'; declare type NestEmitter = EventEmitter; export declare class NestEmitterModule { static forRoot(emitter: NestEmitter): DynamicModule; } export {};
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, i have a Definition issues.
And i'm using nest v6
3 declare type NestEmitter = NodeJS.Events
So i'm replace that. it works fine.
The text was updated successfully, but these errors were encountered: