chore(rpc): drop dead code

This commit is contained in:
2026-09-28 02:05:40 +01:00
parent 79fe874c90
commit 143bee3e4e
+2 -6
View File
@@ -54,15 +54,11 @@ export function stringify(data: RPCState): RPCStateRaw {
return JSON.stringify(data) as RPCStateRaw
}
// automatically parsed by FiveM
// export function parseWeb(data: RPCStateWebRaw): RPCStateWeb {
// return JSON.parse(data)
// }
/**
* **Internal**
*
* Typed data serializer
* Typed data serializer. No parse counterpart: the webview receives NUI
* messages already parsed by FiveM.
*/
export function stringifyWeb(data: RPCStateWeb): RPCStateWebRaw {
return JSON.stringify(data) as RPCStateWebRaw