Skip to content

Commit 98764b6

Browse files
fix: ensure that readonly is space separated from static (#152)
1 parent 62bfaf5 commit 98764b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module-declaration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export const generateModuleDeclaration = (
286286
.sort((a, b) => a.name.localeCompare(b.name))
287287
.forEach(prop => {
288288
const isReadonly = prop.additionalTags.includes(DocumentationTag.AVAILABILITY_READONLY) ? 'readonly ' : '';
289-
moduleAPI.push(`static${isReadonly} ${prop.name}: ${utils.typify(prop)};`);
289+
moduleAPI.push(`static ${isReadonly}${prop.name}: ${utils.typify(prop)};`);
290290
});
291291
}
292292

0 commit comments

Comments
 (0)