Skip to content

Commit

Permalink
Add reference to TS declaration file
Browse files Browse the repository at this point in the history
Rollup is creating a TS declaration file (.d.ts), but since this file
isn't referenced by package.json it will not be used if you include
laravel-echo in a TS project (and thus will make this library useless
for TS projects).
  • Loading branch information
Wessel van der Linden committed Jan 28, 2019
1 parent f38bf48 commit d7177c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.5.2",
"description": "Laravel Echo library for beautiful Pusher and Socket.IO integration",
"main": "dist/echo.common.js",
"types": "dist/echo.d.ts",
"module": "dist/echo.js",
"scripts": {
"build": "npm run compile && npm run declarations",
Expand Down

0 comments on commit d7177c0

Please sign in to comment.