refactor(projects): 代码优化

ISSUES CLOSED: \
This commit is contained in:
Soybean
2022-05-19 00:15:37 +08:00
parent 028096e53f
commit 095c432363
9 changed files with 12 additions and 37 deletions

View File

@@ -1,16 +0,0 @@
/* eslint-disable no-console */
/** 打印log */
export function consoleLog(message?: any, ...optionalParams: any[]) {
console.log(message, ...optionalParams);
}
/** 打印警告 */
export function consoleWarn(message?: any, ...optionalParams: any[]) {
console.warn(message, ...optionalParams);
}
/** 打印错误 */
export function consoleError(message?: any, ...optionalParams: any[]) {
console.error(message, ...optionalParams);
}

View File

@@ -1,5 +1,4 @@
export * from './typeof';
export * from './console';
export * from './color';
export * from './number';
export * from './object';