wip: fix dts tests

This commit is contained in:
Evan You
2020-11-13 00:12:04 -05:00
parent 6fc8d5d0ba
commit 8ba3a7de40
3 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
import { h, reactive, createApp, ref } from 'vue'
import { CompilerOptions } from '@vue/compiler-dom'
import { BindingTypes } from '@vue/compiler-core'
export const ssrMode = ref(false)
@@ -12,9 +13,9 @@ export const compilerOptions: CompilerOptions = reactive({
scopeId: null,
ssrCssVars: `{ color }`,
bindingMetadata: {
TestComponent: 'setup',
foo: 'setup',
bar: 'props'
TestComponent: BindingTypes.SETUP,
foo: BindingTypes.SETUP,
bar: BindingTypes.PROPS
}
})