summaryrefslogtreecommitdiff
path: root/test/streaming.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-18 14:29:17 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-18 14:29:17 +0900
commit683e5b6abec93f2883c4d4dafc130e2a079f3dda (patch)
tree7e33359214ae08e83b2dadb92bca249050fb0348 /test/streaming.ts
parentスプラッシュがクリックに反応するように (#4561) (diff)
downloadsharkey-683e5b6abec93f2883c4d4dafc130e2a079f3dda.tar.gz
sharkey-683e5b6abec93f2883c4d4dafc130e2a079f3dda.tar.bz2
sharkey-683e5b6abec93f2883c4d4dafc130e2a079f3dda.zip
Add type annotations
Diffstat (limited to 'test/streaming.ts')
-rw-r--r--test/streaming.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/streaming.ts b/test/streaming.ts
index 7594728618..a29517148a 100644
--- a/test/streaming.ts
+++ b/test/streaming.ts
@@ -32,7 +32,7 @@ describe('Streaming', () => {
p.on('message', message => {
if (message === 'ok') {
(p.channel as any).onread = () => {};
- initDb(true).then(async connection => {
+ initDb(true).then(async (connection: any) => {
Followings = connection.getRepository(Following);
done();
});
@@ -44,7 +44,7 @@ describe('Streaming', () => {
p.kill();
});
- const follow = async (follower, followee) => {
+ const follow = async (follower: any, followee: any) => {
await Followings.save({
id: 'a',
createdAt: new Date(),