Fix imports and formatting in packages

Small cleanup across multiple packages: adjust TypeBox imports (add TSchema) and reorder imports in napcat-core/helper/config.ts; normalize indentation and type formatting in napcat-protobuf/NapProto.ts; add missing trailing commas and minor object formatting fixes in tests (packages/napcat-test/schema.test.ts); remove an extra blank line in external-shims.d.ts; and remove an unnecessary blank line in post-build.mjs. These are whitespace/formatting and minor import fixes to satisfy linting and type checks.
This commit is contained in:
手瓜一十雪 committed 2026-03-06 10:54:31 +08:00
1 parent 7380665cc2
commit 7ee2f1c40d
5 files changed
+33 -35

No files matched your search

@@ -11,7 +11,6 @@ const ALLOWED_PACKAGES = [
'node:', // node: 前缀的内置模块
];
function isAllowedImport (importPath) {
return ALLOWED_PACKAGES.some(pkg => importPath.startsWith(pkg));
}