Skip to content

Commit 22b911b

Browse files
committed
fix: update typings and tests
1 parent 6df7c9c commit 22b911b

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

src/components/index.d.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,13 @@ export declare class CInputRadio extends formSharedProps {
219219
addInputClasses: [string, Array<any>, object]
220220
addLabelClasses: [string, Array<any>, object]
221221

222-
checked: [boolean, string, number]
222+
checked: boolean
223223
value: [string, number, boolean]
224224
custom: boolean
225225
inline: boolean
226226
}
227227

228-
export declare class CInputCheckbox extends CInputRadio {
229-
checked: boolean
230-
}
228+
export declare class CInputCheckbox extends CInputRadio {}
231229

232230
export declare class CSelect extends formSharedProps {
233231
appendHtml: string
@@ -451,7 +449,7 @@ export declare class CProgress extends Vue {
451449
export declare class CProgressBar extends CProgress {}
452450

453451
export declare class CRenderFunction extends Vue {
454-
items: array
452+
contentToRender: Array<any>
455453
}
456454
export declare class CScrollbar extends Vue {
457455
settings: object

src/directives/tests/CEmitRootEvent.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const generateWrapper = (config) => {
4444
'CButton',
4545
{
4646
props: {
47-
variant: 'success'
47+
color: 'success'
4848
},
4949
directives: [config]
5050
},

src/directives/tests/CPopover.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const generateWrapper = (config) => {
6262
'CButton',
6363
{
6464
props: {
65-
variant: 'success'
65+
color: 'success'
6666
},
6767
directives: [config]
6868
},

src/directives/tests/CTooltip.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const generateWrapper = (config) => {
6060
'CButton',
6161
{
6262
props: {
63-
variant: 'success'
63+
color: 'success'
6464
},
6565
directives: [config]
6666
},

0 commit comments

Comments
 (0)