Skip to content

Commit

Permalink
feat: export types StrategyOptions,AuthOptions,Authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 3, 2019
1 parent f6d3bf7 commit 81a29be
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down

0 comments on commit 81a29be

Please sign in to comment.