We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 484761f commit ad38f2dCopy full SHA for ad38f2d
effect/packages/package1/src/global.ts
@@ -0,0 +1,4 @@
1
+/**
2
+ * @tsplus global
3
+ */
4
+import { A } from "@tsplus-test/package1/companions-everywhere";
effect/packages/package1/src/type-companion-global.ts
@@ -0,0 +1 @@
+A.get
src/compiler/checker.ts
@@ -4140,6 +4140,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
4140
);
4141
if (!withoutGlobals) {
4142
getNodeLinks(originalLocation).isTsPlusGlobalIdentifier = true;
4143
+ if (companionSymbolCache.has(targetSymbol)) {
4144
+ getSymbolLinks(targetSymbol).isPossibleCompanionReference = true;
4145
+ }
4146
result = targetSymbol;
4147
}
4148
0 commit comments