Skip to content

Commit 452c5cb

Browse files
Add more typing
* Why is this suddenly something I had to do?
1 parent 4097b9b commit 452c5cb

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"author": "",
1515
"license": "ISC",
1616
"devDependencies": {
17+
"@octokit/types": "^9.2.1",
1718
"@types/express": "^4.17.17",
1819
"@types/js-yaml": "^4.0.5",
1920
"@types/ldap-escape": "^2.0.0",

tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@
3131
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
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. */
34-
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
35-
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
34+
"typeRoots": [
35+
"./node_modules/@octokit/types"
36+
], /* Specify multiple folders that act like './node_modules/@types'. */
37+
"types": [
38+
"./node_modules/@octokit/types"
39+
], /* Specify type package names to be included without being referenced in a source file. */
3640
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
3741
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
3842
// "resolveJsonModule": true, /* Enable importing .json files. */

0 commit comments

Comments
 (0)