Type checking error with dnt - Deno