Simply export the various interface definitions, rather than disabling ESLint, in web/interfaces.js

This commit is contained in:
Jonas Jenwald 2018-11-08 13:18:18 +01:00
parent 4829f567c1
commit 6bb7492fae

View File

@ -1,4 +1,4 @@
/* Copyright 2014 Mozilla Foundation /* Copyright 2018 Mozilla Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/* eslint-disable no-unused-vars */
'use strict';
/** /**
* @interface * @interface
@ -193,3 +190,12 @@ class IL10n {
*/ */
async translate(element) { } async translate(element) { }
} }
export {
IPDFLinkService,
IPDFHistory,
IRenderableView,
IPDFTextLayerFactory,
IPDFAnnotationLayerFactory,
IL10n,
};