Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): 自 TypeScript 4.3.2 起需为接口字段显式指定类型 #9593

Merged
merged 1 commit into from
Jun 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions packages/taro/types/api/cloud/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1877,62 +1877,62 @@ declare namespace Taro {
/** 逻辑命令字面量 */
interface LOGIC_COMMANDS_LITERAL {
/** 与 */
and
and: any
/** 或 */
or
or: any
/** 非 */
not
not: any
/** 都不 */
nor
nor: any
}

/** 查询命令字面量 */
interface QUERY_COMMANDS_LITERAL {
// normal
/** 等于 */
eq
eq: any
/** 不等于 */
neq
neq: any
/** 大于 */
gt
gt: any
/** 大于等于 */
gte
gte: any
/** 小于 */
lt
lt: any
/** 小于等于 */
lte
lte: any
/** 范围内 */
in
in: any
/** 范围外 */
nin
nin: any

// geo
/** 附近排序 */
geoNear
geoNear: any
/** 指定区域内 */
geoWithin
geoWithin: any
/** 相交区域 */
geoIntersects
geoIntersects: any
}

/** 更新命令字面量 */
interface UPDATE_COMMANDS_LITERAL {
/** 等于 */
set
set: any
/** 删除 */
remove
remove: any
/** 自增 */
inc
inc: any
/** 自乘 */
mul
mul: any
/** 尾部添加 */
push
push: any
/** 尾部删除 */
pop
pop: any
/** 头部删除 */
shift
shift: any
/** 头部添加 */
unshift
unshift: any
}

/** 按从近到远的顺序,找出字段值在给定点的附近的记录参数 */
Expand Down