id | title |
---|---|
require-typings |
require-typings |
Enabling this rule will result in an error being generated if typings
is missing from the package.json file.
{
"rules": {
"require-typings": "error"
}
}
{
}
{
"typings": "./lib/main.d.ts"
}
See https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html for more details.
- Introduced in version 3.7.0