Skip to content

Commit ae84118

Browse files
authored
fix(types): add missing declaration for b-form-timepicker (closes #5035) (#5036)
* fix(types): add missing decleration for `b-form-timepicker` * Fix title comment
1 parent f38771e commit ae84118

File tree

5 files changed

+20
-11
lines changed

5 files changed

+20
-11
lines changed

src/components/form-datepicker/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// --- Form Date ---
1+
// --- Form Datepicker ---
22
import Vue from 'vue'
33
import { BvPlugin, BvComponent } from '../../'
44

55
// Plugin
66
export declare const FormDatepickerPlugin: BvPlugin
77

8-
// Component: b-form-date
8+
// Component: b-form-datepicker
99
export declare class BFormDatepicker extends BvComponent {
1010
focus: () => void
1111
blur: () => void

src/components/form-spinbutton/index.d.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
//
2-
// Form Spinbutton
3-
//
1+
// --- Form Spinbutton ---
42
import Vue from 'vue'
53
import { BvPlugin, BvComponent } from '../../'
64

75
// Plugin
86
export declare const FormSpinbuttonPlugin: BvPlugin
97

10-
// Component: b-form-input
8+
// Component: b-form-spinbutton
119
export declare class BFormSpinbutton extends BvComponent {
1210
focus: () => void
1311
blur: () => void
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// --- Form Timepicker ---
2+
import Vue from 'vue'
3+
import { BvPlugin, BvComponent } from '../../'
4+
5+
// Plugin
6+
export declare const FormTimepickerPlugin: BvPlugin
7+
8+
// Component: b-form-timepicker
9+
export declare class BFormTimepicker extends BvComponent {
10+
focus: () => void
11+
blur: () => void
12+
}

src/components/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ export * from './form-file'
2525
export * from './form-group'
2626
export * from './form-input'
2727
export * from './form-radio'
28-
export * from './form-tags'
2928
export * from './form-select'
3029
export * from './form-spinbutton'
30+
export * from './form-tags'
3131
export * from './form-textarea'
32+
export * from './form-timepicker'
3233
export * from './image'
3334
export * from './input-group'
3435
export * from './jumbotron'

src/components/time/index.d.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
//
2-
// Time
3-
//
1+
// --- Time ---
42
import Vue from 'vue'
53
import { BvPlugin, BvComponent } from '../../'
64

75
// Plugin
86
export declare const TimePlugin: BvPlugin
97

10-
// Component: b-alert
8+
// Component: b-time
119
export declare class BTime extends BvComponent {
1210
focus: () => void
1311
blur: () => void

0 commit comments

Comments
 (0)