You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/contributing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
- Please help review the other open pull requests. If there are no open pull requests, provide some feedback on some of the open issues.
7
7
- Create a new file in the `test-d` directory and write at least one type test.
8
8
- See the other tests for inspiration.
9
-
- If it makes sense, also write a negative test using [`expectNotAssignable()`](https://github.com/SamVerschueren/tsd#expectnotassignabletexpression-any) or, to test other diagnostics, [`expectError()`](https://github.com/SamVerschueren/tsd#expecterrort--anyexpression-t).
9
+
- If it makes sense, also write a negative test using [`expectTypeOf().not`](https://github.com/mmkal/expect-type#features) or, to test other diagnostics, `@ts-expect-error`.
10
10
- Don't use one-character type names like `T` and `U`. Use descriptive names. See the existing types for inspiration.
11
11
- Write a good documentation comment that includes:
12
12
- Write a short and clear description of what the type does.
0 commit comments