From accd9d502f73c145741c0f5e242f08879ec08199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=BD=D0=B8=D0=BD=20=D0=95=D0=B3=D0=BE?= =?UTF-8?q?=D1=80?= Date: Fri, 26 Mar 2021 00:10:30 +1000 Subject: [PATCH] Fix types --- package-lock.json | 4 ++-- package.json | 2 +- src/interfaces/translate.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 00958ad..2058d0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rawjsonbuilder", - "version": "1.1.9", + "version": "1.1.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rawjsonbuilder", - "version": "1.1.9", + "version": "1.1.10", "license": "MIT", "dependencies": { "minecraft-protocol-chat-parser": "^3.0.2" diff --git a/package.json b/package.json index cbdab9c..5829e23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rawjsonbuilder", - "version": "1.1.9", + "version": "1.1.10", "description": "Minecraft Raw JSON text builder", "main": "./lib/RawJSONBuilder.js", "types": "./lib/interfaces.d.ts", diff --git a/src/interfaces/translate.ts b/src/interfaces/translate.ts index b7c0981..71fd95d 100644 --- a/src/interfaces/translate.ts +++ b/src/interfaces/translate.ts @@ -1,6 +1,6 @@ -import { IText } from "./text"; +import { RawJSONBuilder } from "../RawJSONBuilder"; export interface ITranslate { translate: string; - with?: IText[]; + with?: RawJSONBuilder[]; }