提交 1a3231c6 编写于 作者: fxy060608's avatar fxy060608

wip(x-android): tsc

上级 b1b9a74e
......@@ -406,7 +406,7 @@ const _cache = __ins.renderCache;
function fn() {}
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
createVNode(Foo, null, utsMapOf({
......@@ -435,7 +435,7 @@ const _cache = __ins.renderCache;
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
withDirectives(createElementVNode("view", null, null, 512 /* NEED_PATCH */), [
......@@ -462,7 +462,7 @@ const _cache = __ins.renderCache;
const count = ref(0)
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
createElementVNode("view", null, toDisplayString(count.value), 1 /* TEXT */),
......@@ -489,7 +489,7 @@ const _cache = __ins.renderCache;
let v = ref(1)
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
createElementVNode("view", utsMapOf({
......@@ -549,7 +549,7 @@ const _cache = __ins.renderCache;
let lett = 1
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
createElementVNode("view", utsMapOf({
......@@ -582,7 +582,7 @@ const _cache = __ins.renderCache;
let lett = 1
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
createElementVNode("view", utsMapOf({
......@@ -624,7 +624,7 @@ const _cache = __ins.renderCache;
let lett = 1
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode(Fragment, null, [
createElementVNode("input", utsMapOf({
......@@ -656,7 +656,7 @@ const _cache = __ins.renderCache;
const count = ref(0)
__expose({ count })
return function GenAnonymousRender(): any | null { return null }
return function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null { return null }
}
})"
......
......@@ -9,7 +9,7 @@ const _ctx = __ins.proxy as GenAnonymous;
const _cache = __ins.renderCache;
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode("view", utsMapOf({ class: "test" }))
}
......@@ -27,7 +27,7 @@ const _ctx = __ins.proxy as GenAnonymous;
const _cache = __ins.renderCache;
return
function GenAnonymousRender(): any | null {
function GenAnonymousRender(this: InstanceType<typeof __sfc__>): any | null {
return createElementVNode("view", utsMapOf({ class: "test" }))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册