From ce9a7002c7fda27965b50e0b1af3ecef540a90e5 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Sun, 5 Apr 2020 10:43:01 +0200 Subject: [PATCH] feat: add `filenames` to component and proptype nodes (#9) --- src/parser.ts | 37 +- src/types/nodes/component.ts | 8 +- src/types/nodes/proptype.ts | 5 +- test/index.test.ts | 13 +- .../should-include-filename-based/input.tsx | 20 + .../should-include-filename-based/options.ts | 19 + .../should-include-filename-based/output.js | 24 + .../should-include-filename-based/output.json | 2566 +++++++++++++++++ 8 files changed, 2680 insertions(+), 12 deletions(-) create mode 100644 test/injector/should-include-filename-based/input.tsx create mode 100644 test/injector/should-include-filename-based/options.ts create mode 100644 test/injector/should-include-filename-based/output.js create mode 100644 test/injector/should-include-filename-based/output.json diff --git a/src/parser.ts b/src/parser.ts index afe22c2d4de579..e41330eb2812f9 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -165,7 +165,11 @@ export function parseFromProgram( type.aliasTypeArguments && checker.getFullyQualifiedName(type.aliasSymbol) === 'React.ComponentType' ) { - parsePropsType(variableNode.name.getText(), type.aliasTypeArguments[0]); + parsePropsType( + variableNode.name.getText(), + type.aliasTypeArguments[0], + node.getSourceFile() + ); } } else if ( (ts.isArrowFunction(variableNode.initializer) || @@ -190,7 +194,8 @@ export function parseFromProgram( if (symbol) { parsePropsType( variableNode.name.getText(), - checker.getTypeOfSymbolAtLocation(symbol, symbol.valueDeclaration) + checker.getTypeOfSymbolAtLocation(symbol, symbol.valueDeclaration), + node.getSourceFile() ); } } @@ -210,7 +215,11 @@ export function parseFromProgram( if (!arg.typeArguments) return; if (reactImports.includes(arg.expression.getText())) { - parsePropsType(node.name.getText(), checker.getTypeAtLocation(arg.typeArguments[0])); + parsePropsType( + node.name.getText(), + checker.getTypeAtLocation(arg.typeArguments[0]), + node.getSourceFile() + ); } } } @@ -251,10 +260,10 @@ export function parseFromProgram( signature.parameters[0].valueDeclaration ); - parsePropsType(node.name.getText(), type); + parsePropsType(node.name.getText(), type, node.getSourceFile()); } - function parsePropsType(name: string, type: ts.Type) { + function parsePropsType(name: string, type: ts.Type, sourceFile: ts.SourceFile | undefined) { const properties = type .getProperties() .filter((symbol) => shouldInclude({ name: symbol.getName(), depth: 1 })); @@ -262,10 +271,13 @@ export function parseFromProgram( return; } + const propsFilename = sourceFile !== undefined ? sourceFile.fileName : undefined; + programNode.body.push( t.componentNode( name, - properties.map((x) => checkSymbol(x, [(type as any).id])) + properties.map((x) => checkSymbol(x, [(type as any).id])), + propsFilename ) ); } @@ -274,6 +286,8 @@ export function parseFromProgram( const declarations = symbol.getDeclarations(); const declaration = declarations && declarations[0]; + const symbolFilenames = getSymbolFileNames(symbol); + // TypeChecker keeps the name for // { a: React.ElementType, b: React.ReactElement | boolean } // but not @@ -298,7 +312,8 @@ export function parseFromProgram( return t.propTypeNode( symbol.getName(), getDocumentation(symbol), - declaration.questionToken ? t.unionNode([t.undefinedNode(), elementNode]) : elementNode + declaration.questionToken ? t.unionNode([t.undefinedNode(), elementNode]) : elementNode, + symbolFilenames ); } } @@ -330,7 +345,7 @@ export function parseFromProgram( parsedType = checkType(type, typeStack, symbol.getName()); } - return t.propTypeNode(symbol.getName(), getDocumentation(symbol), parsedType); + return t.propTypeNode(symbol.getName(), getDocumentation(symbol), parsedType, symbolFilenames); } function checkType(type: ts.Type, typeStack: number[], name: string): t.Node { @@ -468,4 +483,10 @@ export function parseFromProgram( const comment = ts.displayPartsToString(symbol.getDocumentationComment(checker)); return comment ? comment : undefined; } + + function getSymbolFileNames(symbol: ts.Symbol): Set { + const declarations = symbol.getDeclarations() || []; + + return new Set(declarations.map((declaration) => declaration.getSourceFile().fileName)); + } } diff --git a/src/types/nodes/component.ts b/src/types/nodes/component.ts index e5bfa0987df41d..479f8afd3c1706 100644 --- a/src/types/nodes/component.ts +++ b/src/types/nodes/component.ts @@ -5,13 +5,19 @@ const typeString = 'ComponentNode'; export interface ComponentNode extends DefinitionHolder { name: string; + propsFilename?: string; } -export function componentNode(name: string, types?: PropTypeNode[]): ComponentNode { +export function componentNode( + name: string, + types: PropTypeNode[], + propsFilename: string | undefined +): ComponentNode { return { type: typeString, name: name, types: types || [], + propsFilename, }; } diff --git a/src/types/nodes/proptype.ts b/src/types/nodes/proptype.ts index c8d74a771fe373..3c11b09c950d7d 100644 --- a/src/types/nodes/proptype.ts +++ b/src/types/nodes/proptype.ts @@ -6,18 +6,21 @@ export interface PropTypeNode extends Node { name: string; jsDoc?: string; propType: Node; + filenames: Set; } export function propTypeNode( name: string, jsDoc: string | undefined, - propType: Node + propType: Node, + filenames: Set ): PropTypeNode { return { type: typeString, name, jsDoc, propType, + filenames, }; } diff --git a/test/index.test.ts b/test/index.test.ts index 9a644b69dbb49f..b1822efdbd7e62 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -30,12 +30,21 @@ for (const testCase of testCases) { const ast = ttp.parseFromProgram(testCase, program, options.parser); //#region Check AST matches + // propsFilename will be different depending on where the project is on disk + // Manually check that it's correct and then delete it + const newAST = ttp.programNode( + ast.body.map((component) => { + expect(component.propsFilename).toBe(testCase); + return { ...component, propsFilename: undefined }; + }) + ); + if (fs.existsSync(astPath)) { - expect(ast).toMatchObject(JSON.parse(fs.readFileSync(astPath, 'utf8'))); + expect(newAST).toMatchObject(JSON.parse(fs.readFileSync(astPath, 'utf8'))); } else { fs.writeFileSync( astPath, - prettier.format(JSON.stringify(ast), { + prettier.format(JSON.stringify(newAST), { ...prettierConfig, filepath: astPath, }) diff --git a/test/injector/should-include-filename-based/input.tsx b/test/injector/should-include-filename-based/input.tsx new file mode 100644 index 00000000000000..628f1d55d1d854 --- /dev/null +++ b/test/injector/should-include-filename-based/input.tsx @@ -0,0 +1,20 @@ +import * as React from 'react'; + +// it's technically not correct since this descripts props the component +// sees not just the one available to the user. We're abusing this to provide +// some concrete documentation for `key` regarding this component +export interface SnackBarProps extends React.HTMLAttributes { + /** + * some hints about state reset that relates to prop of this component + */ + key?: any; +} + +export function Snackbar(props: SnackBarProps) { + return
; +} + +// here we don't care about `key` +export function SomeOtherComponent(props: { children?: React.ReactNode }) { + return
{props.children}
; +} diff --git a/test/injector/should-include-filename-based/options.ts b/test/injector/should-include-filename-based/options.ts new file mode 100644 index 00000000000000..02899675b6bc62 --- /dev/null +++ b/test/injector/should-include-filename-based/options.ts @@ -0,0 +1,19 @@ +import * as path from 'path'; +import { TestOptions } from '../../types'; + +const options: TestOptions = { + injector: { + includeUnusedProps: true, + shouldInclude: ({ prop }) => { + let isLocallyTyped = false; + prop.filenames.forEach((filename) => { + if (!path.relative(__dirname, filename).startsWith('..')) { + isLocallyTyped = true; + } + }); + return isLocallyTyped; + }, + }, +}; + +export default options; diff --git a/test/injector/should-include-filename-based/output.js b/test/injector/should-include-filename-based/output.js new file mode 100644 index 00000000000000..30863cd1af15c4 --- /dev/null +++ b/test/injector/should-include-filename-based/output.js @@ -0,0 +1,24 @@ +import * as React from 'react'; +import PropTypes from 'prop-types'; +function Snackbar(props) { + return
; +} +// here we don't care about `key` + +Snackbar.propTypes = { + /** + * some hints about state reset that relates to prop of this component + */ + key: PropTypes.any, +}; + +export { Snackbar }; +function SomeOtherComponent(props) { + return
{props.children}
; +} + +SomeOtherComponent.propTypes = { + children: PropTypes.node, +}; + +export { SomeOtherComponent }; diff --git a/test/injector/should-include-filename-based/output.json b/test/injector/should-include-filename-based/output.json new file mode 100644 index 00000000000000..bec47bd13276a5 --- /dev/null +++ b/test/injector/should-include-filename-based/output.json @@ -0,0 +1,2566 @@ +{ + "type": "ProgramNode", + "body": [ + { + "type": "ComponentNode", + "name": "Snackbar", + "types": [ + { + "type": "PropTypeNode", + "name": "key", + "jsDoc": "some hints about state reset that relates to prop of this component", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "AnyNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "defaultChecked", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "defaultValue", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "StringNode" }, + { "type": "ArrayNode", "arrayType": { "type": "StringNode" } } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "suppressContentEditableWarning", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "suppressHydrationWarning", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "accessKey", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "className", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "contentEditable", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "contextMenu", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "dir", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "draggable", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "hidden", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "id", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "lang", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "placeholder", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "slot", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "spellCheck", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "style", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "ObjectNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "tabIndex", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "title", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "inputMode", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "is", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "radioGroup", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "role", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "about", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "datatype", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "inlist", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "AnyNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "prefix", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "property", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "resource", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "typeof", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "vocab", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "autoCapitalize", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "autoCorrect", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "autoSave", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "color", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "itemProp", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "itemScope", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "itemType", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "itemID", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "itemRef", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "results", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "security", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "unselectable", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"on\"" }, + { "type": "LiteralNode", "value": "\"off\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-activedescendant", + "jsDoc": "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-atomic", + "jsDoc": "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-autocomplete", + "jsDoc": "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"none\"" }, + { "type": "LiteralNode", "value": "\"inline\"" }, + { "type": "LiteralNode", "value": "\"list\"" }, + { "type": "LiteralNode", "value": "\"both\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-busy", + "jsDoc": "Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-checked", + "jsDoc": "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed @see aria-selected.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" }, + { "type": "LiteralNode", "value": "\"mixed\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-colcount", + "jsDoc": "Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-colindex", + "jsDoc": "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.\n@see aria-colcount @see aria-colspan.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-colspan", + "jsDoc": "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex @see aria-rowspan.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-controls", + "jsDoc": "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-current", + "jsDoc": "Indicates the element that represents the current item within a container or set of related elements.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" }, + { "type": "LiteralNode", "value": "\"page\"" }, + { "type": "LiteralNode", "value": "\"step\"" }, + { "type": "LiteralNode", "value": "\"location\"" }, + { "type": "LiteralNode", "value": "\"date\"" }, + { "type": "LiteralNode", "value": "\"time\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-describedby", + "jsDoc": "Identifies the element (or elements) that describes the object.\n@see aria-labelledby", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-details", + "jsDoc": "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-disabled", + "jsDoc": "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden @see aria-readonly.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-dropeffect", + "jsDoc": "Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"none\"" }, + { "type": "LiteralNode", "value": "\"copy\"" }, + { "type": "LiteralNode", "value": "\"execute\"" }, + { "type": "LiteralNode", "value": "\"link\"" }, + { "type": "LiteralNode", "value": "\"move\"" }, + { "type": "LiteralNode", "value": "\"popup\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-errormessage", + "jsDoc": "Identifies the element that provides an error message for the object.\n@see aria-invalid @see aria-describedby.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-expanded", + "jsDoc": "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-flowto", + "jsDoc": "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-grabbed", + "jsDoc": "Indicates an element's \"grabbed\" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-haspopup", + "jsDoc": "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" }, + { "type": "LiteralNode", "value": "\"menu\"" }, + { "type": "LiteralNode", "value": "\"listbox\"" }, + { "type": "LiteralNode", "value": "\"tree\"" }, + { "type": "LiteralNode", "value": "\"grid\"" }, + { "type": "LiteralNode", "value": "\"dialog\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-hidden", + "jsDoc": "Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-invalid", + "jsDoc": "Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" }, + { "type": "LiteralNode", "value": "\"grammar\"" }, + { "type": "LiteralNode", "value": "\"spelling\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-keyshortcuts", + "jsDoc": "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-label", + "jsDoc": "Defines a string value that labels the current element.\n@see aria-labelledby.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-labelledby", + "jsDoc": "Identifies the element (or elements) that labels the current element.\n@see aria-describedby.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-level", + "jsDoc": "Defines the hierarchical level of an element within a structure.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-live", + "jsDoc": "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"off\"" }, + { "type": "LiteralNode", "value": "\"assertive\"" }, + { "type": "LiteralNode", "value": "\"polite\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-modal", + "jsDoc": "Indicates whether an element is modal when displayed.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-multiline", + "jsDoc": "Indicates whether a text box accepts multiple lines of input or only a single line.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-multiselectable", + "jsDoc": "Indicates that the user may select more than one item from the current selectable descendants.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-orientation", + "jsDoc": "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"horizontal\"" }, + { "type": "LiteralNode", "value": "\"vertical\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-owns", + "jsDoc": "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.\n@see aria-controls.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-placeholder", + "jsDoc": "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-posinset", + "jsDoc": "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-setsize.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-pressed", + "jsDoc": "Indicates the current \"pressed\" state of toggle buttons.\n@see aria-checked @see aria-selected.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" }, + { "type": "LiteralNode", "value": "\"mixed\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-readonly", + "jsDoc": "Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-relevant", + "jsDoc": "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"additions\"" }, + { "type": "LiteralNode", "value": "\"additions text\"" }, + { "type": "LiteralNode", "value": "\"all\"" }, + { "type": "LiteralNode", "value": "\"removals\"" }, + { "type": "LiteralNode", "value": "\"text\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-required", + "jsDoc": "Indicates that user input is required on the element before a form may be submitted.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-roledescription", + "jsDoc": "Defines a human-readable, author-localized description for the role of an element.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-rowcount", + "jsDoc": "Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-rowindex", + "jsDoc": "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.\n@see aria-rowcount @see aria-rowspan.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-rowspan", + "jsDoc": "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex @see aria-colspan.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-selected", + "jsDoc": "Indicates the current \"selected\" state of various widgets.\n@see aria-checked @see aria-pressed.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "false" }, + { "type": "LiteralNode", "value": "true" }, + { "type": "LiteralNode", "value": "\"false\"" }, + { "type": "LiteralNode", "value": "\"true\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-setsize", + "jsDoc": "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-posinset.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-sort", + "jsDoc": "Indicates if items in a table or grid are sorted in ascending or descending order.", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { "type": "LiteralNode", "value": "\"none\"" }, + { "type": "LiteralNode", "value": "\"ascending\"" }, + { "type": "LiteralNode", "value": "\"descending\"" }, + { "type": "LiteralNode", "value": "\"other\"" } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-valuemax", + "jsDoc": "Defines the maximum allowed value for a range widget.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-valuemin", + "jsDoc": "Defines the minimum allowed value for a range widget.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-valuenow", + "jsDoc": "Defines the current value for a range widget.\n@see aria-valuetext.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "NumericNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "aria-valuetext", + "jsDoc": "Defines the human readable text alternative of aria-valuenow for a range widget.", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "StringNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "children", + "propType": { + "type": "UnionNode", + "types": [{ "type": "ElementNode", "elementType": "node" }, { "type": "UndefinedNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "dangerouslySetInnerHTML", + "propType": { + "type": "UnionNode", + "types": [ + { "type": "UndefinedNode" }, + { + "type": "InterfaceNode", + "types": [ + { + "type": "PropTypeNode", + "name": "__html", + "propType": { "type": "StringNode" }, + "filenames": {} + } + ] + } + ] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCopy", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCopyCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCut", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCutCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPaste", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPasteCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCompositionEnd", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCompositionEndCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCompositionStart", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCompositionStartCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCompositionUpdate", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCompositionUpdateCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onFocus", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onFocusCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onBlur", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onBlurCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onChange", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onChangeCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onBeforeInput", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onBeforeInputCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onInput", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onInputCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onReset", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onResetCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSubmit", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSubmitCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onInvalid", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onInvalidCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoad", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onError", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onErrorCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onKeyDown", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onKeyDownCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onKeyPress", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onKeyPressCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onKeyUp", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onKeyUpCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAbort", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAbortCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCanPlay", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCanPlayCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCanPlayThrough", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onCanPlayThroughCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDurationChange", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDurationChangeCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onEmptied", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onEmptiedCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onEncrypted", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onEncryptedCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onEnded", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onEndedCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadedData", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadedDataCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadedMetadata", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadedMetadataCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadStart", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLoadStartCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPause", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPauseCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPlay", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPlayCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPlaying", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPlayingCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onProgress", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onProgressCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onRateChange", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onRateChangeCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSeeked", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSeekedCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSeeking", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSeekingCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onStalled", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onStalledCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSuspend", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSuspendCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTimeUpdate", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTimeUpdateCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onVolumeChange", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onVolumeChangeCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onWaiting", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onWaitingCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAuxClick", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAuxClickCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onClick", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onClickCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onContextMenu", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onContextMenuCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDoubleClick", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDoubleClickCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDrag", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragEnd", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragEndCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragEnter", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragEnterCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragExit", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragExitCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragLeave", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragLeaveCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragOver", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragOverCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragStart", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDragStartCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDrop", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onDropCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseDown", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseDownCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseEnter", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseLeave", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseMove", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseMoveCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseOut", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseOutCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseOver", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseOverCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseUp", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onMouseUpCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSelect", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onSelectCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchCancel", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchCancelCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchEnd", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchEndCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchMove", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchMoveCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchStart", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTouchStartCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerDown", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerDownCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerMove", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerMoveCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerUp", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerUpCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerCancel", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerCancelCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerEnter", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerEnterCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerLeave", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerLeaveCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerOver", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerOverCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerOut", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onPointerOutCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onGotPointerCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onGotPointerCaptureCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLostPointerCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onLostPointerCaptureCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onScroll", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onScrollCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onWheel", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onWheelCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAnimationStart", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAnimationStartCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAnimationEnd", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAnimationEndCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAnimationIteration", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onAnimationIterationCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTransitionEnd", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + }, + { + "type": "PropTypeNode", + "name": "onTransitionEndCapture", + "propType": { + "type": "UnionNode", + "types": [{ "type": "UndefinedNode" }, { "type": "FunctionNode" }] + }, + "filenames": {} + } + ] + }, + { + "type": "ComponentNode", + "name": "SomeOtherComponent", + "types": [ + { + "type": "PropTypeNode", + "name": "children", + "propType": { + "type": "UnionNode", + "types": [{ "type": "ElementNode", "elementType": "node" }, { "type": "UndefinedNode" }] + }, + "filenames": {} + } + ] + } + ] +}