Compare commits

..

No commits in common. "55e65bd5d8483ee0d0261b7253261af71a983369" and "9420e7af91bea9c227c565e00083073bfe88f8a5" have entirely different histories.

3 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,5 @@
# https://taskfile.dev # https://taskfile.dev
# tea releases c --asset releases/updux-4.0.0-alpha.2.tgz -p --title v4.0.0-alpha.2 --tag v4.0.0-alpha.2
version: '3' version: '3'
vars: vars:

View File

@ -25,7 +25,7 @@
"scripts": { "scripts": {
"docsify:serve": "docsify serve docs" "docsify:serve": "docsify serve docs"
}, },
"version": "4.0.0-alpha.3", "version": "4.0.0-alpha.2",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/yanick/updux.git" "url": "git+https://github.com/yanick/updux.git"
@ -40,7 +40,7 @@
}, },
"homepage": "https://github.com/yanick/updux#readme", "homepage": "https://github.com/yanick/updux#readme",
"devDependencies": { "devDependencies": {
"@reduxjs/toolkit": "^2.2.7", "@reduxjs/toolkit": "==2.0.0-alpha.5 ",
"@vitest/browser": "^0.23.1", "@vitest/browser": "^0.23.1",
"@vitest/ui": "^2.0.5", "@vitest/ui": "^2.0.5",
"docsify": "^4.13.1", "docsify": "^4.13.1",

View File

@ -32,7 +32,7 @@ type CreateStoreOptions<D> = Partial<{
interface ActionCreator<T extends string, P, A extends Array<any>> { interface ActionCreator<T extends string, P, A extends Array<any>> {
type: T; type: T;
match: ( match: (
action: Action<string>, action: Action<unknown>,
) => action is PayloadAction<P, T, never, never>; ) => action is PayloadAction<P, T, never, never>;
(...args: A): PayloadAction<P, T, never, never>; (...args: A): PayloadAction<P, T, never, never>;
} }
@ -119,7 +119,7 @@ export default class Updux<D extends DuxConfig> {
this.selectors, this.selectors,
); );
let middleware = (gdm) => gdm().concat(effects); let middleware = [effects];
const store: any = configureStore({ const store: any = configureStore({
preloadedState, preloadedState,