-
-
Notifications
You must be signed in to change notification settings - Fork 944
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { Texts } from '.'; | ||
import { allOf } from './utils'; | ||
|
||
/** | ||
* The possible definitions related to lorem texts. | ||
*/ | ||
export interface LoremDefinitions { | ||
words: Texts; | ||
} | ||
|
||
/** | ||
* Internal: A list of all keys for the LoremDefinitions. | ||
*/ | ||
export const lorem = allOf<keyof LoremDefinitions>()('words'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import type { LoremDefinitions } from '../../../definitions'; | ||
import supplemental from './supplemental'; | ||
import words from './words'; | ||
|
||
const lorem: any = { | ||
const lorem = { | ||
supplemental, | ||
words, | ||
}; | ||
} as LoremDefinitions; | ||
|
||
export default lorem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters