Skip to content

Commit

Permalink
chore: remove extra spaces from mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti committed Jan 17, 2025
1 parent 000af81 commit ea426a6
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { {const $$action_0 = __sveltets_2_ensureAction(action(svelteHTML.mapElementTag('element')));{ svelteHTML.createElement("element", __sveltets_2_union($$action_0), { });}}{/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { const $$_value = await (promise);{ const value = $$_value; {/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { const $$_tnenopmoC0C = __sveltets_2_ensureComponent(Component); new $$_tnenopmoC0C({ target: __sveltets_2_any(), props: {"foo":true,}});}{/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { for(let item of __sveltets_2_ensureArray(items)){ {/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { svelteHTML.createElement("element", {"foo":true,});} {/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { const $$_tnenopmoC0C = __sveltets_2_ensureComponent(Component); const $$_tnenopmoC0 = new $$_tnenopmoC0C({ target: __sveltets_2_any(), props: { }});$$_tnenopmoC0.$on("click", $check ? method1 : method2);}{/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => {if(foo){ {/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
///<reference types="svelte" />
//----------------------------------------------------------------------------------------------------------------------------------------------------
;function $$render() { {/**
;function•$$render()•{↲ [generated] line 2
;function $$render() { {/**
;function•$$render()•{↲ [generated] line 2
<s
<script>↲ [original] line 1 (rest generated at line 3)
<script>↲ [original] line 1 (rest generated at line 3)
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
{/**
↲ [generated] line 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ import•{↲ [generated] line 23
╚}•from•'../../../config';
╚}•from•'../../../config';↲ [original] line 27 (rest generated at line 36)
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
function $$render() { {/**
function•$$render()•{↲ [generated] line 28
function $$render() { {/**
function•$$render()•{↲ [generated] line 28
s
s
<script>↲ [original] line 16 (rest generated at lines 15, 29)
<script>↲ [original] line 16 (rest generated at lines 15, 29)
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
{/**
↲ [generated] line 29
Expand Down
6 changes: 3 additions & 3 deletions packages/svelte2tsx/test/sourcemaps/samples/let/mappings.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
///<reference types="svelte" />
//----------------------------------------------------------------------------------------------------------------------------------------------------
;function $$render() { {/**
;function•$$render()•{↲ [generated] line 2
;function $$render() { {/**
;function•$$render()•{↲ [generated] line 2
<s
<script>↲ [original] line 1 (rest generated at line 3)
<script>↲ [original] line 1 (rest generated at line 3)
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
{/**
↲ [generated] line 3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { svelteHTML.createElement("button", {count,}); }}; {/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
///<reference types="svelte" />
//----------------------------------------------------------------------------------------------------------------------------------------------------
;function $$render() { {/**
;function•$$render()•{↲ [generated] line 2
;function $$render() { {/**
;function•$$render()•{↲ [generated] line 2
<s
<script>↲ [original] line 1 (rest generated at line 3)
<script>↲ [original] line 1 (rest generated at line 3)
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
{/**
↲ [generated] line 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
//----------------------------------------------------------------------------------------------------------------------------------------------------
;function $$render() { let $$props = __sveltets_2_allPropsType(); let $$restProps = __sveltets_2_restPropsType(); let $$slots = __sveltets_2_slotsType({});{/**
;function•$$render()•{•let•$$props•=•__sveltets_2_allPropsType();•let•$$restProps•=•__sveltets_2_restPropsType();•let•$$slots•=•__sveltets_2_slotsType({});↲ [generated] line 2
<s
<script>↲ [original] line 1 (rest generated at line 3)
<s
<script>↲ [original] line 1 (rest generated at line 3)
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
{/**
↲ [generated] line 3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { svelteHTML.createElement("h1", {}); }}; {/**
============# Originless mappings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference types="svelte" />
;function $$render() { {/**
;function $$render() { {/**
------------------------------------------------------------------------------------------------------------------------------------------------------ */}
async () => { { const $$_tnenopmoC0C = __sveltets_2_ensureComponent(Component); const $$_tnenopmoC0 = new $$_tnenopmoC0C({ target: __sveltets_2_any(), props: { }});{const {/*Ωignore_startΩ*/$$_$$/*Ωignore_endΩ*/,hi,hi2:hi_2,hi3,} = $$_tnenopmoC0.$$slot_def.default;$$_$$;{/**
============# Originless mappings
Expand Down

0 comments on commit ea426a6

Please sign in to comment.