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

Commit 3a33e95

Browse files
authored
Add support for boolean as type in rel
Closes GH-20. Reviewed-by: Christian Murphy <[email protected]> Reviewed-by: Jonathan Haines <[email protected]> Reviewed-by: Titus Wormer <[email protected]>
1 parent 2c6fc4b commit 3a33e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare namespace remarkExternalLinks {
2727
*
2828
* @defaultValue ['nofollow', 'noopener', 'noreferrer']
2929
*/
30-
rel?: string[] | string
30+
rel?: string[] | string | false
3131
/**
3232
* Protocols to check, such as `mailto` or `tel` (`Array.<string>`, default:
3333
* `['http', 'https']`).

0 commit comments

Comments
 (0)