Skip to content

Commit 1c898fe

Browse files
committed
Remove redundant namespaces
1 parent d509874 commit 1c898fe

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed
Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
/**
2-
* @external
3-
*/
41
declare type CommonAlignment = 'start' | 'end' | 'center' | 'fill'
5-
6-
declare namespace Alignment {
7-
type Vertical = CommonAlignment | 'baseline' | 'stretch'
8-
type Horizontal = CommonAlignment | 'between' | 'around'
9-
type Content = CommonAlignment | 'between' | 'around' | 'stretch'
10-
type JustifyContent = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
11-
type TextHorizontal = 'start' | 'end' | 'center'
12-
}
13-
14-
export default Alignment
2+
export type Vertical = CommonAlignment | 'baseline' | 'stretch'
3+
export type Horizontal = CommonAlignment | 'between' | 'around'
4+
export type Content = CommonAlignment | 'between' | 'around' | 'stretch'
5+
export type JustifyContent = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
6+
export type TextHorizontal = 'start' | 'end' | 'center'

packages/bootstrap-vue-3/src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type {default as Alignment} from './Alignment'
1+
export * as Alignment from './Alignment'
22
export type {default as Animation} from './Animation'
33
export type {default as AriaInvalid} from './AriaInvalid'
44
export type {default as Booleanish} from './Booleanish'

0 commit comments

Comments
 (0)