Skip to content

Commit

Permalink
Add to contracts imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrweb committed Mar 3, 2024
1 parent fe31bc1 commit 89c9581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/contracts/CanvasInstanceRef.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MutableRefObject } from "react";

import { P5CanvasInstance } from "./P5CanvasInstance";
import { SketchProps } from "./SketchProps";
import { type P5CanvasInstance } from "./P5CanvasInstance";
import { type SketchProps } from "./SketchProps";

export type CanvasInstanceRef<Props extends SketchProps = SketchProps> =
MutableRefObject<P5CanvasInstance<Props> | null>;
2 changes: 1 addition & 1 deletion src/contracts/WrapperRef.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MutableRefObject } from "react";

import { Wrapper } from "./Wrapper";
import { type Wrapper } from "./Wrapper";

export type WrapperRef = MutableRefObject<Wrapper | null>;

0 comments on commit 89c9581

Please sign in to comment.