static-injector
Version:
Angular 依赖注入独立版本;Angular dependency injection standalone version
13 lines (12 loc) • 414 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function
* can, optionally, return a value.
*/
export declare function untracked<T>(nonReactiveReadsFn: () => T): T;