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.
- package/build/tstyche.js +5 -3
- 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.
|
|
4603
|
+
static version = "4.0.0-beta.6";
|
|
4602
4604
|
constructor(resolvedConfig) {
|
|
4603
4605
|
this.#resolvedConfig = resolvedConfig;
|
|
4604
4606
|
}
|