Skip to content

Commit

Permalink
fix(type-defs): make interface ColorModeInstance extend Vue
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixGraf committed Jan 17, 2021
1 parent 1121daf commit 2b42721
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/color-mode.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Vue from 'vue'

export interface ColorModeOptions {
/**
* Default: `system`
Expand Down Expand Up @@ -33,7 +35,7 @@ export interface ColorModeOptions {
storageKey: string
}

export interface ColorModeInstance {
export interface ColorModeInstance extends Vue {
preference: string,
value: string,
unknown: boolean,
Expand Down

0 comments on commit 2b42721

Please sign in to comment.