Skip to content

Commit f8720cd

Browse files
Zachery Thomas RichardetZachery Thomas Richardet
authored andcommitted
fix build errors
1 parent c03ea5a commit f8720cd

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

src/components/DataCabinet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Extent } from 'ol/extent'
2+
import type { Extent } from 'ol/extent'
33
import type { Map } from 'ol'
44
import { ref } from 'vue'
55
import PrecomputedExamples from './PrecomputedExamples.vue'

src/functions/add-stac-layer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import ImageLayer from 'ol/layer/Image'
22
import ImageStatic from 'ol/source/ImageStatic'
33
import { Map } from 'ol'
4-
import { Extent } from 'ol/extent'
4+
import { transform } from 'ol/proj'
5+
import type { Extent } from 'ol/extent'
56
import { transformExtent } from 'ol/proj'
67

78
let currentStacLayer: ImageLayer<ImageStatic> | null = null

src/layers/S2-Grid-Layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import s2GridData from '../data/s2-grid.json'
66
import { Map } from 'ol'
77
import type { Ref } from 'vue'
88
import type DataCabinet from '../components/DataCabinet.vue'
9-
import { Extent } from 'ol/extent'
9+
import type { Extent } from 'ol/extent'
1010
import { transformExtent } from 'ol/proj'
1111
import { Geometry, Polygon } from 'ol/geom'
1212
import Feature from 'ol/Feature'

tsconfig.app.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
44
"exclude": ["src/**/__tests__/*"],
55
"compilerOptions": {
6+
"composite": true,
7+
"incremental": true,
68
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
79

810
"paths": {

0 commit comments

Comments
 (0)