Skip to content

Conversation

@JBWatenbergScality
Copy link

By default typescript tries to build any given types available in its build scope but that brings some issue when the consumer project import types dependencies because tsc would then try to compile them as well whereas they should remains out of the build scope of the library.

In order to solve this I've statically listed all types dependencies of this project in the types attribute of ts config file.

By default typescript tries to build any given types available in its build scope but that brings some issue when the consumer project import types dependencies because tsc would then try to compile them as well whereas they should remains out of the build scope of the library.

In order to solve this I've statically listed all types dependencies of this project in the types attribute of ts config file.
@JBWatenbergScality JBWatenbergScality force-pushed the browser-0.10.2-fix-typescript branch from 7494073 to e74042e Compare February 2, 2021 11:08
@JBWatenbergScality JBWatenbergScality merged commit 579d066 into browser Feb 2, 2021
@JBWatenbergScality JBWatenbergScality deleted the browser-0.10.2-fix-typescript branch February 2, 2021 12:55
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