github-pages-deploy-action/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXSpreadAttributeMock.js

13 lines
227 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
/**
* @flow
*/
import IdentifierMock from './IdentifierMock';
export default function JSXSpreadAttributeMock(identifier: string) {
return {
type: 'JSXSpreadAttribute',
argument: IdentifierMock(identifier),
};
}