Skip to content

Commit

Permalink
[core] Apply @tag convention
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jun 26, 2021
1 parent ab2c468 commit da29091
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion docs/scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ function fixLineEndings(source, target) {

/**
* Converts styled or regular component d.ts file to unstyled d.ts
*
* @param {string} filename - the file of the styled or regular mui component
*/
function getUnstyledFilename(filename, definitionFile = false) {
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/utils/defaultPropsHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function getDefaultValue(propertyPath, importer) {
}

/**
*
* @param {import('doctrine').Annotation} jsdoc
* @return {{ value: string } | undefined}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ function clickedRootScrollbar(event: MouseEvent, doc: Document) {
/**
* Based on @material-ui/core/ClickAwayListener without the customization.
* We can probably strip away even more since children won't be portaled.
*
* @param onClickAway
* @param onClick
* @param onTouchStart
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-utils/macros/MuiError.macro.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function invertObject(object) {
* Supported imports:
* 1. bare specifier e.g. `'@material-ui/utils/macros/MuiError.macro'`
* 2. relative import from `packages/material-ui-utils/src` e.g. `'../macros/MuiError.macro'`
*
* @param {import('babel-plugin-macros').MacroParams} param0
*/
function muiError({ references, babel, config, source }) {
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/styles/styled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Theme } from './createTheme';

/**
* Custom styled utility that has a default MUI theme.
*
* @param tag HTML tag or component that should serve as base.
* @param options Styled options for the created component.
* @returns React component that has styles attached to it.
Expand Down
2 changes: 0 additions & 2 deletions scripts/buildTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ const exec = promisify(childProcess.exec);

/**
* Fixes a wrong import path caused by https://github.com/microsoft/TypeScript/issues/39117
*
* @remarks Paths are hardcoded since it is unclear if all these broken import paths target "public paths".
*
* @param {string} importPath - POSIX path
*/
function rewriteImportPath(importPath) {
Expand Down
1 change: 0 additions & 1 deletion scripts/releaseChangelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function parseTags(commitMessage) {
}

/**
*
* @param {Octokit.ReposCompareCommitsResponseCommitsItem} commitsItem
*/
function filterCommit(commitsItem) {
Expand Down
1 change: 0 additions & 1 deletion test/bundling/scripts/createFixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { URL } from 'url';
*/

/**
*
* @param {URL} destinationUrl
* @param {string} templateSource
* @param {Record<string, string>} templateValues
Expand Down
1 change: 0 additions & 1 deletion test/utils/describeConformance.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export function testComponentProp(element, getOptions) {

/**
* Material-UI components can spread additional props to a documented component.
*
* @param {React.ReactElement} element
* @param {() => ConformanceOptions} getOptions
*/
Expand Down

0 comments on commit da29091

Please sign in to comment.