Skip to content

Commit 59038cb

Browse files
More types, explicit package install
Version 4.0.10 of auth-app removed the types from the package, thus causing builds requiring types to fail
1 parent 452c5cb commit 59038cb

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"ldapjs": "^3.0.1",
3535
"octokit": "^2.0.14",
3636
"openapi-backend": "^5.9.1",
37-
"swagger-ui-express": "^4.6.2"
37+
"swagger-ui-express": "^4.6.2",
38+
"@octokit/auth-app": "4.0.9"
3839
},
3940
"nodemonConfig": {
4041
"watch": [

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3333
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3434
"typeRoots": [
35-
"./node_modules/@octokit/types"
35+
"./node_modules/@octokit/types",
36+
"./node_modules/@octokit/auth-app"
3637
], /* Specify multiple folders that act like './node_modules/@types'. */
3738
"types": [
38-
"./node_modules/@octokit/types"
39+
"./node_modules/@octokit/types",
40+
"./node_modules/@octokit/auth-app"
3941
], /* Specify type package names to be included without being referenced in a source file. */
4042
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
4143
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */

0 commit comments

Comments
 (0)