social bookmarking for atproto

[lexicons] fix various tsconfig errors

diddyfo.id dc79728a 89702178

verified
+11 -20
-1
backend/tsconfig.json
··· 19 19 "strict": true, 20 20 "noUncheckedIndexedAccess": true, 21 21 "noImplicitOverride": true, 22 - "noEmit": true, 23 22 "jsx": "react-jsx", 24 23 "jsxImportSource": "hono/jsx", 25 24 "outDir": "dist/",
+1 -1
lexicons/package.json
··· 21 21 ], 22 22 "exports": { 23 23 ".": "./dist/index.js", 24 - "./types/social/*": "./dist/lexicons/types/social/clippr/*.js" 24 + "./types/social/clippr/*": "./dist/lexicons/types/social/clippr/*.js" 25 25 }, 26 26 "scripts": { 27 27 "build": "tsc --project tsconfig.json",
+10 -18
lexicons/tsconfig.json
··· 1 1 { 2 2 "compilerOptions": { 3 - "outDir": "dist/", 4 - "declaration": true, 5 - "allowImportingTsExtensions": true, 3 + "outDir": "dist/", 6 4 "esModuleInterop": true, 7 5 "skipLibCheck": true, 8 6 "target": "ESNext", 9 - "module": "NodeNext", 10 - "moduleResolution": "NodeNext", 11 7 "allowJs": true, 12 8 "resolveJsonModule": true, 13 9 "moduleDetection": "force", 14 10 "isolatedModules": true, 15 11 "verbatimModuleSyntax": true, 16 - "types": [ 17 - "@atcute/atproto" 18 - ], 19 12 "strict": true, 20 - "noUncheckedIndexedAccess": true, 21 13 "noImplicitOverride": true, 22 - "noEmit": true, 23 - "jsx": "react-jsx", 24 - "jsxImportSource": "hono/jsx", 25 - "lib": [ 26 - "ESNext" 27 - ] 14 + "noUnusedLocals": true, 15 + "noUnusedParameters": true, 16 + "noFallthroughCasesInSwitch": true, 17 + "module": "NodeNext", 18 + "sourceMap": true, 19 + "declaration": true 28 20 }, 29 - "include": [ 30 - "lib" 31 - ], 21 + "include": [ 22 + "lib" 23 + ], 32 24 "exclude": [ 33 25 "node_modules" 34 26 ]