Skip to content

fix: Fix internal hints in definitions #2039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion std/assembly/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,7 @@ declare type NonNullable<T> = T extends null | undefined ? never : T;
declare type nonnull<T> = NonNullable<T>;

/** Pseudo-class representing the backing class of integer types. */
/** @internal */
declare class _Integer {
/** Smallest representable value. */
static readonly MIN_VALUE: number;
Expand All @@ -1332,6 +1333,7 @@ declare class _Integer {
}

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

/* @internal */
/** @internal */
declare abstract class TypedArray<T> implements ArrayBufferView {
[key: number]: T;
/** Number of bytes per element. */
Expand Down Expand Up @@ -1963,6 +1965,7 @@ interface SymbolConstructor {

declare const Symbol: SymbolConstructor;

/** @internal */
interface IMath<T> {
/** The base of natural logarithms, e, approximately 2.718. */
readonly E: T;
Expand Down Expand Up @@ -2054,6 +2057,7 @@ interface IMath<T> {
trunc(x: T): T;
}

/** @internal */
interface INativeMath<T> extends IMath<T> {
/** Contains sin value produced after Math/Mathf.sincos */
sincos_sin: T;
Expand Down