mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-27 14:51:32 +00:00
Refactor types
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { JSONValue, ServiceDef } from "@fluencelabs/interfaces";
|
||||
import { ServiceDef } from "@fluencelabs/interfaces";
|
||||
|
||||
import { recursiveRenameLaquaProps } from "../utils.js";
|
||||
|
||||
@ -63,6 +63,6 @@ function generateRegisterServiceOverload(
|
||||
}
|
||||
|
||||
function serviceToJson(service: ServiceDef): string {
|
||||
const record: Record<never, JSONValue> = service;
|
||||
const record: Record<never, unknown> = service;
|
||||
return JSON.stringify(recursiveRenameLaquaProps(record), null, 4);
|
||||
}
|
||||
|
Reference in New Issue
Block a user