Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sano-jin committed Jul 14, 2024
1 parent 8769a3e commit ac0a670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proof-tree/src/lib/prooftree/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface config {
const maybe = <T>(x: undefined | T, def: T): T => (x === undefined ? def : x);

// Initialize configuration options with default parameters.
const initConfig = (cfg: configP) => ({
const initConfig = (cfg: configP): config => ({
marginPremises: maybe(cfg.marginPremises, 20),
paddingAxiomConclusion: maybe(cfg.paddingAxiomConclusion, 20),
marginLabelLeft: maybe(cfg.marginLabelLeft, 10),
Expand Down

0 comments on commit ac0a670

Please sign in to comment.