Skip to content

Commit

Permalink
add types to tsconfig(.production)
Browse files Browse the repository at this point in the history
  • Loading branch information
mipyykko committed May 26, 2023
1 parent 5b76642 commit 1ce5c0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const createSchema = () =>
},
{ module: "@types/graphql-upload/index.d.ts", alias: "upload" },
{
module: path.join(__dirname, "types/GraphQLScalars.d.ts"),
module: path.join(__dirname, "./types/GraphQLScalars.d.ts"),
alias: "scalars",
},
],
Expand Down
2 changes: 1 addition & 1 deletion backend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"plugins": [{ "name": "nexus/typescript-language-service" }],
//"typeRoots": ["node_modules/@types", "types"]
},
"include": [".", "./bin/**/*", "types.d.ts"],
"include": [".", "./bin/**/*", "./types", "types.d.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion backend/tsconfig.production.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"importHelpers": true,
"sourceRoot": "/"
},
"include": [".", "types.d.ts"],
"include": [".", "./types", "types.d.ts"],
"exclude": ["node_modules", "__mocks__"]
}

0 comments on commit 1ce5c0c

Please sign in to comment.