diff --git a/src/space.d.ts b/src/space.d.ts index e63bd8f..12fca86 100644 --- a/src/space.d.ts +++ b/src/space.d.ts @@ -14,7 +14,7 @@ export declare class Space { value(val: number) : void; increment(val?: number): void; - meter: (func: () => T) => T; + meter: (func: () => T) => (T | (() => T)); space: (nextKey: string, nextTags?: Tags) => Space; }