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

Typings for Typescript #31

Closed
origin1tech opened this issue Feb 15, 2018 · 1 comment
Closed

Typings for Typescript #31

origin1tech opened this issue Feb 15, 2018 · 1 comment

Comments

@origin1tech
Copy link

Any chance of including "typings" flag in your package.json pointing a typings.d.ts file with the following?

Would be helpful for Typescript.

"typings": "lib/typings.d.ts"
export interface IParsedDomain {
    domain?: string;
    subdomain?: string;
    tld?: string;
}
export declare type ParsedDomain = (url: string, customTlds?: RegExp | string[], privateTlds?: boolean) => IParsedDomain;
@jhnns
Copy link
Member

jhnns commented Jun 14, 2019

Shipped with v2.3.1

@jhnns jhnns closed this as completed Jun 14, 2019
Open Source projects automation moved this from Backlog to Done Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants