BeastCode / VSCode-Angular-TypeScript-Snippets

Visual Studio Code TypeScript snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS & Testing) for Angular 17
https://marketplace.visualstudio.com/items?itemName=Mikael.Angular-BeastCode
MIT License
92 stars 49 forks source link

ng-module-template add export to class #8

Closed cgatian closed 7 years ago

cgatian commented 7 years ago

Snippet: ng-module-template

Expected this snippet to export the module. I don't see a reason for it not to export since modules are meant to be consumed by other modules. Right? 🌮 😸

Currently it generates:

import { NgModule } from '@angular/core';

@NgModule({
  declarations: [],
  imports: [],
  exports: [],
  providers: [],
  bootstrap: []
})
class NameModule {}

Proposing adding an export statement to the class.