Skip to content
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

Add toString methods to Number and Boolean #769

Merged
merged 1 commit into from Aug 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions std/assembly/index.d.ts
Expand Up @@ -1316,10 +1316,14 @@ declare class TypeError extends Error { }
/** Class for indicating an error when trying to interpret syntactically invalid code. */
declare class SyntaxError extends Error { }

interface Boolean {}
interface Boolean {
toString(): string;
}
interface Function {}
interface IArguments {}
interface Number {}
interface Number {
toString(radix?: number): string;
}
interface Object {}
interface RegExp {}

Expand Down