add deprecation warning

This commit is contained in:
Jacob Nguyen
2023-04-15 12:11:18 -05:00
parent f02bbbf54e
commit 83f6568d84
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ import { PlatformStrategy } from '../platform/strategy';
*/
interface Wrapper {
readonly platform: PlatformStrategy;
/**
* @deprecated
* Add defaultprefix to platform field instead
*/
readonly defaultPrefix?: string;
readonly commands: string;
readonly events?: string;