9 lines
192 B
TypeScript
9 lines
192 B
TypeScript
export type Variant = {
|
|
weight: number;
|
|
style: string;
|
|
};
|
|
export interface Spec {
|
|
font: string;
|
|
variants: Variant[];
|
|
}
|
|
export declare function parse_spec(input: string): Spec;
|