Skip to content

Commit 54ac375

Browse files
committed
chore: use normal comments instead of doc comments
1 parent e042a23 commit 54ac375

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

templates/cli/lib/type-generation/languages/javascript.js.twig

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ class JavaScript extends LanguageMeta {
6969
* @typedef {import('${this._getAppwriteDependency()}').Models.Document} Document
7070
*/
7171

72-
/**
73-
* This file is auto-generated by the Appwrite CLI.
74-
* You can regenerate it by running \`appwrite types -l js ${this.getCurrentDirectory()}\`.
75-
*/
72+
// This file is auto-generated by the Appwrite CLI.
73+
// You can regenerate it by running \`appwrite types -l js ${this.getCurrentDirectory()}\`.
74+
7675
<% for (const collection of collections) { %>
7776
/**
7877
* @typedef {Object} <%- toPascalCase(collection.name) %>

templates/cli/lib/type-generation/languages/typescript.js.twig

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ class TypeScript extends LanguageMeta {
7171
getTemplate() {
7272
return `import { type Models } from '${this._getAppwriteDependency()}';
7373

74-
/**
75-
* This file is auto-generated by the Appwrite CLI.
76-
* You can regenerate it by running \`appwrite types -l ts ${this.getCurrentDirectory()}\`.
77-
*/
74+
// This file is auto-generated by the Appwrite CLI.
75+
// You can regenerate it by running \`appwrite types -l ts ${this.getCurrentDirectory()}\`.
7876

7977
<% for (const collection of collections) { -%>
8078
<% for (const attribute of collection.attributes) { -%>

0 commit comments

Comments
 (0)