Repository navigation
Add swapLeftAndRightInRTL function type in ReactNative I18nManager library types - #48885
Conversation
|
@amerllica Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. 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": 48885,
"author": "amerllica",
"owners": [
"alloy",
"huhuanming",
"iRoachie",
"timwangdev",
"kamal",
"alexdunne",
"swissmanu",
"bm-software",
"a-tarasyuk",
"mvdam",
"esemesek",
"mrnickel",
"souvik-ghosh",
"nossbigg",
"saranshkataria",
"franzmoro",
"tykus160",
"jakebloom",
"ceyhun",
"mcmar",
"theohdv",
"TheSavior",
"romain-faust",
"bebebebebe",
"Naturalclar",
"chinesedfan",
"vtolochk",
"SychevSP",
"RageBill",
"sasurau4",
"256hz",
"doumart",
"drmas",
"akrger",
"jeremybarbet",
"ca057",
"ds300",
"natsathorn",
"connectdotz",
"TheWirv",
"alexeymolchan",
"alexbrazier"
],
"dangerLevel": "ScopedAndTested",
"headCommitAbbrOid": "6484e77",
"headCommitOid": "6484e770a2c7cdc9899b6768961cd84ab13adb1f",
"mergeIsRequested": false,
"stalenessInDays": 1,
"lastPushDate": "2020-10-20T07:00:35.000Z",
"lastCommentDate": "2020-10-20T13:54:00.000Z",
"maintainerBlessed": true,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48885/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": true,
"popularityLevel": "Critical",
"newPackages": [],
"packages": [
"react-native"
],
"files": [
{
"path": "types/react-native/index.d.ts",
"kind": "definition",
"package": "react-native"
},
{
"path": "types/react-native/test/index.tsx",
"kind": "test",
"package": "react-native"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"reviewersWithStaleReviews": [
{
"reviewedAbbrOid": "60ee505",
"reviewer": "ca057",
"date": "2020-10-20T06:29:33Z"
},
{
"reviewedAbbrOid": "8957957",
"reviewer": "ca057",
"date": "2020-10-19T06:30:41Z"
},
{
"reviewedAbbrOid": "36ad762",
"reviewer": "ca057",
"date": "2020-10-18T00:40:10Z"
}
],
"approvalFlags": 0,
"isChangesRequested": false
} |
|
🔔 @alloy @huhuanming @iRoachie @timwangdev @kamal @alexdunne @swissmanu @bm-software @a-tarasyuk @mvdam @Esemesek @mrnickel @souvik-ghosh @nossbigg @saranshkataria @franzmoro @tykus160 @jakebloom @ceyhun @mcmar @theohdv @TheSavior @romain-faust @bebebebebe @Naturalclar @chinesedfan @vtolochk @SychevSP @RageBill @sasurau4 @256hz @doumart @drmas @akrger @jeremybarbet @ca057 @ds300 @natsathorn @connectdotz @thewirv @alexeymolchan @alexbrazier — please review this PR in the next few days. Be sure to explicitly select |
|
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
|
@ca057 Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
|
@amerllica Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day! |
# Conflicts: # types/react-native/test/index.tsx
|
Thanks! |
|
I just published |
Please fill in this template.
npm test YOUR_PACKAGE_NAME.)npm run lint package-name(ortscif notslint.jsonis present).Select one of these and delete the others:
If changing an existing definition:
My explanation:
Actually, the
swapLeftAndRightInRTLis function insidereact-nativelibrary and it is useful for RTL languages, this function is existed in this link but doesn't exist inside the@types/react-native. So I decided to add it.