blob: 14942c40a8857f50b4d4ccda099f6331a000b770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/**
* @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>
|