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

18 lines
243 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
/**
* @flow
*/
export type LiteralMockType = {|
type: 'Literal',
value: string,
raw: string,
|};
export default function LiteralMock(value: string): LiteralMockType {
return {
type: 'Literal',
value,
raw: value,
};
}