In node: Module '"parse/node"' resolves to a non-module entity and cannot be imported using this construct.
In browser: Module '"parse"' resolves to a non-module entity and cannot be imported using this construct.
Parse can now be imported like:
import * as Parse from 'parse/node'
* Added overriden version of extend in Parse.User
* added type declaration of Parse.Promise.when with varargs
* making Promise compatible with IPromise
* fixed when: it is enough to have IPromise here
* added Parse.Config class
* fixed save/saveAll signatures
* any object is allowed as function response
* more precise signature for Parse.Object#find
* request has a property object in beforeSave triggers
* fixed types of trigger request & response objects
* better fetch signatures
* fixed typing for JobStatus
* ErrorCode enum needs to be inlined in order to not create a dependency on the type definition
* fixed return types of Parse.Promise#then
* fixed typing of Parse.Promise.error
* added static function Object.registerSubclass
* fixed signature of Object#save
* removed wrongly typed signatures; User inherits the correcrt ones from Object
* added signature for Object#createAt and Object#updatedAt
* javaScriptKey is optional according to https://github.com/ParsePlatform/Parse-SDK-JS/blob/v1.8.5/src/Parse.js
* added class Session with methods typed according to https://parse.com/docs/js/api/classes/Parse.Session.html