Can't resolve 'esri/core/accessorSupport/decorators'

568
0
05-04-2020 06:19 AM
StelvioCeccotti
New Contributor

Hi all, 

I'm working with Angular and I'm trying to extend Accessors class. 
I've followed the topic implementing-accessor but can't recompile the project because the error:  

Can't resolve 'esri/core/accessorSupport/decorators'

This is my implementation: 

/// <amd-dependency path="esri/core/tsSupport/declareExtendsHelper" name="__extends" />
/// <amd-dependency path="esri/core/tsSupport/decorateHelper" name="__decorate" />
import { loadModules } from 'esri-loader';
import esri = __esri;

import { subclass, declared } from "esri/core/accessorSupport/decorators";

@subclass("CustomLegendViewModel")
export class CustomLegendViewModel extends declared(esri.Accessor) {

}


What's wrong? 
Tags (1)
0 Kudos
0 Replies