From 6d9368d89f99a73a78cf25189e9254a6f29d2f91 Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Wed, 12 Jul 2023 22:17:19 +0300 Subject: [PATCH] expose CanAssignSignal --- src/index.ts | 2 +- src/scope.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index aa1bc60..932ba97 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ export * from './editor' export * as ClassicPreset from './presets/classic' -export type { NestedScope, Pipe, ScopeAsParameter } from './scope' +export type { CanAssignSignal, NestedScope, Pipe, ScopeAsParameter } from './scope' export { Scope, Signal } from './scope' export * from './types' export * from './utils' diff --git a/src/scope.ts b/src/scope.ts index 17602bc..bafd87e 100644 --- a/src/scope.ts +++ b/src/scope.ts @@ -3,6 +3,8 @@ import { AcceptPartialUnion, CanAssignSignal, GetAssignmentReferences, GetNonAssignableElements, Tail } from './utility-types' +export type { CanAssignSignal } + /** * A middleware type that can modify the data * @typeParam T - The data type