diff --git a/README.md b/README.md index d1b7a4b..1431bc0 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ PORT=8080 yarn run examples:01_counter and open in your web browser. You can also try them in codesandbox.io: -[01](https://codesandbox.io/s/github/dai-shi/use-signals/tree/main/examples/01_counter) -[02](https://codesandbox.io/s/github/dai-shi/use-signals/tree/main/examples/02_jsx) +[01](https://stackblitz.com/github/dai-shi/use-signals/tree/main/examples/01_counter) +[02](https://stackblitz.com/github/dai-shi/use-signals/tree/main/examples/02_jsx) ## Tweets diff --git a/examples/01_counter/tsconfig.json b/examples/01_counter/tsconfig.json new file mode 100644 index 0000000..d387817 --- /dev/null +++ b/examples/01_counter/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "strict": true, + "target": "es2018", + "downlevelIteration": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "skipLibCheck": true, + "allowJs": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "jsx": "react-jsx" + } +} diff --git a/examples/02_jsx/tsconfig.json b/examples/02_jsx/tsconfig.json new file mode 100644 index 0000000..d387817 --- /dev/null +++ b/examples/02_jsx/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "strict": true, + "target": "es2018", + "downlevelIteration": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "skipLibCheck": true, + "allowJs": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "jsx": "react-jsx" + } +}