File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ export function getBackendFromLocalStorage() {
5454}
5555
5656export function getBackendFromWindow ( ) {
57- if ( ! window [ GLOBAL_NAME ] ) {
57+ if ( ! ( window as any ) [ GLOBAL_NAME ] ) {
5858 return null
5959 }
6060
61- const backend = JSON . parse ( window [ GLOBAL_NAME ] )
61+ const backend = JSON . parse ( ( window as any ) [ GLOBAL_NAME ] )
6262
6363 if ( typeof backend !== 'object' ) {
6464 throw new Error ( `Item found in global (${ GLOBAL_NAME } ) is malformed. Expected an object, found ${ backend } ` )
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-plugin-kuzzle" ,
3- "version" : " 4.3.0 " ,
3+ "version" : " 4.3.1 " ,
44 "description" : " A Vuejs plugin shipping the Kuzzle SDK in your components" ,
55 "main" : " index.js" ,
66 "types" : " ./index.d.ts" ,
You can’t perform that action at this time.
0 commit comments