deprecate: mode (#325)

* test: add tests for context

* deprecate: mode

* revert docs for deprecated option
This commit is contained in:
Jacob Nguyen
2023-08-18 20:37:47 -05:00
committed by GitHub
parent e59e0b9d40
commit c9f2d75665
3 changed files with 35 additions and 54 deletions

View File

@@ -10,8 +10,9 @@ export interface Wrapper {
events?: string;
/**
* Overload to enable mode in case developer does not use a .env file.
* @deprecated - https://github.com/sern-handler/handler/pull/325
*/
mode?: 'DEV' | 'PROD';
mode?: string
/*
* @deprecated
*/