Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "i18"

This file is part of the @egodigital/types distribution. Copyright (c) e.GO Digital GmbH, Aachen, Germany (https://www.e-go-digital.com/)

egodigital/types

is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3.

egodigital/types

is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Index

Type aliases

Type aliases

FormattedTranslator

FormattedTranslator: (key: any, ...args: any[]) => string

Describes a simple translator function, with support for formatted strings.

param

The key.

param

A list of arguments for a formatted string.

returns

The translation string.

Type declaration

    • (key: any, ...args: any[]): string
    • Parameters

      • key: any
      • Rest ...args: any[]

      Returns string

Generated using TypeDoc