Skip to content

Commit

Permalink
fix some of the types (diff import)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Feb 20, 2024
1 parent a74ca2e commit 88d1133
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
10 changes: 8 additions & 2 deletions uSync.Backoffice.Management.Client/assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions uSync.Backoffice.Management.Client/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
},
"dependencies": {
"@microsoft/signalr": "^8.0.0",
"lit": "^3.1.0",
"diff": "^5.2.0"
"diff": "^5.2.0",
"lit": "^3.1.0"
},
"devDependencies": {
"@types/diff": "^5.0.9",
"@umbraco-cms/backoffice": "^14.0.0--preview006",
"openapi-typescript-codegen": "^0.25.0",
"typescript": "^5.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class uSyncChangeView extends UmbElementMixin(LitElement) {
}

@property({type: Object})
item : uSyncActionView | null = null;
item : uSyncActionView | null | undefined = null;

render() {

Expand Down Expand Up @@ -58,7 +58,7 @@ export class uSyncChangeView extends UmbElementMixin(LitElement) {
const newValue = this._getJsonOrString(detail.newValue);
const changes = Diff.diffWords(oldValue, newValue);

const changeHtml = changes.map((change) => {
const changeHtml = changes.map((change : any) => {

console.log(change);

Expand Down

0 comments on commit 88d1133

Please sign in to comment.