mirror of
https://github.com/zoriya/ags.git
synced 2026-06-09 12:51:31 +00:00
22 lines
607 B
TypeScript
22 lines
607 B
TypeScript
declare function _(id: string): string;
|
|
declare function print(args: string): void;
|
|
declare function log(obj: object, others?: object[]): void;
|
|
declare function log(msg: string, subsitutions?: any[]): void;
|
|
|
|
declare const pkg: {
|
|
version: string;
|
|
name: string;
|
|
};
|
|
|
|
declare module console {
|
|
export function error(obj: object, others?: object[]): void;
|
|
export function error(msg: string, subsitutions?: any[]): void;
|
|
}
|
|
|
|
declare interface String {
|
|
format(...replacements: string[]): string;
|
|
format(...replacements: number[]): string;
|
|
}
|
|
declare interface Number {
|
|
toFixed(digits: number): number;
|
|
} |