Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
icylace committed Apr 22, 2021
1 parent b182d57 commit c4f16bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ declare module "hyperapp" {
// A VNode's tag is either an element name or a memoized view function.
readonly tag: string | ((state: S) => VNode<S>)

// This is data to pass along to the tag if it's a view function.
memo?: Props<S>
// If the VNode's tag is a function then this data will get passed to it.
memo?: Indexable

// These values are based on actual DOM node types:
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
Expand Down

0 comments on commit c4f16bc

Please sign in to comment.