Skip to content

Commit f957b39

Browse files
authored
remove comments
1 parent a6a99e0 commit f957b39

File tree

1 file changed

+19
-26
lines changed
  • src/content/docs/workers/tutorials/generate-dynamic-og-images-using-workers

1 file changed

+19
-26
lines changed

src/content/docs/workers/tutorials/generate-dynamic-og-images-using-workers/index.mdx

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -178,44 +178,37 @@ filename: tsconfig.json
178178
---
179179
{
180180
"compilerOptions": {
181-
"target": "ESNext", // ECMAScript target version
181+
"target": "ESNext",
182182
"lib": [
183-
"ESNext", // Standard library to use
184-
// "DOM.Iterable",
185-
// "DOM",
183+
"ESNext",
186184
],
187185
"moduleDetection": "force",
188-
"jsx": "react-jsx", // JSX compilation style
189-
// "jsxImportSource": "hono/jsx",
190-
"module": "ESNext", // Module code generation method
191-
"moduleResolution": "bundler", // How to resolve modules
186+
"jsx": "react-jsx",
187+
"module": "ESNext",
188+
"moduleResolution": "bundler",
192189
"types": [
193-
// "./.wrangler/types/runtime", // Cloudflare Workers runtime types
194-
// "@cloudflare/workers-types", // Cloudflare Workers API types
195-
// "./runtime.d.ts"
196-
"bun-types", // Bun runtime types
197-
"hono", // Hono framework types
190+
"bun-types",
191+
"hono",
198192
"@cloudflare/workers-types/2023-07-01"
199193
],
200-
"resolveJsonModule": true, // Enable importing .json files
201-
"esModuleInterop": true, // Allow default imports for CommonJS modules
202-
"allowJs": true, // Allow importing `.js` from `.ts`
203-
"checkJs": false, // Don't type-check .js files
204-
"noEmit": true, // Don't output files
205-
"isolatedModules": true, // Ensure each file can be safely transpiled
206-
"allowSyntheticDefaultImports": true, // Allow 'import x from y' when module has no default export
207-
"forceConsistentCasingInFileNames": true, // Ensure consistent casing in file names
208-
"strict": true, // Enable all strict type checking options
209-
"skipLibCheck": true, // Skip type checking of declaration files
194+
"resolveJsonModule": true,
195+
"esModuleInterop": true,
196+
"allowJs": true,
197+
"checkJs": false,
198+
"noEmit": true,
199+
"isolatedModules": true,
200+
"allowSyntheticDefaultImports": true,
201+
"forceConsistentCasingInFileNames": true,
202+
"strict": true,
203+
"skipLibCheck": true,
210204
"noFallthroughCasesInSwitch": true,
211-
// Some stricter flags (disabled by default)
212205
"noUnusedLocals": false,
213206
"noUnusedParameters": false,
214207
"noPropertyAccessFromIndexSignature": false
215208
},
216-
"baseUrl": "./", // Base directory for resolving non-relative module names
209+
"baseUrl": "./",
217210
"paths": {
218-
"@/*": [ // Path alias configuration
211+
"@/*": [
219212
"./src/*"
220213
]
221214
}

0 commit comments

Comments
 (0)