File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/shadow/npm/arborist/lib/arborist Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import type {
5
5
Arborist as BaseArborist ,
6
6
AuditReport as BaseAuditReport ,
7
7
Diff as BaseDiff ,
8
+ BuildIdealTreeOptions ,
8
9
ReifyOptions
9
10
} from '@npmcli/arborist'
10
11
@@ -14,12 +15,22 @@ export type ArboristClass = ArboristInstance & {
14
15
15
16
export type ArboristInstance = Omit <
16
17
typeof BaseArborist ,
17
- 'actualTree' | 'auditReport' | 'diff' | 'idealTree' | 'reify'
18
+ | 'actualTree'
19
+ | 'auditReport'
20
+ | 'buildIdealTree'
21
+ | 'diff'
22
+ | 'idealTree'
23
+ | 'loadActual'
24
+ | 'loadVirtual'
25
+ | 'reify'
18
26
> & {
19
27
auditReport ?: AuditReportInstance | null | undefined
20
28
actualTree ?: SafeNode | null | undefined
21
29
diff : Diff | null
22
30
idealTree ?: SafeNode | null | undefined
31
+ buildIdealTree ( options ?: BuildIdealTreeOptions ) : Promise < SafeNode >
32
+ loadActual ( options ?: ArboristOptions ) : Promise < SafeNode >
33
+ loadVirtual ( options ?: ArboristOptions ) : Promise < SafeNode >
23
34
reify ( options ?: ArboristReifyOptions ) : Promise < SafeNode >
24
35
}
25
36
You can’t perform that action at this time.
0 commit comments