File tree 3 files changed +6
-6
lines changed 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export class Index {
14
14
* @param {Test } [test]
15
15
*/
16
16
constructor ( prop , tree , test ) {
17
- /** @type {Map. <unknown, Array. <Node>> } */
17
+ /** @type {Map<unknown, Array<Node>> } */
18
18
this . index = new Map ( )
19
19
/** @type {KeyFunction } */
20
20
// @ts -expect-error: Looks indexable.
@@ -29,7 +29,7 @@ export class Index {
29
29
30
30
/**
31
31
* @param {unknown } key
32
- * @returns {Array. <Node> }
32
+ * @returns {Array<Node> }
33
33
*/
34
34
get ( key ) {
35
35
return this . index . get ( key ) || [ ]
Original file line number Diff line number Diff line change 48
48
"@types/tape" : " ^4.0.0" ,
49
49
"c8" : " ^7.0.0" ,
50
50
"prettier" : " ^2.0.0" ,
51
- "remark-cli" : " ^9 .0.0" ,
52
- "remark-preset-wooorm" : " ^8 .0.0" ,
51
+ "remark-cli" : " ^10 .0.0" ,
52
+ "remark-preset-wooorm" : " ^9 .0.0" ,
53
53
"rimraf" : " ^3.0.0" ,
54
54
"tape" : " ^5.0.0" ,
55
55
"type-coverage" : " ^2.0.0" ,
56
56
"typescript" : " ^4.0.0" ,
57
57
"unist-builder" : " ^3.0.0" ,
58
58
"unist-util-select" : " ^4.0.0" ,
59
- "xo" : " ^0.42 .0"
59
+ "xo" : " ^0.49 .0"
60
60
},
61
61
"scripts" : {
62
62
"prepack" : " npm run build && npm run format" ,
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Function called with every added [node][] to return the key to index on.
84
84
#### ` Index#get(key) `
85
85
86
86
Get nodes by ` key ` (` * ` ).
87
- Returns a list of zero or more nodes ([ ` Array. <Node> ` ] [ node ] ).
87
+ Returns a list of zero or more nodes ([ ` Array<Node> ` ] [ node ] ).
88
88
89
89
#### ` Index#add(node) `
90
90
You can’t perform that action at this time.
0 commit comments