Skip to content
New issue

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

Support <reference types="node" /> and adding import #150

Open
chaliy opened this issue Jul 9, 2022 · 0 comments
Open

Support <reference types="node" /> and adding import #150

chaliy opened this issue Jul 9, 2022 · 0 comments

Comments

@chaliy
Copy link

chaliy commented Jul 9, 2022

I have my class extending EventEmitter from node

import { EventEmitter } from "events";
class Messenger extends EventEmitter {
}

After I am generating types.d.ts, it does not include reference to node and import:

<reference types="node" />

import { EventEmitter } from "events";

Is there any way to instruct tsd-jsdoc to generate such reference and import?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant