italian-adjectives
Version:
Italian adjectives helper
11 lines (10 loc) • 538 B
TypeScript
/**
* @license
* Copyright 2019 Ludan Stoecklé
* SPDX-License-Identifier: Apache-2.0
*/
import { AdjectivesInfo, AdjectiveInfo } from 'italian-adjectives-dict';
export declare function getAdjectiveInfo(adjList: AdjectivesInfo, adjective: string): AdjectiveInfo;
export type Genders = 'M' | 'F';
export type Numbers = 'S' | 'P';
export declare function agreeItalianAdjective(adjListExceptions: AdjectivesInfo, adjList: AdjectivesInfo, adjective: string, gender: Genders, number: Numbers, noun: string, isBeforeNoun: boolean): string;