From ffffa8a35b7e96ce242f28231afae2583c04312e Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 11 Feb 2023 15:38:58 +0200 Subject: [PATCH] Export Tuitio types --- README.md | 3 ++- src/index.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f39fb72..b36200d 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,5 @@ All tests in the package can be executed by running: `npm test`. ## Changelog -1.0.0 - Package initialization +1.0.0 - Package initialization \ +1.0.1 - Export Tuitio types diff --git a/src/index.ts b/src/index.ts index b280e07..b921618 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,6 @@ import { TuitioClient, invalidate, fetch } from "./client"; +import type { TuitioToken, TuitioAuthenticationResult, TuitioState } from "./client"; export { TuitioClient, invalidate, fetch }; +export type { TuitioToken, TuitioAuthenticationResult, TuitioState }; export default TuitioClient;