refactor(core): remove unused type

Removes the `ExtractFromControlValue` type since it won't be necessary anymore.

(cherry picked from commit 14152f69b9)
This commit is contained in:
Kristiyan Kostadinov 2025-11-12 11:21:45 +01:00 committed by Jessica Janiuk
parent 4d8b97627c
commit afda85f24c
5 changed files with 0 additions and 16 deletions

View file

@ -489,7 +489,6 @@ export class Identifiers {
// type-checking
static InputSignalBrandWriteType = {name: 'ɵINPUT_SIGNAL_BRAND_WRITE_TYPE', moduleName: CORE};
static UnwrapDirectiveSignalInputs = {name: 'ɵUnwrapDirectiveSignalInputs', moduleName: CORE};
static ExtractFormControlValue = {name: 'ɵExtractFormControlValue', moduleName: CORE};
static unwrapWritableSignal = {name: 'ɵunwrapWritableSignal', moduleName: CORE};
static assertType = {name: 'ɵassertType', moduleName: CORE};
}

View file

@ -95,7 +95,6 @@ export {
ɵɵcontentQuerySignal,
ɵɵcontrol,
ɵɵcontrolCreate,
ɵExtractFormControlValue,
ɵɵcomponentInstance,
ɵɵdefineComponent,
ɵɵdefineDirective,

View file

@ -96,7 +96,6 @@ export {
ɵɵproperty,
ɵɵcontrol,
ɵɵcontrolCreate,
ɵExtractFormControlValue,
ɵɵcontentQuery,
ɵɵcontentQuerySignal,
ɵɵloadQuery,

View file

@ -33,18 +33,6 @@ import {listenToOutput} from '../view/directive_outputs';
import {listenToDomEvent, wrapListener} from '../view/listeners';
import {setPropertyAndInputs, storePropertyBindingMetadata} from './shared';
import {writeToDirectiveInput} from './write_to_directive_input';
import {ModelSignal} from '../../authoring/model/model_signal';
/**
* Used during template type checking to extract the type of a custom form control.
*
* @codeGenApi
*/
export type ɵExtractFormControlValue<T> = T extends {value: ModelSignal<infer V>}
? V
: T extends {checked: ModelSignal<boolean>}
? boolean
: unknown;
/**
* Possibly sets up a {@link ɵControl} to manage a native or custom form control.

View file

@ -38,7 +38,6 @@ const AOT_ONLY = new Set<string>([
// used in type-checking.
'ɵINPUT_SIGNAL_BRAND_WRITE_TYPE',
'ɵExtractFormControlValue',
'ɵUnwrapDirectiveSignalInputs',
'ɵunwrapWritableSignal',
'ɵassertType',