mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +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>;
|
||||
/** Alias of {@link NativeMath} or {@link JSMath} respectively. Defaults to `NativeMath`. */
|
||||
declare const Math: IMath<f64>;
|
||||
/** Alias of {@link NativeMathf} or {@link JSMath} respectively. Defaults to `NativeMathf`. */
|
||||
declare const Mathf: IMath<f32>;
|
||||
|
||||
// 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 Mathf: IMath;
|
||||
declare const JSMath: IMath;
|
||||
|
||||
declare namespace console {
|
||||
|
Loading…
x
Reference in New Issue
Block a user