diff --git a/web/src/runtime.ts b/web/src/runtime.ts index a24459ca29a0..c1a5eb0e8ca4 100644 --- a/web/src/runtime.ts +++ b/web/src/runtime.ts @@ -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( diff --git a/web/src/support.ts b/web/src/support.ts index 8fce98f35f12..18748c2c85ba 100644 --- a/web/src/support.ts +++ b/web/src/support.ts @@ -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) {