nesquick 0.0.3 → 0.0.5

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,7 +1,7 @@
1
1
  import { FunctionComponent, Props, NesquickElement } from "./NesquickElement";
2
2
  import { NesquickFragment } from "./NesquickFragment";
3
3
  export declare const Fragment: unique symbol;
4
- export declare function jsxs<P extends Props>(type: string | FunctionComponent<P> | typeof Fragment, props: P, key?: string): NesquickFragment | NesquickElement<P>;
4
+ export declare function jsxs<P extends Props>(type: string | FunctionComponent<P> | typeof Fragment, props: P, key?: string | number | null): NesquickFragment | NesquickElement<P>;
5
5
  export declare const jsx: typeof jsxs;
6
6
  declare const WrappedFunctionType: unique symbol;
7
7
  type WrappedFunction<T> = (() => T) & {
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "nesquick",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "React-like library with focus on drawing performance",
5
5
  "types": "./lib/types",
6
6
  "main": "./lib",
7
7
  "typesVersions": {
8
8
  "*": {
9
- "jsx-runtime": ["./lib/types/jsx-runtime.d.ts"]
9
+ "jsx-runtime": ["./lib/types/jsx-runtime.d.ts"],
10
+ "jsx-dev-runtime": ["./lib/types/jsx-dev-runtime.d.ts"]
10
11
  }
11
12
  },
12
13
  "bin": {