diff --git a/addon/src/components/animated-if.ts b/addon/src/components/animated-if.ts index dae46a5d..501c7d57 100644 --- a/addon/src/components/animated-if.ts +++ b/addon/src/components/animated-if.ts @@ -4,7 +4,8 @@ import type { AnimatedEachSignature } from './animated-each.ts'; interface AnimatedIfSignature { Args: { - Named: AnimatedEachSignature['Args']['Named'] & { predicate: T }; + Positional: [T]; + Named: AnimatedEachSignature<[T]>['Args']['Named']; }; Blocks: { default: []; diff --git a/addon/src/components/animated-value.ts b/addon/src/components/animated-value.ts index 45e7c888..39c0e94a 100644 --- a/addon/src/components/animated-value.ts +++ b/addon/src/components/animated-value.ts @@ -6,8 +6,8 @@ import type { AnimatedEachSignature } from './animated-each.ts'; interface AnimatedValueSignature { Args: { - Positional?: [T] | []; - Named: AnimatedEachSignature['Args']['Named'] & { value?: T }; + Positional: [T]; + Named: AnimatedEachSignature<[T]>['Args']['Named']; }; Blocks: { default: [T];