@effect/language-service 0.21.5 → 0.21.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/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +1 -1
- package/transform.js.map +1 -1
package/index.js
CHANGED
|
@@ -2098,7 +2098,7 @@ function make4(ts, typeChecker) {
|
|
|
2098
2098
|
);
|
|
2099
2099
|
const strictEffectType = cachedBy(
|
|
2100
2100
|
fn("TypeParser.strictEffectType")(function* (type, atLocation) {
|
|
2101
|
-
if (type.symbol.name
|
|
2101
|
+
if (!(type.symbol && type.symbol.name === "Effect" && !type.aliasSymbol)) {
|
|
2102
2102
|
return yield* typeParserIssue("Type name should be Effect with no alias symbol", type, atLocation);
|
|
2103
2103
|
}
|
|
2104
2104
|
return yield* effectType(type, atLocation);
|