This fixes a few bugs that impacted TypeScript's generated snippets (and therefore the generated README.md):
If the environment variable is required, it's included in the generated snippet. If an environment is defined, the first one is used, otherwise the YOUR_BASE_URL string is included.
The README.md import paths now exclusively use double quotes (i.e. "").
When an NPM package name is not available, the namespace export is used.
This fixes a few bugs that impacted TypeScript's generated snippets (and therefore the generated
README.md
):environment
variable is required, it's included in the generated snippet. If an environment is defined, the first one is used, otherwise theYOUR_BASE_URL
string is included.README.md
import paths now exclusively use double quotes (i.e.""
).