Skip to content

Commit

Permalink
types: fixed type for .focus() (#1379)
Browse files Browse the repository at this point in the history
* types: fixed type for `.focus()`

* Update packages/fiddle/src/constants/templates/jsx-templates.ts

---------

Co-authored-by: Sami Jaber <me@sami.website>
  • Loading branch information
hinogi and samijaber committed Apr 30, 2024
1 parent c905d21 commit 4664fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fiddle/src/constants/templates/jsx-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const templates: { [key: string]: string } = {
import { useStore, useRef } from "@builder.io/mitosis";
export default function MyComponent(props) {
const inputRef = useRef();
const inputRef = useRef<HTMLInputElement>();
const state = useStore({
name: "Steve",
Expand Down

0 comments on commit 4664fb4

Please sign in to comment.