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

@ -778,7 +778,7 @@ describe("CharacterStyle", () => {
const shadingTests = [
{
shading: {
val: ShadingType.PERCENT_10,
type: ShadingType.PERCENT_10,
fill: "00FFFF",
color: "FF0000",
},
@ -786,7 +786,7 @@ describe("CharacterStyle", () => {
},
{
shading: {
val: ShadingType.SOLID,
type: ShadingType.SOLID,
fill: "AA0000",
color: "DD0000",
},

View File

@ -650,7 +650,7 @@ describe("ParagraphStyle", () => {
const shadingTests = [
{
shading: {
val: ShadingType.PERCENT_10,
type: ShadingType.PERCENT_10,
fill: "00FFFF",
color: "FF0000",
},
@ -658,7 +658,7 @@ describe("ParagraphStyle", () => {
},
{
shading: {
val: ShadingType.DIAGONAL_CROSS,
type: ShadingType.DIAGONAL_CROSS,
fill: "0066FF",
color: "0000FF",
},