Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/eslint-plugin-react-native/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,6 @@ const publicAPIMapping = {
default: null,
types: [
'HostInstance',
'NativeMethods',
'NativeMethodsMixin',
'MeasureInWindowOnSuccessCallback',
'MeasureLayoutOnSuccessCallback',
'MeasureOnSuccessCallback',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import typeof Platform from '../Utilities/Platform';
export type {
HostInstance as PublicInstance,
// These types are only necessary for Paper
NativeMethods as LegacyPublicInstance,
MeasureOnSuccessCallback,
MeasureInWindowOnSuccessCallback,
MeasureLayoutOnSuccessCallback,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export type {
HostInstance as PublicInstance,

// These types are only necessary for Paper
NativeMethods as LegacyPublicInstance,
MeasureOnSuccessCallback,
MeasureInWindowOnSuccessCallback,
MeasureLayoutOnSuccessCallback,
Expand Down
2 changes: 0 additions & 2 deletions packages/react-native/index.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ export type * from './Libraries/Types/CodegenTypesNamespace';

export type {
HostInstance,
NativeMethods,
NativeMethodsMixin,
MeasureInWindowOnSuccessCallback,
MeasureLayoutOnSuccessCallback,
MeasureOnSuccessCallback,
Expand Down
8 changes: 0 additions & 8 deletions packages/react-native/src/private/types/HostInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,3 @@ export interface LegacyHostInstanceMethods {
}

export type HostInstance = ReactNativeElement;

/** @deprecated Use HostInstance instead */
export type NativeMethods = LegacyHostInstanceMethods;

/**
* @deprecated Use HostInstance instead.
*/
export type NativeMethodsMixin = LegacyHostInstanceMethods;
9 changes: 0 additions & 9 deletions packages/react-native/types/public/ReactNativeTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,6 @@ export interface NativeMethods {
blur(): void;
}

/**
* @deprecated Use NativeMethods instead.
*/
export type NativeMethodsMixin = NativeMethods;
/**
* @deprecated Use NativeMethods instead.
*/
export type NativeMethodsMixinType = NativeMethods;

/**
* Represents a native component, such as those returned from `requireNativeComponent`.
*
Expand Down
Loading