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

16 lines
232 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
/**
* @flow
*/
export type IdentifierMockType = {|
type: 'Identifier',
name: string,
|};
export default function IdentifierMock(ident: string): IdentifierMockType {
return {
type: 'Identifier',
name: ident,
};
}