mirror of https://github.com/vuejs/core.git
				
				
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			464 B
		
	
	
	
		
			TypeScript
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			464 B
		
	
	
	
		
			TypeScript
		
	
	
	
| import {
 | |
|   Comment,
 | |
|   Fragment,
 | |
|   Static,
 | |
|   Suspense,
 | |
|   Teleport,
 | |
|   Text,
 | |
|   type VNode,
 | |
|   createBlock,
 | |
|   defineComponent,
 | |
| } from 'vue'
 | |
| import { expectType } from './utils'
 | |
| 
 | |
| expectType<VNode>(createBlock(Teleport))
 | |
| expectType<VNode>(createBlock(Text))
 | |
| expectType<VNode>(createBlock(Static))
 | |
| expectType<VNode>(createBlock(Comment))
 | |
| expectType<VNode>(createBlock(Fragment))
 | |
| expectType<VNode>(createBlock(Suspense))
 | |
| expectType<VNode>(createBlock(defineComponent({})))
 |