mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
move @ReactMethod to the codegen'ed class so impl class don't need it anymore
Reviewed By: javache Differential Revision: D5074121 fbshipit-source-id: 1b23a5d26ffe27c5093677ae7ecca424b232c8aa
This commit is contained in:
committed by
Facebook Github Bot
parent
0040b02469
commit
3d3f74dc72
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
|
||||
/**
|
||||
* An interface to be implemented by react modules that extends from the
|
||||
* generated spec class.
|
||||
* This is experimental.
|
||||
*/
|
||||
@DoNotStrip
|
||||
public interface ReactModuleWithSpec {
|
||||
}
|
||||
Reference in New Issue
Block a user