Skip to content

Component Template Fails to Declare 'ViewEncapsulation' #93

@colinskow

Description

@colinskow

After creating new workspace and new app: ERROR in apps/testapp/src/app/app.component.ts(7,18): error TS2304: Cannot find name 'ViewEncapsulation'.

This is easily fixed by simply changing import { Component, OnInit, ViewEncapsulation } from '@angular/core'; at the top of the file but needs to be fixed in the template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions