@tamagui/generate-themes 1.52.5 → 1.52.6

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.
@@ -109,7 +109,7 @@ ${baseKeys.map(([k]) => {
109
109
  `;
110
110
  out += `
111
111
  function t(a) {
112
- let res = {}
112
+ let res: Record<string, string> = {}
113
113
  for (const [ki, vi] of a) {
114
114
  res[ks[ki]] = vs[vi]
115
115
  }
@@ -76,7 +76,7 @@ ${baseKeys.map(([k]) => {
76
76
  `;
77
77
  out += `
78
78
  function t(a) {
79
- let res = {}
79
+ let res: Record<string, string> = {}
80
80
  for (const [ki, vi] of a) {
81
81
  res[ks[ki]] = vs[vi]
82
82
  }
@@ -76,7 +76,7 @@ ${baseKeys.map(([k]) => {
76
76
  `;
77
77
  out += `
78
78
  function t(a) {
79
- let res = {}
79
+ let res: Record<string, string> = {}
80
80
  for (const [ki, vi] of a) {
81
81
  res[ks[ki]] = vs[vi]
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/generate-themes",
3
- "version": "1.52.5",
3
+ "version": "1.52.6",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs",
@@ -28,12 +28,12 @@
28
28
  "clean:build": "tamagui-build clean:build"
29
29
  },
30
30
  "dependencies": {
31
- "@tamagui/create-theme": "1.52.5",
32
- "@tamagui/types": "1.52.5",
31
+ "@tamagui/create-theme": "1.52.6",
32
+ "@tamagui/types": "1.52.6",
33
33
  "esbuild-register": "^3.4.2",
34
34
  "fs-extra": "^11.1.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@tamagui/build": "1.52.5"
37
+ "@tamagui/build": "1.52.6"
38
38
  }
39
39
  }
@@ -109,7 +109,7 @@ ${baseKeys
109
109
  // add in the helper function to generate a theme:
110
110
  out += `
111
111
  function t(a) {
112
- let res = {}
112
+ let res: Record<string, string> = {}
113
113
  for (const [ki, vi] of a) {
114
114
  res[ks[ki]] = vs[vi]
115
115
  }