@angular/core 15.2.2 → 15.2.3

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.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.2.2
2
+ * @license Angular v15.2.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1235,6 +1235,101 @@ declare interface ComponentDefFeature {
1235
1235
  ngInherit?: true;
1236
1236
  }
1237
1237
 
1238
+ declare interface ComponentDefinition<T> extends Omit<DirectiveDefinition<T>, 'features'> {
1239
+ /**
1240
+ * The number of nodes, local refs, and pipes in this component template.
1241
+ *
1242
+ * Used to calculate the length of this component's LView array, so we
1243
+ * can pre-fill the array and set the binding start index.
1244
+ */
1245
+ decls: number;
1246
+ /**
1247
+ * The number of bindings in this component template (including pure fn bindings).
1248
+ *
1249
+ * Used to calculate the length of this component's LView array, so we
1250
+ * can pre-fill the array and set the host binding start index.
1251
+ */
1252
+ vars: number;
1253
+ /**
1254
+ * Template function use for rendering DOM.
1255
+ *
1256
+ * This function has following structure.
1257
+ *
1258
+ * ```
1259
+ * function Template<T>(ctx:T, creationMode: boolean) {
1260
+ * if (creationMode) {
1261
+ * // Contains creation mode instructions.
1262
+ * }
1263
+ * // Contains binding update instructions
1264
+ * }
1265
+ * ```
1266
+ *
1267
+ * Common instructions are:
1268
+ * Creation mode instructions:
1269
+ * - `elementStart`, `elementEnd`
1270
+ * - `text`
1271
+ * - `container`
1272
+ * - `listener`
1273
+ *
1274
+ * Binding update instructions:
1275
+ * - `bind`
1276
+ * - `elementAttribute`
1277
+ * - `elementProperty`
1278
+ * - `elementClass`
1279
+ * - `elementStyle`
1280
+ *
1281
+ */
1282
+ template: ComponentTemplate<T>;
1283
+ /**
1284
+ * Constants for the nodes in the component's view.
1285
+ * Includes attribute arrays, local definition arrays etc.
1286
+ */
1287
+ consts?: TConstantsOrFactory;
1288
+ /**
1289
+ * An array of `ngContent[selector]` values that were found in the template.
1290
+ */
1291
+ ngContentSelectors?: string[];
1292
+ /**
1293
+ * A list of optional features to apply.
1294
+ *
1295
+ * See: {@link NgOnChangesFeature}, {@link ProvidersFeature}
1296
+ */
1297
+ features?: ComponentDefFeature[];
1298
+ /**
1299
+ * Defines template and style encapsulation options available for Component's {@link Component}.
1300
+ */
1301
+ encapsulation?: ViewEncapsulation;
1302
+ /**
1303
+ * Defines arbitrary developer-defined data to be stored on a renderer instance.
1304
+ * This is useful for renderers that delegate to other renderers.
1305
+ *
1306
+ * see: animation
1307
+ */
1308
+ data?: {
1309
+ [kind: string]: any;
1310
+ };
1311
+ /**
1312
+ * A set of styles that the component needs to be present for component to render correctly.
1313
+ */
1314
+ styles?: string[];
1315
+ /**
1316
+ * The strategy that the default change detector uses to detect changes.
1317
+ * When set, takes effect the next time change detection is triggered.
1318
+ */
1319
+ changeDetection?: ChangeDetectionStrategy;
1320
+ /**
1321
+ * Registry of directives, components, and pipes that may be found in this component's view.
1322
+ *
1323
+ * This property is either an array of types or a function that returns the array of types. This
1324
+ * function may be necessary to support forward declarations.
1325
+ */
1326
+ dependencies?: TypeOrFactory<DependencyTypeList>;
1327
+ /**
1328
+ * The set of schemas that declare elements to be allowed in the component's template.
1329
+ */
1330
+ schemas?: SchemaMetadata[] | null;
1331
+ }
1332
+
1238
1333
  /**
1239
1334
  * Base class for a factory that can create a component dynamically.
1240
1335
  * Instantiate a factory for a given type of component with `resolveComponentFactory()`.
@@ -2469,6 +2564,141 @@ declare interface DirectiveDefFeature {
2469
2564
  ngInherit?: true;
2470
2565
  }
2471
2566
 
2567
+ declare interface DirectiveDefinition<T> {
2568
+ /**
2569
+ * Directive type, needed to configure the injector.
2570
+ */
2571
+ type: Type<T>;
2572
+ /** The selectors that will be used to match nodes to this directive. */
2573
+ selectors?: ɵCssSelectorList;
2574
+ /**
2575
+ * A map of input names.
2576
+ *
2577
+ * The format is in: `{[actualPropertyName: string]:(string|[string, string])}`.
2578
+ *
2579
+ * Given:
2580
+ * ```
2581
+ * class MyComponent {
2582
+ * @Input()
2583
+ * publicInput1: string;
2584
+ *
2585
+ * @Input('publicInput2')
2586
+ * declaredInput2: string;
2587
+ * }
2588
+ * ```
2589
+ *
2590
+ * is described as:
2591
+ * ```
2592
+ * {
2593
+ * publicInput1: 'publicInput1',
2594
+ * declaredInput2: ['declaredInput2', 'publicInput2'],
2595
+ * }
2596
+ * ```
2597
+ *
2598
+ * Which the minifier may translate to:
2599
+ * ```
2600
+ * {
2601
+ * minifiedPublicInput1: 'publicInput1',
2602
+ * minifiedDeclaredInput2: [ 'publicInput2', 'declaredInput2'],
2603
+ * }
2604
+ * ```
2605
+ *
2606
+ * This allows the render to re-construct the minified, public, and declared names
2607
+ * of properties.
2608
+ *
2609
+ * NOTE:
2610
+ * - Because declared and public name are usually same we only generate the array
2611
+ * `['declared', 'public']` format when they differ.
2612
+ * - The reason why this API and `outputs` API is not the same is that `NgOnChanges` has
2613
+ * inconsistent behavior in that it uses declared names rather than minified or public. For
2614
+ * this reason `NgOnChanges` will be deprecated and removed in future version and this
2615
+ * API will be simplified to be consistent with `output`.
2616
+ */
2617
+ inputs?: {
2618
+ [P in keyof T]?: string | [string, string];
2619
+ };
2620
+ /**
2621
+ * A map of output names.
2622
+ *
2623
+ * The format is in: `{[actualPropertyName: string]:string}`.
2624
+ *
2625
+ * Which the minifier may translate to: `{[minifiedPropertyName: string]:string}`.
2626
+ *
2627
+ * This allows the render to re-construct the minified and non-minified names
2628
+ * of properties.
2629
+ */
2630
+ outputs?: {
2631
+ [P in keyof T]?: string;
2632
+ };
2633
+ /**
2634
+ * A list of optional features to apply.
2635
+ *
2636
+ * See: {@link NgOnChangesFeature}, {@link ProvidersFeature}, {@link InheritDefinitionFeature}
2637
+ */
2638
+ features?: DirectiveDefFeature[];
2639
+ /**
2640
+ * Function executed by the parent template to allow child directive to apply host bindings.
2641
+ */
2642
+ hostBindings?: HostBindingsFunction<T>;
2643
+ /**
2644
+ * The number of bindings in this directive `hostBindings` (including pure fn bindings).
2645
+ *
2646
+ * Used to calculate the length of the component's LView array, so we
2647
+ * can pre-fill the array and set the host binding start index.
2648
+ */
2649
+ hostVars?: number;
2650
+ /**
2651
+ * Assign static attribute values to a host element.
2652
+ *
2653
+ * This property will assign static attribute values as well as class and style
2654
+ * values to a host element. Since attribute values can consist of different types of values,
2655
+ * the `hostAttrs` array must include the values in the following format:
2656
+ *
2657
+ * attrs = [
2658
+ * // static attributes (like `title`, `name`, `id`...)
2659
+ * attr1, value1, attr2, value,
2660
+ *
2661
+ * // a single namespace value (like `x:id`)
2662
+ * NAMESPACE_MARKER, namespaceUri1, name1, value1,
2663
+ *
2664
+ * // another single namespace value (like `x:name`)
2665
+ * NAMESPACE_MARKER, namespaceUri2, name2, value2,
2666
+ *
2667
+ * // a series of CSS classes that will be applied to the element (no spaces)
2668
+ * CLASSES_MARKER, class1, class2, class3,
2669
+ *
2670
+ * // a series of CSS styles (property + value) that will be applied to the element
2671
+ * STYLES_MARKER, prop1, value1, prop2, value2
2672
+ * ]
2673
+ *
2674
+ * All non-class and non-style attributes must be defined at the start of the list
2675
+ * first before all class and style values are set. When there is a change in value
2676
+ * type (like when classes and styles are introduced) a marker must be used to separate
2677
+ * the entries. The marker values themselves are set via entries found in the
2678
+ * [AttributeMarker] enum.
2679
+ */
2680
+ hostAttrs?: TAttributes;
2681
+ /**
2682
+ * Function to create instances of content queries associated with a given directive.
2683
+ */
2684
+ contentQueries?: ContentQueriesFunction<T>;
2685
+ /**
2686
+ * Additional set of instructions specific to view query processing. This could be seen as a
2687
+ * set of instructions to be inserted into the template function.
2688
+ */
2689
+ viewQuery?: ViewQueriesFunction<T> | null;
2690
+ /**
2691
+ * Defines the name that can be used in the template to assign this directive to a variable.
2692
+ *
2693
+ * See: {@link Directive.exportAs}
2694
+ */
2695
+ exportAs?: string[];
2696
+ /**
2697
+ * Whether this directive/component is standalone.
2698
+ */
2699
+ standalone?: boolean;
2700
+ }
2701
+
2472
2702
  declare type DirectiveDefList = (ɵDirectiveDef<any> | ɵComponentDef<any>)[];
