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.
1 parent 7053070 commit fb2d03eCopy full SHA for fb2d03e
api/src/unraid-api/config/config.interface.ts
@@ -10,6 +10,6 @@ export interface ConfigMetadata<T = unknown> {
10
token: string;
11
/** The path to the config file. */
12
filePath?: string;
13
- /** Synchronously validates a config of type `T`. */
14
- validate: (config: unknown) => T | void;
+ /** Validates a config of type `T`. */
+ validate: (config: unknown) => Promise<T>;
15
}
0 commit comments