From ef5e893e9f9be69d7ef7b3f5e65f2c43d8222a99 Mon Sep 17 00:00:00 2001 From: Vlad Kovalevsky <71761915+383bd03d@users.noreply.github.com> Date: Wed, 18 Jan 2023 00:22:07 +0200 Subject: [PATCH] Update index.d.ts TS: Allow Svg to have children --- packages/renderer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/renderer/index.d.ts b/packages/renderer/index.d.ts index a1ad7b3d6..125866e55 100644 --- a/packages/renderer/index.d.ts +++ b/packages/renderer/index.d.ts @@ -247,7 +247,7 @@ declare namespace ReactPDF { /** * The element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents. */ - class Svg extends React.Component {} + class Svg extends React.Component {} interface LineProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes;