Skip to content

Commit 2d8a1b3

Browse files
committed
feat: main.ts 타입스크립트 변환
1 parent 28224b1 commit 2d8a1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getItem } from "./utils/storage.js";
33

44
const initialState = getItem("todo", []);
55
const initialCount = getItem("count", { total: 0, done: 0 });
6-
const $app = document.querySelector("#app");
6+
const $app = document.querySelector("#app") as HTMLElement;
77

88
new App({
99
$target: $app,

0 commit comments

Comments
 (0)