Skip to content

Commit

Permalink
fix ts problems with mvn clean package (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
somnmos authored Jun 12, 2024
1 parent 6b57f22 commit ab477d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions seatunnel-ui/src/common/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import { useSettingStore } from '@/store/setting'

const getTableColumn = (data: Array<{ key: string; title: string }>) => {
const tableColumn = []
const tableColumn : any[] = []
const settingStore = useSettingStore()

settingStore.getSequenceColumn &&
Expand All @@ -30,7 +30,7 @@ const getTableColumn = (data: Array<{ key: string; title: string }>) => {

settingStore.getDataUniqueValue &&
tableColumn.push(
...data.map((i) => {
...data.map((i: {key: any, title:any}): {key: any, title:any} => {
return {
title: i.title,
key: i.key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function formatLayout(
cols?: number,
rows?: number
) {
let layoutFunc = null
let layoutFunc : any = null
const layoutConfig: any = {
nodesep: 50,
padding: 50,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const TaskDefinition = defineComponent({

const formatData = () => {
const obj = jobConfig.value.env
const arr = []
const arr : any = []
for (const i in obj) {
arr.push({ label: String(i), value: obj[i] })
}
Expand Down
1 change: 1 addition & 0 deletions seatunnel-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"noImplicitAny": false,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
Expand Down

0 comments on commit ab477d5

Please sign in to comment.