Created
January 5, 2017 16:16
-
-
Save petebacondarwin/9fb71ae5efd2ad1567938db1350f5a9f to your computer and use it in GitHub Desktop.
VS Code - Angular Language Service - transitive exports bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
template: ` | |
<h1> | |
{{title | bang}} | |
</h1> | |
`, | |
styles: [] | |
}) | |
export class AppComponent { | |
title = 'app works!'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { FormsModule } from '@angular/forms'; | |
import { HttpModule } from '@angular/http'; | |
import { SharedModule } from './shared.module'; | |
import { AppComponent } from './app.component'; | |
import { BangPipe } from './shared.module'; | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
SharedModule, | |
BrowserModule, | |
FormsModule, | |
HttpModule | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment