mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: add plugins settings i18n + typing
This commit is contained in:
@@ -9,3 +9,7 @@
|
||||
export const isEmpty = (value: string): boolean => {
|
||||
return value === undefined || value === null || value === '';
|
||||
};
|
||||
|
||||
export const hyphenToUnderscore = (str: string) => {
|
||||
return str.replaceAll('-', '_');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user