Skip to content

Commit

Permalink
fix: interface export remove
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Mar 7, 2021
1 parent 2624fca commit a7f9452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
14 changes: 1 addition & 13 deletions misc/storybook-custom-docs/src/manager-loader.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
WebpackLoaderContext,
LoaderOptions,
} from '@component-controls/core/node-utils';
import { WebpackLoaderContext } from '@component-controls/core/node-utils';
import { getOptions } from 'loader-utils';

interface DocsOptions {
Expand Down Expand Up @@ -73,12 +70,3 @@ function loader(this: WebpackLoaderContext): any {
}

module.exports.default = loader;

/**
* expose public types via declaration merging
*/
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace loader {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Options extends LoaderOptions {}
}
14 changes: 1 addition & 13 deletions misc/storybook-custom-docs/src/preview-loader.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
WebpackLoaderContext,
LoaderOptions,
} from '@component-controls/core/node-utils';
import { WebpackLoaderContext } from '@component-controls/core/node-utils';
import { getOptions } from 'loader-utils';

interface DocsOptions {
Expand Down Expand Up @@ -108,12 +105,3 @@ ${
}

module.exports.default = loader;

/**
* expose public types via declaration merging
*/
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace loader {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Options extends LoaderOptions {}
}

0 comments on commit a7f9452

Please sign in to comment.