Update on "[compiler] Override type provider for hook-like names"

If an imported name is hook-like but a type provider provides a non-hook type, we now override the returned value and treat it as a generic custom hook. This is meant as an extra check to prevent miscompilation.

[ghstack-poisoned]
This commit is contained in:
Joe Savona
2024-09-03 15:55:25 -07:00
parent 45c27a1beb
commit 22ea0429d8
@@ -33,7 +33,6 @@ import {
Type,
ValidatedIdentifier,
ValueKind,
getHookKind,
getHookKindForType,
makeBlockId,
makeIdentifierId,