From 788eb26dce9c13c15d58596064a4daf28978d327 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 20 Feb 2020 17:23:37 +0400 Subject: Fix exports Signed-off-by: Valentin Popov --- dist/index.d.ts | 14 +++++++++++++- package.json | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index 4d2aad7..7e74212 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,5 +1,17 @@ +import { ActivityManager } from "./activity-manager"; +import { Message } from "./message"; +import { Method } from "./method"; import { Service } from "./service"; +import { Subscription } from "./subscription"; declare module "webos-service" { - export = Service; + export default Service; } + +export { + ActivityManager, + Message, + Method, + Service, + Subscription, +}; diff --git a/package.json b/package.json index 75c78a0..1bdca25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@valentineus/webos-service-types", - "version": "0.1.2", + "version": "0.1.3", "description": "TypeScript's types for WebOS service.", "main": "index.js", "repository": "git@code.valentineus.link:webos-service-types.git", -- cgit v1.2.3