mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-14 02:24:40 +08:00
This allows the data to be built and consumed in the frontend. Bug: 1325812 Change-Id: I89c336983097af0bd02609bc72b6562f1723b007 Signed-off-by: Victor Porof <victorporof@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3702683 Reviewed-by: Mathias Bynens <mathias@chromium.org>
32 lines
836 B
TypeScript
32 lines
836 B
TypeScript
// 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.
|
|
|
|
export interface DOMPinnedWebIDLProp {
|
|
global?: boolean;
|
|
specs?: number;
|
|
rules?: Array<DOMPinnedWebIDLRule>;
|
|
}
|
|
|
|
export interface DOMPinnedWebIDLType {
|
|
inheritance?: string;
|
|
includes?: Array<string>;
|
|
props?: {
|
|
[PropName: string]: DOMPinnedWebIDLProp,
|
|
};
|
|
rules?: Array<DOMPinnedWebIDLRule>;
|
|
}
|
|
|
|
export interface DOMPinnedWebIDLRule {
|
|
when: string;
|
|
is: string;
|
|
}
|
|
|
|
export interface JavaScriptMetaData {
|
|
signaturesForNativeFunction(name: string): string[][]|null;
|
|
|
|
signaturesForInstanceMethod(name: string, receiverClassName: string): string[][]|null;
|
|
|
|
signaturesForStaticMethod(name: string, receiverConstructorName: string): string[][]|null;
|
|
}
|