UNPKG

cra-template-pi

Version:

A quick start Create React App with many auto implemented features

18 lines (14 loc) 416 B
import { RecursiveAllValues } from '../../src/interfaces' type TFixtureFormat = `${string}.${'json' | 'txt'}` export type TAnyFixturePath = RecursiveAllValues< typeof fixtures, TFixtureFormat > export type TCarFixturePath = typeof fixtures.car[keyof typeof fixtures.car] const fixtures = { car: { // TODO(ProjectSetup): to be deleted dacia: 'car/dacia.json', }, } as const export default fixtures