Skip to content

Commit acd0e86

Browse files
committed
wip [skip ci]
1 parent 6d0acae commit acd0e86

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

packages/runtime-core/src/componentOptions.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export type RenderFunction = () => VNodeChild
105105

106106
export type ComponentStaticOptions = Omit<
107107
ComponentOptionsBase<{}, {}, {}, {}, {}, {}, {}, {}>,
108-
| 'props'
109108
| 'emits'
110109
| 'components'
111110
| 'directives'
@@ -119,6 +118,7 @@ export type ComponentStaticOptions = Omit<
119118
| 'extends'
120119
| 'setup'
121120
| 'data'
121+
| '__differentiator'
122122
>
123123

124124
export interface ComponentOptionsBase<
@@ -439,15 +439,15 @@ interface LegacyOptions<
439439
*/
440440
delimiters?: [string, string]
441441

442-
// /**
443-
// * #3468
444-
// *
445-
// * type-only, used to assist Mixin's type inference,
446-
// * typescript will try to simplify the inferred `Mixin` type,
447-
// * with the `__differentiator`, typescript won't be able to combine different mixins,
448-
// * because the `__differentiator` will be different
449-
// */
450-
// __differentiator?: keyof D | keyof C | keyof M
442+
/**
443+
* #3468
444+
*
445+
* type-only, used to assist Mixin's type inference,
446+
* typescript will try to simplify the inferred `Mixin` type,
447+
* with the `__differentiator`, typescript won't be able to combine different mixins,
448+
* because the `__differentiator` will be different
449+
*/
450+
__differentiator?: keyof D | keyof C | keyof M
451451
}
452452

453453
type MergedHook<T = () => void> = T | T[]

0 commit comments

Comments
 (0)