UNPKG
epd
Version:
latest (1.4.0)
1.4.0
1.3.3
Enhanced peer dependency resolution for npm, yarn, and pnpm
github.com/davitacols/epd
davitacols/epd
epd
/
dist
/
smart-resolver.d.ts
8 lines
(7 loc)
•
305 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
SmartResolution
{
package
:
string
;
resolvedVersion
:
string
;
strategy
:
'popularity'
|
'stability'
|
'compatibility'
;
confidence
:
number
; }
export
declare
function
smartResolve
(
conflicts
:
Record
<
string
,
string
[]>,
strategy
?:
'smart'
|
'stable'
):
Promise
<
SmartResolution
[]>;