fix: nodeType
Some checks failed
Build-Apk / build (push) Has been cancelled

This commit is contained in:
lisonge 2024-07-22 23:32:31 +08:00
parent 9c6a0cb523
commit 459a8ff3b9

View File

@ -180,7 +180,7 @@ fun initDefaultTypeInfo(webField: Boolean = false): DefaultTypeInfo {
contextType.props = arrayOf( contextType.props = arrayOf(
*nodeType.props, *nodeType.props,
PropInfo("prev", contextType), PropInfo("prev", contextType),
PropInfo("current", contextType), PropInfo("current", nodeType),
) )
globalType.methods = arrayOf( globalType.methods = arrayOf(
*contextType.methods, *contextType.methods,