Outlook_Addin_LLM/node_modules/eslint-plugin-office-addins/lib/rules/no-context-sync-in-loop.d.ts

22 lines
758 B
TypeScript

import { TSESTree } from "@typescript-eslint/utils";
declare const _default: {
name: string;
meta: {
type: "suggestion" | "problem" | "layout";
messages: {
loopedSync: string;
};
docs: {
description: string;
category: "Best Practices" | "Stylistic Issues" | "Variables" | "Possible Errors";
recommended: false | "error" | "warn";
url: string;
};
schema: never[];
};
create: (context: any) => {
":matches(ForStatement, ForInStatement, WhileStatement, DoWhileStatement, ForOfStatement) CallExpression[callee.object.name='context'][callee.property.name='sync']"(node: TSESTree.CallExpression): void;
};
};
export = _default;