@snowtop/ent 0.1.0-alpha24 → 0.1.0-alpha25

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowtop/ent",
3
- "version": "0.1.0-alpha24",
3
+ "version": "0.1.0-alpha25",
4
4
  "description": "snowtop ent framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/schema/field.d.ts CHANGED
@@ -44,7 +44,7 @@ export declare function IntegerType(options?: IntegerOptions): IntegerField;
44
44
  export declare class BigIntegerField extends BaseField implements Field {
45
45
  type: Type;
46
46
  }
47
- export declare function BigIntegerType(options: FieldOptions): BigIntegerField;
47
+ export declare function BigIntegerType(options?: FieldOptions): BigIntegerField;
48
48
  export declare class FloatField extends BaseField implements Field {
49
49
  type: Type;
50
50
  }
package/tsc/transform.js CHANGED
@@ -162,7 +162,6 @@ function isRequireStatement(node, sourceFile) {
162
162
  return false;
163
163
  }
164
164
  const v = node;
165
- // v.declarationList
166
165
  const text = v.declarationList.declarations[0].getFullText(sourceFile);
167
166
  return text.includes("require(");
168
167
  }