docs: fix annotation errors

This commit is contained in:
pany 2022-10-17 15:01:36 +08:00
parent f73d6684d5
commit e41d1f21a5

View File

@ -9,7 +9,7 @@ export const formatDateTime = (time: null | string) => {
return dayjs(date).format("YYYY-MM-DD HH:mm:ss") return dayjs(date).format("YYYY-MM-DD HH:mm:ss")
} }
/** 将全局 CSS 导入 JS 中使用 */ /** 将全局 CSS 变量导入 JS 中使用 */
export const getCssVariableValue = (cssVariableName: string) => { export const getCssVariableValue = (cssVariableName: string) => {
let cssVariableValue = "" let cssVariableValue = ""
try { try {