( factory: (...args: any[]) => TValue, owner?: any, )
| 2 | import {ComputedContext} from './ComputedContext'; |
| 3 | |
| 4 | export function createComputed<TValue>( |
| 5 | factory: (...args: any[]) => TValue, |
| 6 | owner?: any, |
| 7 | ): Computed<TValue> { |
| 8 | return new ComputedContext<TValue>(factory, owner).toSignal(); |
| 9 | } |
no test coverage detected