@sdk-it/typescript 0.36.1 → 0.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/dist/lib/generate.d.ts.map +1 -1
- package/dist/lib/options.d.ts +1 -1
- package/dist/lib/options.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -3231,8 +3231,9 @@ ${utils_default}`
|
|
|
3231
3231
|
await settings.writer(settings.output, configFiles);
|
|
3232
3232
|
}
|
|
3233
3233
|
if (settings.readme) {
|
|
3234
|
-
|
|
3235
|
-
|
|
3234
|
+
const path = typeof settings.readme === "string" ? settings.readme : "README.md";
|
|
3235
|
+
await settings.writer(settings.output, {
|
|
3236
|
+
[path]: toReadme(spec, new TypeScriptSnippet(spec, settings))
|
|
3236
3237
|
});
|
|
3237
3238
|
}
|
|
3238
3239
|
await settings.formatCode?.({
|