forked from krisk/Fuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: type definition for
FuseOptionKeyObject
### Changes - **Make `FuseOptionKeyObject.weight` property optional (and add description taken from docs)** - **Add `FuseOptionKeyObject.getFn` property (and add description taken from docs)** - Add `FuseOptionKeyObjectGetFunction` type to match existing `FuseGetFunction` type - Make `FuseOptionKeyObject` a generic, to allow typing the `getFn` method argument - Make `FuseOptionKey` a generic, to allow making `FuseOptionKeyObject` a generic - Convert some existing inline comments `// foo` to jsdoc comments `/** foo */` so they will be included in intellisense ### Related issues - Fixes krisk#655 ### See also - PR krisk#648
- Loading branch information
1 parent
6afcfaf
commit 739222c
Showing
1 changed file
with
26 additions
and
12 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