Bump required TypeScript version in yargs-parser to match yargs, and adapt the Arguments type.

This commit is contained in:
Steffen Viken Valvåg
2018-12-02 23:40:11 +01:00
parent f65661bf40
commit 2854b92db0
+2 -2
View File
@@ -2,12 +2,12 @@
// Project: https://github.com/yargs/yargs-parser#readme
// Definitions by: Miles Johnson <https://github.com/milesj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
// TypeScript Version: 2.8
import { Arguments as YargsArguments } from 'yargs';
declare namespace yargsParser {
type Arguments = YargsArguments;
type Arguments = YargsArguments<{}>;
interface DetailedArguments {
argv: Arguments;