Skip to content

Commit

Permalink
Merge pull request #5 from aStableNaka/master
Browse files Browse the repository at this point in the history
Added exports to noise types
  • Loading branch information
joshforisha authored Apr 13, 2020
2 parents ed0f1b6 + dea216c commit 27653be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://github.com/joshforisha/open-simplex-noise-js/issues"
},
"files": [
"lib"
"src"
],
"contributors": [
"Florian Völker <[email protected]>"
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import {
p4D
} from "./constants";

type Noise2D = (x: number, y: number) => number;
export type Noise2D = (x: number, y: number) => number;

type Noise3D = (x: number, y: number, z: number) => number;
export type Noise3D = (x: number, y: number, z: number) => number;

type Noise4D = (x: number, y: number, z: number, w: number) => number;
export type Noise4D = (x: number, y: number, z: number, w: number) => number;

interface Contribution2D {
dx: number;
Expand Down

0 comments on commit 27653be

Please sign in to comment.