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