Skip to content

Commit

Permalink
Add IActionStandardStatic interface
Browse files Browse the repository at this point in the history
  • Loading branch information
keenondrums committed Jan 9, 2019
1 parent a989cfb commit 3182aab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ export abstract class ActionStandard<Payload = undefined, Meta = undefined> {
return ((this.constructor as any) as ActionStandard).type
}
}

export interface IActionStandardStatic {
type: string
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flux-action-class",
"version": "1.0.0",
"version": "1.0.1",
"description": "Boilerplate free class-based action creator. Following flux-standard-action spec. Built with TypeScript.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 3182aab

Please sign in to comment.