UNPKG

eslint-config-lemon

Version:

<div align="center"> <br> <img width="400" src="logo.svg"> <br> <br> </div>

19 lines (15 loc) 424 B
/** * @flow */ import IdentifierMock from './IdentifierMock'; import type { IdentifierMockType } from './IdentifierMock'; export type JSXSpreadAttributeMockType = { type: 'JSXSpreadAttribute', argument: IdentifierMockType, }; export default function JSXSpreadAttributeMock(identifier: string): JSXSpreadAttributeMockType { return { type: 'JSXSpreadAttribute', argument: IdentifierMock(identifier), }; }