Skip to content

Commit

Permalink
fix: Use .js extension in imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Fanger committed Aug 20, 2022
1 parent 49222dc commit 410ae7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/lib/internal/Bridge.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type React from "react";
import { createElement } from "react";
import useReadable from "../useReadable";
import SvelteToReactContext from "./SvelteToReactContext";
import Child from "./Child";
import useReadable from "../useReadable.js";
import SvelteToReactContext from "./SvelteToReactContext.js";
import Child from "./Child.js";
import type { TreeNode } from "./types";

export type BridgeProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/reactify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import type { FunctionComponent } from "react";
import { get, type Readable } from "svelte/store";
import SvelteWrapper from "./internal/SvelteWrapper.svelte";
import SvelteToReactContext from "./internal/SvelteToReactContext";
import SvelteToReactContext from "./internal/SvelteToReactContext.js";
import type { SvelteEventHandlers } from "./internal/types";

export type SvelteConstructor<Props = any, Events = any, Slot = any> = {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sveltify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { writable, type Readable } from "svelte/store";
import type { ConstructorOf, SvelteInit, TreeNode } from "./internal/types";
import ReactWrapper from "./internal/ReactWrapper.svelte";
import Slot from "./internal/Slot.svelte";
import Bridge, { type BridgeProps } from "./internal/Bridge";
import Bridge, { type BridgeProps } from "./internal/Bridge.js";

let rerender: (props: BridgeProps) => void;
let autokey = 0;
Expand Down

0 comments on commit 410ae7c

Please sign in to comment.