Skip to content

ComponentOptions beta ​

TypeAlias of @v12-engine/engine

ts
export type ComponentOptions<T, S = T> = Omit<Component<T, S>, 'id' | 'slot'>;

What defineComponent takes: everything of a component but its id