From 0b6df3f1f097987f9cacc64fb0a55a371e388a73 Mon Sep 17 00:00:00 2001 From: Ando Date: Mon, 16 Dec 2024 21:06:43 +0300 Subject: [PATCH] feat: export types in mod --- mod.ts | 4 ++-- src/types.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/mod.ts b/mod.ts index f8fc4e7..f6a0c77 100644 --- a/mod.ts +++ b/mod.ts @@ -1,4 +1,4 @@ import driver from './src/driver.ts' -import type { TDriverBrowserCaseParams as ServiceCaseParams } from './src/types.ts' +import types from './src/types.ts' -export { driver, ServiceCaseParams } +export { driver, types } diff --git a/src/types.ts b/src/types.ts index 6e072f1..773236f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -137,3 +137,29 @@ export type TJSON = { ] } } + +const types = { + TDriverParams: {} as TDriverParams, + TDriverBrowser: {} as TDriverBrowser, + TConfigJSON: {} as TConfigJSON, + TData: {} as TData, + TDrowserThenableWebDriver: {} as TDrowserThenableWebDriver, + TDrowserBuilder: {} as TDrowserBuilder, + TDriverServiceCaseParamsBuilder: {} as TDriverServiceCaseParamsBuilder, + TDriverServiceCaseParamsAssert: {} as TDriverServiceCaseParamsAssert, + TDriverServiceCaseParamsBy: {} as TDriverServiceCaseParamsBy, + TDriverBrowserCaseParams: {} as TDriverBrowserCaseParams, + TDrowserServiceCase: {} as TDrowserServiceCase, + TDrowserService: {} as TDrowserService, + TCaseFn: {} as TCaseFn, + TDrowserDriverResponse: {} as TDrowserDriverResponse, + TAssertFunction: {} as TAssertFunction, + TAssertError: {} as TAssertError, + TIsValidHttpUrlParams: {} as TIsValidHttpUrlParams, + DataPoint: {} as DataPoint, + DataSet: {} as DataSet, + MonthCount: {} as MonthCount, + MonthValue: {} as MonthValue, +} + +export default types