Skip to content

Commit

Permalink
build: upgrade typescript to v5 (#2337)
Browse files Browse the repository at this point in the history
* build: upgrade typescript to v5

* style: update eslint to support latest typescript and apply it (#2338)
  • Loading branch information
axe312ger committed Jun 27, 2024
1 parent 827e5dd commit 236840e
Show file tree
Hide file tree
Showing 6 changed files with 397 additions and 382 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
},
],
'no-only-tests/no-only-tests': 'error',
'@typescript-eslint/no-explicit-any': 'warn',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion lib/create-organization-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ export default function createOrganizationApi(makeRequest: MakeRequest) {
entityType: 'AppAction',
action: 'delete',
params: { organizationId: raw.sys.id, appDefinitionId, appActionId },
}).then((payload) => {
}).then(() => {
/* noop*/
})
},
Expand Down
1 change: 0 additions & 1 deletion lib/entities/app-action-call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
BasicMetaSysProps,
CreateWithResponseParams,
DefaultElements,
GetAppActionCallDetailsParams,
MakeRequest,
SysLink,
} from '../common-types'
Expand Down
9 changes: 0 additions & 9 deletions lib/plain/common-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import {
GetSnapshotForEntryParams,
GetSpaceEnvironmentParams,
GetSpaceParams,
GetTeamMembershipParams,
GetTeamParams,
GetTeamSpaceMembershipParams,
KeyValueMap,
QueryParams,
GetBulkActionParams,
Expand Down Expand Up @@ -50,12 +47,6 @@ import {
CreateUpdateScheduledActionProps,
} from '../entities/scheduled-action'
import { SnapshotProps } from '../entities/snapshot'
import { CreateTeamProps, TeamProps } from '../entities/team'
import { CreateTeamMembershipProps, TeamMembershipProps } from '../entities/team-membership'
import {
CreateTeamSpaceMembershipProps,
TeamSpaceMembershipProps,
} from '../entities/team-space-membership'
import { DefaultParams, OptionalDefaults } from './wrappers/wrap'
import { AssetKeyProps, CreateAssetKeyProps } from '../entities/asset-key'
import { FunctionProps } from '../entities/function'
Expand Down
Loading

0 comments on commit 236840e

Please sign in to comment.