Skip to content

Commit

Permalink
refactor: set authCache as optional member
Browse files Browse the repository at this point in the history
  • Loading branch information
bufferoverflow committed Dec 27, 2019
1 parent 23fcd47 commit a9e1246
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gitlab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ const BUILTIN_ACCESS_LEVEL_ANONYMOUS = ['$anonymous', '$all'];
const DEFAULT_ALLOW_ACCESS_LEVEL = ['$all'];

export interface VerdaccioGitLabPlugin extends IPluginAuth<VerdaccioGitlabConfig> {
authCache: AuthCache;
authCache?: AuthCache;
}

export default class VerdaccioGitLab implements VerdaccioGitLabPlugin {
options: PluginOptions<VerdaccioGitlabConfig>;
config: VerdaccioGitlabConfig;
// @ts-ignore
authCache: AuthCache;
authCache?: AuthCache;
logger: Logger;
publishLevel: VerdaccioGitlabAccessLevel;

Expand Down

0 comments on commit a9e1246

Please sign in to comment.