UNPKG

static-injector

Version:

Angular 依赖注入独立版本;Angular dependency injection standalone version

14 lines (13 loc) 515 B
/** * @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. * @see [Reading without tracking dependencies](guide/signals#reading-without-tracking-dependencies) */ export declare function untracked<T>(nonReactiveReadsFn: () => T): T;