We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8838d29 commit 878d684Copy full SHA for 878d684
1 file changed
backend/FwLite/FwLiteShared/Services/IPreferencesService.cs
@@ -1,3 +1,6 @@
1
+using Microsoft.JSInterop;
2
+using Reinforced.Typings.Attributes;
3
+
4
namespace FwLiteShared.Services;
5
6
/// <summary>
@@ -6,7 +9,11 @@ namespace FwLiteShared.Services;
9
/// </summary>
7
10
public interface IPreferencesService
8
11
{
12
+ [JSInvokable]
13
+ [TsFunction(Type = "Promise<string | null>")]
14
string? Get(string key);
15
16
void Set(string key, string value);
17
18
void Remove(string key);
19
}
0 commit comments