Skip to content

Commit

Permalink
fix at-all typesctipt type error
Browse files Browse the repository at this point in the history
修正使用 cqcode 或 segment 构造艾特全体成员消息时的类型错误
  • Loading branch information
vikiboss authored and takayama-lily committed Oct 31, 2021
1 parent ff30ef3 commit 51292e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ export namespace segment {
/** @deprecated 普通文本 */
function text(text: string): TextElem;
/** at */
function at(qq: number, text?: string, dummy?: boolean): AtElem;
function at(qq: number | "all", text?: string, dummy?: boolean): AtElem;
/** 经典表情 */
function face(id: number, text?: string): FaceElem;
/** 小表情 */
Expand Down Expand Up @@ -1169,7 +1169,7 @@ export namespace segment {
export namespace cqcode {
/** @deprecated */
function text(text: string): string;
function at(qq: number, text?: string, dummy?: boolean): string;
function at(qq: number | "all", text?: string, dummy?: boolean): string;
function face(id: number, text?: string): string;
function sface(id: number, text?: string): string;
function bface(file: string): string;
Expand Down

0 comments on commit 51292e2

Please sign in to comment.