a tool for shared writing and social publishing

updates

+15 -6
+1 -1
next-env.d.ts
··· 1 1 /// <reference types="next" /> 2 2 /// <reference types="next/image-types/global" /> 3 - /// <reference path="./.next/types/routes.d.ts" /> 3 + import "./.next/dev/types/routes.d.ts"; 4 4 5 5 // NOTE: This file should not be edited 6 6 // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
+14 -5
tsconfig.json
··· 1 1 { 2 2 "compilerOptions": { 3 - "lib": ["dom", "dom.iterable", "esnext"], 4 - "types": ["@cloudflare/workers-types"], 3 + "lib": [ 4 + "dom", 5 + "dom.iterable", 6 + "esnext" 7 + ], 8 + "types": [ 9 + "@cloudflare/workers-types" 10 + ], 5 11 "baseUrl": ".", 6 12 "allowJs": true, 7 13 "skipLibCheck": true, ··· 15 21 "moduleResolution": "node", 16 22 "resolveJsonModule": true, 17 23 "isolatedModules": true, 18 - "jsx": "preserve", 24 + "jsx": "react-jsx", 19 25 "plugins": [ 20 26 { 21 27 "name": "next" ··· 30 36 "**/*.js", 31 37 "**/*.ts", 32 38 "**/*.tsx", 33 - "**/*.mdx" 39 + "**/*.mdx", 40 + ".next/dev/types/**/*.ts" 34 41 ], 35 - "exclude": ["node_modules"] 42 + "exclude": [ 43 + "node_modules" 44 + ] 36 45 }