Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion web/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ export class Instance implements Disposable {
/**
* Register an object constructor.
* @param typeKey The name of the function.
* @param func function to be registered.
* @param func Function to be registered.
* @param override Whether overwrite function in existing registry.
*/
registerObjectConstructor(
Expand Down
4 changes: 2 additions & 2 deletions web/src/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export function Uint8ArrayToString(arr: Uint8Array): string {

/**
* Internal assert helper
* @param condition condition The condition to fail.
* @param msg msg The message.
* @param condition The condition to fail.
* @param msg The message.
*/
export function assert(condition: boolean, msg?: string): asserts condition {
if (!condition) {
Expand Down