UNPKG

js-slang

Version:

Javascript-based implementations of Source, written in Typescript

9 lines (8 loc) 421 B
import type { RecursivePartial } from '../types'; import type { ImportOptions } from './moduleTypes'; export declare function removeExportDefault(text: string): string; export declare function mergeImportOptions(src?: RecursivePartial<ImportOptions>): ImportOptions; /** * Checks if the given string refers to a Source module instead of a local module */ export declare const isSourceModule: (path: string) => boolean;