typescript issue
See original GitHub issueerror: TS2345 [ERROR]: Argument of type ‘{ depth: number; sorted: boolean; trailingComma: boolean; compact: boolean; iterableLimit: number; }’ is not assignable to parameter of type ‘InspectOptions’. Object literal may only specify known properties, and ‘sorted’ does not exist in type ‘InspectOptions’. sorted: true, ~~~~~~~~~~~~ at https://deno.land/std@0.61.0/testing/asserts.ts:26:9
was trying out a basic example
import { Application, Router } from "https://deno.land/x/oak/mod.ts";
const app = new Application();
const router = new Router();
app.use(router.routes());
app.listen({ port: 80 });
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Issues · microsoft/TypeScript - GitHub
TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issues · microsoft/TypeScript.
Read more >Documentation - TypeScript 3.9
TypeScript 3.9 addresses this issue by changing the internals of how the compiler and language service caches file lookups.
Read more >7 really good reasons not to use TypeScript - everyday.codes
Everyone loves TypeScript. It “solves” many problems JS has, it is a “superset” of JS, it will make your code error-prone and pleasant...
Read more >Common TypeScript module problems and how to solve them
Common TypeScript module problems and how to solve them · Introduction · Problem 1: Irregular location of dependencies · Solution 1: Locate the ......
Read more >Pros and Cons of TypeScript - AltexSoft
TypeScript cons: what problems it creates · Not true static typing · One more JavaScript to learn · Bloated code · Adding extra...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The main branch only supports Deno 1.2.0. What version of Deno are you using?
Upgraded to 1.2.0 and now it works as expected, but the console now says
Check file:///app/index.ts.js
in red (formatted as error). is this normal?