[react] Add types for experimental_use#62189
Conversation
- [`experimental` entrypoint](https://unpkg.com/browse/react@0.0.0-experimental-c28f313e6-20220908/cjs/react.development.js) - [implementation in `experimental`](https://unpkg.com/browse/react-dom@0.0.0-experimental-c28f313e6-20220908/cjs/react-dom.development.js) - [experimental_use(Thenable)](react/react#25084) - [experimental_use(Context)](react/react#25202)
f625611 to
7957a73
Compare
|
Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files. react (unpkg)was missing the following properties:
|
|
@eps1lon Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PRCode 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
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 62189,
"author": "eps1lon",
"headCommitOid": "7957a730aabafe107ce3219af899abd2b52ec2ee",
"mergeBaseOid": "55c08b65328e644db2b5a74c91e02dde6d42c2c2",
"lastPushDate": "2022-09-10T08:53:59.000Z",
"lastActivityDate": "2022-09-10T09:18:56.000Z",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "react",
"kind": "edit",
"files": [
{
"path": "types/react/experimental.d.ts",
"kind": "definition"
},
{
"path": "types/react/test/experimental.tsx",
"kind": "test"
}
],
"owners": [
"johnnyreilly",
"bbenezech",
"pzavolinsky",
"ericanderson",
"DovydasNavickas",
"theruther4d",
"guilhermehubner",
"ferdaber",
"jrakotoharisoa",
"pascaloliv",
"hotell",
"franklixuefei",
"Jessidhia",
"saranshkataria",
"lukyth",
"eps1lon",
"zieka",
"dancerphil",
"dimitropoulos",
"disjukr",
"vhfmag",
"hellatan",
"priyanshurav"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [],
"mainBotCommentID": 1242679087,
"ciResult": "pass"
} |
|
🔔 @johnnyreilly @bbenezech @pzavolinsky @ericanderson @DovydasNavickas @theruther4d @guilhermehubner @ferdaber @jrakotoharisoa @pascaloliv @Hotell @franklixuefei @Jessidhia @saranshkataria @lukyth @zieka @dancerphil @dimitropoulos @disjukr @vhfmag @hellatan @priyanshurav — please review this PR in the next few days. Be sure to explicitly select |
|
Nice work! |
Please fill in this template.
npm test <package to test>.If changing an existing definition:
experimentalentrypointexperimental[ ]If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.