Skip to content

Commit

Permalink
fix(qwik-city): type error (QwikDev#3197)
Browse files Browse the repository at this point in the history
  • Loading branch information
cunzaizhuyi authored Feb 28, 2023
1 parent eb4c714 commit 6af8df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/qwik-city/runtime/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ type StrictUnionHelper<T, TAll> = T extends any

type StrictUnion<T> = Prettify<StrictUnionHelper<T, T>>;

type Prettify<T> = {
type Prettify<T> = {} & {
[K in keyof T]?: T[K];
} & {};
};

/**
* @alpha
Expand Down

0 comments on commit 6af8df4

Please sign in to comment.