About 50 results
Open links in new tab
  1. Angular - How to fix 'property does not exist on type' error?

    Angular - How to fix 'property does not exist on type' error? Asked 7 years, 10 months ago Modified 4 years, 5 months ago Viewed 299k times

  2. Typescript complains Property does not exist on type 'JSX ...

    May 24, 2016 · Property 'div' does not exist on type 'JSX.IntrinsicElements'. I think the root cause was vscode (me) accidentally editing type definitions in node_modules .

  3. How does the @property decorator work in Python?

    I would like to understand how the built-in function property works. What confuses me is that property can also be used as a decorator, but it only takes arguments when used as a built-in function ...

  4. Checking if a list of objects contains a property with a specific value

    Mar 3, 2017 · Checking if a list of objects contains a property with a specific value Asked 15 years, 1 month ago Modified 4 years, 2 months ago Viewed 257k times

  5. python - How to make a class property? - Stack Overflow

    Descriptors like property need to be in the type's dictionary to work their magic. So those in a class definition primarily affect the behaviour of instances of the class, with minimal effect on the behaviour …

  6. How to fix "The ConnectionString property has not been initialized"

    How to fix "The ConnectionString property has not been initialized" Asked 16 years, 8 months ago Modified 5 months ago Viewed 515k times

  7. How to get a property value based on the name - Stack Overflow

    To see how to Set the property value, based on a propertyName string, see the answer here: Setting the value of properties via reflection

  8. What is the best way to give a C# auto-property an initial value?

    12 My solution is to use a custom attribute that provides default value property initialization by constant or using property type initializer.

  9. How do I check if an object has a specific property in JavaScript?

    So simply reducing the property check to typeof this[property] or, even worse, x.key will give you completely misleading results. It depends on what you're looking for. If you want to know if an object …

  10. What is the difference between a field and a property?

    Nov 17, 2008 · A property should always encapsulate one or more fields, and should never do any heavy lifting or validation. If you need a property such a UserName or Password to have validation, …