Skip to content

Commit 39eb6d1

Browse files
authored
Rename (#20134)
1 parent ffd8423 commit 39eb6d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-transport-dom-relay/src/__mocks__/JSResourceReference.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class JSResourceReference {
1111
constructor(exportedValue) {
1212
this._moduleId = exportedValue;
1313
}
14-
getModuleID() {
14+
getModuleId() {
1515
return this._moduleId;
1616
}
1717
}

packages/shared/isValidElementType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function isValidElementType(type: mixed) {
6464
// we don't know which Flight build this will end up being used
6565
// with.
6666
type.$$typeof === REACT_MODULE_REFERENCE ||
67-
type.getModuleID !== undefined ||
67+
type.getModuleId !== undefined ||
6868
type.$$typeof === REACT_BLOCK_TYPE ||
6969
type[(0: any)] === REACT_SERVER_BLOCK_TYPE
7070
) {

0 commit comments

Comments
 (0)