change shading val -> type

This commit is contained in:
Tom Hunkapiller
2021-05-29 05:51:06 +03:00
parent 730e33b164
commit 034cd187ab
14 changed files with 24 additions and 24 deletions

View File

@ -21,7 +21,7 @@ const doc = new Document({
name: "Garamond",
},
shading: {
val: ShadingType.REVERSE_DIAGONAL_STRIPE,
type: ShadingType.REVERSE_DIAGONAL_STRIPE,
color: "00FFFF",
fill: "FF0000",
},
@ -30,7 +30,7 @@ const doc = new Document({
}),
new Paragraph({
shading: {
val: ShadingType.DIAGONAL_CROSS,
type: ShadingType.DIAGONAL_CROSS,
color: "00FFFF",
fill: "FF0000",
},