kungfooman / RuntimeTypeInspector.js

Checking JSDoc types at runtime for high-quality types - Trust is good, control is better.
MIT License
8 stars 0 forks source link

Implement NamedTupleMember #87

Closed kungfooman closed 7 months ago

kungfooman commented 7 months ago

I added this type some time ago:

/**
 * Named tuple to indicate the order we are using is (height x width), even though
 * the Graphics’ industry standard is (width x height).
 * @typedef {[height: number, width: number]} HeightWidth
 */

However, at the time being it triggers a warning, since it's not implemented in Transformers.js.