File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 11// TypeScript Version: 3.5
22
3- import { Node } from 'unist' ;
4- import { Test } from 'unist-util-is' ;
3+ import { Node } from 'unist'
4+ import { Test } from 'unist-util-is'
55
66declare namespace remove {
77 interface RemoveOptions {
88 /**
99 * Whether to drop parent nodes if they had children, but all their children were filtered out test
1010 */
11- cascade ?: boolean ;
11+ cascade ?: boolean
1212 }
1313}
1414
@@ -20,14 +20,11 @@ declare namespace remove {
2020 * @param options Whether to drop parent nodes if they had children, but all their children were filtered out
2121 * @param test is-compatible test (such as a type)
2222 */
23- declare function remove (
24- tree : Node ,
25- test ?: Test < Node >
26- ) : Node ;
23+ declare function remove ( tree : Node , test ?: Test < Node > ) : Node
2724declare function remove (
2825 tree : Node ,
2926 options : remove . RemoveOptions = { cascade : true } ,
3027 test ?: Test < Node >
31- ) : Node ;
28+ ) : Node
3229
33- export = remove ;
30+ export = remove
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " dtslint/dtslint.json" ,
3+ "rules" : {
4+ "no-redundant-jsdoc" : false ,
5+ "no-redundant-jsdoc-2" : true ,
6+ "semicolon" : false ,
7+ "whitespace" : false
8+ }
9+ }
You can’t perform that action at this time.
0 commit comments