File tree Expand file tree Collapse file tree 4 files changed +30
-3
lines changed
Expand file tree Collapse file tree 4 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 11// unexpected error
22export function panic ( reason : string ) : never {
3- throw new Error ( reason , {
4- cause : "panic" ,
5- } ) ;
3+ throw new Error ( reason ) ;
4+ // TODO: 型エラーとなるため一時的にコメントアウト
5+ // throw new Error(reason, {
6+ // cause: "panic",
7+ // });
68}
Original file line number Diff line number Diff line change 1+ import type { MetadataRoute } from "next" ;
2+
3+ export default function manifest ( ) : MetadataRoute . Manifest {
4+ return {
5+ name : "CourseMate" ,
6+ short_name : "CourseMate" ,
7+ description : "同じ授業を履修している友達を見つけられるアプリ" ,
8+ start_url : "/" ,
9+ display : "standalone" ,
10+ background_color : "#ffffff" ,
11+ theme_color : "#000000" ,
12+ icons : [
13+ {
14+ src : "/icon-192x192.png" ,
15+ sizes : "192x192" ,
16+ type : "image/png" ,
17+ } ,
18+ {
19+ src : "/icon-512x512.png" ,
20+ sizes : "512x512" ,
21+ type : "image/png" ,
22+ } ,
23+ ] ,
24+ } ;
25+ }
You can’t perform that action at this time.
0 commit comments