anu-verzum 2.3.1 → 2.3.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import Utils from './misc/utils';
2
2
  import ServerAPI from './server-api/server-api';
3
- import { createElement, AnuElement, Props, Ref } from './core/elements';
3
+ import { createElement, AnuElement, AnuNode, Props, Ref } from './core/elements';
4
4
  import { createRef, render, createPortal } from './core/reconciler';
5
5
  import store from './store/store';
6
6
  import { createContext } from './core/components/Context';
@@ -29,7 +29,7 @@ declare const Anu: {
29
29
  };
30
30
  createContext: <T extends Record<string, any> = Record<string, any>>(context: T) => import("./core/components/Context").Context<T>;
31
31
  createElement: (type: import(".").ElementType, config: Props | null, ...args: any[]) => AnuElement;
32
- createPortal: (children: import(".").AnuNode, container: Element) => AnuElement;
32
+ createPortal: (children: AnuNode, container: Element) => AnuElement;
33
33
  createRef: <T = any>() => Ref<T>;
34
34
  Component: typeof Component;
35
35
  Fragment: typeof Fragment;
@@ -172,7 +172,7 @@ declare global {
172
172
  interface Element extends AnuElement<any, any> {
173
173
  }
174
174
  interface ElementClass {
175
- render(): AnuElement | AnuElement[] | string | number | boolean | null | undefined;
175
+ render(): AnuNode;
176
176
  }
177
177
  interface ElementAttributesProperty {
178
178
  props: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anu-verzum",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "A \"React-like\" UI library that supports JSX syntax, Redux-like state management, array-rendering, i18n, routing and many more.",
5
5
  "keywords": [
6
6
  "anu-verzum",