mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-26 11:34:14 +00:00
Import first
This commit is contained in:
parent
2c1183c470
commit
ee439b0e2c
2 changed files with 5 additions and 5 deletions
|
|
@ -14,8 +14,9 @@ import {
|
|||
} from "../actionTypes";
|
||||
import { WINDOWS } from "../constants";
|
||||
import { Dispatchable } from "../types";
|
||||
import { ensureWindowsAreOnScreen, showWindow, hideWindow } from "./windows";
|
||||
import { SerializedStateV1 } from "../serializedStates/v1Types";
|
||||
import * as Selectors from "../selectors";
|
||||
import { ensureWindowsAreOnScreen, showWindow, hideWindow } from "./windows";
|
||||
|
||||
export {
|
||||
toggleDoubleSizeMode,
|
||||
|
|
@ -111,8 +112,6 @@ export {
|
|||
scheduleMilkdropMessage
|
||||
} from "./milkdrop";
|
||||
|
||||
import * as Selectors from "../selectors";
|
||||
|
||||
export function close(): Dispatchable {
|
||||
return dispatch => {
|
||||
// TODO: This could probably be improved by adding a "PREVENT_CLOSE" action
|
||||
|
|
|
|||
|
|
@ -6,13 +6,14 @@ import { connect } from "react-redux";
|
|||
import RcSlider from "rc-slider";
|
||||
// @ts-ignore
|
||||
import SliderComponent from "rc-slider/lib/Slider";
|
||||
// Here we inform TypeScript to use the default export's type for our partial import.
|
||||
const Slider = SliderComponent as typeof RcSlider;
|
||||
|
||||
import { setPlaylistScrollPosition } from "../../actionCreators";
|
||||
import { getVisibleTrackIds, getPlaylistScrollPosition } from "../../selectors";
|
||||
import { AppState, Dispatch } from "../../types";
|
||||
|
||||
// Here we inform TypeScript to use the default export's type for our partial import.
|
||||
const Slider = SliderComponent as typeof RcSlider;
|
||||
|
||||
interface StateProps {
|
||||
playlistScrollPosition: number;
|
||||
allTracksAreVisible: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue