UNPKG

@inlang/paraglide-js

Version:

[![NPM Downloads](https://img.shields.io/npm/dw/%40inlang%2Fparaglide-js?logo=npm&logoColor=red&label=npm%20downloads)](https://www.npmjs.com/package/@inlang/paraglide-js) [![GitHub Issues](https://img.shields.io/github/issues-closed/opral/paraglide-js?lo

13 lines 611 B
import type { FunctionReference } from "@inlang/sdk"; export declare function isRegistryFunction(name: string): boolean; export declare function registryFunctionNamesForDisplay(): string; /** * Wraps a compiled expression value in a `registry.*` call if an * annotation is present. * * @example * compileAnnotation("i?.count", "en", { type: "function-reference", name: "number", options: [] }) * >> 'registry.number("en", i?.count, {})' */ export declare function compileAnnotation(str: string, locale: string, annotation?: FunctionReference): string; //# sourceMappingURL=compile-annotation.d.ts.map