Skip to content

'UrlRouterProvider' missing from typings in RC1 #3296

Closed
@ashgibson

Description

@ashgibson

I am getting the following typescript compilation error

Module '"/%path%/node_modules/angular-ui-router/lib/index"' has no exported member 'UrlRouterProvider'.

This is my imports to get it working:

import {StateProvider} from 'angular-ui-router';
import {UrlRouterProvider} from "../../../../node_modules/angular-ui-router/lib/urlRouterProvider";

I think export * from "./urlRouterProvider"; is missing from index.d.ts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions