+ {() => { let {foo:bar} = /*Ωignore_startΩ*/new Comp({target: __sveltets_any(''), props: {}})/*Ωignore_endΩ*/.$$slot_def['named'];/*Ωignore_startΩ*/(((hello))) && (!(hi && bye) && !(cool)) && /*Ωignore_endΩ*/<>
{bar}
>}}
diff --git a/packages/svelte2tsx/test/htmlx2jsx/samples/svelte-fragment/expected.jsx b/packages/svelte2tsx/test/htmlx2jsx/samples/svelte-fragment/expected.jsx
index 564e2275a..9d010904e 100644
--- a/packages/svelte2tsx/test/htmlx2jsx/samples/svelte-fragment/expected.jsx
+++ b/packages/svelte2tsx/test/htmlx2jsx/samples/svelte-fragment/expected.jsx
@@ -9,11 +9,11 @@
- {() => { let {foo, bar:baz} = __sveltets_instanceOf(Component).$$slot_def['default'];<>
+ {() => { let {foo, bar:baz} = /*Ωignore_startΩ*/new Component({target: __sveltets_any(''), props: {}})/*Ωignore_endΩ*/.$$slot_def['default'];<>
{foo} {baz}
>}}
- {() => { let {foo, bar:baz} = __sveltets_instanceOf(Component).$$slot_def['named'];<>
+ {() => { let {foo, bar:baz} = /*Ωignore_startΩ*/new Component({target: __sveltets_any(''), props: {}})/*Ωignore_endΩ*/.$$slot_def['named'];<>
{foo} {baz}
>}}
>
\ No newline at end of file
diff --git a/packages/svelte2tsx/test/sourcemaps/samples/event-binding/mappings.jsx b/packages/svelte2tsx/test/sourcemaps/samples/event-binding/mappings.jsx
index d80333621..1b608056b 100644
--- a/packages/svelte2tsx/test/sourcemaps/samples/event-binding/mappings.jsx
+++ b/packages/svelte2tsx/test/sourcemaps/samples/event-binding/mappings.jsx
@@ -1,13 +1,13 @@
///
<>>;function render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
-<>
{__sveltets_instanceOf(Component).$on('click', (__sveltets_store_get(check), $check) ? method1 : method2)} {/**
-=# Originless mappings
-<>
{__sveltets_instanceOf(Component).$on('click',•(__sveltets_store_get(check),•$check)•?•method1•:•method2)}↲ [generated] line 3
-
on: click= $ check •?•method1•:•method2} ↲
- #=================================== Order-breaking mappings
-
↲
-
↲ [original] line 1
+<>
{/*Ωignore_startΩ*/new Component({target: __sveltets_any(''), props: {}})/*Ωignore_endΩ*/.$on('click', (__sveltets_store_get(check), $check) ? method1 : method2)}{/**
+=# Originless mappings
+<>
{/*Ωignore_startΩ*/new•Component({target:•__sveltets_any(''),•props:•{}})/*Ωignore_endΩ*/.$on('click',•(__sveltets_store_get(check),•$check)•?•method1•:•method2)}↲ [generated] line 3
+
on: click= $ check •?•method1•:•method2} ↲
+ #=========================================================================================== Order-breaking mappings
+
↲
+
↲ [original] line 1
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
> {/**
>↲ [generated] line 4
diff --git a/packages/svelte2tsx/test/sourcemaps/samples/large-sample-1/mappings.jsx b/packages/svelte2tsx/test/sourcemaps/samples/large-sample-1/mappings.jsx
index a2d169664..fa50c433c 100644
--- a/packages/svelte2tsx/test/sourcemaps/samples/large-sample-1/mappings.jsx
+++ b/packages/svelte2tsx/test/sourcemaps/samples/large-sample-1/mappings.jsx
@@ -430,17 +430,17 @@ s
injectedJS={mapbox_setup}
relaxed {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
- />{__sveltets_instanceOf(Repl).$on('change', handle_change)} {/**
- ╚╚╚/>{__sveltets_instanceOf(Repl).$on('change',•handle_change)}↲ [generated] line 172
- on('change',•handle_change)} [generated] subset
- on: change= handle_change}
- on:change= handle_change}
- ╚╚╚╚on:change={handle_change}↲ [original] line 309 (rest generated at line 169)
-
- ╚╚╚/>{__sveltets_instanceOf(Repl).$on('change',•handle_change)}↲ [generated] line 172
- ╚╚╚/>{__sveltets_instanceOf(Repl).$ ↲ [generated] subset
- ╚╚╚/> ↲
- ╚╚╚/>↲ [original] line 312
+ />{/*Ωignore_startΩ*/new Repl({target: __sveltets_any(''), props: {'workersUrl':"", 'svelteUrl':svelteUrl, 'rollupUrl':rollupUrl, 'orientation':mobile ? 'columns' : 'rows', 'fixed':mobile, 'injectedJS':mapbox_setup, 'relaxed':true}})/*Ωignore_endΩ*/.$on('change', handle_change)}{/**
+ ╚╚╚/>{/*Ωignore_startΩ*/new•Repl({target:•__sveltets_any(''),•props:•{'workersUrl':"",•'svelteUrl':svelteUrl,•'rollupUrl':rollupUrl,•'orientation':mobile•?•'columns'•:•'rows',•'fixed':mobile,•'injectedJS':mapbox_setup,•'relaxed':true}})/*Ωignore_endΩ*/.$on('change',•handle_change)}↲ [generated] line 172
+ on('change',•handle_change)} [generated] subset
+ on: change= handle_change}
+ on:change= handle_change}
+ ╚╚╚╚on:change={handle_change}↲ [original] line 309 (rest generated at line 169)
+
+ ╚╚╚/>{/*Ωignore_startΩ*/new•Repl({target:•__sveltets_any(''),•props:•{'workersUrl':"",•'svelteUrl':svelteUrl,•'rollupUrl':rollupUrl,•'orientation':mobile•?•'columns'•:•'rows',•'fixed':mobile,•'injectedJS':mapbox_setup,•'relaxed':true}})/*Ωignore_endΩ*/.$on('change',•handle_change)}↲ [generated] line 172
+ ╚╚╚/>{/*Ωignore_startΩ*/new•Repl({target:•__sveltets_any(''),•props:•{'workersUrl':"",•'svelteUrl':svelteUrl,•'rollupUrl':rollupUrl,•'orientation':mobile•?•'columns'•:•'rows',•'fixed':mobile,•'injectedJS':mapbox_setup,•'relaxed':true}})/*Ωignore_endΩ*/.$ ↲ [generated] subset
+ ╚╚╚/> ↲
+ ╚╚╚/>↲ [original] line 312
------------------------------------------------------------------------------------------------------------------------------------------------------ */}