mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 08:15:48 +00:00
Adjust return type of toNestedConfig
This commit is contained in:
@@ -47,7 +47,7 @@ export type NestedConfig = {
|
|||||||
[field: string]: any;
|
[field: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
function toNestedConfig(entries: ConfigEntryDto[]): Record<string, any> {
|
function toNestedConfig(entries: ConfigEntryDto[]): NestedConfig {
|
||||||
const result: Record<string, any> = {};
|
const result: Record<string, any> = {};
|
||||||
|
|
||||||
for (const entry of entries) {
|
for (const entry of entries) {
|
||||||
|
|||||||
Reference in New Issue
Block a user