This allows patterns such as this when strict null checks are on:
let instance: Thing | undefined;
function getInstance(): Thing {
return instance || invariant(false, "`instance` not instantiated");
}
It's possible to pass an array of default values to optionsKnob and subsequently have an array of selected options returned. This PR adds an overload type to allow that behaviour.
* add testMode and testModeLogger to Mailgun constructor for version 0.22.0
* increase typescript version to match form-data as new dependency
* remove patch version in definitions
* revert of the formatting changes
* cleanup formatting
@types/chromecast-caf-receiver
The best way to access those values are through the enumeration itself,
so if the value or the code handling it changes, we won't be affected.
(Using the upper case version was not working for us).
* [@types/underscore] Fix#36308 - underscore has bad chain typings fix only for function 'map' (#36319)
* [@types/underscore] Fix#36308 - underscore has bad chain typings fix only for function 'map' (#36319)
Add more test and applay changes form review
* [@types/underscore] Fix#36308 - underscore has bad chain typings fix only for function 'map' (#36319)
- Add more test
- revert part of typings for function
* Comment part of test with currently didn't pass
* WIP updating oracledb typings to 3.1.2
* WIP
* SODA WIP
* .d.ts done. Needs tests writing
* Finished
* Added pool stats methods. Fixed bug with BindParameter being string or number
* Making _enableStats optional
* Allow parameters to be nulled
* Capitalise namespace
* Update contribution URL
* Revert "Update contribution URL"
This reverts commit f329d293dceaf44832ae3424753c1ccb98378df2.
* Update contribution URL
* Change poolAlias to string. SODA not in preview. Add BindParameters interface
* getRows should not return void
* Added pino-std-serializers
* initial commit for @types/parquetjs
* auto formatting changes
* fix remaining linter errors
* more autoformatting changes
* fix linter errors
* tsconfig should max standard dt tsconfig
* created tests from docs
* added optional and nullable fields
* remove unnecessary namesplace declaration
* [@types/enzyme] added `invoke` type definition and tests.
* Fixing Linting Errors
* Removing creating patch
* Tightened `invoke` signature, DRY up common invoke tests, more...
More..
1. Removed tests that were testing the function returned worked as intended.
2. Added tests that focus more on proving the returned function matches the type mapped to the key provided.
* Cleaned up tests to rely less on assignment checking
* Clean up + Add optional function props to key selector
Realized restricting the keys to only those that must be undefined
doesn't work well. Also updated the the function base to include
function with many signature. I noticed that some were getting
left off after converting from Function to () => void.
Cleaned / Reverted some lines and indents. Probably will need to
do more.
* Cleaning up whitespace
* more whitespace shenanigans.
* updated version to 3.10
* Types for pouchdb cordova sqlite adapter
* Tests
* Remove empty interface
* Formatting tweak
* Fix whitespace
* Link to specific package
* Corrected heading comment
* Matching version number style from build
* Missing reference from main index
* Increment version