intl-watcher
Version:
Automated translation key extraction and dictionary management plugin for Next.js
11 lines (8 loc) • 364 B
TypeScript
import { Node } from 'ts-morph';
declare const Severity: {
readonly Error: "Error";
readonly Warn: "Warn";
};
type Severity = (typeof Severity)[keyof typeof Severity];
declare function printDiagnostic(targetNode: Node, contextNode: Node, severity: Severity, detailedMessage: string, ...suggestions: string[]): void;
export { Severity, printDiagnostic };