require-throws-type
Requires a type on the `@throws` tag.
|||
|---|---|
|Context|everywhere|
|Tags|`throws`|
|Recommended|true|
|Settings||
|Options||
## Failing examples
The following patterns are considered problems:
````ts
/**
* @throws
*/
// Message: @throws should have a type
````
## Passing examples
The following patterns are not considered problems:
````ts
/**
* @throws {SomeType}
*/
````