Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Show how to use the official type definitions for the ArcGIS API for JavaScript #4

Closed

Description

@tomwayson

I'm not a TS guy, but I get the impression that this line should look something like:

this.esriLoader.require(['esri/map'], (Map: Map) => {

Need to include the ArcGIS d.ts and then do something with it, right? Like add wierd /// ref comments to some files or something. Again - I'm not a TS guy.

Activity

  1. tomwayson commented on Dec 1, 2016

    @tomwayson
    OwnerAuthor
  2. patrickarlt commented on Dec 1, 2016

    @patrickarlt
    Collaborator

    @tomwayson assign this one to me too and I can do it :)

    Oh god I am the TypeScript guy now aren't I...

  3. tomwayson commented on Dec 1, 2016

    @tomwayson
    OwnerAuthor

    It's all yours (GH won't let me assign til you accept invite I guess).

    @odoe you have a challenger for the TS throne

  4. patrickarlt commented on Dec 1, 2016

    @patrickarlt
    Collaborator

    @odoe you can have it. It's fine.

  5. odoe commented on Dec 1, 2016

    @odoe

    Welcome to the world of TS, first, let's talk about multi-inheritance constructor interfaces...

  6. added a commit that references this issue on Dec 9, 2016
  7. tomwayson commented on Feb 14, 2017

    @tomwayson
    OwnerAuthor

    In the case of this repo, since we're using angular2-esri4-components, there is no need to declare a dev dependency on the ArcGIS types. This issue was effectively resolved in #27.

    However, for others that might not be using that component library, you'll want to see tomwayson/angular-esri-loader#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions