Skip to content

Commit

Permalink
fix(type-defs): make interface ColorModeInstance extend Vue (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixGraf authored Jan 25, 2021
1 parent 9b47c6e commit bac6667
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 bac6667

Please sign in to comment.