Skip to content

Commit 31a2e49

Browse files
- FIX: Fixed build errors.
1 parent f309fb5 commit 31a2e49

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ declare module 'vue' {
1919
ColumnHeader: typeof import('./components/data/ColumnHeader.vue')['default']
2020
CommentModal: typeof import('./components/modals/CommentModal.vue')['default']
2121
ConfirmModal: typeof import('./components/modals/ConfirmModal.vue')['default']
22-
copy: typeof import('./components/modals/UpdateTrialMetadataModal copy.vue')['default']
2322
CornerPointsMap: typeof import('./components/setup/CornerPointsMap.vue')['default']
2423
DataCanvas: typeof import('./components/data/DataCanvas.vue')['default']
2524
DataEntryActions: typeof import('./components/modals/DataEntryActions.vue')['default']

src/plugins/dataexport.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import emitter from 'tiny-emitter/instance'
22
import { getTrialDataCached } from '@/plugins/datastore'
3-
import type { TrialPlus, CellPlus } from '@/plugins/types/client'
3+
import type { TrialPlus, CellPlus, TraitPlus } from '@/plugins/types/client'
44
import { EventType, type Geography, type Measurement, type Trait } from '@/plugins/types/gridscore'
55
import { GERMINATE_EXPECTED_COLUMNS, safeTrialName, TABULAR_EXPECTED_COLUMNS, toGerminateDataType, toLocalDateString, toLocalDateTimeString } from '@/plugins/util'
66
import { saveAs } from 'file-saver'
@@ -20,8 +20,8 @@ export interface TabExportConfig {
2020
useTimestamps: boolean
2121
}
2222

23-
function traitsToGridScore (traits: Trait[]): string {
24-
const copy = JSON.parse(JSON.stringify(traits))
23+
function traitsToGridScore (traits: TraitPlus[]): string {
24+
const copy: TraitPlus[] = JSON.parse(JSON.stringify(traits))
2525
copy.forEach(t => {
2626
delete t.id
2727
delete t.progress

0 commit comments

Comments
 (0)