Skip to content

Commit

Permalink
2023-09-19T09:47:17.618Z
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Sep 19, 2023
1 parent 9da6fc4 commit de2803b
Show file tree
Hide file tree
Showing 43 changed files with 101 additions and 0 deletions.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions src/080-configuring-typescript/199-jsx.problem/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "tsc --watch"
}
}
5 changes: 5 additions & 0 deletions src/080-configuring-typescript/199-jsx.problem/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/080-configuring-typescript/199-jsx.problem/src/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const MyComponent = () => {
return <div />;
};
15 changes: 15 additions & 0 deletions src/080-configuring-typescript/199-jsx.problem/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "tsc --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const MyComponent = () => {
return <div />;
};
16 changes: 16 additions & 0 deletions src/080-configuring-typescript/199-jsx.solution.1/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true,
"jsx": "preserve"
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "tsc --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const MyComponent = () => {
return <div />;
};
16 changes: 16 additions & 0 deletions src/080-configuring-typescript/199-jsx.solution.2/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true,
"jsx": "react-jsx"
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Maybe move to external blog?
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Maybe move to external blog?
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Maybe move to external blog?
Empty file.
Empty file.

0 comments on commit de2803b

Please sign in to comment.