Skip to content

Commit

Permalink
fix(Dagre): Add missing lang="ts" and use Svelte 3/4 compat `contex…
Browse files Browse the repository at this point in the history
…t="module"` instead of `module`
  • Loading branch information
techniq committed Dec 17, 2024
1 parent e23d7d9 commit bfed785
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/poor-lizards-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'layerchart': patch
---

fix(Dagre): Add missing `lang="ts"` and use Svelte 3/4 compat `context="module"` instead of `module`
2 changes: 1 addition & 1 deletion packages/layerchart/src/lib/components/Dagre.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script module>
<script lang="ts" context="module">
export type DagreGraphData = {
nodes: Array<{ id: string; parent?: string; label?: string | dagre.Label }>;
edges: Array<{ source: string; target: string; label?: string }>;
Expand Down

0 comments on commit bfed785

Please sign in to comment.