diff --git a/playgrounds/sandbox/run.js b/playgrounds/sandbox/run.js index 05ac772af0..dffcc0af58 100644 --- a/playgrounds/sandbox/run.js +++ b/playgrounds/sandbox/run.js @@ -29,9 +29,7 @@ function mkdirp(dir) { const svelte_modules = glob('**/*.svelte', { cwd: `${cwd}/input` }); const js_modules = glob('**/*.js', { cwd: `${cwd}/input` }); -/** @type {Array<'client'|'server'>} */ -const compile_types = ['client', 'server']; -for (const generate of compile_types) { +for (const generate of /** @type {const} */ (['client', 'server'])) { console.error(`\n--- generating ${generate} ---\n`); for (const file of svelte_modules) { const input = `${cwd}/input/${file}`;