expect-type
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.5.1](https://github.com/mmkal/ts/compare/expect-type@0.5.0...expect-type@0.5.1) (2020-04-05) | ||
### Bug Fixes | ||
* out of date docs ([46f4fcc](https://github.com/mmkal/ts/commit/46f4fccda0db250218d0762f2a5b46f924c7f96d)) | ||
# [0.5.0](https://github.com/mmkal/ts/compare/expect-type@0.4.6...expect-type@0.5.0) (2020-04-05) | ||
@@ -8,0 +19,0 @@ |
@@ -49,3 +49,3 @@ export declare type Not<T extends boolean> = T extends true ? false : true; | ||
* expectTypeOf({a: 1}).toMatchTypeOf({a: 2}) | ||
* expectTypeOf({a: 1}).property('a').toBeNumber() | ||
* expectTypeOf({a: 1}).toHaveProperty('a').toBeNumber() | ||
* | ||
@@ -52,0 +52,0 @@ * @description |
@@ -12,3 +12,3 @@ "use strict"; | ||
* expectTypeOf({a: 1}).toMatchTypeOf({a: 2}) | ||
* expectTypeOf({a: 1}).property('a').toBeNumber() | ||
* expectTypeOf({a: 1}).toHaveProperty('a').toBeNumber() | ||
* | ||
@@ -15,0 +15,0 @@ * @description |
{ | ||
"name": "expect-type", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"repository": "https://github.com/mmkal/ts", | ||
@@ -23,3 +23,3 @@ "homepage": "https://github.com/mmkal/ts/tree/master/packages/expect-type#readme", | ||
], | ||
"gitHead": "4a8c78155cf27ef03dcbbac3fc5afe3f9e898053" | ||
"gitHead": "2fee9ab174fcd587de21377ebd8a92986466a3ed" | ||
} |
@@ -9,3 +9,3 @@ # expect-type | ||
<!-- codegen:start {preset: markdownFromJsdoc, source: src/index.ts, export: expectTypeOf} --> | ||
#### [expectTypeOf](https://github.com/mmkal/ts/tree/4a8c781/packages/expect-type/src/index.ts#L71) | ||
#### [expectTypeOf](https://github.com/mmkal/ts/tree/2fee9ab/packages/expect-type/src/index.ts#L71) | ||
@@ -18,3 +18,3 @@ Similar to Jest's `expect`, but with type-awareness. Gives you access to a number of type-matchers that let you make assertions about the form of a reference or generic type parameter. | ||
expectTypeOf({a: 1}).toMatchTypeOf({a: 2}) | ||
expectTypeOf({a: 1}).property('a').toBeNumber() | ||
expectTypeOf({a: 1}).toHaveProperty('a').toBeNumber() | ||
``` | ||
@@ -21,0 +21,0 @@ |
@@ -66,3 +66,3 @@ export type Not<T extends boolean> = T extends true ? false : true | ||
* expectTypeOf({a: 1}).toMatchTypeOf({a: 2}) | ||
* expectTypeOf({a: 1}).property('a').toBeNumber() | ||
* expectTypeOf({a: 1}).toHaveProperty('a').toBeNumber() | ||
* | ||
@@ -69,0 +69,0 @@ * @description |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207256