Fixed typings for FontLoader.

This commit is contained in:
Richard Vondráček 2017-06-15 17:22:46 +02:00 committed by GitHub
parent 0680af119d
commit fd80ffb92c

View File

@ -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;
}