Adam ScottA
Denoβ€’8mo agoβ€’
1 reply
Adam Scott

Is there a way to use `tsconfig.json` `compilerOptions.types`?

I just saw that
/// <reference types="npm:@types/serviceworker" />

works in my project, but is there somehow a way to set the type instead in the tsconfig.json file like normal Node/TypeScript projects?
Was this page helpful?