fix(types): update @extends to use .svelte extension

This commit is contained in:
Eric Liu 2021-10-16 12:07:22 -07:00
commit 4fb95f2cb7
24 changed files with 38 additions and 32 deletions

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { Breakpoint } from "../types";
import { BreakpointSize } from "../types/Breakpoint/Breakpoint";
import type { BreakpointSize } from "../types/Breakpoint/Breakpoint.svelte";
let size: BreakpointSize;
</script>

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { ComboBox } from "../types";
import type { ComboBoxItem } from "../types/ComboBox/ComboBox";
import type { ComboBoxItem } from "../types/ComboBox/ComboBox.svelte";
const items: ComboBoxItem[] = [
{ id: "0", text: "Slack" },

View file

@ -10,7 +10,7 @@
Button,
Link,
} from "../types";
import type { DataTableHeader } from "../types/DataTable/DataTable";
import type { DataTableHeader } from "../types/DataTable/DataTable.svelte";
import Launch16 from "carbon-icons-svelte/lib/Launch16";
const headers: DataTableHeader[] = [

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { Theme } from "../types";
import { CarbonTheme } from "../types/Theme/Theme";
import type { CarbonTheme } from "../types/Theme/Theme.svelte";
let theme: CarbonTheme = "g10";
</script>

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { TreeView } from "../types";
import type { TreeNodeId } from "../types/TreeView/TreeView";
import type { TreeNodeId } from "../types/TreeView/TreeView.svelte";
import Analytics16 from "carbon-icons-svelte/lib/Analytics16";
let treeview: TreeView;