misc: 사용하지 않은 deprecated 함수 마저 제거

This commit is contained in:
2021-08-26 04:00:52 +09:00
parent 32f98ac079
commit cd33ac3c3e
+1 -34
View File
@@ -1,4 +1,4 @@
import { activeFlip, mb_strwidth, mb_strimwidth, convertDictById, convertSet, hexToRgb, isBrightColor, convColorValue, numberWithCommas, linkifyStrWithOpt, getIconPath, combineObject, combineArray, activeFlipItem, errUnknown, errUnknownToast, quickReject, getNpcColor, initTooltip } from "./common_legacy";
import { activeFlip, mb_strwidth, isBrightColor, getIconPath, errUnknown, errUnknownToast, quickReject, initTooltip } from "./common_legacy";
import { TemplateEngine } from "./util/TemplateEngine";
import { escapeHtml } from "./legacy/escapeHtml";
import { nl2br } from "./util/nl2br";
@@ -27,34 +27,14 @@ declare global {
/** @deprecated Module 사용할 것 */
mb_strwidth: typeof mb_strwidth;
/** @deprecated Module 사용할 것 */
mb_strimwidth: typeof mb_strimwidth;
/** @deprecated Module 사용할 것 */
convertDictById: typeof convertDictById;
/** @deprecated Module 사용할 것 */
convertSet: typeof convertSet;
/** @deprecated Module 사용할 것 */
hexToRgb: typeof hexToRgb;
/** @deprecated Module 사용할 것 */
isBrightColor: typeof isBrightColor;
/** @deprecated Module 사용할 것 */
convColorValue: typeof convColorValue;
/** @deprecated Module 사용할 것 */
numberWithCommas: typeof numberWithCommas;
/** @deprecated Module 사용할 것 */
linkifyStrWithOpt: typeof linkifyStrWithOpt;
/** @deprecated Module 사용할 것 */
TemplateEngine: typeof TemplateEngine;
/** @deprecated Module 사용할 것 */
getIconPath: typeof getIconPath;
/** @deprecated Module 사용할 것 */
activeFlip: typeof activeFlip;
/** @deprecated Module 사용할 것 */
combineObject: typeof combineObject;
/** @deprecated Module 사용할 것 */
combineArray: typeof combineArray;
/** @deprecated Module 사용할 것 */
activeFlipItem: typeof activeFlipItem;
/** @deprecated Module 사용할 것 */
errUnknown: typeof errUnknown;
/** @deprecated Module 사용할 것 */
errUnknownToast: typeof errUnknownToast;
@@ -63,31 +43,18 @@ declare global {
/** @deprecated Module 사용할 것 */
nl2br: typeof nl2br;
/** @deprecated Module 사용할 것 */
getNpcColor: typeof getNpcColor;
/** @deprecated Module 사용할 것 */
initTooltip: typeof initTooltip;
}
}
window.escapeHtml = escapeHtml;
window.mb_strwidth = mb_strwidth;
window.mb_strimwidth = mb_strimwidth;
window.convertDictById = convertDictById;
window.convertSet = convertSet;
window.hexToRgb = hexToRgb;
window.isBrightColor = isBrightColor;
window.convColorValue = convColorValue;
window.numberWithCommas = numberWithCommas;
window.linkifyStrWithOpt = linkifyStrWithOpt;
window.TemplateEngine = TemplateEngine;
window.getIconPath = getIconPath;
window.activeFlip = activeFlip;
window.combineObject = combineObject;
window.combineArray = combineArray;
window.activeFlipItem = activeFlipItem;
window.errUnknown = errUnknown;
window.errUnknownToast = errUnknownToast;
window.quickReject = quickReject;
window.nl2br = nl2br;
window.getNpcColor = getNpcColor;
window.initTooltip = initTooltip;