Skip to content

Commit

Permalink
refactor: migrate script to TypeScript (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
luin authored Oct 19, 2018
1 parent 9480b72 commit 72a7e2a
Show file tree
Hide file tree
Showing 13 changed files with 390 additions and 364 deletions.
2 changes: 1 addition & 1 deletion lib/cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import {CallbackFunction} from '../types';
import {IClusterOptions, DEFAULT_CLUSTER_OPTIONS} from './ClusterOptions'
import {sample, CONNECTION_CLOSED_ERROR_MSG, shuffle, timeout, zipMap} from '../utils'
import * as commands from 'redis-commands'
import Command from '../command'

const Deque = require('denque')
const Redis = require('../redis')
const debug = require('../utils/debug')('ioredis:cluster')
const Commander = require('../commander')
const Command = require('../command')

type ClusterStatus = 'end' | 'close' | 'wait' | 'connecting' | 'connect' | 'ready' | 'reconnecting' | 'disconnecting'

Expand Down
306 changes: 0 additions & 306 deletions lib/command.js

This file was deleted.

Loading

0 comments on commit 72a7e2a

Please sign in to comment.