danmarshall/deckgl-typings

Module "debug" is declared, which is not part of deckgl

cafca opened this issue · 0 comments

cafca commented

In deck.gl__core/index.d.ts there is a declare module "debug" statement, which conflicts with actual type definitions for the debug package in my project.

In addition to that the type is wrong (return type of debug(eventType) is not void).

I will make a PR to remove that definition.

declare module "debug" {
export function register(handlers: any): void;
export default function debug(eventType: any): void;
}