aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/lorem.ts
blob: eb548e46fd4873213d2f9fbd1d16a1d4adacdf61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { allOf } from './utils';

/**
 * The possible definitions related to lorem texts.
 */
export interface LoremDefinitions {
  /**
   * Lorem words used to generate dummy texts.
   */
  words: string[];
}

/**
 * Internal: A list of all keys for the LoremDefinitions.
 */
export const LOREM = allOf<keyof LoremDefinitions>()('words');