Show / Hide Table of Contents

    Interface CoreSyncHostOptions

    Package: grammarkdown

    Options used to configure a CoreSyncHost.

    Inheritance
    HostBaseOptions
    CoreSyncHostOptions

    Properties

    normalizeFile

    A callback used to control file normalization when generating keys for maps based on the case sensitivity of the host.

    Declaration
    normalizeFile?: (this: void, file: string, fallback: (file: string) => string) => string;
    Property Value
    (this: void, file: string, fallback: (file: string) => string) => string

    readFileSync

    A callback used to control synchronous file reads.

    Declaration
    readFileSync?: (this: void, file: string, cancelToken: CancelToken | undefined, fallback: (file: string, cancelToken?: CancelToken) => string | undefined) => string | undefined;
    Property Value
    (this: void, file: string, cancelToken: CancelToken | undefined, fallback: (file: string, cancelToken?: CancelToken) => string | undefined) => string | undefined

    resolveFile

    A callback used to control file resolution.

    Declaration
    resolveFile?: (this: void, file: string, referer: string | undefined, fallback: (file: string, referer?: string) => string) => string;
    Property Value
    (this: void, file: string, referer: string | undefined, fallback: (file: string, referer?: string) => string) => string

    resolveKnownGrammar

    A callback used to control known grammar resolution.

    Declaration
    resolveKnownGrammar?: (this: void, name: string, fallback: (name: string) => string | undefined) => string | undefined;
    Property Value
    (this: void, name: string, fallback: (name: string) => string | undefined) => string | undefined

    writeFileSync

    A callback used to control synchronous file writes.

    Declaration
    writeFileSync?: (this: void, file: string, content: string, cancelToken: CancelToken | undefined, fallback: (file: string, content: string, cancelToken?: CancelToken) => void) => void;
    Property Value
    (this: void, file: string, content: string, cancelToken: CancelToken | undefined, fallback: (file: string, content: string, cancelToken?: CancelToken) => void) => void

    • Improve this Doc
    Back to top Generated by DocFX