@coze-editor/code-language-typescript 0.1.0-alpha.9459ef → 0.1.0-alpha.9a9cc7

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.
@@ -39624,6 +39624,9 @@ var TypeScriptWorker = class _TypeScriptWorker {
39624
39624
  if (!node) {
39625
39625
  return null;
39626
39626
  }
39627
+ if (node === sourceFile) {
39628
+ return null;
39629
+ }
39627
39630
  const type = checker.getTypeAtLocation(node);
39628
39631
  if (!type.isClassOrInterface()) {
39629
39632
  return null;