Skip to main content

KeyedLayerText

A host-defined translation key and its source text for a layer template.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { KeyedLayerText } from "@mapcairn/core";

interface KeyedLayerText

Properties​

key​

readonly key: string;

The key the text is looked up by.

text​

readonly text: string;

The text, as the layer's definition wrote it.

Source: packages/core/src/layers/template.ts:36