Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ng-pipes/pipes/array/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FlattenPipe } from './flatten';
import { IntersectionPipe } from './intersection';
import { ReversePipe } from './reverse';
import { TailPipe } from './tail';
import { TrurthifyPipe } from './truthify';
import { TruthifyPipe } from './truthify';
import { UnionPipe } from './union';
import { UniquePipe } from './unique';
import { WithoutPipe } from './without';
Expand All @@ -31,7 +31,7 @@ const ARRAY_PIPES = [
IntersectionPipe,
ReversePipe,
TailPipe,
TrurthifyPipe,
TruthifyPipe,
UnionPipe,
UniquePipe,
WithoutPipe,
Expand Down Expand Up @@ -64,7 +64,7 @@ export { FlattenPipe } from './flatten';
export { IntersectionPipe } from './intersection';
export { ReversePipe } from './reverse';
export { TailPipe } from './tail';
export { TrurthifyPipe } from './truthify';
export { TruthifyPipe } from './truthify';
export { UnionPipe } from './union';
export { UniquePipe } from './unique';
export { WithoutPipe } from './without';
Expand Down
8 changes: 4 additions & 4 deletions src/ng-pipes/pipes/array/truthify.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { TrurthifyPipe } from './truthify';
import { TruthifyPipe } from './truthify';

describe('TrurthifyPipe', () => {
let pipe: TrurthifyPipe;
describe('TruthifyPipe', () => {
let pipe: TruthifyPipe;

beforeEach(() => {
pipe = new TrurthifyPipe();
pipe = new TruthifyPipe();
});

it('should not change anything if not array', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/ng-pipes/pipes/array/truthify.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({ name: 'truthify' })
export class TrurthifyPipe implements PipeTransform {
export class TruthifyPipe implements PipeTransform {
transform(input: any[]): any[];
transform<T>(input: T): T;

Expand Down