securityos/node_modules/eslint-plugin-jsx-a11y/__mocks__/IdentifierMock.js

16 lines
232 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
/**
* @flow
*/
export type IdentifierMockType = {|
type: 'Identifier',
name: string,
|};
export default function IdentifierMock(ident: string): IdentifierMockType {
return {
type: 'Identifier',
name: ident,
};
}