26 lines
371 B
TypeScript
26 lines
371 B
TypeScript
/**
|
|
* Input Functions
|
|
* @public
|
|
* @noSelf
|
|
*/
|
|
declare namespace input {
|
|
|
|
enum resonse {
|
|
SUCCESS = 0,
|
|
PENDING,
|
|
FAILED
|
|
}
|
|
|
|
enum types {
|
|
ASCII = 0,
|
|
ALPHA,
|
|
ALPHA_NUM,
|
|
NUM,
|
|
NUM_DOT,
|
|
FLOAT
|
|
|
|
}
|
|
|
|
function get(title: string, default_value: string, len: int, type: int): [int, string];
|
|
|
|
} |