-
-
Notifications
You must be signed in to change notification settings - Fork 762
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with typings using classes, publish @core typings, and fix…
… 3.1 typings (#792) * Includes `types` folder for jimp and @jimp/core for builds * Revert main `jimp` package to use more similar typing to 0.7, remove TS3.1 from packagejson * Fix issues with classes used within Jimp * Simplify custom types * Added tests for and fixed class usage in custom * Simplified custom and core typings by moving constructors to new interface * Added back 3.1 typings, fixed them, changed back to ES6 export * Remove unusable usages from prior TS docs * Added note about import differences * Add tests against Jimp instance cloning, fix types This requires us to remove 3.1 typings, left a note in the 3.1 tests on how to enable them again when things are working properly.
- Loading branch information
1 parent
c4575b6
commit e4bb762
Showing
11 changed files
with
285 additions
and
130 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
"dist", | ||
"es", | ||
"index.d.ts", | ||
"fonts" | ||
"fonts", | ||
"types" | ||
], | ||
"repository": { | ||
"type": "git", | ||
|
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
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
Oops, something went wrong.