(value: unknown)
| 15 | type StoryModule = { title?: string; [name: string]: unknown }; |
| 16 | |
| 17 | const isStory = (value: unknown): value is StoredStory => |
| 18 | typeof value === "object" && |
| 19 | value !== null && |
| 20 | typeof (value as StoredStory).render === "function"; |
| 21 | |
| 22 | /** |
| 23 | * Discover every story once, for both the dev harness and the smoke test -- |