Skip to content

Commit

Permalink
docs(geom-api): add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 23, 2022
1 parent c46836c commit 303128b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/geom-api/src/sample.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
export let DEFAULT_SAMPLES = 20;

/**
* Sets the number of {@link DEFAULT_SAMPLES} for various operations.
*
* @param n
*/
export const setDefaultSamples = (n: number) => (DEFAULT_SAMPLES = n);

export interface SamplingOpts {
Expand Down

0 comments on commit 303128b

Please sign in to comment.