Repository navigation
[three] Fix barrelMask typo in CRT declarations - #75251
typescript-automation[bot] merged 1 commit into
Conversation
Align the CRT declaration with the runtime export and add a regression test for the public addon path.
|
@Gyeonghun-Park Thank you for submitting this PR! This is a live comment that I will keep updated. 1 package in this PR
Code ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 75251,
"author": "Gyeonghun-Park",
"headCommitOid": "9dfa7d5b647f9d1782959c76036b24efa1fd88a5",
"mergeBaseOid": "cec26f473b7deaa37779866f6fe6454c9b3873ef",
"lastPushDate": "2026-07-13T09:03:35.000Z",
"lastActivityDate": "2026-07-31T18:20:09.000Z",
"mergeOfferDate": "2026-07-31T18:18:54.000Z",
"mergeRequestDate": "2026-07-31T18:20:09.000Z",
"mergeRequestUser": "Methuselah96",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"tooManyCommits": false,
"tooManyReviews": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "three",
"kind": "edit",
"files": [
{
"path": "types/three/examples/jsm/tsl/display/CRT.d.ts",
"kind": "definition"
},
{
"path": "types/three/test/unit/examples/jsm/tsl/display/CRT.ts",
"kind": "test"
},
{
"path": "types/three/tsconfig.json",
"kind": "package-meta-ok"
}
],
"owners": [
"joshuaellis",
"Methuselah96"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "RyanCavanaugh",
"date": "2026-07-31T18:18:14.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "Methuselah96",
"date": "2026-07-13T12:34:38.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 4956244392,
"ciResult": "pass"
} |
|
🔔 @joshuaellis @Methuselah96 — please review this PR in the next few days. Be sure to explicitly select |
|
Re-ping @joshuaellis: This PR has been out for over a week, yet I haven't seen any reviews. Could someone please give it some attention? Thanks! |
|
It has been more than two weeks and this PR still has no reviews. I'll bump it to the DT maintainer queue. Thank you for your patience, @Gyeonghun-Park. (Ping @joshuaellis.) |
|
@Gyeonghun-Park: Everything looks good here. I am ready to merge this PR (at 9dfa7d5) on your behalf whenever you think it's ready. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ (@joshuaellis, @Methuselah96: you can do this too.) |
|
Ready to merge |
7446100
into
DefinitelyTyped:master
The Three.js r185 CRT module exports
barrelMask, but the correspondingdeclaration currently exposes
barrelMast.This causes valid named imports of
barrelMaskto fail type checking eventhough the export exists at runtime.
This change:
barrelMasttobarrelMask.barrelMaskthrough thepublic
three/addons/tsl/display/CRT.jspath.Runtime source
https://github.com/mrdoob/three.js/blob/r185/examples/jsm/tsl/display/CRT.js#L45
Validation
Confirmed against a local Three.js WebGPU/TSL project using the API.
Ran
pnpm test threesuccessfully.Use a meaningful title for the pull request. Include the name of the package modified.
Test the change in your own code. (Compile and run.)
Add or edit tests to reflect the change.
Follow the advice from the readme.
Avoid common mistakes.
Run
pnpm test <package to test>.If changing an existing definition:
package.json. Not applicable; this corrects a typo in the existing r185 declarations.