Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

typescript definitions #98

Open
agentschmitt opened this issue Apr 2, 2019 · 0 comments
Open

typescript definitions #98

agentschmitt opened this issue Apr 2, 2019 · 0 comments

Comments

@agentschmitt
Copy link

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request

Versions.

webpack version: 4

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant