open-wc / custom-elements-manifest-deprecated

Custom Elements Manifest is a file format that describes custom elements in your project.
8 stars 4 forks source link

[core] When checking default values for props, make sure they are registered #1

Closed thepassle closed 3 years ago

thepassle commented 3 years ago

When checking default values for properties, the assignment is a registered field, and nothing else, to avoid things like:

{
  "kind": "method",
  "name": "__onKeyDown",
  "default": "this.__onKeyDown.bind(this)"
}