typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
17 lines (14 loc) • 737 B
TypeScript
/// <reference path="../../../globals.d.ts" />
declare module goog.locale.genericFontNames {
/**
* Gets the list of fonts and their generic names for the given locale.
* @param {string} locale The locale for which font lists and font family names
* to be produced. The expected locale id is as described in
* http://wiki/Main/IIISynonyms in all lowercase for easy matching.
* Smallest possible id is expected.
* Examples: 'zh', 'zh-tw', 'iw' instead of 'zh-CN', 'zh-Hant-TW', 'he'.
* @return {Array.<Object>} List of objects with generic name as 'caption' and
* corresponding font name lists as 'value' property.
*/
function getList(locale: string): Object[];
}