Skip to content

Commit 108ff85

Browse files
committed
Fix "notes" type
1 parent 47cf67b commit 108ff85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/utils/functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type FunctionDetails = {
1818
description?: string;
1919
pair?: boolean;
2020
examples?: { code: string; description?: string }[];
21-
notes?: string;
21+
notes?: string[];
2222
parameters?: FunctionParameter[];
2323
};
2424

@@ -67,7 +67,7 @@ export type FunctionInfo = {
6767
typePretty: string;
6868
pair: boolean;
6969
examples: { code: string; description?: string }[];
70-
notes?: string; // Added notes
70+
notes?: string[]; // Added notes
7171
parameters?: FunctionParameter[]; // Added parameters
7272
};
7373

0 commit comments

Comments
 (0)