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 PackageContainer interface #837

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

srchase
Copy link
Contributor

@srchase srchase commented Jul 19, 2023

This PR adds a PackageContainer interface and updates TypeScriptWriter's addImport method to use it.

This will allow downstream Dependency classes to implement PackageContainer for better addImport usage without passing just strings.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@srchase srchase merged commit 10ed5f2 into smithy-lang:main Jul 19, 2023
@srchase srchase deleted the add-import-interface branch July 19, 2023 19:54
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