chore: fix typos in comment-out (#11197)

This commit is contained in:
Noritaka Kobayashi 2025-05-27 17:38:35 +09:00 committed by GitHub
parent ba18a8b8b9
commit 8958c11c58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -119,7 +119,7 @@ export default class IdealImage extends Component {
/*
static propTypes = {
/!** how much to wait in ms until concider download to slow *!/
/!** how much to wait in ms until consider download to slow *!/
threshold: PropTypes.number,
/!** function to generate src based on width and format *!/
getUrl: PropTypes.func,

View File

@ -9,7 +9,7 @@
* and return as `style` property.
*
* Usage:
* Asume you have `theme` object, which can be css-module
* Assume you have `theme` object, which can be css-module
* or object or other css-in-js compatible with css-module
*
* <a {...compose(theme.link, theme.active, {color: "#000"})}>link</a>

View File

@ -6,7 +6,7 @@ export class UnfetchAbortController {
}
// modified version of https://github.com/developit/unfetch
// - ponyfill intead of polyfill
// - ponyfill instead of polyfill
// - add support for AbortController
export const unfetch = (url, options) => {
options = options || {};

View File

@ -478,7 +478,7 @@ describe('readCodeTranslationFileContent', () => {
return readCodeTranslationFileContent({localizationDir});
}
it("returns undefined if file does't exist", async () => {
it("returns undefined if file doesn't exist", async () => {
await expect(
readCodeTranslationFileContent({localizationDir: 'foo'}),
).resolves.toBeUndefined();