sdkbump
    Preparing search index...

    Interface SourceFile

    interface SourceFile {
        code: string;
        language: Language;
        path: string;
        text: string;
        lineAt(offset: number): number;
    }
    Index
    code: string

    The same text with comments and string contents replaced by spaces; offsets and lines match.

    language: Language
    path: string
    text: string

    The file as written.

    • 1-based line of an offset.

      Parameters

      • offset: number

      Returns number