1
0
Fork 0
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:
Benjamin Swerdlow 2025-01-08 22:48:04 -08:00
parent 7b2530712b
commit 460fcaaba1

View file

@ -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<