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

Add TypeScript definition #15

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Add TypeScript definition #15

wants to merge 7 commits into from

Conversation

stephtr
Copy link

@stephtr stephtr commented Feb 1, 2017

That should fix #14 .
Usage within TypeScript:

import * as owasp from 'owasp-password-strength-test';
owasp. ...

or using UMD: owaspPasswordStrengthTest. ...

@crutchcorn
Copy link

In the meantime, would you be able to submit this type file to https://github.com/DefinitelyTyped/DefinitelyTyped ?

@stephtr
Copy link
Author

stephtr commented Dec 21, 2017

I have created a pull request (DefinitelyTyped#22460) which probably should get merged soon.
Nevertheless it still would be better to include the TypeScript definition in this repository.

@stephtr
Copy link
Author

stephtr commented Dec 28, 2017

Update: got merged and should be available on npm soon.

Reminder: remove DefinitelyTyped package when/if this PR gets merged (in a distant future).

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.

typescript types
2 participants