File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -7550,12 +7550,15 @@ declare module "vue-data-ui" {
75507550 * ---
75517551 * Get the default config for a given component
75527552 * ___
7553+ * @typeParam T - The config type for the component
7554+ * @param key - Component key in snake_case (e.g. `"vue_ui_xy"`).
7555+ * @returns The default configuration of type `T`.
75537556 * @example
7554- * const defaultConfig = getVueDataUiConfig("vue_ui_xy");
7555- *
7556- * @param key - The key of the component in snake case (e.g., "vue_ui_xy")
7557+ * ```ts
7558+ * const defaultConfig = getVueDataUiConfig<VueUiXyConfig>("vue_ui_xy");
7559+ * ```
75577560 */
7558- export const getVueDataUiConfig : ( key : VueDataUiConfigKey ) => VueDataUiConfig ;
7561+ export const getVueDataUiConfig : < T > ( key : VueDataUiConfigKey ) => T ;
75597562
75607563 /**
75617564 * Vue Data UI utility
You can’t perform that action at this time.
0 commit comments