///
///
///
///
///
///
///
///
///
///
///
///
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
*
* **Use `boolean` instead!**
*/
interface Boolean {
/**
* **DO NOT USE!**
*
* This field exists to force TypeScript to recognize this as a nominal type
* @hidden
* @deprecated
*/
readonly _nominal_Boolean: unique symbol;
}
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
* @hidden
* @deprecated
*/
interface IArguments {}
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
*
* **Use `number` instead!**
*/
interface Number {
/**
* **DO NOT USE!**
*
* This field exists to force TypeScript to recognize this as a nominal type
* @hidden
* @deprecated
*/
readonly _nominal_Number: unique symbol;
}
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
*
* **Use `object` instead!**
* @hidden
* @deprecated
*/
interface Object {}
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
* @hidden
* @deprecated
*/
interface RegExp {}
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
*
* **Use `Callback` instead!**
*
* For example,`(a: string, b: number) => boolean` represents a function that takes a `string` and a `number` and
* returns a `boolean`.
*
* More generally, `(a: A, b: B, c: C) => R`, where `A`, `B`, and `C` are different function argument types and `R` is
* the return type.
*
* You can use `void` as a return type for functions that do not return anything: `() => void`
* @hidden
* @deprecated
*/
interface Function {
/**
* **DO NOT USE!**
*
* This type only exists because TypeScript requires it!
* @hidden
* @deprecated
*/
prototype: never;
}
/**
* **DO NOT USE!**
*
* **Use `Callback` instead!**
*
* This type only exists because TypeScript requires it!
* @hidden
* @deprecated
*/
interface CallableFunction extends Function {}
/**
* **DO NOT USE!**
*
* **Use `Callback` instead!**
*
* This type only exists because TypeScript requires it!
* @hidden
* @deprecated
*/
interface NewableFunction extends Function {}
/** unknown - undefined = defined */
type defined = {};
/** Marker for contextual 'this' type */
interface ThisType {}
/** A function type which is assignable to any other function type (and any function is assignable to). */
type Callback = (...args: Array) => any;
type LuaTuple> = T & {
/**
* **DO NOT USE!**
*
* This field exists to force TypeScript to recognize this as a nominal type
* @hidden
* @deprecated
*/
readonly _nominal_LuaTuple: unique symbol;
};
interface TypedPropertyDescriptor {
value: (self: InferThis, ...parameters: Parameters) => ReturnType;
}