@gobstones/gobstones-scripts
Version:
Scripts to abstract away build configuration of Gobstones Project's libraries and modules.
38 lines (33 loc) • 1.15 kB
TypeScript
/*
* *****************************************************************************
* Copyright (C) National University of Quilmes 2018-2024
* Gobstones (TM) is a trademark of the National University of Quilmes.
*
* This program is free software distributed under the terms of the
* GNU Affero General Public License version 3.
* Additional terms added in compliance to section 7 of such license apply.
*
* You may read the full license at https://gobstones.github.io/gobstones-guidelines/LICENSE.
* *****************************************************************************
*/
/**
* ----------------------------------------------------
* @module tstypesdefs
* @author Alan Rodas Bonjour <alanrodas@gmail.com>
*
* @ignore
* ----------------------------------------------------
*/
// import the original type declarations
import 'i18next';
// import all namespaces (for the default language, only)
import type cli from '../@i18n/en/cli.json';
declare module 'i18next' {
// Extend CustomTypeOptions
interface CustomTypeOptions {
defaultNS: 'cli';
resources: {
cli: typeof cli;
};
}
}