Skip to content

Commit 5819ffd

Browse files
committed
move project away from typescript
1 parent b0f0c25 commit 5819ffd

File tree

11 files changed

+4
-39
lines changed

11 files changed

+4
-39
lines changed

packages/frontendmentor/fem-password-generator-app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
</head>
99
<body>
1010
<div id="root"></div>
11-
<script type="module" src="/src/main.tsx"></script>
11+
<script type="module" src="/src/main.jsx"></script>
1212
</body>
1313
</html>

packages/frontendmentor/fem-password-generator-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc && vite build",
8+
"build": "vite build",
99
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
1010
"preview": "vite preview"
1111
},

packages/frontendmentor/fem-password-generator-app/src/main.tsx renamed to packages/frontendmentor/fem-password-generator-app/src/main.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from "react";
22
import ReactDOM from "react-dom/client";
3-
import App from "./App.tsx";
3+
import App from "./App";
44

55
import "./scss/main.scss";
66

7-
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
7+
ReactDOM.createRoot(document.getElementById("root")).render(
88
<React.StrictMode>
99
<App />
1010
</React.StrictMode>

packages/frontendmentor/fem-password-generator-app/tsconfig.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)