resolver.d.mts 424 B

12345678
  1. export declare const commonJsResolve: (arg1: string, arg2: string) => Promise<string | false | undefined>;
  2. /**
  3. * Resolves the module in context of the configuration.
  4. *
  5. * Only does traditional Node resolution without looking at the `exports` field
  6. * or alternative extensions (cjs/mjs) to match what the VS Code loader does.
  7. */
  8. export declare const mustResolve: (context: string, moduleName: string) => Promise<string>;