mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 09:21:35 +00:00
Always try to eliminate branches if tree-shaking is enabled
This commit is contained in:
2
std/assembly.d.ts
vendored
2
std/assembly.d.ts
vendored
@ -531,7 +531,7 @@ declare const Mathf: IMath<f32>;
|
||||
/** Annotates an element as a program global. */
|
||||
declare function global(target: Function, propertyKey: string, descriptor: any): void;
|
||||
|
||||
/** Annotates a method as an operator overload. */
|
||||
/** Annotates a method as an operator overload for the specified `token`. */
|
||||
declare function operator(token: string): (target: any, propertyKey: string, descriptor: any) => void;
|
||||
|
||||
/** Annotates a class as being unmanaged with limited capabilities. */
|
||||
|
Reference in New Issue
Block a user