Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(typescript-restrictions): clarify non-jsii deps (#3995)
I spent about a day and a half trying to figure this out, so I thought I'd add a little clarification :) tl;dr: I'm making a CDK Construct package that also includes a custom lambda handler. That handler takes on a non-jsii dep but I couldn't figure out why JSII kept trying to compile that non-jsii dep until I read > The API of the *jsii module* can not expose any type from bundled dependencies, since those types would not be available in other languages. about 20 times. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information