vue-intlayer
Version:
Easily internationalize i18n your Vue applications with type-safe multilingual content management.
14 lines • 524 B
TypeScript
import { VNode, VNodeChild } from 'vue';
export type IntlayerNode<T = string> = {
raw: T;
render: () => VNode;
toString: () => T;
value: T;
__update: (next: IntlayerNode<T>) => void;
};
export declare const renderIntlayerNode: <T extends string | number | boolean | null | undefined>({ value, children, additionalProps, }: {
value: T;
children: VNodeChild | (() => VNodeChild);
additionalProps?: Record<string, unknown>;
}) => IntlayerNode<T>;
//# sourceMappingURL=renderIntlayerNode.d.ts.map