Deno bundle - error: TS7006 [ERROR]: Parameter 'x' implicitly has an 'any' type.

If you use Deno in order to build your new javascript-powered website you may use typescript. But you may also write javascript in a .ts file to iterate quick.

When you try to bundle, you may receive this error

error: TS7006 [ERROR]: Parameter 'id' implicitly has an 'any' type.

If you did the same thing as me, that being bundling to a ts-file this is the reason why.

Simply run: deno bundle app.ts app.bundle.js instead and it will work.

Sometimes it really helps to read the docs.

Show Comments