@aeriajs/compiler 0.0.49 → 0.0.50

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.
@@ -111,7 +111,7 @@ const makeTSFunctions = (functions) => {
111
111
  acc[key] = {
112
112
  [utils_js_1.UnquotedSymbol]: utils_js_1.DEFAULT_FUNCTIONS.includes(key)
113
113
  ? `typeof ${key}`
114
- : '() => never',
114
+ : 'unknown',
115
115
  };
116
116
  return acc;
117
117
  }, {});
@@ -105,7 +105,7 @@ const makeTSCollectionSchema = (collectionNode, collectionId) => {
105
105
  const makeTSFunctions = (functions) => {
106
106
  return Object.keys(functions).reduce((acc, key) => {
107
107
  acc[key] = {
108
- [UnquotedSymbol]: DEFAULT_FUNCTIONS.includes(key) ? `typeof ${key}` : "() => never"
108
+ [UnquotedSymbol]: DEFAULT_FUNCTIONS.includes(key) ? `typeof ${key}` : "unknown"
109
109
  };
110
110
  return acc;
111
111
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/compiler",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",