Skip to content

Commit c92afd1

Browse files
fix: Remove redundant undefined in type
1 parent 28fa8a6 commit c92afd1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/FragmentRenderer.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ export const isDefaultDescription = (description: string) => {
1717
* @param rawDescription - The description of the script.
1818
* @returns A documentation fragment for the provided script.
1919
*/
20-
export const makeDocumentation = (
21-
scriptMeta: ScriptStoreEntry,
22-
rawDescription?: string | undefined,
23-
) => {
20+
export const makeDocumentation = (scriptMeta: ScriptStoreEntry, rawDescription?: string) => {
2421
const description = rawDescription ?? DOCUMENTATION_PENDING_DEFAULT;
2522
const descriptionIndented = description.replace(/^(?!\s*$)/gm, " ".repeat(4));
2623

0 commit comments

Comments
 (0)