This commit is contained in:
2025-05-19 20:36:21 -05:00
commit f5303487be
1865 changed files with 260387 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/**
* Property helper functions.
*
* @_subsection api/utils:Properties [about-properties]
*/
/**
* Resolves to a new object that is a copy of %%value%%, but with all
* values resolved.
*/
export declare function resolveProperties<T>(value: {
[P in keyof T]: T[P] | Promise<T[P]>;
}): Promise<T>;
/**
* Assigns the %%values%% to %%target%% as read-only values.
*
* It %%types%% is specified, the values are checked.
*/
export declare function defineProperties<T>(target: T, values: {
[K in keyof T]?: T[K];
}, types?: {
[K in keyof T]?: string;
}): void;
//# sourceMappingURL=properties.d.ts.map