diff --git a/demo/59-header-footer-margins.ts b/demo/59-header-footer-margins.ts index d5807b680f..f03e89e3a3 100644 --- a/demo/59-header-footer-margins.ts +++ b/demo/59-header-footer-margins.ts @@ -7,8 +7,12 @@ const doc = new Document({ sections: [ { properties: { - header: 100, - footer: 50, + page: { + margin: { + header: 100, + footer: 50, + }, + }, }, headers: { default: new Header({