Skip to content

Commit

Permalink
feat: export types in mod
Browse files Browse the repository at this point in the history
  • Loading branch information
andostronaut committed Dec 16, 2024
1 parent b1a82c6 commit 0b6df3f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -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 }
26 changes: 26 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0b6df3f

Please sign in to comment.