mirror of
https://github.com/syuilo/ai.git
synced 2024-12-22 08:21:08 +00:00
Fix type
This commit is contained in:
parent
9e2791d939
commit
65d8234afe
|
@ -30,7 +30,7 @@ export default class Friend {
|
|||
|
||||
public doc: FriendDoc;
|
||||
|
||||
constructor(ai: 藍, opts: { user?: any, doc?: FriendDoc }) {
|
||||
constructor(ai: 藍, opts: { user?: User, doc?: FriendDoc }) {
|
||||
this.ai = ai;
|
||||
|
||||
if (opts.user) {
|
||||
|
|
Loading…
Reference in a new issue