Skip to content

Commit

Permalink
fix: type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amir78729 committed Jun 26, 2024
1 parent 281f7d9 commit 936f8ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cemnama",
"description": "a Custom Element Manifest Viewer component developed in web components",
"author": "Amirhossein Alibakhshi",
"version": "0.0.0-alpha-2",
"version": "0.0.0-alpha-3",
"repository": {
"type": "git",
"url": "https://github.com/amir78729/custom-element-manifest-viewer.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,11 @@ export class CustomElementManifestViewer extends LitElement {
? removeBackticks(property.type.text)
: 'string',
description: property?.description,
// @ts-expect-error
defaultValue:
(property?.default &&
removeBackticks(removeQuotes(property.default))) ||
this.propertyKnobs[property.name],
this.propertyKnobs?.[property.name],
// @ts-expect-error
onChange: (e: Event) => {
const input = e.target as HTMLInputElement;
Expand Down

0 comments on commit 936f8ce

Please sign in to comment.