Skip to content

Commit 7002da6

Browse files
committed
chore: remove useless comments
1 parent b9aacb6 commit 7002da6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

types/wx/lib.wx.component.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ declare namespace WechatMiniprogram.Component {
153153
? ValueType<T>
154154
: FullPropertyToData<Exclude<T, ShortProperty>>
155155
type ArrayOrObject = ArrayConstructor | ObjectConstructor
156-
// 支持 Array、Object 的 property 通过 value as ValueType 的方式明确 property 的类型
157156
type FullPropertyToData<T extends AllFullProperty> = T['type'] extends ArrayOrObject ? unknown extends T['value'] ? ValueType<T['type']> : T['value'] : ValueType<T['type']>
158157
type PropertyOptionToData<P extends PropertyOption> = {
159158
[name in keyof P]: PropertyToData<P[name]>

0 commit comments

Comments
 (0)