mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 13:49:12 +08:00
feat(core): unused blob management in settings (#9795)
fix AF-2144, PD-2064, PD-2065, PD-2066
This commit is contained in:
@@ -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]) : ''),
|
||||
''
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user