Skip to content

Commit 71e407b

Browse files
authored
fix: Fix internal hints in definitions (AssemblyScript#2039)
1 parent df3d29c commit 71e407b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

std/assembly/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,7 @@ declare type NonNullable<T> = T extends null | undefined ? never : T;
13201320
declare type nonnull<T> = NonNullable<T>;
13211321

13221322
/** Pseudo-class representing the backing class of integer types. */
1323+
/** @internal */
13231324
declare class _Integer {
13241325
/** Smallest representable value. */
13251326
static readonly MIN_VALUE: number;
@@ -1332,6 +1333,7 @@ declare class _Integer {
13321333
}
13331334

13341335
/** Pseudo-class representing the backing class of floating-point types. */
1336+
/** @internal */
13351337
declare class _Float {
13361338
/** Difference between 1 and the smallest representable value greater than 1. */
13371339
static readonly EPSILON: f32 | f64;
@@ -1555,7 +1557,7 @@ interface ArrayBufferView {
15551557
readonly dataStart: usize;
15561558
}
15571559

1558-
/* @internal */
1560+
/** @internal */
15591561
declare abstract class TypedArray<T> implements ArrayBufferView {
15601562
[key: number]: T;
15611563
/** Number of bytes per element. */
@@ -1963,6 +1965,7 @@ interface SymbolConstructor {
19631965

19641966
declare const Symbol: SymbolConstructor;
19651967

1968+
/** @internal */
19661969
interface IMath<T> {
19671970
/** The base of natural logarithms, e, approximately 2.718. */
19681971
readonly E: T;
@@ -2054,6 +2057,7 @@ interface IMath<T> {
20542057
trunc(x: T): T;
20552058
}
20562059

2060+
/** @internal */
20572061
interface INativeMath<T> extends IMath<T> {
20582062
/** Contains sin value produced after Math/Mathf.sincos */
20592063
sincos_sin: T;

0 commit comments

Comments
 (0)