Skip to content

Commit

Permalink
chore: remove .d.ts files from templates in favor of tsconfig.json ty…
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-ebey authored Feb 23, 2024
1 parent 471b74b commit c258664
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 0 additions & 2 deletions templates/vite-cloudflare/env.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion templates/vite-cloudflare/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"include": ["env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"types": ["@remix-run/cloudflare", "vite/client"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
Expand Down
2 changes: 0 additions & 2 deletions templates/vite-express/env.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion templates/vite-express/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"include": ["env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"types": ["@remix-run/node", "node", "vite/client"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
Expand Down
2 changes: 0 additions & 2 deletions templates/vite/env.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion templates/vite/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"include": ["env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"types": ["@remix-run/node", "node", "vite/client"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
Expand Down

0 comments on commit c258664

Please sign in to comment.