Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gmjgeek committed Jul 19, 2024
1 parent efa5aae commit 0d5de05
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/sofria-render-json/RenderContent.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import RenderWrapper from './RenderWrapper.svelte';
import { Content, ContentElement, isWrapper } from './schema/sofria-schema';
import { type Content, type ContentElement, isWrapper } from './schema/sofria-schema';
export let content: Content;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
usfmClass
} from './schema/paragraphs';
import RenderContent from './RenderContent.svelte';
import { Paragraph } from './schema/sofria-schema';
import type { Paragraph } from './schema/sofria-schema';
export let paragraph: Paragraph;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import RenderParagraph from './RenderParagraph.svelte';
import { Block, isParagraph, Sequence } from './schema/sofria-schema';
import { type Block, isParagraph, type Sequence } from './schema/sofria-schema';
export let sequence: Sequence;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/sofria-render-json/RenderWrapper.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import RenderContent from './RenderContent.svelte';
import { Wrapper } from './schema/sofria-schema';
import type { Wrapper } from './schema/sofria-schema';
import { isListItem } from './schema/wrappers';
export let wrapper: Wrapper;
Expand Down
8 changes: 6 additions & 2 deletions src/lib/components/sofria-render-json/SofriaRender.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<script lang="ts">
import { sequence } from '@sveltejs/kit/hooks';
import RenderSequence from './RenderSequence.svelte';
import { Document, isFlatDocument, isNestedDocument, Sequence } from './schema/sofria-schema';
import {
type Document,
isFlatDocument,
isNestedDocument,
type Sequence
} from './schema/sofria-schema';
export let document: Document;
Expand Down

0 comments on commit 0d5de05

Please sign in to comment.