feat(core): unused blob management in settings (#9795)

fix AF-2144, PD-2064, PD-2065, PD-2066
This commit is contained in:
pengx17
2025-01-23 07:12:16 +00:00
parent 8021b89944
commit 6ac6a8d6d6
26 changed files with 846 additions and 30 deletions
@@ -0,0 +1,9 @@
import type { TemplateResult } from 'lit';
export function templateToString({ strings, values }: TemplateResult): string {
return strings.reduce(
(result, str, i) =>
result + str + (i < values.length ? String(values[i]) : ''),
''
);
}