Open agentschmitt opened 5 years ago
x
- [ ] bug report -> please search issues before submitting - [x ] feature request
webpack version: 4
I want to import the runtime in my typescript project. import serviceworker from 'serviceworker-webpack-plugin/lib/runtime'; serviceworker.register()
import serviceworker from 'serviceworker-webpack-plugin/lib/runtime'; serviceworker.register()
But without typescript defintions serviceworker.register() is an unknown function.
I would make an pull request for this.
Bug Report or Feature Request (mark with an
x
)Versions.
Desired or expected functionality
I want to import the runtime in my typescript project.
import serviceworker from 'serviceworker-webpack-plugin/lib/runtime'; serviceworker.register()
But without typescript defintions serviceworker.register() is an unknown function.
Mention any other details that might be useful.
I would make an pull request for this.