@tixyel/streamelements 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -1
- package/dist/index.es.js +833 -829
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1850,7 +1850,13 @@ declare namespace Simulation {
|
|
|
1850
1850
|
* @returns A Promise that resolves after the specified delay.
|
|
1851
1851
|
*/
|
|
1852
1852
|
export function delay(ms: number): Promise<void>;
|
|
1853
|
-
|
|
1853
|
+
/**
|
|
1854
|
+
* Returns typed entries of an object.
|
|
1855
|
+
* @param obj - The object to get entries from.
|
|
1856
|
+
* @returns - An array of key-value pairs from the object.
|
|
1857
|
+
*/
|
|
1858
|
+
export function typedEntries<K extends string, V>(obj: Record<K, V>): [K, V][];
|
|
1859
|
+
export function probability<K extends string, V extends number>(items: Record<K, V>): K | undefined;
|
|
1854
1860
|
export function start(fieldsFile?: string[], dataFiles?: string[]): Promise<void>;
|
|
1855
1861
|
export {};
|
|
1856
1862
|
}
|