hermes-transform 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,7 +62,7 @@ export const asDetachedNode: {
62
62
  // used by the node type function codegen
63
63
  export function detachedProps<T: BaseNode>(
64
64
  parent: ?ESNode,
65
- props: $ReadOnly<$Partial<{...}>>,
65
+ props: $ReadOnly<Partial<{...}>>,
66
66
  config: DetachConfig = {},
67
67
  ): DetachedNode<T> {
68
68
  // $FlowExpectedError[incompatible-type]
@@ -129,7 +129,7 @@ export function detachedProps<T: BaseNode>(
129
129
  */
130
130
  export function shallowCloneNode<T: ESNode>(
131
131
  node: T,
132
- newProps: $ReadOnly<$Partial<{...}>>,
132
+ newProps: $ReadOnly<Partial<{...}>>,
133
133
  config?: DetachConfig = {},
134
134
  ): DetachedNode<T> {
135
135
  return detachedProps(
@@ -148,7 +148,7 @@ export function shallowCloneNode<T: ESNode>(
148
148
  */
149
149
  export function deepCloneNode<T: ESNode>(
150
150
  node: T,
151
- newProps: $ReadOnly<$Partial<{...}>>,
151
+ newProps: $ReadOnly<Partial<{...}>>,
152
152
  ): DetachedNode<T> {
153
153
  const clone: DetachedNode<T> = Object.assign(
154
154
  JSON.parse(