Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: remove http-call type
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 20, 2018
1 parent 8aa1432 commit 9aac526
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const pjson = require('../package.json')
import * as Config from '@dxcli/config'
import {args} from '@dxcli/parser'
import cli from 'cli-ux'
import {HTTP} from 'http-call'

import deps from './deps'
import * as flags from './flags'
Expand Down Expand Up @@ -58,7 +57,7 @@ export default abstract class Command {
return this.constructor as typeof Command
}

get http(): typeof HTTP { return require('http-call').HTTP }
get http() { return require('http-call').HTTP }

/**
* actual command run code goes here
Expand Down

0 comments on commit 9aac526

Please sign in to comment.