From fd80ffb92cf3834fcc3112fae4ce623f8bfbd520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Vondr=C3=A1=C4=8Dek?= Date: Thu, 15 Jun 2017 17:22:46 +0200 Subject: [PATCH] Fixed typings for FontLoader. --- types/three/three-core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 5679c4e8c7..7f81a6af56 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -2100,7 +2100,7 @@ export class FontLoader { manager: LoadingManager; - load(url: string, onLoad?: (responseText: string) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void; + load(url: string, onLoad?: (responseFont: Font) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void; parse(json: string): Font; }