Skip to content

Commit 4204868

Browse files
committed
style: revert code examples to use single quotes for consistency
1 parent ea4d650 commit 4204868

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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<T>(expression: T)
143+
### expectType<T>(expression: T)
144144

145145
Asserts that the type of `expression` is identical to type `T`.
146146

147-
### expectNotType&lt;T&gt;(expression: any)
147+
### expectNotType<T>(expression: any)
148148

149149
Asserts 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

153153
Asserts that the type of `expression` is assignable to type `T`.
154154

155-
### expectNotAssignable&lt;T&gt;(expression: any)
155+
### expectNotAssignable<T>(expression: any)
156156

157157
Asserts 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

161161
Asserts 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

181181
Useful for checking that all branches are covered.
182182

183-
### expectDocCommentIncludes&lt;T&gt;(expression: any)
183+
### expectDocCommentIncludes<T>(expression: any)
184184

185185
Asserts that the documentation comment of `expression` includes string literal type `T`.
186186

0 commit comments

Comments
 (0)