Skip to content

Commit

Permalink
chore: remove invalid case as valid case on lint doc
Browse files Browse the repository at this point in the history
  • Loading branch information
unvalley committed Oct 27, 2023
1 parent 4baa71f commit c5f68cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ declare_rule! {
///
/// ```ts
/// function printArg<T = void>(arg: T) {}
/// printArg<void>(undefined);
/// ```
pub(crate) NoConfusingVoidType {
version: "1.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ function doSomething(this: void) {}

```ts
function printArg<T = void>(arg: T) {}
printArg<void>(undefined);
```

## Related links
Expand Down

0 comments on commit c5f68cd

Please sign in to comment.