Skip to content

Have you considered publishing ui-router with the TypeScript definitions included? #2780

Closed
@johnnyreilly

Description

@johnnyreilly

Hi all,

I'm very excited to read about the port to TypeScript.

I was wondering if you'd considered publishing the ui-router type definitions with ui-router itself given you're building with TS? TypeScript supports this scenario pretty well since 1.6. Doing this would mean that TypeScript users wouldn't have to separately acquire a type definition from Definitely Typed or the Typing Registry. (I'm involved with both BTW)

In case you haven't heard about publishing with typings in the box, I've previously blogged about this: http://blog.johnnyreilly.com/2015/09/authoring-npm-modules-with-typescript.html (There's probably far better content out there as well 😄 )

Any chance this might happen?

PS Great to see the work on supporting components too - looking forward to taking that functionality for a spin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions