Skip to content

Commit

Permalink
generate correct +app.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Mar 6, 2024
1 parent 5f77046 commit 6ad9942
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare namespace App {
// user-specific information passed to each query
interface Session {}
}
1 change: 1 addition & 0 deletions packages/houdini-react/src/plugin/codegen/typeRoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export async function writeTsconfig(config: Config) {
'../src/**/*.ts',
'../src/**/*.jsx',
'../src/**/*.tsx',
'../src/+app.d.ts',
],
exclude: ['../node_modules/**', './[!ambient.d.ts]**'],
},
Expand Down

0 comments on commit 6ad9942

Please sign in to comment.