the-forest/client/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXExpressionContainerMock.js
2024-09-17 20:35:18 -04:00

16 lines
295 B
JavaScript

/**
* @flow
*/
export type JSXExpressionContainerMockType = {
type: 'JSXExpressionContainer',
expression: mixed,
}
export default function JSXExpressionContainerMock(exp: mixed): JSXExpressionContainerMockType {
return {
type: 'JSXExpressionContainer',
expression: exp,
};
}