Skip to content

Commit

Permalink
examples: with-youtube-embed - convert js to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
suu3 committed Dec 6, 2024
1 parent 8d1ad5f commit 91500cb
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion examples/with-youtube-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
"start": "next start"
},
"dependencies": {
"next": "latest",
"@next/third-parties": "latest",
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^22.10.1",
"@types/react": "^18.2.0",
"typescript": "^5.7.2"
}
}
24 changes: 24 additions & 0 deletions examples/with-youtube-embed/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"noEmit": true,
"incremental": true,
"module": "esnext",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}

0 comments on commit 91500cb

Please sign in to comment.