mirror of
				https://github.com/unanmed/HumanBreak.git
				synced 2025-10-31 04:02:59 +08:00 
			
		
		
		
	fix: 类型错误
This commit is contained in:
		
							parent
							
								
									fd8b6451e2
								
							
						
					
					
						commit
						55c7afd66a
					
				| @ -21,7 +21,6 @@ import { | |||||||
| } from 'vue'; | } from 'vue'; | ||||||
| import { logger } from '@motajs/common'; | import { logger } from '@motajs/common'; | ||||||
| import { isNil } from 'lodash-es'; | import { isNil } from 'lodash-es'; | ||||||
| import { SetupComponentOptions } from './types'; |  | ||||||
| import EventEmitter from 'eventemitter3'; | import EventEmitter from 'eventemitter3'; | ||||||
| import { | import { | ||||||
|     ITextContentConfig, |     ITextContentConfig, | ||||||
| @ -31,6 +30,7 @@ import { | |||||||
|     WordBreak, |     WordBreak, | ||||||
|     TextAlign |     TextAlign | ||||||
| } from './textboxTyper'; | } from './textboxTyper'; | ||||||
|  | import { SetupComponentOptions } from '@motajs/system-ui'; | ||||||
| 
 | 
 | ||||||
| export interface TextContentProps | export interface TextContentProps | ||||||
|     extends DefaultProps, |     extends DefaultProps, | ||||||
|  | |||||||
| @ -1,11 +1,11 @@ | |||||||
| import { DefaultProps, ElementLocator, Font } from '@motajs/render'; | import { DefaultProps, ElementLocator, Font } from '@motajs/render'; | ||||||
| import { logger } from '@motajs/common'; | import { logger } from '@motajs/common'; | ||||||
| import { computed, defineComponent, onUnmounted, ref } from 'vue'; | import { computed, defineComponent, onUnmounted, ref } from 'vue'; | ||||||
| import { SetupComponentOptions } from './types'; |  | ||||||
| import { transitioned } from '../use'; | import { transitioned } from '../use'; | ||||||
| import { hyper } from 'mutate-animate'; | import { hyper } from 'mutate-animate'; | ||||||
| import { debounce } from 'lodash-es'; | import { debounce } from 'lodash-es'; | ||||||
| import { texture } from '../elements'; | import { texture } from '../elements'; | ||||||
|  | import { SetupComponentOptions } from '@motajs/system-ui'; | ||||||
| 
 | 
 | ||||||
| export interface TipProps extends DefaultProps { | export interface TipProps extends DefaultProps { | ||||||
|     loc: ElementLocator; |     loc: ElementLocator; | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| import { GameUI } from '@motajs/system-ui'; | import { GameUI, SetupComponentOptions } from '@motajs/system-ui'; | ||||||
| import { computed, defineComponent, ref, watch } from 'vue'; | import { computed, defineComponent, ref, watch } from 'vue'; | ||||||
| import { SetupComponentOptions, TextContent } from '../components'; | import { TextContent } from '../components'; | ||||||
| import { | import { | ||||||
|     DefaultProps, |     DefaultProps, | ||||||
|     ElementLocator, |     ElementLocator, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user