tstyche 4.0.0-beta.5 → 4.0.0-beta.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.
Files changed (2) hide show
  1. package/build/tstyche.js +5 -3
  2. package/package.json +1 -1
package/build/tstyche.js CHANGED
@@ -4008,7 +4008,8 @@ class ToBeCallableWith {
4008
4008
  this.#compiler.isFunctionDeclaration(sourceNode) ||
4009
4009
  this.#compiler.isFunctionExpression(sourceNode) ||
4010
4010
  this.#compiler.isExpressionWithTypeArguments(sourceNode) ||
4011
- this.#compiler.isIdentifier(sourceNode)) {
4011
+ this.#compiler.isIdentifier(sourceNode) ||
4012
+ this.#compiler.isPropertyAccessExpression(sourceNode)) {
4012
4013
  type = matchWorker.getType(sourceNode);
4013
4014
  }
4014
4015
  if (!type || type.getCallSignatures().length === 0) {
@@ -4086,7 +4087,8 @@ class ToBeConstructableWith {
4086
4087
  type = matchWorker.typeChecker.getResolvedSignature(sourceNode)?.getReturnType();
4087
4088
  }
4088
4089
  if (this.#compiler.isExpressionWithTypeArguments(sourceNode) ||
4089
- this.#compiler.isIdentifier(sourceNode)) {
4090
+ this.#compiler.isIdentifier(sourceNode) ||
4091
+ this.#compiler.isPropertyAccessExpression(sourceNode)) {
4090
4092
  type = matchWorker.getType(sourceNode);
4091
4093
  }
4092
4094
  if (!type || type.getConstructSignatures().length === 0) {
@@ -4598,7 +4600,7 @@ class TaskRunner {
4598
4600
  class Runner {
4599
4601
  #eventEmitter = new EventEmitter();
4600
4602
  #resolvedConfig;
4601
- static version = "4.0.0-beta.5";
4603
+ static version = "4.0.0-beta.6";
4602
4604
  constructor(resolvedConfig) {
4603
4605
  this.#resolvedConfig = resolvedConfig;
4604
4606
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tstyche",
3
- "version": "4.0.0-beta.5",
3
+ "version": "4.0.0-beta.6",
4
4
  "description": "The Essential Type Testing Tool.",
5
5
  "keywords": [
6
6
  "typescript",