UNPKG
cqcode
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
CQCode Helper for NodeJS.
git.futo.design/zero/cqcode
cqcode
/
dist
/
utils
/
find.d.ts
8 lines
(7 loc)
•
315 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
CQCode
,
FindProps
}
from
'../index'
;
/** *
@param
{
string
} text 即将被寻找CQCode的字符串。 *
@param
{
FindProps
} props 传入函数的参数。 *
@return
{
CQCode[]
} 返回寻找到的CQCode对象列表。 */
export
declare
const
find
:
(
text
:
string
,
props
?:
FindProps
) =>
CQCode
[];