Skip to content

Commit

Permalink
remove unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Nov 28, 2021
1 parent 51bc0c6 commit 569f000
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/solid/src/reactive/signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ export type NoInfer<T extends any> = [T][T extends any ? 0 : never];

export interface EffectOptions extends BaseOptions {}

// Also similar to OnFunction
export type EffectFunction<Prev, Next extends Prev = Prev> = (v: Prev) => Next;
export type _EffectFunction<Prev, Next = Prev> = (v: Prev | Next) => Next;

/**
* Creates a reactive computation that runs immediately before render, mainly used to write to other reactive primitives
Expand Down

0 comments on commit 569f000

Please sign in to comment.