From 6bb7492faeedc4a4b26acb18700ef03c6edd261f Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 8 Nov 2018 13:18:18 +0100 Subject: [PATCH] Simply export the various `interface` definitions, rather than disabling ESLint, in `web/interfaces.js` --- web/interfaces.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/web/interfaces.js b/web/interfaces.js index 55631555e..98fe4bd2d 100644 --- a/web/interfaces.js +++ b/web/interfaces.js @@ -1,4 +1,4 @@ -/* Copyright 2014 Mozilla Foundation +/* Copyright 2018 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,9 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* eslint-disable no-unused-vars */ - -'use strict'; /** * @interface @@ -193,3 +190,12 @@ class IL10n { */ async translate(element) { } } + +export { + IPDFLinkService, + IPDFHistory, + IRenderableView, + IPDFTextLayerFactory, + IPDFAnnotationLayerFactory, + IL10n, +};