Skip to content

Commit

Permalink
refactor(kotti): Avoid Using export * as Syntax
Browse files Browse the repository at this point in the history
It’s relatively modern syntax and doesn’t always have perfect tooling support
Removed because it caused problems in the Vue 2.7 branch
Co-Authored-By: Carol Soliman <[email protected]>
  • Loading branch information
FlorianWendelborn authored and carsoli committed Jan 15, 2024
1 parent 40073d9 commit a03a097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/kotti-ui/source/kotti-field-currency/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { FIELD_META_BASE_SLOTS } from '../kotti-field/meta'
import { attachMeta, makeInstallable } from '../utilities'

import { KOTTI_FIELD_CURRENCY_SUPPORTS } from './constants'
import * as KottiFieldCurrencyConstants from './constants'
import KtFieldCurrencyVue from './KtFieldCurrency.vue'
import { KottiFieldCurrency } from './types'

Expand All @@ -20,4 +21,4 @@ export const KtFieldCurrency = attachMeta(
{ supports: KOTTI_FIELD_CURRENCY_SUPPORTS },
)

export * as KottiFieldCurrencyConstants from './constants'
export { KottiFieldCurrencyConstants }
4 changes: 2 additions & 2 deletions packages/kotti-ui/source/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// namespace into Kotti
export * as Kotti from './kotti'
import * as Kotti from './kotti'
export { Kotti }

0 comments on commit a03a097

Please sign in to comment.