-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Types: Add legacy action types (#1873)
When @belcherj asked about creating types for the existing actions in `app-state` I was reluctant since we want to get rid of them but then in considering his view I think it's the right decision until they are all gone; so I have created the types here. These are organized as one big `LegacyAction` type that isn't exported. This provides auto-completion and type-checking while still hiding the types somewhat. They are at the end of `action-types.ts` so that we can mostly ignore them. As we remove functionality from `app-state` we should remove the corresponding legacy action types.
- Loading branch information
Showing
1 changed file
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters