Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/utils/control.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Decimal from './decimal'
import {
import type {
Value,
Mark,
MarkOption,
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Direction } from '../typings'
import type { Direction } from '../typings'

interface IPosObject {
x: number
Expand Down
2 changes: 1 addition & 1 deletion lib/vue-slider-dot.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Prop, Vue } from 'vue-property-decorator'
import { Value, Styles, Position, TooltipProp, TooltipFormatter } from './typings'
import type { Value, Styles, Position, TooltipProp, TooltipFormatter } from './typings'

import './styles/dot.scss'

Expand Down
2 changes: 1 addition & 1 deletion lib/vue-slider-mark.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Prop, Vue } from 'vue-property-decorator'
import { Mark, Styles } from './typings'
import type { Mark, Styles } from './typings'

import './styles/mark.scss'

Expand Down
6 changes: 3 additions & 3 deletions lib/vue-slider.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Model, Prop, Watch, Vue } from 'vue-property-decorator'
import {
import type {
Value,
DataObject,
Mark,
Expand All @@ -19,10 +19,10 @@ import {
import VueSliderDot from './vue-slider-dot'
import VueSliderMark from './vue-slider-mark'

import { getSize, getPos, getKeyboardHandleFunc, HandleFunction } from './utils'
import { getSize, getPos, getKeyboardHandleFunc, type HandleFunction } from './utils'
import Decimal from './utils/decimal'
import Control, { ERROR_TYPE } from './utils/control'
import State, { StateMap } from './utils/state'
import State, { type StateMap } from './utils/state'

import './styles/slider.scss'

Expand Down