Skip to content

Commit 4d5ad54

Browse files
committed
wip
1 parent 3cafd5c commit 4d5ad54

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

packages/runtime-core/src/apiDefineComponent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import type {
1818
ComponentInjectOptions,
1919
ComponentOptions,
2020
ComponentProvideOptions,
21-
ComponentStaticOptions,
2221
ComputedOptions,
22+
ConcreteComponentOptions,
2323
MethodOptions,
2424
ObjectInjectOptions,
2525
RenderFunction,
@@ -180,7 +180,7 @@ type InferComponentOptions<T> = T &
180180
TypeRefs & {},
181181
TypeEl & Element
182182
>
183-
} & ComponentStaticOptions
183+
} & ConcreteComponentOptions
184184
: {})
185185

186186
export type DefineSetupFnComponent<
@@ -364,7 +364,7 @@ export function defineComponent<
364364

365365
// allow any custom options
366366
[key: string]: any
367-
} & ComponentStaticOptions &
367+
} & ConcreteComponentOptions &
368368
ThisType<
369369
NoInfer<InternalInstance> & {
370370
$options: typeof options

packages/runtime-core/src/apiSetupHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
} from './component'
1818
import type { EmitFn, EmitsOptions, ObjectEmitsOptions } from './componentEmits'
1919
import type {
20-
ComponentStaticOptions,
2120
ComputedOptions,
21+
ConcreteComponentOptions,
2222
MethodOptions,
2323
} from './componentOptions'
2424
import type {
@@ -238,7 +238,7 @@ export function defineOptions<
238238
* slots should be defined via defineSlots().
239239
*/
240240
slots?: never
241-
} & ComponentStaticOptions &
241+
} & ConcreteComponentOptions &
242242
ThisType<
243243
NoInfer<InternalInstance> & {
244244
$options: typeof options

packages/runtime-core/src/componentOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export interface ComponentCustomOptions {}
106106

107107
export type RenderFunction = () => VNodeChild
108108

109-
export type ComponentStaticOptions = Omit<
109+
export type ConcreteComponentOptions = Omit<
110110
ComponentOptionsBase<{}, {}, {}, {}, {}, {}, {}, {}>,
111111
| 'emits'
112112
| 'components'

packages/runtime-core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export type {
277277
ComponentCustomOptions,
278278
ComponentOptionsBase,
279279
ComponentProvideOptions,
280-
ComponentStaticOptions,
280+
ConcreteComponentOptions,
281281
RenderFunction,
282282
MethodOptions,
283283
ComputedOptions,

packages/runtime-dom/src/apiCustomElement.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import {
77
type ComponentObjectPropsOptions,
88
type ComponentOptions,
99
type ComponentProvideOptions,
10-
type ComponentStaticOptions,
1110
type ComputedOptions,
1211
type ConcreteComponent,
12+
type ConcreteComponentOptions,
1313
type CreateAppFunction,
1414
type CreateComponentPublicInstanceWithMixins,
1515
type Directive,
@@ -151,7 +151,7 @@ export function defineCustomElement<
151151

152152
// allow any custom options
153153
[key: string]: any
154-
} & ComponentStaticOptions &
154+
} & ConcreteComponentOptions &
155155
ThisType<
156156
CreateComponentPublicInstanceWithMixins<
157157
Readonly<ResolvedProps>,

0 commit comments

Comments
 (0)