@angular/core
Advanced tools
Comparing version
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
{ | ||
"name": "@angular/core", | ||
"version": "19.2.2", | ||
"version": "19.2.3", | ||
"description": "Angular - the core framework", | ||
@@ -5,0 +5,0 @@ "author": "angular", |
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -23,14 +23,28 @@ * License: MIT | ||
/** | ||
* Information about how a type or `InjectionToken` interfaces with the DI system. | ||
* Information about how a type or `InjectionToken` interfaces with the DI | ||
* system. This describes: | ||
* | ||
* At a minimum, this includes a `factory` which defines how to create the given type `T`, possibly | ||
* requesting injection of other types if necessary. | ||
* 1. *How* the type is provided | ||
* The declaration must specify only one of the following: | ||
* - A `value` which is a predefined instance of the type. | ||
* - A `factory` which defines how to create the given type `T`, possibly | ||
* requesting injection of other types if necessary. | ||
* - Neither, in which case the type is expected to already be present in the | ||
* injector hierarchy. This is used for internal use cases. | ||
* | ||
* Optionally, a `providedIn` parameter specifies that the given type belongs to a particular | ||
* `Injector`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates | ||
* that the injectable does not belong to any scope. | ||
* 2. *Where* the type is stored (if it is stored) | ||
* - The `providedIn` parameter specifies which injector the type belongs to. | ||
* - The `token` is used as the key to store the type in the injector. | ||
*/ | ||
interface ɵɵInjectableDeclaration<T> { | ||
/** | ||
* Specifies that the given type belongs to a particular injector: | ||
* Specifies that the given type belongs to a particular `Injector`, | ||
* `NgModule`, or a special scope (e.g. `'root'`). | ||
* | ||
* `any` is deprecated and will be removed soon. | ||
* | ||
* A value of `null` indicates that the injectable does not belong to any | ||
* scope, and won't be stored in any injector. For declarations with a | ||
* factory, this will create a new instance of the type each time it is | ||
* requested. | ||
*/ | ||
@@ -47,7 +61,7 @@ providedIn: Type<any> | 'root' | 'platform' | 'any' | null; | ||
*/ | ||
factory: (t?: Type<any>) => T; | ||
factory?: (t?: Type<any>) => T; | ||
/** | ||
* In a case of no explicit injector, a location where the instance of the injectable is stored. | ||
*/ | ||
value: T | undefined; | ||
value?: T; | ||
} | ||
@@ -54,0 +68,0 @@ /** |
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -221,3 +221,3 @@ * License: MIT | ||
*/ | ||
declare function createComputed<T>(computation: () => T): ComputedGetter<T>; | ||
declare function createComputed<T>(computation: () => T, equal?: ValueEqualityFn<T>): ComputedGetter<T>; | ||
@@ -273,3 +273,3 @@ type ComputationFn<S, D> = (source: S, previous?: { | ||
*/ | ||
declare function createSignal<T>(initialValue: T): SignalGetter<T>; | ||
declare function createSignal<T>(initialValue: T, equal?: ValueEqualityFn<T>): SignalGetter<T>; | ||
declare function setPostSignalSetFn(fn: (() => void) | null): (() => void) | null; | ||
@@ -276,0 +276,0 @@ declare function signalSetFn<T>(node: SignalNode<T>, newValue: T): void; |
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -11,10 +11,10 @@ * License: MIT | ||
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js'); | ||
var project_paths = require('./project_paths-BoRVJPjW.js'); | ||
var project_paths = require('./project_paths-CXXqWSoY.js'); | ||
require('os'); | ||
var ts = require('typescript'); | ||
var checker = require('./checker-DP-zos5Q.js'); | ||
var program = require('./program-CRYsSwIq.js'); | ||
var program = require('./program-BmLi-Vxz.js'); | ||
require('path'); | ||
require('./index-CrKEaRj_.js'); | ||
var apply_import_manager = require('./apply_import_manager-C8MABThs.js'); | ||
require('./index-BPqwMr5d.js'); | ||
var apply_import_manager = require('./apply_import_manager-BynuozbO.js'); | ||
require('@angular-devkit/core'); | ||
@@ -21,0 +21,0 @@ require('node:path/posix'); |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -11,10 +11,10 @@ * License: MIT | ||
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js'); | ||
var project_paths = require('./project_paths-BoRVJPjW.js'); | ||
var project_paths = require('./project_paths-CXXqWSoY.js'); | ||
require('os'); | ||
var ts = require('typescript'); | ||
var checker = require('./checker-DP-zos5Q.js'); | ||
var program = require('./program-CRYsSwIq.js'); | ||
var program = require('./program-BmLi-Vxz.js'); | ||
require('path'); | ||
var apply_import_manager = require('./apply_import_manager-C8MABThs.js'); | ||
var index = require('./index-CEdDCtp8.js'); | ||
var apply_import_manager = require('./apply_import_manager-BynuozbO.js'); | ||
var index = require('./index-CPpyW--c.js'); | ||
require('@angular-devkit/core'); | ||
@@ -21,0 +21,0 @@ require('node:path/posix'); |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -11,7 +11,7 @@ * License: MIT | ||
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js'); | ||
var project_paths = require('./project_paths-BoRVJPjW.js'); | ||
var project_paths = require('./project_paths-CXXqWSoY.js'); | ||
require('os'); | ||
var ts = require('typescript'); | ||
var checker = require('./checker-DP-zos5Q.js'); | ||
require('./program-CRYsSwIq.js'); | ||
require('./program-BmLi-Vxz.js'); | ||
require('path'); | ||
@@ -18,0 +18,0 @@ var ng_decorators = require('./ng_decorators-DznZ5jMl.js'); |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -11,12 +11,12 @@ * License: MIT | ||
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js'); | ||
var project_paths = require('./project_paths-BoRVJPjW.js'); | ||
var project_paths = require('./project_paths-CXXqWSoY.js'); | ||
require('os'); | ||
var ts = require('typescript'); | ||
var checker = require('./checker-DP-zos5Q.js'); | ||
var program = require('./program-CRYsSwIq.js'); | ||
var program = require('./program-BmLi-Vxz.js'); | ||
require('path'); | ||
var apply_import_manager = require('./apply_import_manager-C8MABThs.js'); | ||
var migrate_ts_type_references = require('./migrate_ts_type_references-C0325A9V.js'); | ||
var apply_import_manager = require('./apply_import_manager-BynuozbO.js'); | ||
var migrate_ts_type_references = require('./migrate_ts_type_references-Ri-K4P_1.js'); | ||
var assert = require('assert'); | ||
var index = require('./index-CEdDCtp8.js'); | ||
var index = require('./index-CPpyW--c.js'); | ||
require('@angular-devkit/core'); | ||
@@ -23,0 +23,0 @@ require('node:path/posix'); |
'use strict'; | ||
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -15,3 +15,3 @@ * License: MIT | ||
require('@angular-devkit/core'); | ||
require('./project_paths-BoRVJPjW.js'); | ||
require('./project_paths-CXXqWSoY.js'); | ||
require('node:path/posix'); | ||
@@ -25,7 +25,7 @@ require('os'); | ||
require('url'); | ||
require('./program-CRYsSwIq.js'); | ||
require('./apply_import_manager-C8MABThs.js'); | ||
require('./migrate_ts_type_references-C0325A9V.js'); | ||
require('./program-BmLi-Vxz.js'); | ||
require('./apply_import_manager-BynuozbO.js'); | ||
require('./migrate_ts_type_references-Ri-K4P_1.js'); | ||
require('assert'); | ||
require('./index-CEdDCtp8.js'); | ||
require('./index-CPpyW--c.js'); | ||
require('./leading_space-D9nQ8UQC.js'); | ||
@@ -32,0 +32,0 @@ |
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v19.2.2 | ||
* @license Angular v19.2.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
9920439
0.05%148584
0.04%