2473
2703
 
2474
2704
  /**
@@ -5054,6 +5284,12 @@ export declare interface ModuleWithProviders<T> {
5054
5284
 
5055
5285
  declare const MOVED_VIEWS = 9;
5056
5286
 
5287
+ declare type Mutable<T extends {
5288
+ [x: string]: any;
5289
+ }, K extends string> = {
5290
+ [P in K]: T[P];
5291
+ };
5292
+
5057
5293
  declare const NATIVE = 7;
5058
5294
 
5059
5295
  declare const NEXT = 4;
@@ -11832,7 +12068,7 @@ export declare function ɵɵCopyDefinitionFeature(definition: ɵDirectiveDef<any
11832
12068
  *
11833
12069
  * # Example
11834
12070
  * ```
11835
- * class MyDirective {
12071
+ * class MyComponent {
11836
12072
  * // Generated by Angular Template Compiler
11837
12073
  * // [Symbol] syntax will not be supported by TypeScript until v2.7
11838
12074
  * static ɵcmp = defineComponent({
@@ -11842,230 +12078,7 @@ export declare function ɵɵCopyDefinitionFeature(definition: ɵDirectiveDef<any
11842
12078
  * ```
11843
12079
  * @codeGenApi
11844
12080
  */
11845
- export declare function ɵɵdefineComponent<T>(componentDefinition: {
11846
- /**
11847
- * Directive type, needed to configure the injector.
11848
- */
11849
- type: Type<T>;
11850
- /** The selectors that will be used to match nodes to this component. */
11851
- selectors?: ɵCssSelectorList;
11852
- /**
11853
- * The number of nodes, local refs, and pipes in this component template.
11854
- *
11855
- * Used to calculate the length of this component's LView array, so we
11856
- * can pre-fill the array and set the binding start index.
11857
- */
11858
- decls: number;
11859
- /**
11860
- * The number of bindings in this component template (including pure fn bindings).
11861
- *
11862
- * Used to calculate the length of this component's LView array, so we
11863
- * can pre-fill the array and set the host binding start index.
11864
- */
11865
- vars: number;
11866
- /**
11867
- * A map of input names.
11868
- *
11869
- * The format is in: `{[actualPropertyName: string]:(string|[string, string])}`.
11870
- *
11871
- * Given:
11872
- * ```
11873
- * class MyComponent {
11874
- * @Input()
11875
- * publicInput1: string;
11876
- *
11877
- * @Input('publicInput2')
11878
- * declaredInput2: string;
11879
- * }
11880
- * ```
11881
- *
11882
- * is described as:
11883
- * ```
11884
- * {
11885
- * publicInput1: 'publicInput1',
11886
- * declaredInput2: ['publicInput2', 'declaredInput2'],
11887
- * }
11888
- * ```
11889
- *
11890
- * Which the minifier may translate to:
11891
- * ```
11892
- * {
11893
- * minifiedPublicInput1: 'publicInput1',
11894
- * minifiedDeclaredInput2: ['publicInput2', 'declaredInput2'],
11895
- * }
11896
- * ```
11897
- *
11898
- * This allows the render to re-construct the minified, public, and declared names
11899
- * of properties.
11900
- *
11901
- * NOTE:
11902
- * - Because declared and public name are usually same we only generate the array
11903
- * `['public', 'declared']` format when they differ.
11904
- * - The reason why this API and `outputs` API is not the same is that `NgOnChanges` has
11905
- * inconsistent behavior in that it uses declared names rather than minified or public. For
11906
- * this reason `NgOnChanges` will be deprecated and removed in future version and this
11907
- * API will be simplified to be consistent with `output`.
11908
- */
11909
- inputs?: {
11910
- [P in keyof T]?: string | [string, string];
11911
- };
11912
- /**
11913
- * A map of output names.
11914
- *
11915
- * The format is in: `{[actualPropertyName: string]:string}`.
11916
- *
11917
- * Which the minifier may translate to: `{[minifiedPropertyName: string]:string}`.
11918
- *
11919
- * This allows the render to re-construct the minified and non-minified names
11920
- * of properties.
11921
- */
11922
- outputs?: {
11923
- [P in keyof T]?: string;
11924
- };
11925
- /**
11926
- * Function executed by the parent template to allow child directive to apply host bindings.
11927
- */
11928
- hostBindings?: HostBindingsFunction<T>;
11929
- /**
11930
- * The number of bindings in this directive `hostBindings` (including pure fn bindings).
11931
- *
11932
- * Used to calculate the length of the component's LView array, so we
11933
- * can pre-fill the array and set the host binding start index.
11934
- */
11935
- hostVars?: number;
11936
- /**
11937
- * Assign static attribute values to a host element.
11938
- *
11939
- * This property will assign static attribute values as well as class and style
11940
- * values to a host element. Since attribute values can consist of different types of values, the
11941
- * `hostAttrs` array must include the values in the following format:
11942
- *
11943
- * attrs = [
11944
- * // static attributes (like `title`, `name`, `id`...)
11945
- * attr1, value1, attr2, value,
11946
- *
11947
- * // a single namespace value (like `x:id`)
11948
- * NAMESPACE_MARKER, namespaceUri1, name1, value1,
11949
- *
11950
- * // another single namespace value (like `x:name`)
11951
- * NAMESPACE_MARKER, namespaceUri2, name2, value2,
11952
- *
11953
- * // a series of CSS classes that will be applied to the element (no spaces)
11954
- * CLASSES_MARKER, class1, class2, class3,
11955
- *
11956
- * // a series of CSS styles (property + value) that will be applied to the element
11957
- * STYLES_MARKER, prop1, value1, prop2, value2
11958
- * ]
11959
- *
11960
- * All non-class and non-style attributes must be defined at the start of the list
11961
- * first before all class and style values are set. When there is a change in value
11962
- * type (like when classes and styles are introduced) a marker must be used to separate
11963
- * the entries. The marker values themselves are set via entries found in the
11964
- * [AttributeMarker] enum.
11965
- */
11966
- hostAttrs?: TAttributes;
11967
- /**
11968
- * Function to create instances of content queries associated with a given directive.
11969
- */
11970
- contentQueries?: ContentQueriesFunction<T>;
11971
- /**
11972
- * Defines the name that can be used in the template to assign this directive to a variable.
11973
- *
11974
- * See: {@link Directive.exportAs}
11975
- */
11976
- exportAs?: string[];
11977
- /**
11978
- * Template function use for rendering DOM.
11979
- *
11980
- * This function has following structure.
11981
- *
11982
- * ```
11983
- * function Template<T>(ctx:T, creationMode: boolean) {
11984
- * if (creationMode) {
11985
- * // Contains creation mode instructions.
11986
- * }
11987
- * // Contains binding update instructions
11988
- * }
11989
- * ```
11990
- *
11991
- * Common instructions are:
11992
- * Creation mode instructions:
11993
- * - `elementStart`, `elementEnd`
11994
- * - `text`
11995
- * - `container`
11996
- * - `listener`
11997
- *
11998
- * Binding update instructions:
11999
- * - `bind`
12000
- * - `elementAttribute`
12001
- * - `elementProperty`
12002
- * - `elementClass`
12003
- * - `elementStyle`
12004
- *
12005
- */
12006
- template: ComponentTemplate<T>;
12007
- /**
12008
- * Constants for the nodes in the component's view.
12009
- * Includes attribute arrays, local definition arrays etc.
12010
- */
12011
- consts?: TConstantsOrFactory;
12012
- /**
12013
- * An array of `ngContent[selector]` values that were found in the template.
12014
- */
12015
- ngContentSelectors?: string[];
12016
- /**
12017
- * Additional set of instructions specific to view query processing. This could be seen as a
12018
- * set of instruction to be inserted into the template function.
12019
- *
12020
- * Query-related instructions need to be pulled out to a specific function as a timing of
12021
- * execution is different as compared to all other instructions (after change detection hooks but
12022
- * before view hooks).
12023
- */
12024
- viewQuery?: ViewQueriesFunction<T> | null;
12025
- /**
12026
- * A list of optional features to apply.
12027
- *
12028
- * See: {@link NgOnChangesFeature}, {@link ProvidersFeature}
12029
- */
12030
- features?: ComponentDefFeature[];
12031
- /**
12032
- * Defines template and style encapsulation options available for Component's {@link Component}.
12033
- */
12034
- encapsulation?: ViewEncapsulation;
12035
- /**
12036
- * Defines arbitrary developer-defined data to be stored on a renderer instance.
12037
- * This is useful for renderers that delegate to other renderers.
12038
- *
12039
- * see: animation
12040
- */
12041
- data?: {
12042
- [kind: string]: any;
12043
- };
12044
- /**
12045
- * A set of styles that the component needs to be present for component to render correctly.
12046
- */
12047
- styles?: string[];
12048
- /**
12049
- * The strategy that the default change detector uses to detect changes.
12050
- * When set, takes effect the next time change detection is triggered.
12051
- */
12052
- changeDetection?: ChangeDetectionStrategy;
12053
- /**
12054
- * Registry of directives, components, and pipes that may be found in this component's view.
12055
- *
12056
- * This property is either an array of types or a function that returns the array of types. This
12057
- * function may be necessary to support forward declarations.
12058
- */
12059
- dependencies?: TypeOrFactory<DependencyTypeList>;
12060
- /**
12061
- * The set of schemas that declare elements to be allowed in the component's template.
12062
- */
12063
- schemas?: SchemaMetadata[] | null;
12064
- /**
12065
- * Whether this directive/component is standalone.
12066
- */
12067
- standalone?: boolean;
12068
- }): unknown;
12081
+ export declare function ɵɵdefineComponent<T>(componentDefinition: ComponentDefinition<T>): Mutable<ɵComponentDef<any>, keyof ɵComponentDef<any>>;
12069
12082
 
