You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#500 has surfaced new typing problems with the latest version of vue-tsc (2.1.4).
❯ npx vue-tsc --noEmit
src/components/bouquets/BouquetSearch.vue:185:10 - error TS2322: Type '(spatialCoverage: SpatialCoverage | null) => void' is not assignable to type '(modelValue: SpatialCoverage | undefined) => any'.
Types of parameters 'spatialCoverage' and 'modelValue' are incompatible.
Type 'SpatialCoverage | undefined' is not assignable to type 'SpatialCoverage | null'.
Type 'undefined' is not assignable to type 'SpatialCoverage | null'.
185 @update:model-value="switchSpatialCoverage"
~~~~~~~~~~~~~~~~~~
src/views/bouquets/BouquetFormView.vue:184:13 - error TS2322: Type 'Partial<TopicPostData>' is not assignable to type 'Topic'.
Type 'Partial<TopicPostData>' is not assignable to type '{ organization: null; owner: User; } & { name: string; description: string; created_at: string; last_modified: string; extras: TopicExtras; featured: boolean; id: string; ... 7 more ...; spatial: SpatialField | undefined; }'.
Type 'Partial<TopicPostData>' is not assignable to type '{ organization: null; owner: User; }'.
Types of property 'organization' are incompatible.
Type 'Organization | null | undefined' is not assignable to type 'null'.
Type 'undefined' is not assignable to type 'null'.
184 v-model="topic"
~~~~~~~
src/views/bouquets/BouquetFormView.vue:190:51 - error TS2322: Type 'Partial<TopicPostData>' is not assignable to type 'Topic'.
190 <BouquetOwnerForm v-if="isReadyForForm" v-model="topic" />
~~~~~~~
Found 3 errors in 2 files.
Errors Files
1 src/components/bouquets/BouquetSearch.vue:185
2 src/views/bouquets/BouquetFormView.vue:184
The text was updated successfully, but these errors were encountered:
#500 has surfaced new typing problems with the latest version of
vue-tsc
(2.1.4).The text was updated successfully, but these errors were encountered: