From bf9ef4d5bc52eb1220dda455d8b34eaa44aa4f89 Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Fri, 3 Mar 2023 17:32:07 +0100 Subject: [PATCH] wip --- src/mono/wasm/runtime/dotnet.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mono/wasm/runtime/dotnet.d.ts b/src/mono/wasm/runtime/dotnet.d.ts index 478059862b989d..e6837f4b0ec6e0 100644 --- a/src/mono/wasm/runtime/dotnet.d.ts +++ b/src/mono/wasm/runtime/dotnet.d.ts @@ -18,6 +18,7 @@ interface DotnetHostBuilder { withDebugging(level: number): DotnetHostBuilder; withMainAssembly(mainAssemblyName: string): DotnetHostBuilder; withApplicationArgumentsFromQuery(): DotnetHostBuilder; + withMemoryCache(value: boolean): DotnetHostBuilder; create(): Promise; run(): Promise; } @@ -133,7 +134,7 @@ type MonoConfig = { */ pthreadPoolSize?: number; /** - * If true, the snapshot of runtime's memory will be stored in the browser and used for faster startup next time. + * If true, the snapshot of runtime's memory will be stored in the browser and used for faster startup next time. Default is true. */ cacheMemory?: boolean; /**