DefinitelyTyped/types/clear/clear-tests.ts
Connor Fitzgerald d2ff8e17ea Adding @types/clear (#37102)
* 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

* Adding @types/clear
2019-07-24 13:05:52 -07:00

22 lines
442 B
TypeScript

// ------------------------------- NODE MODULES -------------------------------
import clear from 'clear';
// ------------------------------ CUSTOM MODULES ------------------------------
// -------------------------------- VARIABLES ---------------------------------
// ----------------------------- FILE DEFINITION ------------------------------
clear();
clear({});
clear({
fullClear: true,
});
clear({
fullClear: false,
});