Skip to content

Commit

Permalink
feat: add jsdocs for symbol defintions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnchourajr committed May 30, 2024
1 parent d231e1a commit e6d9cd4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@buen/type",
"version": "1.0.10",
"version": "1.0.11",
"exports": "./src/index.ts",
"publish": {
"include": ["src/**/*.ts", "src/defaults.ts", "src/types.ts", "README.md"],
Expand Down
16 changes: 14 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,26 @@ export { buenTypeTailwind } from "./tailwind-plugin/buenTypeTailwind.ts";
*/
export { createRemClamp } from "./utils/createRemClamp.ts";

/**
* Types for the Buen Type module, for use when implementing custom type definitions.
*
* @module
*/
export type {
CustomTypeDefinitions,
TypeDefinition,
TypeDefinitionHeadlines,
TypeDefinitionTexts,
TypeDefinitionTexts
} from "./types.ts";


/**
* Default objects for headline and text definitions.
*
* @module
*/
export {
DEFAULT_HEADLINE as headlineDefault,
DEFAULT_TEXT as textDefault,
DEFAULT_TEXT as textDefault
} from "./defaults.ts";

0 comments on commit e6d9cd4

Please sign in to comment.