简体   繁体   中英

Add service worker code completion to JetBrains WebStorm

I am using WebStorm.

How can I add code completion for JavaScript Service Workers?

I assume I need to add the type-script file in settings/languages&frameworks/javascript/libraries/ however I do not see it in the list.

Support for Service Worker APIs will be available in upcoming 2017.3 - see WEB-20529 . Please try 2017.3 EAP - it bundles Typescript stubs for most popular JavaScript APIs:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM