mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
This removes the need for having a specific ordering of side-effecty imports in `common.js`. `common/` should now be self-contained as a whole. Bug:1006759 Change-Id: I895ad13ce27a01228e9963c317a7b582f4386619 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1899516 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
41 lines
863 B
JavaScript
41 lines
863 B
JavaScript
// Copyright 2019 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
/**
|
|
* @interface
|
|
*/
|
|
export class JavaScriptMetaData {
|
|
/**
|
|
* @param {string} name
|
|
* @return {?Array<!Array<string>>}
|
|
*/
|
|
signaturesForNativeFunction(name) {
|
|
}
|
|
|
|
/**
|
|
* @param {string} name
|
|
* @param {string} receiverClassName
|
|
* @return {?Array<!Array<string>>}
|
|
*/
|
|
signaturesForInstanceMethod(name, receiverClassName) {
|
|
}
|
|
|
|
/**
|
|
* @param {string} name
|
|
* @param {string} receiverConstructorName
|
|
* @return {?Array<!Array<string>>}
|
|
*/
|
|
signaturesForStaticMethod(name, receiverConstructorName) {
|
|
}
|
|
}
|
|
|
|
/* Legacy exported object */
|
|
self.Common = self.Common || {};
|
|
Common = Common || {};
|
|
|
|
/**
|
|
* @interface
|
|
*/
|
|
Common.JavaScriptMetadata = JavaScriptMetaData;
|