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

Adds a d.ts file generated from the JS #6

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

orta
Copy link
Contributor

@orta orta commented Nov 12, 2019

Hello there!

This adds TypeScript support for consumers, with no changes to your project. The command in the scripts will automatically generate a d.ts file which corresponds to the interface of the module:

export function supportsHyperlink(stream: any): boolean;
export declare const stdout: boolean;
export declare const stderr: boolean;

@jamestalmage jamestalmage merged commit 510d416 into jamestalmage:master Feb 7, 2020
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

Successfully merging this pull request may close these issues.

2 participants