Skip to content

Commit 33076b2

Browse files
committed
refactor: typing improvements
Signed-off-by: Pedro Lamas <[email protected]>
1 parent 8a61ba4 commit 33076b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/settings/GeneralSettings.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,10 +521,10 @@ export default class GeneralSettings extends Mixins(StateMixin) {
521521
}
522522
523523
get printProgressCalculation () {
524-
return this.$store.state.config.uiSettings.general.printProgressCalculation as PrintProgressCalculation
524+
return this.$store.state.config.uiSettings.general.printProgressCalculation as PrintProgressCalculation[]
525525
}
526526
527-
set printProgressCalculation (value: string) {
527+
set printProgressCalculation (value: PrintProgressCalculation[]) {
528528
this.$store.dispatch('config/saveByPath', {
529529
path: 'uiSettings.general.printProgressCalculation',
530530
value,

0 commit comments

Comments
 (0)