Pike LSP TypeScript API - v0.1.0-alpha.20
    Preparing search index...

    Interface ResolveImportResult

    Result of resolve_import request

    interface ResolveImportResult {
        error?: string;
        exists: 0 | 1;
        mtime: number;
        original_path?: string;
        path: string;
        type: ImportType;
    }
    Index

    Properties

    error?: string

    Error message if resolution failed

    exists: 0 | 1

    Whether the file/module exists (0 = no, 1 = yes)

    mtime: number

    File modification time (for cache invalidation)

    original_path?: string

    Original path from source

    path: string

    Resolved absolute path

    type: ImportType

    Import type