Module 'web-push' as import syntax (#4017)
This commit is contained in:
parent
3d04f7db62
commit
7fbfd17896
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
const push = require('web-push');
|
||||
import * as push from 'web-push';
|
||||
import * as mongo from 'mongodb';
|
||||
import Subscription from './models/sw-subscription';
|
||||
import config from './config';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue