Skip to content

Commit

Permalink
fix(type-safe-api): passed hooks tsconfig parameter ignored (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
sperka authored Apr 17, 2024
1 parent 76981a5 commit 914d516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class TypescriptReactQueryHooksLibrary extends GeneratedTypescriptLibrary
constructor(options: GeneratedTypescriptReactQueryHooksProjectOptions) {
super({
...options,
tsconfig: {
tsconfig: options.tsconfig ?? {
compilerOptions: {
jsx: TypeScriptJsxMode.REACT,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class TypescriptWebsocketHooksLibrary extends GeneratedTypescriptLibraryP
constructor(options: TypescriptWebsocketHooksLibraryOptions) {
super({
...options,
tsconfig: {
tsconfig: options.tsconfig ?? {
compilerOptions: {
jsx: TypeScriptJsxMode.REACT,
},
Expand Down

0 comments on commit 914d516

Please sign in to comment.