Remove Unused Imports
This commit is contained in:
parent
7f3dd6ef87
commit
7744f51892
1 changed files with 3 additions and 13 deletions
|
|
@ -16,24 +16,14 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Dirent, readdirSync, readFileSync, writeFileSync } from "fs";
|
import { readFileSync, writeFileSync } from "fs";
|
||||||
import { access, readFile } from "fs/promises";
|
import { BigIntLiteral, createSourceFile, Identifier, isCallExpression, isIdentifier, isObjectLiteralExpression, isPropertyAssignment, isSatisfiesExpression, isVariableStatement, NamedDeclaration, ObjectLiteralExpression, ScriptTarget, StringLiteral } from "typescript";
|
||||||
import { join, sep } from "path";
|
|
||||||
import { normalize as posixNormalize, sep as posixSep } from "path/posix";
|
|
||||||
import { BigIntLiteral, createSourceFile, Identifier, isArrayLiteralExpression, isCallExpression, isExportAssignment, isIdentifier, isObjectLiteralExpression, isPropertyAccessExpression, isPropertyAssignment, isSatisfiesExpression, isStringLiteral, isVariableStatement, NamedDeclaration, NodeArray, ObjectLiteralExpression, PropertyAssignment, ScriptTarget, StringLiteral, SyntaxKind } from "typescript";
|
|
||||||
|
|
||||||
import { getPluginTarget } from "./utils.mjs";
|
|
||||||
|
|
||||||
interface Dev {
|
interface Dev {
|
||||||
name: string;
|
name: string;
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Command {
|
|
||||||
name: string;
|
|
||||||
description: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
const devs = {} as Record<string, Dev>;
|
const devs = {} as Record<string, Dev>;
|
||||||
const equicordDevs = {} as Record<string, Dev>;
|
const equicordDevs = {} as Record<string, Dev>;
|
||||||
|
|
||||||
|
|
@ -118,8 +108,8 @@ function parseEquicordDevs() {
|
||||||
parseEquicordDevs();
|
parseEquicordDevs();
|
||||||
|
|
||||||
const allDevs = {
|
const allDevs = {
|
||||||
|
vencord: devs,
|
||||||
equicord: equicordDevs,
|
equicord: equicordDevs,
|
||||||
vencord: devs
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const data = JSON.stringify(allDevs, null, 2);
|
const data = JSON.stringify(allDevs, null, 2);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue