Skip to content

Commit

Permalink
fix(reactive): default Context<T> to Context<T = record>
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Jun 16, 2024
1 parent 40b6bc0 commit f88419a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactive/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import type { DeepMerge } from "@std/collections/deep-merge"
* @author Simon Lecoq (lowlighter)
* @license MIT
*/
export class Context<T extends record> extends EventTarget {
export class Context<T extends record = record> extends EventTarget {
/** Constructor. */
constructor(target = {} as T, { parent = null as Nullable<Context<record>> } = {}) {
super()
Expand Down

0 comments on commit f88419a

Please sign in to comment.