Skip to content

Commit

Permalink
update jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
cea2aj committed Nov 24, 2021
1 parent ef508bd commit 81c8a7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sample-app/src/utils/composeCssClasses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type Composition = 'merge' | 'replace' | 'assign';
* @param builtInClasses The component's built-in css classes
* @param customClasses The custom classes to combine with the built-in ones
* @param composition The method of combining the built-in classes with the custom classes
* @returns
* @returns The composed CSS classes
*/
export function composeCssClasses<ClassInterface> (
builtInClasses: ClassInterface,
Expand All @@ -35,7 +35,7 @@ export function composeCssClasses<ClassInterface> (
/**
* Transforms the Composition types to the Compose types of the css-modules-theme library
* @param composition The composition method
* @returns
* @returns The css-modules-theme Compose type
*/
function getCssModulesCompose(composition?: Composition): Compose {
if (composition === 'replace') {
Expand All @@ -50,7 +50,7 @@ function getCssModulesCompose(composition?: Composition): Compose {
/**
* Returns true if the object can be used a as css-modules-theme Theme
* @param obj The object to test
* @returns
* @returns Whether or not the object is a Theme object
*/
function isThemeObject (obj: unknown): obj is Theme {
if (obj === null || typeof obj !== 'object') {
Expand Down

0 comments on commit 81c8a7d

Please sign in to comment.