Updates to index.js

- Add `options` to JSDocs for constructor
- Fix spelling for JSDoc on `install` and `connect` methods
This commit is contained in:
eevabec 2019-03-06 09:59:10 -06:00
parent da2a6400c4
commit 1796309fdc

View file

@ -11,6 +11,7 @@ export default class VueSocketIO {
* @param io * @param io
* @param vuex * @param vuex
* @param debug * @param debug
* @param options
*/ */
constructor({connection, vuex, debug, options}){ constructor({connection, vuex, debug, options}){
@ -22,7 +23,7 @@ export default class VueSocketIO {
} }
/** /**
* Vuejs entrypoint * Vue.js entry point
* @param Vue * @param Vue
*/ */
install(Vue){ install(Vue){
@ -37,7 +38,7 @@ export default class VueSocketIO {
/** /**
* registering socketio instance * registering SocketIO instance
* @param connection * @param connection
* @param options * @param options
*/ */