Module 'web-push' as import syntax (#4017)

This commit is contained in:
Acid Chicken (硫酸鶏)
2019-01-29 14:36:24 +09:00
committed by Aya Morisawa
parent 3d04f7db62
commit 7fbfd17896
2 changed files with 2 additions and 1 deletions

View File

@ -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';