UNPKG

@storm-stack/core

Version:

A build toolkit and runtime used by Storm Software in TypeScript applications

18 lines (15 loc) 647 B
import { JitiOptions, Jiti } from 'jiti'; type CreateResolverOptions = Omit<JitiOptions, "fsCache" | "moduleCache" | "interopDefault"> & { workspaceRoot: string; projectRoot: string; cacheDir: string; }; /** * Create a Jiti resolver for the given workspace and project root. * * @param options - The options for creating the resolver. * @returns A Jiti instance configured for the specified workspace and project root. */ declare function createResolver(options: CreateResolverOptions): Jiti; declare type __ΩCreateResolverOptions = any[]; export { type CreateResolverOptions, type __ΩCreateResolverOptions, createResolver };