File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import StorageController from './StorageController';
3838import WebSocketController from './WebSocketController' ;
3939import type { EventuallyQueue } from './CoreManager' ;
4040
41- const Parse = {
41+ export const Parse = {
4242 ACL ,
4343 Analytics,
4444 AnonymousUtils,
@@ -416,7 +416,5 @@ if (process.env.PARSE_BUILD === 'node') {
416416if ( process . env . PARSE_BUILD === 'browser' ) {
417417 ( globalThis as any ) . Parse = Parse ;
418418}
419- // For legacy requires, of the form `var Parse = require('parse').Parse`
420- Parse . Parse = Parse ;
421419
422420export default Parse ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import User from './ParseUser';
2020import ParseLiveQuery from './ParseLiveQuery' ;
2121import LiveQueryClient from './LiveQueryClient' ;
2222import type { EventuallyQueue } from './CoreManager' ;
23- declare const Parse : {
23+ export declare const Parse : {
2424 ACL : typeof ACL ;
2525 Analytics : typeof Analytics ;
2626 AnonymousUtils : {
You can’t perform that action at this time.
0 commit comments