From 81a29be82421d9619f77ff2a9833cd3e15712c68 Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Sat, 2 Nov 2019 21:28:13 -0700 Subject: [PATCH] feat: export types `StrategyOptions`,`AuthOptions`,`Authentication` --- src/index.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 304aefcda..77eb6b9e6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,9 +4,21 @@ import { request } from "@octokit/request"; import { auth } from "./auth"; import { hook } from "./hook"; import { getCache } from "./cache"; -import { StrategyInterface, State, StrategyOptions } from "./types"; +import { + StrategyInterface, + State, + StrategyOptions, + AuthOptions, + Authentication +} from "./types"; import { VERSION } from "./version"; +export type Types = { + StrategyOptions: StrategyOptions; + AuthOptions: AuthOptions; + Authentication: Authentication; +}; + export const createAppAuth: StrategyInterface = function createAppAuth( options: StrategyOptions ) {