mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
add readonly
Co-authored-by: Nuno Góis <github@nunogois.com>
This commit is contained in:
parent
3cbbefff1d
commit
52db94b0d5
@ -1,6 +1,6 @@
|
|||||||
import { createGauge, type Gauge } from './util/metrics';
|
import { createGauge, type Gauge } from './util/metrics';
|
||||||
|
|
||||||
type RestrictedRecord<T extends string[]> = Record<T[number], string>;
|
type RestrictedRecord<T extends readonly string[]> = Record<T[number], string>;
|
||||||
type Query<R> = () => Promise<R | undefined | null>;
|
type Query<R> = () => Promise<R | undefined | null>;
|
||||||
type MapResult<R> = (result: R) => {
|
type MapResult<R> = (result: R) => {
|
||||||
count: number;
|
count: number;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user