Add typed properties reference to TypeError page (#936)

This commit is contained in:
Barney Laurance 2021-09-09 22:18:23 +01:00 committed by GitHub
parent 89ee07c72d
commit 900b6a65c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,12 @@
<section xml:id="typeerror.intro">
&reftitle.intro;
<para>
There are three scenarios where a
<ooclass><classname>TypeError</classname></ooclass> may be thrown:
A <classname>TypeError</classname> may be thrown when:
<simplelist>
<member>
The value being set for a class property does not match
the property's corresponding declared type.
</member>
<member>
The argument type being passed to a function does not match
its corresponding declared parameter type.