Skip to Content
Mika Scraper 1.1.1 is released ๐ŸŽ‰
๐Ÿฉ MIKA TYPE ALIASType Alias: poemLanguages

Type Alias: poemLanguages

poemLanguages = readonly ["English", "Japanese", "Indonesian"]

Defined in: src/poem/poem-generator.ts:20

Description

The poemLanguages type alias defines a readonly array of supported output languages for poem generation. This ensures the integrity of the language options utilized within the system, allowing only the specified languages to be used for creating poems.

Usage

This type is primarily used to specify the available languages when generating poems, thereby enforcing type safety and limiting the languages to a predefined set.

Parameters

  • This type does not accept any parameters as it is a type definition.

Returns

  • Returns a readonly array containing specific string literals representing the supported poem languages.

Example

const languages: poemLanguages = ["English", "Japanese", "Indonesian"];

Diagram: Mika Scraper

Last updated on