the-forest/client/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXExpressionContainerMock.js

16 lines
295 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
/**
* @flow
*/
export type JSXExpressionContainerMockType = {
type: 'JSXExpressionContainer',
expression: mixed,
}
export default function JSXExpressionContainerMock(exp: mixed): JSXExpressionContainerMockType {
return {
type: 'JSXExpressionContainer',
expression: exp,
};
}