I am try to create a new JsonPatchDocument as below ,
let PatchDoc = new JsonPatchDocument();
But Above is not possible as JsonPatchDocument is a interface in typescript. Can anyone help how can this be done ???
I created using let PatchDoc : JsonPatchDocument;
If i do so , i am not able to add the data to JsonPatchDocument PatchDoc .add( { op: "add", path: "/fields/System.Priority" , value: "1" })
It says add does not exists on type JsonPatchDocument