mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
This change makes it easier to run the script from directly `roll_py.deps` without having to fetch the dependencies first. This also makes it easier to track which dependencies our tooling have. Change-Id: I1ce55074ee6a1fffa6f2a2f05a56d0d74b4aca90 Bug: 1255619 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3431346 Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Johan Bay <jobay@chromium.org>
39 lines
847 B
TypeScript
39 lines
847 B
TypeScript
import { ExtendedAttributes } from "./productions/extended-attributes.js";
|
|
import { Type } from "./productions/type.js";
|
|
import { Default } from "./productions/default.js"
|
|
import { Token } from "./tokeniser.js";
|
|
|
|
declare module "./tokeniser.js" {
|
|
interface Tokeniser {
|
|
current: any;
|
|
}
|
|
}
|
|
|
|
declare module "./productions/argument.js" {
|
|
interface Argument {
|
|
idlType: Type;
|
|
default: Default | null;
|
|
}
|
|
}
|
|
|
|
declare module "./productions/attribute.js" {
|
|
interface Attribute {
|
|
idlType: Type;
|
|
default: Default | null;
|
|
}
|
|
}
|
|
|
|
declare module "./productions/base.js" {
|
|
interface Base {
|
|
tokens: Record<string, Token | undefined>;
|
|
source: Token[];
|
|
extAttrs: ExtendedAttributes | undefined;
|
|
this: this;
|
|
parent: any;
|
|
}
|
|
}
|
|
|
|
declare global {
|
|
export type ArrayItemType<T> = T extends Array<infer X> ? X : null;
|
|
}
|