Skip to content

Commit

Permalink
fix: export BaseAction type
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekz committed Feb 23, 2024
1 parent 367cda1 commit 8779a12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@teamreflex/typed-action",
"version": "1.0.0",
"version": "1.0.1",
"description": "Zod validated React server actions",
"repository": "https://github.com/teamreflex/typed-action",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type TypedActionResult<T> =

export type ValidForm = FormData | Record<string, unknown>

interface BaseAction<TResponse, TSchema extends z.Schema> {
export interface BaseAction<TResponse, TSchema extends z.Schema> {
/** Input data */
form: ValidForm

Expand Down

0 comments on commit 8779a12

Please sign in to comment.