zotero / citeproc-rs

CSL processor in Rust.

Home Page:https://cormacrelf.github.io/citeproc-wasm-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BibliographyMeta wrongly cased/documented

adomasven opened this issue · comments

This is the typescript

type BibliographyMeta = {
    max_offset: number;
    entry_spacing: number;
    line_spacing: number;
    hanging_indent: boolean;
    /** the second-field-align value of the CSL style */
    secondFieldAlign: null  | "flush" | "margin";
    /** Format-specific metadata */
    formatMeta: any,
};

The actual properties are all camel cased instead of snake cased. The camel case is preferred, but the typescript should be correct.

Fixed the TS issue in #94 but leaving open because it needs some doc