* add: type definition for random-gradient
* Wrapped all definitions into named module
* Revert "Wrapped all definitions into named module"
This reverts commit eafa7dcca217db9c0786f4057a87ca83dd5ff122.
* Update types/random-gradient/random-gradient-tests.ts
Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
* Update types/random-gradient/random-gradient-tests.ts
Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
* Update types/random-gradient/index.d.ts
Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
* Update types/random-gradient/index.d.ts
Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
* Fixed type definition tests
* Removed `esModuleInterop` from tsconfig.json
Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
* Add 'preserveSelectionOnBlur' to 'DraftEditorProps' (@types/draft-js)
* Update supported Draft.js version number
* Remove definition ownership
* Re-add definition ownership—I'm sure this time hehe
* [rails__actioncable] Add createConsumer test
The result type of createConsumer should be the same as the result type of new Consumer('url').
see 291a3d2ef2/actioncable/app/javascript/action_cable/index.js (L22-L24)
This test fails on the current type definition.
ERROR: 30:1 expect TypeScript@4.3 expected type to be:
Consumer
got:
typeof Consumer
* [rails__actioncable] Fix createConsumer return type
* Adding types Animatable and Animation that are used in AnimeCallback
* Adding simple tests for new Animatable and Animation types on callback function
* Typings for RN 0.64
This is a best effort update for typings changes that occured between 0.63 to 0.64. I couldn't find a foolproof way to diff flow definitions across verisons, so this was manually curated by looking through a diff of the libraries directory between 0.63-stable and 0.64-stable.
Changes:
- New ActionSheetIOSOptions
- Removal of Checkbox
- Remove ART, which was removed earlier, but more guts are gone in 0.64
- Addition of Pressable.focus() (windows for now)
- New Picker `value` typings
- onPressIn/onPressOut on TextInput
- New shape of ImageLoadEventData
- Additions to LayoutAnimationStatic.configureNext
- A couple missing LayoutAnimation types
- Add android_hyphenationFrequency
- Add force to TouchEvent, which is now optional, but was previously missing
- Fixup and add new platform constants
* Resolve PlatformConstants conflict
* Fix dependant package
* Remove reference to removed file
* Update tests
* [micro] Change `object` to `{[s:string]: any}`
`object` now means a literal empty object
* patch-1: sytling fixes
Co-authored-by: Jon <jon.wolfe@pigknows.com>
* Fix supports-color type
Should be a union, not an intersection.
* Update index.d.ts
* Correct supports-color tests
* Also update v3 supports-color tests
* Update v3 with v4's false fix
* feat(leaflet-freedraw): add types for the window.FreeDraw constructor
The window.FreeDraw object is only initialized when window isn't undefined. So I augmented the
global Window interface. Also since this is a conditional behaviour while the library does add the
mode constants to its constructor, I only added those constant when accessing FreeDraw from
window.FreeDraw.
* test: remove unused import from test
* refactor(index.d.ts): merge the constants into the FreeDraw namespace
The package is completely unusable in regular node today so the paranoia on window being undefined
is unwaranted.
re peterblazejewicz reviews
* docs(leaflet-freedraw): add extra documentation on all types that were showing up without docs
Some part of the test file had no "comment" showing up on mouseover and this should fix this.
Co-authored-by: Jean-Baptiste Zeller <jbzeller@eudonet.com>
* Add self to type definition owners
* Run Prettier on the repo (no actual changes, all formatting)
* Prefer const over var
* Add the real string values for each enum, taken by console.log(google.picker.ViewId), etc
* Use the enum/class types instead of more loose types when possible
* Use string enums instead of consts, as these behave like string enums at runtime
* Use Feature enum for feature related functions
* Add view group typings, and reorder picker builder methods as same order in the docs
* Add minimal viable typings for the picker response object, better types in a future commit
* Add more enum types
* Add exhaustive typings for the response object
* Use DOM document for setDocument()
* Fix lint error with Array
* Add a bunch of tests copied from the documentation
* Fix a bunch of tslint issues
* Rename Result to ResponseObject
* Adding updates for version 1.20
* microsoftgraph updating for v 1.21
* Updating microsoft-graph version 1.22
* Version 1.23
* Upgrade to 1.24
* upgrade to version 1.25
* Upgrade to version 1.26
* Updating to version 1.27
* Update to 1.28
* Updating to version 1.29
* updating version 3.0.0
* Update to 1.30
* Update to version 1.31
* Update to 1.32
* Upgrade to version 1.33