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

typescript typings #2

Closed
wants to merge 1 commit into from
Closed

typescript typings #2

wants to merge 1 commit into from

Conversation

rapropos
Copy link

@rapropos rapropos commented Feb 3, 2016

This allows people to seamlessly access the library from TypeScript.

@rapropos
Copy link
Author

rapropos commented Feb 3, 2016

I believe the CI build failure is related to a dependency of coveralls using versioning syntax unsupported by npm 1.2.30. I think it's the "delayed-stream": "~1.0.0" in combined-stream's package.json.

@JasonKleban
Copy link

Can this be accepted anyway?

@@ -25,5 +25,6 @@
"homepage": "https://github.com/emn178/hi-base32",
"bugs": {
"url": "https://github.com/emn178/hi-base32/issues"
}
},
"typings": "./hi-base32.d.ts"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename file to index.d.ts, TypeScript looks up this path in default.
And look like document also uses types in default.

@emn178
Copy link
Owner

emn178 commented Jul 21, 2017

sorry, didn't notice this.

@emn178
Copy link
Owner

emn178 commented Aug 16, 2017

add this feature in v0.3.0

@emn178 emn178 closed this Nov 19, 2017
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.

3 participants