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

18 lines
243 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
/**
* @flow
*/
export type LiteralMockType = {|
type: 'Literal',
value: string,
raw: string,
|};
export default function LiteralMock(value: string): LiteralMockType {
return {
type: 'Literal',
value,
raw: value,
};
}