chizu 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  import { AppContext } from './types.ts';
2
2
  import * as React from "react";
3
3
  export declare function useApp(): AppContext;
4
- export default function app(tree: React.ComponentType): void;
4
+ export default function app(Tree: React.ComponentType): React.ComponentType;
@@ -4,7 +4,4 @@ export type AppOptions = React.ComponentType;
4
4
  export type AppContext = {
5
5
  appEmitter: EventEmitter;
6
6
  };
7
- export type TreeProps = {
8
- tree: React.ComponentType;
9
- };
10
7
  export type UseApp = AppContext;