Skip to content

Add wrapper option #14

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

Merged
merged 2 commits into from
Jun 11, 2019
Merged

Add wrapper option #14

merged 2 commits into from
Jun 11, 2019

Conversation

drwpow
Copy link
Contributor

@drwpow drwpow commented Jun 11, 2019

Reason for change

It’s getting hard to support all the ways to expose these types. This adds the amazing --wrapper option that lets you do things like --wrapper "export namespace MyNamespace" or --wrapper "declare module '@api'". More details in the README.

Deprecates --namespace and --export flags in favor of something more versatile.

@codecov
Copy link

codecov bot commented Jun 11, 2019

Codecov Report

Merging #14 into master will increase coverage by 1.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   94.44%   95.55%   +1.11%     
==========================================
  Files           2        2              
  Lines          72       90      +18     
  Branches       18       33      +15     
==========================================
+ Hits           68       86      +18     
  Misses          4        4
Impacted Files Coverage Δ
src/swagger-2.ts 95.23% <100%> (+1.2%) ⬆️
src/index.ts 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 924081d...d9ea8a9. Read the comment docs.

@drwpow drwpow merged commit 2dc048d into master Jun 11, 2019
@drwpow drwpow deleted the dangodev/wrapper branch September 29, 2019 03:26
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.

1 participant