Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
feat: TypeScript definitions (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimonVS authored and gr2m committed Jun 24, 2019
1 parent dbdbc8b commit d17956f
Show file tree
Hide file tree
Showing 4 changed files with 7,629 additions and 3,551 deletions.
11 changes: 11 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
declare module 'probot-config' {
import { Context } from 'probot';
import { Options as DeepMergeOptions } from 'deepmerge';

export default function getConfig<T>(
context: Context,
fileName: string,
defaultConfig?: T,
deepMergeOptions?: DeepMergeOptions
): Promise<T>;
}
Loading

0 comments on commit d17956f

Please sign in to comment.