UNPKG

static-injector

Version:

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

17 lines (16 loc) 528 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 */ export declare function stringify(token: any): string; /** * Ellipses the string in the middle when longer than the max length * * @param string * @param maxLength of the output string * @returns ellipsed string with ... in the middle */ export declare function truncateMiddle(str: string, maxLength?: number): string;