chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -2,9 +2,9 @@ require('sucrase/register/ts');
const { defineConfig } = require('./define-config');
// node@16 没有 structuredClone 方法导致报错:
// node@16 no structuredClone method causes an error:
// ReferenceError: Error while loading rule '@typescript-eslint/naming-convention': structuredClone is not defined
// 此处做个简单 polyfill
// Make a simple polyfill here
if (typeof structuredClone === 'undefined') {
global.structuredClone = obj => JSON.parse(JSON.stringify(obj));
}