File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -140,23 +140,23 @@ When searching for `.test-d.ts` files and executing them, `tsd` does the followi
140140
141141## Assertions
142142
143- ### expectType& lt ; T & gt ; (expression: T)
143+ ### expectType< T > (expression: T)
144144
145145Asserts that the type of ` expression ` is identical to type ` T ` .
146146
147- ### expectNotType& lt ; T & gt ; (expression: any)
147+ ### expectNotType< T > (expression: any)
148148
149149Asserts that the type of ` expression ` is not identical to type ` T ` .
150150
151- ### expectAssignable& lt ; T & gt ; (expression: T)
151+ ### expectAssignable< T > (expression: T)
152152
153153Asserts that the type of ` expression ` is assignable to type ` T ` .
154154
155- ### expectNotAssignable& lt ; T & gt ; (expression: any)
155+ ### expectNotAssignable< T > (expression: any)
156156
157157Asserts that the type of ` expression ` is not assignable to type ` T ` .
158158
159- ### expectError& lt ; T = any& gt ; (expression: T)
159+ ### expectError< T = any> (expression: T)
160160
161161Asserts that ` expression ` throws an error. Will not ignore syntax errors.
162162
@@ -180,7 +180,7 @@ Asserts that the type and return type of `expression` is `never`.
180180
181181Useful for checking that all branches are covered.
182182
183- ### expectDocCommentIncludes& lt ; T & gt ; (expression: any)
183+ ### expectDocCommentIncludes< T > (expression: any)
184184
185185Asserts that the documentation comment of ` expression ` includes string literal type ` T ` .
186186
You can’t perform that action at this time.
0 commit comments