Skip to content

Commit fc71482

Browse files
committed
fix(angular-jss): clean dependencies
1 parent 983b3ac commit fc71482

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

libs/angular-jss/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@
2424
"homepage": "https://design4pro.github.io/angular-jss/",
2525
"peerDependencies": {
2626
"@angular/common": "^13.2.0",
27-
"@angular/core": "^13.2.0"
27+
"@angular/core": "^13.2.0",
28+
"rxjs": "^7.5.4",
29+
"tslib": "^2.3.0"
2830
},
2931
"dependencies": {
3032
"jss": "^10.9.0",
3133
"jss-plugin-camel-case": "^10.9.0",
3234
"jss-plugin-global": "^10.9.0",
33-
"jss-plugin-rule-value-function": "^10.9.0",
34-
"reflect-metadata": "^0.1.13",
35-
"rxjs": "^7.5.4",
36-
"tslib": "^2.3.0"
35+
"jss-plugin-rule-value-function": "^10.9.0"
3736
},
3837
"publishConfig": {
3938
"access": "public"

libs/angular-jss/src/lib/styled/styled.decorator.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'reflect-metadata';
21
import { BehaviorSubject, Subject } from 'rxjs';
32
import { generateStyles, markAsDecorated, STYLED_PROPS } from './internals';
43
import { ComponentType, DirectiveType } from './ivy';
@@ -73,7 +72,6 @@ function decorateNgOnCheck(
7372
function decorateNgOnDestroy(ngOnDestroy: (() => void) | null | undefined) {
7473
// eslint-disable-next-line @typescript-eslint/no-explicit-any
7574
return function (this: any) {
76-
7775
// Invoke the original `ngOnDestroy` if it exists
7876
if (ngOnDestroy) {
7977
ngOnDestroy.call(this);

0 commit comments

Comments
 (0)