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.
undefined
1 parent 28fa8a6 commit c92afd1Copy full SHA for c92afd1
source/FragmentRenderer.ts
@@ -17,10 +17,7 @@ export const isDefaultDescription = (description: string) => {
17
* @param rawDescription - The description of the script.
18
* @returns A documentation fragment for the provided script.
19
*/
20
-export const makeDocumentation = (
21
- scriptMeta: ScriptStoreEntry,
22
- rawDescription?: string | undefined,
23
-) => {
+export const makeDocumentation = (scriptMeta: ScriptStoreEntry, rawDescription?: string) => {
24
const description = rawDescription ?? DOCUMENTATION_PENDING_DEFAULT;
25
const descriptionIndented = description.replace(/^(?!\s*$)/gm, " ".repeat(4));
26
0 commit comments