LiteralMock.js 243 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 /** * @flow */ export type LiteralMockType = {| type: 'Literal', value: string, raw: string, |}; export default function LiteralMock(value: string): LiteralMockType { return { type: 'Literal', value, raw: value, }; }