Skip to content

Commit ff45dc8

Browse files
author
Mathias Lorenzen
committed
improvements to args.
1 parent fa6f4a3 commit ff45dc8

25 files changed

+374
-237
lines changed

dist/spec/index.test.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export declare class Example {
22
a: string;
3-
b: number;
43
c(arg1: string, arg2: string): string;
54
readonly d: number;
65
v: any;

dist/spec/index.test.js

Lines changed: 27 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/spec/index.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Arguments.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export declare class Arg {
2+
private description;
3+
private matchingFunction;
4+
private constructor();
5+
matches(arg: any): boolean;
6+
toString(): string;
7+
inspect(): string;
8+
static any(): any;
9+
static any<T extends 'string' | 'number' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function' | 'array'>(type: T): any;
10+
static is<T>(value: T): any;
11+
static is<T>(predicate: (input: T) => boolean): any;
12+
private static toStringify;
13+
}

dist/src/Arguments.js

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Arguments.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)