jaxs 0.10.2 → 0.10.3
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.
- package/dist/jaxs.d.ts +4 -2
- package/package.json +2 -2
package/dist/jaxs.d.ts
CHANGED
|
@@ -698,7 +698,7 @@ export declare namespace state {
|
|
|
698
698
|
|
|
699
699
|
declare type StateTransactionUpdater = (collection: StoresCollection) => void
|
|
700
700
|
|
|
701
|
-
export declare type StaticTemplate = () => Renderable
|
|
701
|
+
export declare type StaticTemplate = () => Renderable | undefined
|
|
702
702
|
|
|
703
703
|
export declare class Store<T> {
|
|
704
704
|
parent: State
|
|
@@ -807,7 +807,9 @@ export declare type Template<T> = StaticTemplate | TypedTemplate<T>
|
|
|
807
807
|
|
|
808
808
|
declare type TextValue = string | number
|
|
809
809
|
|
|
810
|
-
export declare type TypedTemplate<T> = (
|
|
810
|
+
export declare type TypedTemplate<T> = (
|
|
811
|
+
props: Props<T>,
|
|
812
|
+
) => Renderable | undefined
|
|
811
813
|
|
|
812
814
|
declare type Unsubscribe = () => void
|
|
813
815
|
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "jaxs",
|
|
3
3
|
"description": "Modular J/TSX application framework",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.10.
|
|
5
|
+
"version": "0.10.3",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "vite build; npm run lint",
|
|
8
|
+
"build": "vite build; npm run lint; npm install",
|
|
9
9
|
"test": "npm run lint; npm run test-s",
|
|
10
10
|
"test-s": "vitest run",
|
|
11
11
|
"e2e:server": "vite dev --config ./cypress/apps/vite.config.js",
|