Skip to content

Commit

Permalink
Refac function argument recording. fixes #25, #23 (#30)
Browse files Browse the repository at this point in the history
* refac function call args, fixes #25 and #23

* support optional args
  • Loading branch information
domasx2 authored and ffMathy committed Mar 24, 2019
1 parent aa84d54 commit 6a81bed
Show file tree
Hide file tree
Showing 58 changed files with 1,205 additions and 1,250 deletions.
2 changes: 2 additions & 0 deletions .ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.js
*.js.map
25 changes: 13 additions & 12 deletions dist/spec/index.test.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
declare class Dummy {
}
export declare class Example {
a: string;
c(arg1: string, arg2: string): string;
readonly d: number;
v: string | null | undefined;
received(stuff: number | string): void;
returnPromise(): Promise<Dummy>;
foo(): string | undefined | null;
}
export {};
declare class Dummy {
}
export declare class Example {
a: string;
c(arg1: string, arg2: string): string;
readonly d: number;
v: string | null | undefined;
received(stuff: number | string): void;
returnPromise(): Promise<Dummy>;
foo(): string | undefined | null;
bar(a: number, b?: number): number;
}
export {};
499 changes: 263 additions & 236 deletions dist/spec/index.test.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/spec/index.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/spec/issues/11.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/spec/issues/15.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/spec/issues/15.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/spec/issues/18.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/spec/issues/18.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions dist/spec/issues/23.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/spec/issues/23.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions dist/spec/issues/25.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/spec/issues/25.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/spec/issues/8.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6a81bed

Please sign in to comment.