Skip to content

Commit

Permalink
Make module namespace umap
Browse files Browse the repository at this point in the history
  • Loading branch information
cannoneyed committed Feb 26, 2019
1 parent cdfaf44 commit 4e06381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/umap-js.d.ts
@@ -1,6 +1,6 @@
// Generated by dts-bundle v0.7.3

declare module 'umap-js' {
declare module 'umap' {
export type DistanceFn = (x: Vector, y: Vector) => number;
export type EpochCallback = (epoch: number) => boolean | void;
export type Vector = number[];
Expand Down
2 changes: 1 addition & 1 deletion webpack/lib.config.ts
Expand Up @@ -25,7 +25,7 @@ export default {
optimization: { minimize: false },
plugins: [
new DtsBundleWebpack({
name: 'umap-js',
name: 'umap',
main: 'dist/umap.d.ts',
out: '../lib/umap-js.d.ts',
}),
Expand Down

0 comments on commit 4e06381

Please sign in to comment.