mean-expert-official / loopback-sdk-builder

Tool for auto-generating Software Development Kits (SDKs) for LoopBack
Other
399 stars 178 forks source link

Fix Socket.IO type #545

Closed mbenedettini closed 6 years ago

mbenedettini commented 6 years ago

What type of pull request are you creating?

How many unit test did you write for this pull request?

Write a reason if none (e.g just fixed a typo): Just fixed a type

Please add a description for your pull request:

At least with the latest version of nativescript-socket.io, which is 0.9.0, NativeScript throws the following error, as the former does not export Socket anymore but SocketIO instead:

app/sdk/sockets/socket.native.ts(21,48): error TS2694: Namespace '"/Users/mariano/work/example/mobile-src/HelloWorld/node_modules/nativescript-socket.io/index"' has no exported member 'Socket'.