Skip to content

Commit 5de6230

Browse files
JulienPradetlukeed
andauthored
fix(type): define generate option (#111)
* Fix types for generate option * fix: restrict `string` values Co-authored-by: Luke Edwards <[email protected]>
1 parent d856625 commit 5de6230

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ interface Options {
4747
* By default, the client-side compiler is used. You
4848
* can also use the server-side rendering compiler
4949
*/
50-
// this isn't used yet in plugin
51-
// generate?: 'ssr';
50+
generate?: 'dom' | 'ssr' | false;
5251

5352
/**
5453
* Optionally, preprocess components with svelte.preprocess:

0 commit comments

Comments
 (0)