mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: optimize bundle
This commit is contained in:
1 parent
9c02ed4dd8
commit
5ae8258b8a
28 files changed
+57
-179
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user