From 2d45354af5d3d536b873104151f0c993c6257eff Mon Sep 17 00:00:00 2001 From: Dominic Fallows Date: Sat, 5 Jan 2019 16:59:47 +0000 Subject: [PATCH] Export `BaseLine` to fix `cannot be named ts4023` Export the `BaseLine` interface to fix TS `cannot be named errors`, for example: ```bash Exported variable 'scale' has or is using name 'BaseLine' from external module "node_modules/@types/typography/index" but cannot be named.ts(4023) ``` --- types/typography/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/typography/index.d.ts b/types/typography/index.d.ts index 457d2f4b45..75b70dced6 100644 --- a/types/typography/index.d.ts +++ b/types/typography/index.d.ts @@ -2,10 +2,11 @@ // Project: https://github.com/KyleAMathews/typography.js // Definitions by: Boye // Krzysztof Żuraw +// Dominic Fallows // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -interface BaseLine { +export interface BaseLine { fontSize: string; lineHeight: string; }