We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d12a20 commit d96cbb3Copy full SHA for d96cbb3
scripts/generate.ts
@@ -157,7 +157,7 @@ function buildClasses(classes: {
157
if (name && description && externalDocs) {
158
output += `\n/**\n* ${name}\n*\n* ${description}\n*\n* ${externalDocs.description}\n* ${externalDocs.url}\n*/\n`;
159
}
160
- output += `public readonly ${x} = {
+ output += `public readonly ${x.split(' ').join('_')} = {
161
${functions.join("\n,")}
162
};`;
163
});
@@ -255,7 +255,7 @@ import { OAuth2Bearer } from "../auth";\n\n`;
255
256
if (!tags?.length) throw "No tags found";
257
const tag = tags[0].toLowerCase();
258
- classes[tag].functions.push(
+ classes[tag]?.functions.push(
259
functionDocs(
260
summary,
261
description,
0 commit comments