Skip to content

Commit

Permalink
fix: avoid import/named eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Aug 12, 2021
1 parent d90298c commit 3345373
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
export * as gaussian from './shapes/1d/gaussian/Gaussian';
export * as lorentzian from './shapes/1d/lorentzian/Lorentzian';
export * as pseudoVoigt from './shapes/1d/pseudoVoigt/PseudoVoigt';
export * as gaussian2D from './shapes/2d/gaussian2D/Gaussian2D';
import * as gaussian from './shapes/1d/gaussian/Gaussian';
import * as lorentzian from './shapes/1d/lorentzian/Lorentzian';
import * as pseudoVoigt from './shapes/1d/pseudoVoigt/PseudoVoigt';
import * as gaussian2D from './shapes/2d/gaussian2D/Gaussian2D';

export * from './util/getShape1D';
export * from './util/getShape2D';

export * from './shapes/1d/Shape1D';
export * from './shapes/2d/Shape2D';

export { gaussian, gaussian2D, lorentzian, pseudoVoigt };

export type { XYNumber } from './shapes/2d/gaussian2D/Gaussian2D';
export type { GaussianClassOptions } from './shapes/1d/gaussian/Gaussian';
export type { LorentzianClassOptions } from './shapes/1d/lorentzian/Lorentzian';
Expand Down

0 comments on commit 3345373

Please sign in to comment.