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.
readonly
static
1 parent 62bfaf5 commit 98764b6Copy full SHA for 98764b6
src/module-declaration.ts
@@ -286,7 +286,7 @@ export const generateModuleDeclaration = (
286
.sort((a, b) => a.name.localeCompare(b.name))
287
.forEach(prop => {
288
const isReadonly = prop.additionalTags.includes(DocumentationTag.AVAILABILITY_READONLY) ? 'readonly ' : '';
289
- moduleAPI.push(`static${isReadonly} ${prop.name}: ${utils.typify(prop)};`);
+ moduleAPI.push(`static ${isReadonly}${prop.name}: ${utils.typify(prop)};`);
290
});
291
}
292
0 commit comments