diff --git a/eslint.config.test.mjs b/eslint.config.test.mjs
index 3d2977c3e..8622d69d4 100644
--- a/eslint.config.test.mjs
+++ b/eslint.config.test.mjs
@@ -14,15 +14,15 @@ export default tseslint.config({
'@typescript-eslint': tseslint.plugin,
},
rules: {
- 'no-empty': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
- '@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
+ "@typescript-eslint/no-explicit-any": "off",
+ "@typescript-eslint/no-unsafe-return": "off",
},
languageOptions: {
parser: tseslint.parser,
diff --git a/package.json b/package.json
index 6b1097145..aebffbbcd 100644
--- a/package.json
+++ b/package.json
@@ -106,7 +106,7 @@
"posttest:mongodb": "mongodb-runner stop --all",
"lint": "eslint --cache src/ integration/",
"lint:fix": "eslint --fix --cache src/ integration/",
- "test:types": "eslint --cache types/tests.ts -c eslint.config.test.mjs",
+ "test:types": "eslint types/tests.ts -c eslint.config.test.mjs",
"watch": "cross-env PARSE_BUILD=${PARSE_BUILD} gulp watch",
"watch:browser": "cross-env PARSE_BUILD=browser npm run watch",
"watch:node": "cross-env PARSE_BUILD=node npm run watch",
diff --git a/src/AnonymousUtils.ts b/src/AnonymousUtils.ts
index 99584c43f..db5041e72 100644
--- a/src/AnonymousUtils.ts
+++ b/src/AnonymousUtils.ts
@@ -44,7 +44,7 @@ const AnonymousUtils = {
* linked to an anonymous user.
* @static
*/
- isLinked(user: ParseUser) {
+ isLinked(user: ParseUser): boolean {
const provider = this._getAuthProvider();
return user._isLinked(provider.getAuthType());
},
diff --git a/src/CoreManager.ts b/src/CoreManager.ts
index 4f9ccea13..c1a174248 100644
--- a/src/CoreManager.ts
+++ b/src/CoreManager.ts
@@ -13,7 +13,6 @@ import type ParseSession from './ParseSession';
import type { HookDeclaration, HookDeleteArg } from './ParseHooks';
import type ParseConfig from './ParseConfig';
import type LiveQueryClient from './LiveQueryClient';
-import type ParseSchema from './ParseSchema';
import type ParseInstallation from './ParseInstallation';
type AnalyticsController = {
@@ -119,7 +118,7 @@ type RESTController = {
};
type SchemaController = {
purge: (className: string) => Promise
A Parse.User object is a local representation of a user persisted to the
@@ -34,11 +33,11 @@ const authProviders: { [key: string]: AuthProviderType } = {};
* @alias Parse.User
* @augments Parse.Object
*/
-class ParseUser extends ParseObject {
+class ParseUser