Skip to content

Commit fdb5af5

Browse files
committed
Add node typings so that we can require the package.json.
1 parent bf57f55 commit fdb5af5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

{{cookiecutter.github_project_name}}/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
"noEmitOnError": true,
99
"noUnusedLocals": true,
1010
"outDir": "lib",
11+
"resolveJsonModule": true,
1112
"rootDir": "src",
1213
"skipLibCheck": true,
1314
"sourceMap": true,
1415
"strict": true,
1516
"target": "es2015",
16-
"types": []
17+
"types": ["node"]
1718
},
1819
"include": ["src/*"]
1920
}

0 commit comments

Comments
 (0)