change shading val -> type
This commit is contained in:
@ -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",
|
||||
},
|
||||
|
Reference in New Issue
Block a user