@ianicdev/datatables2 0.4.3 → 0.4.4

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.
Files changed (2) hide show
  1. package/lib/locale.d.ts +15 -0
  2. package/package.json +12 -1
@@ -0,0 +1,15 @@
1
+ // lib/locale/index.d.ts
2
+ export const el: {
3
+ [key: string]: any;
4
+ };
5
+
6
+ export const en: {
7
+ [key: string]: any;
8
+ };
9
+
10
+ declare const defaultExport: {
11
+ el: typeof el;
12
+ en: typeof en;
13
+ };
14
+
15
+ export default defaultExport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ianicdev/datatables2",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "types": "./lib/index.d.ts",
6
6
  "publishConfig": {
@@ -30,8 +30,19 @@
30
30
  "dist/",
31
31
  "lib/",
32
32
  "lib/index.d.ts",
33
+ "lib/locale.d.ts",
33
34
  "lib/locale/index.d.ts"
34
35
  ],
36
+ "typesVersions": {
37
+ "*": {
38
+ "*": [
39
+ "lib/index.d.ts"
40
+ ],
41
+ "locale": [
42
+ "lib/locale.d.ts"
43
+ ]
44
+ }
45
+ },
35
46
  "scripts": {
36
47
  "dev": "vite",
37
48
  "build": "rimraf dist && vue-tsc --noEmit && vite build",