Skip to content

Commit f15463a

Browse files
committed
fix: restore demo-for-video.ts to messy state for demos
1 parent 4b693d5 commit f15463a

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

tests/manual/demo-for-video.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
import { Component, inject, OnInit } from '@angular/core';
2-
import { Router } from '@angular/router';
3-
import { of } from 'rxjs';
4-
import { map, switchMap } from 'rxjs/operators';
1+
// Demo file for video - shows the full power of Mini TypeScript Hero
2+
// Press Ctrl+Alt+O (or Cmd+Alt+O on macOS) to organize imports
53

6-
import { BookList } from './components/book-list';
74
import { UserDetail } from './components/user-detail';
5+
import { Component } from '@angular/core';
6+
import { UnusedService } from './services/unused';
7+
import {Router} from "@angular/router"
8+
import { map, switchMap } from 'rxjs/operators';
9+
import {OnInit, inject} from "@angular/core"
10+
import { BookList } from './components/book-list';
11+
import {of} from "rxjs"
812

913
@Component({
1014
selector: 'app-demo',
@@ -36,4 +40,6 @@ export class DemoComponent implements OnInit {
3640
private transform(value: string) {
3741
return of(value);
3842
}
39-
}
43+
}
44+
45+
// Note: UnusedService is imported but never used - it will be removed!

0 commit comments

Comments
 (0)