@aravindc26/velu 0.13.17 → 0.13.18
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/package.json
CHANGED
|
@@ -162,7 +162,7 @@ function normalizeSdkCodeSamples(method: MethodInformation): ReturnType<typeof c
|
|
|
162
162
|
|
|
163
163
|
function buildCodeSampleGenerator(exampleLanguages?: string[], exampleAutogenerate = true) {
|
|
164
164
|
const overrides = buildCodeSampleOverrides(exampleLanguages, exampleAutogenerate);
|
|
165
|
-
return
|
|
165
|
+
return (method: MethodInformation) => {
|
|
166
166
|
const generated: ReturnType<typeof createCodeSample>[] = [
|
|
167
167
|
...normalizeSdkCodeSamples(method),
|
|
168
168
|
];
|
|
@@ -162,7 +162,7 @@ function normalizeSdkCodeSamples(method: MethodInformation): ReturnType<typeof c
|
|
|
162
162
|
|
|
163
163
|
function buildCodeSampleGenerator(exampleLanguages?: string[], exampleAutogenerate = true) {
|
|
164
164
|
const overrides = buildCodeSampleOverrides(exampleLanguages, exampleAutogenerate);
|
|
165
|
-
return
|
|
165
|
+
return (method: MethodInformation) => {
|
|
166
166
|
const generated: ReturnType<typeof createCodeSample>[] = [
|
|
167
167
|
...normalizeSdkCodeSamples(method),
|
|
168
168
|
];
|