From d7a2049ca2415e67983a68477dac1fac4f5dc452 Mon Sep 17 00:00:00 2001 From: Seth Posner Date: Sun, 7 May 2023 06:58:13 -0700 Subject: [PATCH] Make effect decorator generic --- src/features/decorators/common.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/decorators/common.ts b/src/features/decorators/common.ts index 8d76b37..07783bb 100644 --- a/src/features/decorators/common.ts +++ b/src/features/decorators/common.ts @@ -27,8 +27,8 @@ export type Decorator< export type GenericDecorator = Decorator; -export interface EffectFeatureOptions { - effect: Computable; +export interface EffectFeatureOptions { + effect: Computable; } export type EffectFeature = Replace< @@ -36,9 +36,9 @@ export type EffectFeature = Replace< { effect: GetComputableType } >; -export type GenericEffectFeature = Replace< +export type GenericEffectFeature = Replace< EffectFeature, - { effect: ProcessedComputable } + { effect: ProcessedComputable } >; /**