File tree Expand file tree Collapse file tree 20 files changed +85
-85
lines changed
packages/kit/src/packaging/test Expand file tree Collapse file tree 20 files changed +85
-85
lines changed Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 33/** @typedef {typeof __propDef.slots } TestSlots */
44export default class Test extends SvelteComponentTyped <
55 {
6- astring : string ;
6+ astring ? : string ;
77 } ,
88 {
99 event : CustomEvent < any > ;
@@ -24,7 +24,7 @@ export type TestSlots = typeof __propDef.slots;
2424import { SvelteComponentTyped } from 'svelte' ;
2525declare const __propDef : {
2626 props : {
27- astring : string ;
27+ astring ? : string ;
2828 } ;
2929 events : {
3030 event : CustomEvent < any > ;
Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 33/** @typedef {typeof __propDef.slots } TestSlots */
44export default class Test extends SvelteComponentTyped <
55 {
6- astring : string ;
6+ astring ? : string ;
77 } ,
88 {
99 event : CustomEvent < any > ;
@@ -24,7 +24,7 @@ export type TestSlots = typeof __propDef.slots;
2424import { SvelteComponentTyped } from 'svelte' ;
2525declare const __propDef : {
2626 props : {
27- astring : string ;
27+ astring ? : string ;
2828 } ;
2929 events : {
3030 event : CustomEvent < any > ;
Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 11<script >
2- import { createEventDispatcher } from ' svelte' ;
3- /**
4- * @type {string}
5- */
6- export const astring ;
2+ import { createEventDispatcher } from ' svelte' ;
3+ /**
4+ * @type {string}
5+ */
6+ export const astring = ' potato ' ;
77
8- const dispatch = createEventDispatcher ();
9- dispatch (' event' , true );
8+ const dispatch = createEventDispatcher ();
9+ dispatch (' event' , true );
1010 </script >
1111
1212<slot {astring } />
Original file line number Diff line number Diff line change 33/** @typedef {typeof __propDef.slots } TestSlots */
44export default class Test extends SvelteComponentTyped <
55 {
6- astring : string ;
6+ astring ? : string ;
77 } ,
88 {
99 event : CustomEvent < any > ;
@@ -24,7 +24,7 @@ export type TestSlots = typeof __propDef.slots;
2424import { SvelteComponentTyped } from 'svelte' ;
2525declare const __propDef : {
2626 props : {
27- astring : string ;
27+ astring ? : string ;
2828 } ;
2929 events : {
3030 event : CustomEvent < any > ;
You can’t perform that action at this time.
0 commit comments