Skip to content

Commit

Permalink
Update dependencies, rev to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pnann committed Apr 21, 2019
1 parent 4d50e0e commit c0396b3
Show file tree
Hide file tree
Showing 11 changed files with 923 additions and 5,245 deletions.
8 changes: 4 additions & 4 deletions lib/Check.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ declare class Check<T> {
exists(): T;
true(): T;
false(): T;
private checkType(type);
private checkType;
/**
* Check whether or not the target is of the given type. This is done using toString in order to get around the
* issues with JavaScript typeof checking.
*
* @param {string} type - The type string to compare against.
*/
private isType(type);
private hasProperties();
private verify(conditional, caseString);
private isType;
private hasProperties;
private verify;
}
export { Check };
2 changes: 1 addition & 1 deletion lib/check-preconditions.min.js

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

2 changes: 1 addition & 1 deletion lib/index.cjs.js

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

7 changes: 4 additions & 3 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Check } from "./Check";
export declare const of: typeof Check.of;
export declare const check: typeof Check.check;
import { Check as Preconditions } from "./Check";
declare const of: typeof Preconditions.of;
declare const check: typeof Preconditions.check;
export { Preconditions, of, check };
2 changes: 1 addition & 1 deletion lib/index.esm.js

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

10 changes: 6 additions & 4 deletions lib/index.js

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

Loading

0 comments on commit c0396b3

Please sign in to comment.