Commit faf3209 1 parent ca7b687 commit faf3209 Copy full SHA for faf3209
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -345,10 +345,10 @@ const GitSpotlight: React.FC = () => {
345
345
346
346
< div className = "relative" >
347
347
< 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 >
349
349
</ pre >
350
350
< button
351
- onClick = { ( ) => handleCopyToClipboard ( pattern . command ( params ) ) }
351
+ onClick = { ( ) => handleCopyToClipboard ( pattern . command ( params as any ) ) }
352
352
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"
353
353
>
354
354
Copy
Original file line number Diff line number Diff line change 5
5
"allowJs" : true ,
6
6
"skipLibCheck" : true ,
7
7
"strict" : true ,
8
+ "forceConsistentCasingInFileNames" : true ,
8
9
"noEmit" : true ,
9
10
"esModuleInterop" : true ,
10
11
"module" : "esnext" ,
11
- "moduleResolution" : "bundler " ,
12
+ "moduleResolution" : "node " ,
12
13
"resolveJsonModule" : true ,
13
14
"isolatedModules" : true ,
14
15
"jsx" : "preserve" ,
18
19
"name" : "next"
19
20
}
20
21
] ,
22
+ "baseUrl" : "." ,
21
23
"paths" : {
22
24
"@/*" : [ "./src/*" ]
23
25
}
You can’t perform that action at this time.
0 commit comments