-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: save 0.2kB bundle size by const-ing error message (#21)
* perf: save 0.2kB bundle size by const-ing error message * i did run prettier this time * add tests * `throw new NotAllowedError` and improved error msg --------- Co-authored-by: Bart Veneman <[email protected]>
- Loading branch information
1 parent
5c84df3
commit 771a237
Showing
2 changed files
with
107 additions
and
5 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
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