fix: type errors
This commit is contained in:
parent
9c8bbd99e9
commit
f976e54dc3
2 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import {
|
|||
import { renderChatMessage } from "../../util/messageContent";
|
||||
import { getCleanUriPath } from "../../util/uri";
|
||||
import { extractPathsFromCodeBlocks } from "../utils/extractPathsFromCodeBlocks";
|
||||
import { RulePolicies } from "./types";
|
||||
|
||||
/**
|
||||
* Checks if a path matches any of the provided globs
|
||||
|
|
|
|||
2
core/llm/rules/types.ts
Normal file
2
core/llm/rules/types.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export type RulePolicy = "always" | "auto" | "never";
|
||||
export type RulePolicies = { [ruleName: string]: RulePolicy };
|
||||
Loading…
Add table
Reference in a new issue