AnsweredAssumed Answered

TypeScript 1.6 Support for ES6

Question asked by MCederholm on Oct 2, 2015
Latest reply on Oct 2, 2015 by MCederholm

Is it possible to use the existing type definitions on GitHub to compile to ECMAScript 6 using TypeScript 1.6?  If I try the following:

 

import * as esriMap from "esri/map";

 

I get the error: Module "esri/map" resolves to a non-module entity

 

Or are there plans to build an ES6-compatible version of the type definitions?

Outcomes