Skip to content

Commit

Permalink
Create js-frameworks.d.ts, ignore examples/* for tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Oct 4, 2024
1 parent 858df1d commit 173dcb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions programs/cli/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/// <reference types="node" />
/// <reference types="react" />
/// <reference types="react-dom" />
/// <reference types="chrome" />
/// <reference types="./js-frameworks.d.ts" />
/// <reference path="./css-content.d.ts" />
/// <reference path="./css-modules.d.ts" />
/// <reference path="./images.d.ts" />
/// <reference types="svelte" />

declare namespace NodeJS {
interface ProcessEnv {
Expand Down
3 changes: 3 additions & 0 deletions programs/cli/types/js-frameworks.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/// <reference types="react" />
/// <reference types="react-dom" />
/// <reference types="svelte" />
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"node_modules",
"**/dist",
"**/spec",
"./programs/create/templates/**"
"./programs/create/templates/**",
"./examples/**"
]
}

0 comments on commit 173dcb4

Please sign in to comment.