Add TypeScript support

This commit is contained in:
Maciej Pędzich
2022-09-12 12:45:19 +02:00
parent a7cd7ae762
commit 33bc6bfd05
4 changed files with 110 additions and 14 deletions

7
index.ts Normal file
View File

@@ -0,0 +1,7 @@
import { ApplicationFunction } from 'probot';
const appFn: ApplicationFunction = (app) => {
app.onAny((context) => console.log(JSON.stringify(context, null, 2)));
};
export = appFn;