From 6cebd48c7a2ae3555f4b17dd2a494076f40fc679 Mon Sep 17 00:00:00 2001 From: Morten Moeller Date: Sat, 4 May 2024 21:46:01 -0500 Subject: [PATCH] Revert "Fixes Typescript Defs based on CoreManager Changes." This reverts commit 25441f9b280e965c5c150187ec59408b080f2fb1. --- types/ParseQuery.d.ts | 4 ++-- types/tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/ParseQuery.d.ts b/types/ParseQuery.d.ts index 35ab7d09a..b3d705bf5 100644 --- a/types/ParseQuery.d.ts +++ b/types/ParseQuery.d.ts @@ -27,7 +27,7 @@ type FullTextQueryOptions = { caseSensitive?: boolean; diacriticSensitive?: boolean; }; -export type QueryJSON = { +type QueryJSON = { where: WhereClause; watch?: string; include?: string; @@ -946,7 +946,7 @@ declare class ParseQuery { cancel(): ParseQuery; _setRequestTask(options: any): void; /** - * Sets a comment to the query so that the query + * Sets a comment to the query so that the query * can be identified when using a the profiler for MongoDB. * * @param {string} value a comment can make your profile data easier to interpret and trace. diff --git a/types/tsconfig.json b/types/tsconfig.json index d18d38fbe..2edb2f209 100644 --- a/types/tsconfig.json +++ b/types/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6", "dom"], + "lib": ["es6"], "noImplicitAny": true, "noImplicitThis": true, "strictFunctionTypes": true,