Skip to content

Commit faf3209

Browse files
committed
some fixes
1 parent ca7b687 commit faf3209

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/components/GitSpotlight.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ const GitSpotlight: React.FC = () => {
345345

346346
<div className="relative">
347347
<pre className="bg-gray-950 text-gray-100 p-4 rounded-lg overflow-x-auto">
348-
<code className="text-sm">{pattern.command(params)}</code>
348+
<code className="text-sm">{pattern.command(params as any)}</code>
349349
</pre>
350350
<button
351-
onClick={() => handleCopyToClipboard(pattern.command(params))}
351+
onClick={() => handleCopyToClipboard(pattern.command(params as any))}
352352
className="absolute top-2 right-2 px-2 py-1 text-xs bg-gray-700 text-gray-100 rounded hover:bg-gray-600 transition-colors"
353353
>
354354
Copy

tsconfig.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"allowJs": true,
66
"skipLibCheck": true,
77
"strict": true,
8+
"forceConsistentCasingInFileNames": true,
89
"noEmit": true,
910
"esModuleInterop": true,
1011
"module": "esnext",
11-
"moduleResolution": "bundler",
12+
"moduleResolution": "node",
1213
"resolveJsonModule": true,
1314
"isolatedModules": true,
1415
"jsx": "preserve",
@@ -18,6 +19,7 @@
1819
"name": "next"
1920
}
2021
],
22+
"baseUrl": ".",
2123
"paths": {
2224
"@/*": ["./src/*"]
2325
}

0 commit comments

Comments
 (0)