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

ambient typescript definitions moved to a separate package #369

Open
bjouhier opened this issue Aug 25, 2017 · 0 comments
Open

ambient typescript definitions moved to a separate package #369

bjouhier opened this issue Aug 25, 2017 · 0 comments

Comments

@bjouhier
Copy link
Member

The ambient definitions were bundled with streamline-runtime, which created problems with npm link because the definitions are copied in this case and the TS compiler does not like this.

I have solved the problem by moving the index.d.ts file out of streamline-runtime and into an new streamline-typings package. I'm working on a proper @types/streamline-runtime but this is not ready yet and streamline-typings can fill the gap.

See https://github.com/Sage/streamlinejs/wiki/TypeScript-support#enabling-streamline-in-a-typescript-project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant