Type to-snake-case

This commit is contained in:
Leonid Logvinov
2017-12-05 17:04:01 +03:00
parent f88ecaa035
commit dc5f4ab28b
2 changed files with 5 additions and 2 deletions

View File

@@ -1 +1,4 @@
declare module 'to-snake-case';
declare function toSnakeCase(str: string): string;
declare module 'to-snake-case' {
export = toSnakeCase;
}

View File

@@ -8,7 +8,7 @@ import * as _ from 'lodash';
import * as mkdirp from 'mkdirp';
import * as yargs from 'yargs';
import * as toSnakeCase from 'to-snake-case';
import toSnakeCase = require('to-snake-case');
import * as Web3 from 'web3';
import {ParamKind} from './types';