@types/opencc-js 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- opencc-js/README.md +2 -2
- opencc-js/index.d.ts +1 -1
- opencc-js/package.json +3 -3
opencc-js/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree
|
|
|
13
13
|
// Definitions by: Pig Fang <https://github.com/g-plane>
|
|
14
14
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
15
15
|
|
|
16
|
-
export type Locale =
|
|
16
|
+
export type Locale = "cn" | "tw" | "twp" | "hk" | "jp" | "t";
|
|
17
17
|
|
|
18
18
|
export interface ConverterOptions {
|
|
19
19
|
from?: Locale;
|
|
@@ -41,7 +41,7 @@ export interface HTMLConvertHandler {
|
|
|
41
41
|
````
|
|
42
42
|
|
|
43
43
|
### Additional Details
|
|
44
|
-
* Last updated:
|
|
44
|
+
* Last updated: Sun, 03 Sep 2023 22:33:52 GMT
|
|
45
45
|
* Dependencies: none
|
|
46
46
|
* Global values: none
|
|
47
47
|
|
opencc-js/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Definitions by: Pig Fang <https://github.com/g-plane>
|
|
4
4
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
5
|
|
|
6
|
-
export type Locale =
|
|
6
|
+
export type Locale = "cn" | "tw" | "twp" | "hk" | "jp" | "t";
|
|
7
7
|
|
|
8
8
|
export interface ConverterOptions {
|
|
9
9
|
from?: Locale;
|
opencc-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/opencc-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "TypeScript definitions for opencc-js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"dependencies": {},
|
|
23
|
-
"typesPublisherContentHash": "
|
|
24
|
-
"typeScriptVersion": "3
|
|
23
|
+
"typesPublisherContentHash": "b1552f758864ec6dfe34f10a08465e71ca6e8e527d960ad2e0c461ef1000e64a",
|
|
24
|
+
"typeScriptVersion": "4.3"
|
|
25
25
|
}
|