Skip to content

Commit f95c9f9

Browse files
committed
bump
1 parent 15d3392 commit f95c9f9

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-texttospeech",
3-
"version": "1.3.2",
3+
"version": "2.0.0",
44
"description": "A text to speech NativeScript plugin for Android and iOS",
55
"main": "texttospeech",
66
"typings": "index.d.ts",
@@ -21,10 +21,7 @@
2121
"precommit": "lint-staged"
2222
},
2323
"lint-staged": {
24-
"*.ts": [
25-
"prettier --write",
26-
"git add"
27-
]
24+
"*.ts": ["prettier --write", "git add"]
2825
},
2926
"keywords": [
3027
"NativeScript",
@@ -62,4 +59,4 @@
6259
"tns-platform-declarations": "^2.0.0",
6360
"typescript": "^1.8.10"
6461
}
65-
}
62+
}

texttospeech.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as appModule from "application";
2-
import { SpeakOptions, Language } from "./index.d";
1+
import * as appModule from "tns-core-modules/application";
2+
import { SpeakOptions, Language } from "./index";
33

44
declare var android, java: any;
55

texttospeech.ios.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SpeakOptions } from "./index.d";
1+
import { SpeakOptions } from "./index";
22

33
declare var NSObject,
44
AVSpeechUtterance,
@@ -146,8 +146,8 @@ export class TNSTextToSpeech {
146146
}
147147

148148
/**
149-
* Private Methods
150-
*/
149+
* Private Methods
150+
*/
151151

152152
private isString(elem) {
153153
return Object.prototype.toString.call(elem).slice(8, -1) === "String";

0 commit comments

Comments
 (0)