-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect method injection types, prettier for TypeScript, incorr…
…ect stuff in the script itself (#15) * fix Exception instead of Error * fix prettier for typescript, attempt fix for #14 * fix tests and use generics properly * recursive keyof (thanks @Juknum ) and fix files * technically more accurate file type since it's not technically an instantiable class this is the next closest thing * tons of fixes, compiles on faithful api now - remove really outdated jsdoc types (they're already inline) - fix casing style to use standard PascalCase everywhere instead of random snake_case criteria - remove unnecessary collection method generics - removed Addable<T> and Raw<T> in favor of their generic typescript counterparts - add Writable<T> as a shorthand for removing methods and the id field for setting or adding items - use lowercase types in jsdoc (better practice) * update dependencies and remove itself as dependency * use es6 style function notation and objects you're already using let and const which are es6 keywords so it's not like you're doing this for legacy compatibility * BREAKING CHANGE: camelCase read_raw and write_raw still support old ones through aliasing, but this should probably be a version bump * Revert package.json changes
- Loading branch information
Showing
10 changed files
with
531 additions
and
490 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.