Skip to content

Commit 0694f7b

Browse files
committed
fix: nodeType
1 parent 29b029d commit 0694f7b

File tree

1 file changed

+1
-1
lines changed
  • selector/src/commonMain/kotlin/li/songe/selector

1 file changed

+1
-1
lines changed

selector/src/commonMain/kotlin/li/songe/selector/util.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ fun initDefaultTypeInfo(webField: Boolean = false): DefaultTypeInfo {
180180
contextType.props = arrayOf(
181181
*nodeType.props,
182182
PropInfo("prev", contextType),
183-
PropInfo("current", contextType),
183+
PropInfo("current", nodeType),
184184
)
185185
globalType.methods = arrayOf(
186186
*contextType.methods,

0 commit comments

Comments
 (0)