You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remark now complies to CommonMark, this means that we can adhere too,
and prefer the first if duplicate definitions are found.
Previously, this was an option and defaulted to `false`.
It’s no longer possible to change the behavior of this utility.
Copy file name to clipboardExpand all lines: types/index.d.ts
+1-13
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,6 @@ import {Node} from 'unist'
3
3
import{Definition}from'mdast'
4
4
5
5
declarenamespacedefinitions{
6
-
interfaceOptions{
7
-
/**
8
-
* Turn on (`true`) to use CommonMark precedence: ignore definitions found later for duplicate definitions. The default behavior is to prefer the last found definition.
9
-
*
10
-
* @default false
11
-
*/
12
-
commonmark: boolean
13
-
}
14
-
15
6
/**
16
7
* @param identifier [Identifier](https://github.com/syntax-tree/mdast#association) of [definition](https://github.com/syntax-tree/mdast#definition).
17
8
*/
@@ -21,9 +12,6 @@ declare namespace definitions {
21
12
/**
22
13
* Create a cache of all [definition](https://github.com/syntax-tree/mdast#definition)s in [`node`](https://github.com/syntax-tree/unist#node).
0 commit comments