getting there
This commit is contained in:
12
src/index.ts
12
src/index.ts
@@ -1,10 +1,2 @@
|
||||
import { registerPlugin } from '@capacitor/core';
|
||||
|
||||
import type { SocketsPlugin } from './definitions';
|
||||
|
||||
const Sockets = registerPlugin<SocketsPlugin>('Sockets', {
|
||||
web: () => import('./web').then((m) => new m.SocketsWeb()),
|
||||
});
|
||||
|
||||
export * from './definitions';
|
||||
export { Sockets };
|
||||
import Socket from "./socket";
|
||||
export { Socket };
|
||||
|
||||
Reference in New Issue
Block a user