mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:40:44 +00:00
chore(lint): enable unnecessary type parameter rule
This commit is contained in:
@@ -10,8 +10,8 @@ type OxlintTsconfig = {
|
||||
exclude?: string[];
|
||||
};
|
||||
|
||||
function readJson<T>(path: string): T {
|
||||
return JSON.parse(fs.readFileSync(path, "utf8")) as T;
|
||||
function readJson(path: string): unknown {
|
||||
return JSON.parse(fs.readFileSync(path, "utf8")) as unknown;
|
||||
}
|
||||
|
||||
describe("oxlint config", () => {
|
||||
|
||||
Reference in New Issue
Block a user