ui: optimize bundle

This commit is contained in:
undefined committed 2022-08-24 00:28:25 +08:00
1 parent 9c02ed4dd8
commit 5ae8258b8a
28 files changed
+57 -179

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import _ from 'lodash';
type Substitution = string | { templateRaw: true, html: string };
type Substitution = string | number | { templateRaw: true, html: string };
export default function tpl(pieces: TemplateStringsArray, ...substitutions: Substitution[]) {
let result = pieces[0];