TypeScript 1.6 Support for ES6

1896
1
10-02-2015 10:17 AM
MarkCederholm
Occasional Contributor III

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?

0 Kudos
1 Reply
MarkCederholm
Occasional Contributor III

It turns out that the edits to the definitions are pretty simple.  I've attached the resulting file.

0 Kudos