mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 13:00:36 -05:00
will this work maybe?
This commit is contained in:
parent
7b2530712b
commit
460fcaaba1
1 changed files with 2 additions and 1 deletions
|
@ -112,6 +112,7 @@ pub type NodeResolverRc<TIsBuiltInNodeModuleChecker, TSys> =
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct NodeResolver<
|
||||
'a,
|
||||
TIsBuiltInNodeModuleChecker: IsBuiltInNodeModuleChecker,
|
||||
TSys: FsCanonicalize + FsMetadata + FsRead,
|
||||
> {
|
||||
|
@ -121,7 +122,7 @@ pub struct NodeResolver<
|
|||
pkg_json_resolver: PackageJsonResolverRc<TSys>,
|
||||
sys: TSys,
|
||||
conditions_from_resolution_mode:
|
||||
&dyn Fn(ResolutionMode) -> &'static [&'static str],
|
||||
&'a dyn Fn(ResolutionMode) -> &'static [&'static str],
|
||||
}
|
||||
|
||||
impl<
|
||||
|
|
Loading…
Add table
Reference in a new issue