Closed horihiro closed 4 years ago
I am in the process of transitioning to TypeScript on master
. Generally, I keep master
in working order, but it's indeed broken at the moment.
For now, you should use the latest tagged release. Meaning, you should include the version in the path and use run.js
instead of run.ts
.
Or if you are making a script, then instead of inport pogo from 'https://deno.land/x/pogo/main.ts'
, you should use inport pogo from 'https://deno.land/x/pogo@v0.3.0/main.js'
.
I fixed this by removing the TypeScript changes from master
. Will re-introduce them later via a PR when it's working properly. For now, you should use .js
/ .jsx
files to import Pogo. On older versions of Deno, you can use .ts
/ .tsx
, but Deno's TypeScript config is stricter in recent versions and it breaks.
Let me know if you continue to have any problems. If it's not working and you are importing Pogo from a local file, you likely need to use Deno's --reload
flag once to download the latest dependencies that include the fix.
I tried to run the following
hello world
example on Deno 0.36.0. https://github.com/sholladay/pogo/blob/master/example/hello-world/run.tsBut I got many errors...
Could you please look into this?
Regards,