// Type definitions for ts-nameof 4.0 // Project: https://github.com/dsherret/ts-nameof#readme // Definitions by: David Sherret // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // tslint:disable-next-line no-unnecessary-generics declare function nameof(func?: (obj: T) => void): string; declare function nameof(obj: any): string; declare namespace nameof { // tslint:disable-next-line no-unnecessary-generics function full(periodIndex?: number): string; // tslint:disable-next-line no-unnecessary-generics function full(func: (obj: T) => void, periodIndex?: number): string; function full(obj: any, periodIndex?: number): string; // tslint:disable-next-line no-unnecessary-generics function toArray(func: (obj: T) => any[]): string[]; function toArray(...args: any[]): string[]; function interpolate(value: T): T; }