mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02: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';
|
||||
|
||||
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 MapResult<R> = (result: R) => {
|
||||
count: number;
|
||||
|
Loading…
Reference in New Issue
Block a user