PropertyTable ¶
export type PropertyTable = {[string | SpecialKey]: unknown}
A table of named instance properties and special keys, which
can be passed to New
to create an instance.
This type can be overly generic
In most cases, you should know what properties your code is looking for. In those cases, you should prefer to list out the properties explicitly, to document what your code needs.
You should only use this type if you don't know what properties your code will accept.