Skip to content

Commit 959e58f

Browse files
committed
Fixed typings
1 parent bd6a1d3 commit 959e58f

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

ionic/ngx/FCM.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Observable } from 'rxjs';
2-
import { IChannelConfiguration } from '../../www/IChannelConfiguration';
3-
import { INotificationPayload } from '../../www/INotificationPayload';
4-
import { IRequestPushPermissionOptions } from '../../www/IRequestPushPermissionOptions';
2+
import { IChannelConfiguration } from '../../typings/IChannelConfiguration';
3+
import { INotificationPayload } from '../../typings/INotificationPayload';
4+
import { IRequestPushPermissionOptions } from '../../typings/IRequestPushPermissionOptions';
55
/**
66
* @name FCM
77
* @description

ionic/ngx/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
"cordova",
2626
"ionic"
2727
],
28-
"platforms": [
29-
"android",
30-
"ios"
31-
],
28+
"platforms": ["android", "ios"],
3229
"devDependencies": {
3330
"@types/cordova": "0.0.34",
3431
"prettier": "^2.0.5",

ionic/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
"cordova",
2626
"ionic"
2727
],
28-
"platforms": [
29-
"android",
30-
"ios"
31-
],
28+
"platforms": ["android", "ios"],
3229
"devDependencies": {
3330
"@types/cordova": "0.0.34",
3431
"prettier": "^2.0.5",

ionic/v4/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
"cordova",
2626
"ionic"
2727
],
28-
"platforms": [
29-
"android",
30-
"ios"
31-
],
28+
"platforms": ["android", "ios"],
3229
"devDependencies": {
3330
"@types/cordova": "0.0.34",
3431
"prettier": "^2.0.5",

src/ionic/scripts/build.dts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sed 's/\.\.\/www\//\.\.\/typings\//' ionic/FCM.tmp.d.ts > FCM.d.ts
88
cp ../src/ionic/package.toCopy.json package.json
99

1010
## Fix ngx .d.ts files
11-
mv ionic/ngx/*.d.ts ./ngx/
11+
sed 's/\.\.\/www\//\.\.\/typings\//' ionic/ngx/FCM.d.ts > ngx/FCM.d.ts
1212
cp ../src/ionic/package.toCopy.json ngx/package.json
1313

1414
## Fix v4 .d.ts files

0 commit comments

Comments
 (0)