Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit f6f5325

Browse files
authored
chore(definitions): Use relative imports consistently (#223)
Only these five files imported SvelteComponent via 'svelte-materialify/@types/shared', while all other definitions used the './shared' relative path. This commit consistently uses the relative import.
1 parent 54e4fdb commit f6f5325

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/svelte-materialify/@types/Col.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SvelteComponent } from 'svelte-materialify/@types/shared';
1+
import { SvelteComponent } from './shared';
22

33
interface ColProps {
44
/** cols adds class cols-<number> */

packages/svelte-materialify/@types/Container.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SvelteComponent } from 'svelte-materialify/@types/shared';
1+
import { SvelteComponent } from './shared';
22

33
interface ContainerProps {
44
/** classes added to the container */

packages/svelte-materialify/@types/Divider.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SvelteComponent } from 'svelte-materialify/@types/shared';
1+
import { SvelteComponent } from './shared';
22

33
interface DividerProps {
44
/** inset moves divider 72px to the right */

packages/svelte-materialify/@types/Row.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SvelteComponent } from 'svelte-materialify/@types/shared';
1+
import { SvelteComponent } from './shared';
22

33
interface RowProps {
44
/** dense reduces standard gutter */

packages/svelte-materialify/@types/Snackbar.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { SvelteComponent } from 'svelte-materialify/@types/shared';
21
import { TransitionConfig } from 'svelte/transition';
2+
import { SvelteComponent } from './shared';
33

44
interface SnackbarProps {
55
/** absolute sets the snackbar with position absolute otherwise it is fixed */

0 commit comments

Comments
 (0)