Skip to content

Commit f522d36

Browse files
committed
fix(typescript): workaround "TS2440" error
Import declaration conflicts with local declaration of "Types"
1 parent 303c29c commit f522d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { createTokenAuth, Types } from "@octokit/auth-token";
1+
import { createTokenAuth, Types as AuthTokenTypes } from "@octokit/auth-token";
22

33
import { StrategyInterface } from "@octokit/types";
44

55
export type Types = {
66
StrategyOptions: never;
77
AuthOptions: never;
8-
Authentication: Types["Authentication"];
8+
Authentication: AuthTokenTypes["Authentication"];
99
};
1010

1111
export const createActionAuth: StrategyInterface<

0 commit comments

Comments
 (0)