You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
threejs api docs as SSOT, make sure all (three.js) public APIs are documented, then (three-ts-type) its safe to include declarations for all undocumented items, and tags them @internal
Ask (three.js) to adopt private class field (caniuse), then (three-ts-types) in no doubt, excludes declarations for them. If (three.js) finally delivers a "std" lib, then the "core" items exposed for "std" used only should be included and tagged @internal (three-ts-types).
(three-ts-types) includes declarations for undocumented APIs w/o @internal or @remarks undocumented, imagine that:
// three-ts-types has declaration for Audio `.loop`, so one might attempt to:audio.loop=true// Bugged silently, the actual source doesn't loop. After diving into the docs, // we realized that .loop is undocumented, and .setLoop() should be used instead.
cross track: three-types/three-ts-types#172
Option 1 most accurate typing (three-ts-types goals)
threejs api docs as SSOT, make sure all (three.js) public APIs are documented, then (three-ts-type) its safe to include declarations for all undocumented items, and tags them
@internal
tracks:
.is*
?? mrdoob/three.js#23527<p>
for supporting paragraphs mrdoob/three.js#23522snapshots:
Option 2 just enough for the norm (will break the goals)
updates:
Add policy for undocumented public items three-types/three-ts-types#172 (comment)
Option 3 most accurate intention (future)
Ask (three.js) to adopt private class field (caniuse), then (three-ts-types) in no doubt, excludes declarations for them. If (three.js) finally delivers a "std" lib, then the "core" items exposed for "std" used only should be included and tagged
@internal
(three-ts-types).tracks:
Option 4 most misleading typing (current)
(three-ts-types) includes declarations for undocumented APIs w/o
@internal
or@remarks undocumented
, imagine that:related:
GLTFParser
. mrdoob/three.js#24764 (comment)The text was updated successfully, but these errors were encountered: