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

Example for how to use in ES6 / typescript project #46

Closed
vidartf opened this issue Mar 23, 2018 · 5 comments
Closed

Example for how to use in ES6 / typescript project #46

vidartf opened this issue Mar 23, 2018 · 5 comments

Comments

@vidartf
Copy link
Contributor

vidartf commented Mar 23, 2018

It would be nice to have an example of how to consume the library in an ES6 project and in a TS project.

@drudru
Copy link
Owner

drudru commented Mar 26, 2018

Hi - I will look into this tomorrow, but I have used it in a TS project. I will need to see what the best practice is these days for TS.

@drudru
Copy link
Owner

drudru commented Mar 28, 2018

Hi @vidartf - if you created these example, I would accept the pull request. 👍

@vidartf
Copy link
Contributor Author

vidartf commented Apr 4, 2018

See #47 / #48 for my take on a TS example and a fix for TS typings.

@drudru
Copy link
Owner

drudru commented Apr 4, 2018

Thanks @vidartf - your pull requests were merged.

@drudru drudru closed this as completed Apr 4, 2018
@drudru
Copy link
Owner

drudru commented Apr 5, 2018

@vidartf

BTW - a quick heads up - I'm pushing the changes for Bold support. I renamed one of the TypeScript classes. You shouldn't have an issue, but I didn't want this to be a surprise either.

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

No branches or pull requests

2 participants