Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Add support for boolean as type in rel
Browse files Browse the repository at this point in the history
Closes GH-20.

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Jonathan Haines <jonno.haines@gmail.com>
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
MejanH authored Sep 29, 2020
1 parent 2c6fc4b commit 3a33e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ declare namespace remarkExternalLinks {
*
* @defaultValue ['nofollow', 'noopener', 'noreferrer']
*/
rel?: string[] | string
rel?: string[] | string | false
/**
* Protocols to check, such as `mailto` or `tel` (`Array.<string>`, default:
* `['http', 'https']`).
Expand Down

0 comments on commit 3a33e95

Please sign in to comment.