mirror of
https://github.com/sern-handler/website
synced 2026-06-26 17:52:22 +00:00
14 lines
416 B
TypeScript
14 lines
416 B
TypeScript
/**
|
|
* @typedef {Partial<import('./parse.js').Schema>} Schema
|
|
* @typedef {Partial<import('./parse.js').Extension>} Extension
|
|
*/
|
|
/**
|
|
* Compile a language schema to a BCP 47 language tag.
|
|
*
|
|
* @param {Schema} schema
|
|
* @returns {string}
|
|
*/
|
|
export function stringify(schema?: Schema): string
|
|
export type Schema = Partial<import('./parse.js').Schema>
|
|
export type Extension = Partial<import('./parse.js').Extension>
|