Closed muescha closed 1 year ago
docs wrong for TypeScript at:
https://github.com/benjamine/jsondiffpatch/blob/master/docs/formatters.md#console
jsondiffpatch.console.log(result)
TS2339: Property 'log' does not exist on type 'Formatter'.
jsondiffpatch.formatters.console.format(result, null)
see also:
TS2554: Expected 2 arguments, but got 1 at jsondiffpatch.formatters.console.format
Fixed in https://github.com/benjamine/jsondiffpatch/pull/345.
docs
docs wrong for TypeScript at:
https://github.com/benjamine/jsondiffpatch/blob/master/docs/formatters.md#console
where:
error:
workaround
see also:
293
TS2554: Expected 2 arguments, but got 1 at jsondiffpatch.formatters.console.format