Skip to content

Commit 62002e4

Browse files
committed
Remove OnInit
1 parent 99089b5 commit 62002e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/ngx-typed-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-typed-js",
3-
"version": "2.0.0",
3+
"version": "2.0.2",
44
"dependencies": {
55
"typed.js": "^2.0.11"
66
},

projects/ngx-typed-js/src/lib/ngx-typed-js.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import {AfterViewInit, Component, EventEmitter, Input, OnInit, Output, ViewChild} from '@angular/core';
1+
import {AfterViewInit, Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';
22
import Typed, {TypedOptions} from 'typed.js';
33

44
@Component({
55
selector: 'ngx-typed-js',
66
templateUrl: 'ngx-typed-js.component.html',
77
styleUrls: ['ngx-typed-js.component.css']
88
})
9-
export class NgxTypedJsComponent implements OnInit, AfterViewInit {
9+
export class NgxTypedJsComponent implements AfterViewInit {
1010
@Input() private cursorColor?: string;
1111

1212
@Input() private strings?: string[];

0 commit comments

Comments
 (0)