UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

16 lines (14 loc) 739 B
// Type definitions for generic-functions // Project: https://github.com/stpettersens/generic-functions // Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens> // Definitions: https://github.com/definitelytyped/DefinitelyTyped declare module "generic-functions" { function strcmp(str1: string, str2: string): boolean; function icstrcmp(str1: string, str2: string): boolean; function strendswith(str: string, suffix: string): boolean; function icstrendswith(str: string, suffix: string): boolean; function endswithdot(str: string): string; function println(message: string): void; function printlns(message: string[]): void; function objGetKeyByValue(object: Object, value: any): string; }