Skip to content

Commit

Permalink
Merge pull request #155 from sketch-hq/chore/include-declarations
Browse files Browse the repository at this point in the history
Include type declarations
  • Loading branch information
christianklotz authored Apr 8, 2021
2 parents 13d3d32 + 6ba4724 commit 7dab5ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/strange-stingrays-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sketch-hq/sketch-file-format-ts': patch
---

Re-include type declarations
3 changes: 2 additions & 1 deletion packages/file-format-ts/tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"exclude": ["node_modules", "dist"],
"compilerOptions": {
"outDir": "dist/esm",
"module": "ESNext"
"module": "ESNext",
"declaration": true
}
}
3 changes: 2 additions & 1 deletion packages/file-format-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"include": ["index.ts"],
"exclude": ["node_modules", "dist"],
"compilerOptions": {
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"declaration": true
}
}

0 comments on commit 7dab5ea

Please sign in to comment.