12070
12083
  /**
12071
12084
  * Create a directive definition object.
@@ -12083,132 +12096,7 @@ export declare function ɵɵdefineComponent<T>(componentDefinition: {
12083
12096
  *
12084
12097
  * @codeGenApi
12085
12098
  */
12086
- export declare const ɵɵdefineDirective: <T>(directiveDefinition: {
12087
- /**
12088
- * Directive type, needed to configure the injector.
12089
- */
12090
- type: Type<T>;
12091
- /** The selectors that will be used to match nodes to this directive. */
12092
- selectors?: ɵCssSelectorList | undefined;
12093
- /**
12094
- * A map of input names.
12095
- *
12096
- * The format is in: `{[actualPropertyName: string]:(string|[string, string])}`.
12097
- *
12098
- * Given:
12099
- * ```
12100
- * class MyComponent {
12101
- * @Input()
12102
- * publicInput1: string;
12103
- *
12104
- * @Input('publicInput2')
12105
- * declaredInput2: string;
12106
- * }
12107
- * ```
12108
- *
12109
- * is described as:
12110
- * ```
12111
- * {
12112
- * publicInput1: 'publicInput1',
12113
- * declaredInput2: ['declaredInput2', 'publicInput2'],
12114
- * }
12115
- * ```
12116
- *
12117
- * Which the minifier may translate to:
12118
- * ```
12119
- * {
12120
- * minifiedPublicInput1: 'publicInput1',
12121
- * minifiedDeclaredInput2: [ 'publicInput2', 'declaredInput2'],
12122
- * }
12123
- * ```
12124
- *
12125
- * This allows the render to re-construct the minified, public, and declared names
12126
- * of properties.
12127
- *
12128
- * NOTE:
12129
- * - Because declared and public name are usually same we only generate the array
12130
- * `['declared', 'public']` format when they differ.
12131
- * - The reason why this API and `outputs` API is not the same is that `NgOnChanges` has
12132
- * inconsistent behavior in that it uses declared names rather than minified or public. For
12133
- * this reason `NgOnChanges` will be deprecated and removed in future version and this
12134
- * API will be simplified to be consistent with `output`.
12135
- */
12136
- inputs?: { [P in keyof T]?: string | [string, string] | undefined; } | undefined;
12137
- /**
12138
- * A map of output names.
12139
- *
12140
- * The format is in: `{[actualPropertyName: string]:string}`.
12141
- *
12142
- * Which the minifier may translate to: `{[minifiedPropertyName: string]:string}`.
12143
- *
12144
- * This allows the render to re-construct the minified and non-minified names
12145
- * of properties.
12146
- */
12147
- outputs?: { [P_1 in keyof T]?: string | undefined; } | undefined;
12148
- /**
12149
- * A list of optional features to apply.
12150
- *
12151
- * See: {@link NgOnChangesFeature}, {@link ProvidersFeature}, {@link InheritDefinitionFeature}
12152
- */
12153
- features?: DirectiveDefFeature[] | undefined;
12154
- /**
12155
- * Function executed by the parent template to allow child directive to apply host bindings.
12156
- */
12157
- hostBindings?: HostBindingsFunction<T> | undefined;
12158
- /**
12159
- * The number of bindings in this directive `hostBindings` (including pure fn bindings).
12160
- *
12161
- * Used to calculate the length of the component's LView array, so we
12162
- * can pre-fill the array and set the host binding start index.
12163
- */
12164
- hostVars?: number | undefined;
12165
- /**
12166
- * Assign static attribute values to a host element.
12167
- *
12168
- * This property will assign static attribute values as well as class and style
12169
- * values to a host element. Since attribute values can consist of different types of values,
12170
- * the `hostAttrs` array must include the values in the following format:
12171
- *
12172
- * attrs = [
12173
- * // static attributes (like `title`, `name`, `id`...)
12174
- * attr1, value1, attr2, value,
12175
- *
12176
- * // a single namespace value (like `x:id`)
12177
- * NAMESPACE_MARKER, namespaceUri1, name1, value1,
12178
- *
12179
- * // another single namespace value (like `x:name`)
12180
- * NAMESPACE_MARKER, namespaceUri2, name2, value2,
12181
- *
12182
- * // a series of CSS classes that will be applied to the element (no spaces)
12183
- * CLASSES_MARKER, class1, class2, class3,
12184
- *
12185
- * // a series of CSS styles (property + value) that will be applied to the element
12186
- * STYLES_MARKER, prop1, value1, prop2, value2
12187
- * ]
12188
- *
12189
- * All non-class and non-style attributes must be defined at the start of the list
12190
- * first before all class and style values are set. When there is a change in value
12191
- * type (like when classes and styles are introduced) a marker must be used to separate
12192
- * the entries. The marker values themselves are set via entries found in the
12193
- * [AttributeMarker] enum.
12194
- */
12195
- hostAttrs?: TAttributes | undefined;
12196
- /**
12197
- * Function to create instances of content queries associated with a given directive.
12198
- */
12199
- contentQueries?: ContentQueriesFunction<T> | undefined;
12200
- /**
12201
- * Additional set of instructions specific to view query processing. This could be seen as a
12202
- * set of instructions to be inserted into the template function.
12203
- */
12204
- viewQuery?: ViewQueriesFunction<T> | null | undefined;
12205
- /**
12206
- * Defines the name that can be used in the template to assign this directive to a variable.
12207
- *
12208
- * See: {@link Directive.exportAs}
12209
- */
12210
- exportAs?: string[] | undefined;
12211
- }) => never;
12099
+ export declare function ɵɵdefineDirective<T>(directiveDefinition: DirectiveDefinition<T>): Mutable<ɵDirectiveDef<any>, keyof ɵDirectiveDef<any>>;
12212
12100
 
12213
12101
  /**
12214
12102
  * Construct an injectable definition which defines how a token will be constructed by the DI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "15.2.2",
3
+ "version": "15.2.3",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",