Skip to content

Commit

Permalink
Merge pull request #873 from 3YOURMIND/naruto/pre-upgrade/avoid-expor…
Browse files Browse the repository at this point in the history
…t-as

refactor(kotti): Avoid Using `export * as` Syntax
  • Loading branch information
carsoli authored Jan 15, 2024
2 parents 40073d9 + a03a097 commit 290a6ab
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 290a6ab

Please sign in to comment.