diff --git a/lib/properties/src/paragraph-properties.ts b/lib/properties/src/paragraph-properties.ts
index dabed25..fc5d036 100644
--- a/lib/properties/src/paragraph-properties.ts
+++ b/lib/properties/src/paragraph-properties.ts
@@ -52,7 +52,7 @@ export type ParagraphProperties = {
before?: Length | null;
after?: Length | null;
line?: Length | null;
- lineRule?: 'atLeast' | 'exactly' | 'auto' | null;
+ lineRule?: 'atLeast' | 'exact' | 'auto' | null;
afterAutoSpacing?: boolean | null;
beforeAutoSpacing?: boolean | null;
} | null;
diff --git a/lib/properties/test/paragraph-properties.test.ts b/lib/properties/test/paragraph-properties.test.ts
index 09c3244..fe7a704 100644
--- a/lib/properties/test/paragraph-properties.test.ts
+++ b/lib/properties/test/paragraph-properties.test.ts
@@ -114,6 +114,26 @@ describe('Paragraph formatting', () => {
);
});
+ for (const lineRule of [null, 'exact', 'atLeast', 'auto'] as const) {
+ describe(`lineRule "${lineRule}"`, () => {
+ test(
+ `
+
+ `,
+ {
+ spacing: {
+ before: null,
+ after: null,
+ line: twip(240),
+ lineRule,
+ afterAutoSpacing: false,
+ beforeAutoSpacing: false,
+ },
+ }
+ );
+ });
+ }
+
describe('Legacy "left"/"right"', () => {
test(
`