Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 746 Bytes

File metadata and controls

41 lines (30 loc) · 746 Bytes

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:

/**
 * @throws
 */
// Message: @throws should have a type

Passing examples

The following patterns are not considered problems:

/**
 * @throws {SomeType}
 */