Skip to content

Commit 988b8c2

Browse files
committed
fix: remove exports as useless
1 parent 3666963 commit 988b8c2

8 files changed

+8
-8
lines changed

src/app/components/domtesting.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Component, Output, EventEmitter } from '@angular/core';
1313
<button (click)="isVisible = !isVisible">toggle</button>
1414
`
1515
})
16-
export class DomTestingComponent {
16+
class DomTestingComponent {
1717
isVisible: boolean = false;
1818
}
1919

src/app/components/input.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Component, Input } from '@angular/core';
99
selector: 'test',
1010
template: `{{ message }}`
1111
})
12-
export class InputComponent {
12+
class InputComponent {
1313
@Input() message: string;
1414
}
1515

src/app/components/nested.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CollapsiblePanel{}
1818
<my-collapsible-panel></my-collapsible-panel>
1919
`
2020
})
21-
export class NestedComponentTesting {}
21+
class NestedComponentTesting {}
2222

2323
describe('NestedComponentTesting', () => {
2424

src/app/components/output.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Component, Output, EventEmitter } from '@angular/core';
99
selector: 'test',
1010
template: `<button (click)="doGreet()">Do greet</button>`
1111
})
12-
export class OutputComponent {
12+
class OutputComponent {
1313
@Output() greet: EventEmitter<string> = new EventEmitter<string>();
1414

1515
doGreet() {

src/app/services/async.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TestBed, async, fakeAsync, inject, tick } from '@angular/core/testing';
44
import { Injectable } from '@angular/core';
55

66
@Injectable()
7-
export class AsyncService {
7+
class AsyncService {
88
simpleAsync() {
99
return new Promise((resolve, reject) => {
1010
setTimeout(() => {

src/app/services/greeting.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TestBed, async, inject } from '@angular/core/testing';
44
import { Injectable } from '@angular/core';
55

66
@Injectable()
7-
export class GreetingService {
7+
class GreetingService {
88
sayHi(name: string) {
99
return `Hi, ${name}`;
1010
}

src/app/services/remote.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Observable } from 'rxjs/Observable';
88
import 'rxjs/add/operator/map';
99

1010
@Injectable()
11-
export class RemoteService {
11+
class RemoteService {
1212

1313
constructor(private http: Http) {}
1414

src/app/services/services.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import { CommonModule } from '@angular/common';
77
],
88
declarations: []
99
})
10-
export class ServicesModule { }
10+
class ServicesModule { }

0 commit comments

Comments
 (0)