Skip to content

directives/ng_switch.ts has no exported member 'SwitchView'. #7656

@robwormald

Description

@robwormald

Note: for support questions, please use one of these channels: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.

  • *I'm submitting a ... *
    [x] bug report
    [ ] feature request
    [ ] support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?

Bug.

  • What is the current behavior?

In beta.10, importing angular2/common and compiling with typescript fails with:
node_modules/angular2/src/common/directives/ng_plural.d.ts(2,10): error TS2305: Module '".../node_modules/angular2/src/common/directives/ng_switch"' has no exported member 'SwitchView'.

This is likely related to SwitchView being marked internal, introduced in a4b5cb8

No TSC failures

  • Angular version: 2.0.0-beta.10
  • TSC 1.8.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions