index.d.ts 270 B

123456789
  1. import { Config } from '@svgr/core';
  2. import * as webpack from 'webpack';
  3. interface LoaderOptions extends Config {
  4. babel?: boolean;
  5. }
  6. declare function svgrLoader(this: webpack.LoaderContext<LoaderOptions>, contents: string): void;
  7. export { svgrLoader as default };