mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-29 08:52:15 +00:00
Add Mathf missed defs (#60)
This commit is contained in:
parent
72063577f3
commit
3d1f181961
2
std/assembly.d.ts
vendored
2
std/assembly.d.ts
vendored
@ -463,6 +463,8 @@ declare const NativeMath: INativeMath<f64>;
|
|||||||
declare const NativeMathf: INativeMath<f32>;
|
declare const NativeMathf: INativeMath<f32>;
|
||||||
/** Alias of {@link NativeMath} or {@link JSMath} respectively. Defaults to `NativeMath`. */
|
/** Alias of {@link NativeMath} or {@link JSMath} respectively. Defaults to `NativeMath`. */
|
||||||
declare const Math: IMath<f64>;
|
declare const Math: IMath<f64>;
|
||||||
|
/** Alias of {@link NativeMathf} or {@link JSMath} respectively. Defaults to `NativeMathf`. */
|
||||||
|
declare const Mathf: IMath<f32>;
|
||||||
|
|
||||||
// Internal decorators
|
// Internal decorators
|
||||||
|
|
||||||
|
1
std/portable.d.ts
vendored
1
std/portable.d.ts
vendored
@ -365,6 +365,7 @@ interface IMath {
|
|||||||
}
|
}
|
||||||
|
|
||||||
declare const Math: IMath;
|
declare const Math: IMath;
|
||||||
|
declare const Mathf: IMath;
|
||||||
declare const JSMath: IMath;
|
declare const JSMath: IMath;
|
||||||
|
|
||||||
declare namespace console {
|
declare namespace console {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user