Assign does not exist


#1

Hi folks,

I am using Meteor Angular 2 in Visual Studio Code.

In Step 8.7 (User accounts, authentication and permissions)
https://www.angular-meteor.com/tutorials/socially/angular2/user-accounts-authentication-and-permissions

I am getting error message and it says:
property ‘assign’ does not exist on type ‘objectconstructor’

Any Idea?
I am waiting for your response.
Thanks in advance!


#2

Create a jsconfig.json file in the root of your project, with the following contents:

{
    "compilerOptions": {
        "target": "ES6"
    },
    "exclude": [
        "node_modules"
    ]
}

For more info see: JavaScript Project (jsconfig.json).


#3

Problem Solved
many thanks!