Skip to content

Commit fe95c05

Browse files
Repository type
1 parent 7f1fb71 commit fe95c05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/backend/test/e2e/note.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* SPDX-License-Identifier: AGPL-3.0-only
44
*/
55

6+
import type { Repository } from "typeorm";
7+
68
process.env.NODE_ENV = 'test';
79

810
import * as assert from 'assert';
@@ -12,7 +14,7 @@ import { api, castAsError, initTestDb, post, role, signup, uploadFile, uploadUrl
1214
import type * as misskey from 'misskey-js';
1315

1416
describe('Note', () => {
15-
let Notes: any;
17+
let Notes: Repository<MiNote>;
1618

1719
let root: misskey.entities.SignupResponse;
1820
let alice: misskey.entities.SignupResponse;
@@ -486,7 +488,7 @@ describe('Note', () => {
486488
priority: 0,
487489
value: true,
488490
},
489-
} as any,
491+
},
490492
}, root);
491493

492494
assert.strictEqual(res.status, 200);

0 commit comments

Comments
 (0)