@types/i18next-ko
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

Installation

npm install --save @types/i18next-ko

Summary

This package contains type definitions for i18next-ko (https://github.com/leMaik/i18next-ko).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next-ko.

index.d.ts

/// <reference types="knockout"/>

import * as i18next from "i18next";

export const i18n: i18next.i18n;

export function init(resourceStore: i18nextkoResourceStore, language: string, ko: KnockoutStatic): void;

export function setLanguage(language: string): void;

export function t(key: string): KnockoutComputed<string>;

export interface i18nextkoResourceStore {
    [language: string]: {
        translation: {
            [key: string]: string;
        };
    };
}

Additional Details

Credits

These definitions were written by Daniel Waxweiler.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/i18next-ko

Weekly Downloads

14

Version

3.0.4

License

MIT

Unpacked Size

3.67 kB

Total Files

5

Last publish

Collaborators

  • types