Stop double-encoding Matrix IDs in pathUtils, decode route params on read, fix millify CJS import, and read space children from currentState so channels and joins work again.
10 lines
272 B
TypeScript
10 lines
272 B
TypeScript
import { millify as millifyFn } from 'millify';
|
|
import type { MillifyOptions } from 'millify/dist/options';
|
|
|
|
export const millify = (count: number, options?: Partial<MillifyOptions>): string =>
|
|
millifyFn(count, {
|
|
precision: 1,
|
|
locales: [],
|
|
...options,
|
|
});
|