Skip to content

Commit 516e94f

Browse files
committed
Remove erroneous declare for inline.always
It was supposed to be `export`. Silly me. Fixes #2915.
1 parent 4e7734b commit 516e94f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/assembly/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2695,7 +2695,7 @@ declare function final(constructor: Constructor): void;
26952695
declare function inline(...args: any[]): any;
26962696
declare namespace inline {
26972697
/** Explicitly requests inlined function calls on the provided expression wherever possible. */
2698-
declare function always<T>(value: T): T;
2698+
export function always<T>(value: T): T;
26992699
}
27002700

27012701
/** Annotates a method, function or constant global as unsafe. */

0 commit comments

Comments
 (0)