Make "context" type optional

pull/6236/head
Mohammed Al qurafi 5 years ago
parent a8eeb7fb7d
commit 1b7415d18a

@ -108,7 +108,7 @@ interface IComponentOptions {
target: Element; target: Element;
anchor?: Element; anchor?: Element;
props?: Props; props?: Props;
context: Record<string, unknown>; context?: Record<string, unknown>;
hydrate?: boolean; hydrate?: boolean;
intro?: boolean; intro?: boolean;
$$inline?: boolean; $$inline?: boolean;

Loading…
Cancel
Save