mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
739 B
TypeScript
16 lines
739 B
TypeScript
// 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;
|
|
}
|