Skip to content

Commit

Permalink
Fix incorrect path to type definition
Browse files Browse the repository at this point in the history
version.ts has resolved package.json from project root by. Thus, type
definitions will create based on root directory, not `src` dir. So
`types` field requires adding extra `src` directory.
  • Loading branch information
yhatt committed May 8, 2019
1 parent f36996c commit 29d2055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"node": ">=8.9.0"
},
"main": "lib/marp-cli.js",
"types": "types/marp-cli.d.ts",
"types": "types/src/marp-cli.d.ts",
"files": [
"marp-cli.js",
"lib/",
Expand Down

0 comments on commit 29d2055

Please sign in to comment.