Skip to content

Commit

Permalink
fix: impossible to not include types for rbush and sat in dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Jan Pietal committed Aug 7, 2022
1 parent 0a345d4 commit 340df35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "detect-collisions",
"version": "6.3.4",
"version": "6.3.5",
"description": "2d collision detection for Points, Lines, Boxes, Polygons, Ellipses and Circles (with SAT and BVH)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -50,13 +50,13 @@
},
"homepage": "https://prozi.github.io/detect-collisions/",
"dependencies": {
"@types/rbush": "^3.0.0",
"@types/sat": "^0.0.31",
"poly-decomp": "^0.3.0",
"rbush": "^3.0.1",
"sat": "^0.9.0"
},
"devDependencies": {
"@types/rbush": "^3.0.0",
"@types/sat": "^0.0.31",
"chef-express": "^1.3.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^28.1.3",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"target": "es2015",
"module": "none",
"outDir": "dist",
"types": []
"types": ["rbush", "sat"]
},
"files": ["src/index.ts"],
"include": ["src/**/*.ts"],
Expand Down

0 comments on commit 340df35

Please sign in to comment.