Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: intercom/contentful-typescript-codegen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.1
Choose a base ref
...
head repository: intercom/contentful-typescript-codegen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.0
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Apr 16, 2020

  1. feat: add --namespace CLI option (#22)

    Add `--namespace N, -n Wrap types in namespace (disabled by default)` option that will wrap the generated types in a namespace 
    
    ---
    Example: 
    
    `$ npx contentful-typescript-codegen --output ./contentful.d.ts -n Codegen`
    
    ```ts
    declare namespace Codegen {
    ...
    }
    
    export as namespace Codegen
    export = Codegen
    ```
    zernie authored Apr 16, 2020
    Configuration menu
    Copy the full SHA
    b05c174 View commit details
    Browse the repository at this point in the history
Loading