source:
frontend/node_modules/eslint-plugin-jsx-a11y/__mocks__/IdentifierMock.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 232 bytes | |
| Line | |
|---|---|
| 1 | /** |
| 2 | * @flow |
| 3 | */ |
| 4 | |
| 5 | export type IdentifierMockType = {| |
| 6 | type: 'Identifier', |
| 7 | name: string, |
| 8 | |}; |
| 9 | |
| 10 | export default function IdentifierMock(ident: string): IdentifierMockType { |
| 11 | return { |
| 12 | type: 'Identifier', |
| 13 | name: ident, |
| 14 | }; |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
