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 types field to package.json #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Blasz
Copy link

@Blasz Blasz commented Sep 27, 2019

This allows the types in the repo to be consumed by third parties.

This allows consumers to consume the types in this repo
@wclr
Copy link
Owner

wclr commented Sep 27, 2019

is it supposed to?

@Blasz
Copy link
Author

Blasz commented Sep 30, 2019

Well, the project is written in typescript and emits declaration files, so it is the recommended approach to expose these types directly for consumers, see https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html.

I'm consuming yalc via node rather than using the CLI so I'd like to leverage the types of the functions that are exported from index.

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.

None yet

3 participants