js-slang
Version:
Javascript-based implementations of Source, written in Typescript
8 lines (7 loc) • 354 B
TypeScript
import type { RecursivePartial } from '../types';
import type { ImportOptions } from './moduleTypes';
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;