this repo has no description

fix: replace (section: unknown) with (sections: SettingsSection[])

+3 -3
+3 -3
packages/types/src/coreExtensions/settings.ts
··· 38 38 label: string, 39 39 element: React.FunctionComponent, 40 40 color?: string | null, 41 - pos?: number | ((section: unknown) => number), 41 + pos?: number | ((sections: SettingsSection[]) => number), 42 42 notice?: NoticeProps 43 43 ) => void; 44 44 ··· 53 53 * Places a divider in the settings menu. 54 54 * @param pos The position in the settings menu to place the divider 55 55 */ 56 - addDivider: (pos: number | ((section: unknown) => number) | null) => void; 56 + addDivider: (pos: number | ((sections: SettingsSection[]) => number) | null) => void; 57 57 58 58 /** 59 59 * Places a header in the settings menu. 60 60 * @param pos The position in the settings menu to place the header 61 61 */ 62 - addHeader: (label: string, pos: number | ((section: unknown) => number) | null) => void; 62 + addHeader: (label: string, pos: number | ((sections: SettingsSection[]) => number) | null) => void; 63 63 64 64 /** 65 65 * @private