@lcap/nasl-language-server-core 4.1.0-beta.18 → 4.1.0-beta.19

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/out/checker.js CHANGED
@@ -3860,7 +3860,7 @@ function createErrorDiagnoser(context) {
3860
3860
  return errorType;
3861
3861
  }
3862
3862
  const typeAnnotation = (yield* checkNode(node.expression));
3863
- if (typeAnnotation.typeKind === 'generic') {
3863
+ if (typeAnnotation?.typeKind === 'generic') {
3864
3864
  yield* checkGenericTypeHasExpectedTyArgs(typeAnnotation);
3865
3865
  }
3866
3866
  return typeAnnotation;
@@ -4253,7 +4253,7 @@ function createErrorDiagnoser(context) {
4253
4253
  }
4254
4254
  }
4255
4255
  catch (err) {
4256
- // console.error(err);
4256
+ console.error(err);
4257
4257
  }
4258
4258
  }
4259
4259
  /**