From 7fbfd17896c58282f6545f6ab3c0f60df4e6f9ed Mon Sep 17 00:00:00 2001 From: "Acid Chicken (硫酸鶏)" Date: Tue, 29 Jan 2019 14:36:24 +0900 Subject: Module 'web-push' as import syntax (#4017) --- src/push-sw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/push-sw.ts b/src/push-sw.ts index 58e695813d..07b7508459 100644 --- a/src/push-sw.ts +++ b/src/push-sw.ts @@ -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'; -- cgit v1.2.3-freya