PhpStormでSvelte Prettierを適用してReformat Fileを実行したときに発生するエラーの修正
このコードに対してReformat Fileを実行すると、 このようにコードに問題が発生する。 <https://github.com/sveltejs/prettier plugin svelte/issues/240 <https://github.com/sveltejs/prettier plugin svel
GGAMI
import { View } from '@nativescript/core';
import { NativeViewElementNode } from 'svelte-native/dom';
let view: NativeViewElementNode<View>;
export async function animateOut() {
return view.nativeElement.animate({
opacity: 0,
duration: 300,
});
}
</script>
<gridlayout {...$$restProps} backgroundColor="white" bind:this={view}>
<label class="h-center v-center text-2xl font-bold">
<formattedString>
<span class="fas text-[#3A53FF]" text="" />
<span class="text-pink-400" text=" loading" />
</formattedString>
</label>
</gridlayout>