diff options
author | 2024-09-03 17:49:09 +0200 | |
---|---|---|
committer | 2024-09-03 17:49:09 +0200 | |
commit | 38047119ff454e80cddd115bff53e33b32cd9930 (patch) | |
tree | a57befedbc1bc7b1a5910d46ce0f770b7a814c96 /examples/framework-react | |
parent | 5a39da87d3887e16eaa379fa54e9074a443ac7ba (diff) | |
download | astro-38047119ff454e80cddd115bff53e33b32cd9930.tar.gz astro-38047119ff454e80cddd115bff53e33b32cd9930.tar.zst astro-38047119ff454e80cddd115bff53e33b32cd9930.zip |
feat(next): better tsconfig (#11859)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Diffstat (limited to 'examples/framework-react')
-rw-r--r-- | examples/framework-react/src/env.d.ts | 1 | ||||
-rw-r--r-- | examples/framework-react/tsconfig.json | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/framework-react/src/env.d.ts b/examples/framework-react/src/env.d.ts deleted file mode 100644 index e16c13c69..000000000 --- a/examples/framework-react/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// <reference path="../.astro/types.d.ts" /> diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json index e726bd0b9..1bb17eb06 100644 --- a/examples/framework-react/tsconfig.json +++ b/examples/framework-react/tsconfig.json @@ -1,5 +1,7 @@ { "extends": "astro/tsconfigs/base", + "include": ["**/*", ".astro/types.d.ts"], + "exclude": ["dist"], "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "react" |