Skip to content

Commit 8460756

Browse files
docs(README.md): update
1 parent 62af668 commit 8460756

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,12 +1355,12 @@ function configFunction(value: string): string {
13551355
return '';
13561356
}
13571357

1358-
// Cause typescript return `boolean` this will generate an type error
1358+
// Cause typescript returns `boolean` this will generate a type error
13591359
if (is.not.undefined(config.a)) {
13601360
configFunction(config.a);
13611361
}
13621362

1363-
// Cause typescript return `value is boolean` this will not generate an error
1363+
// Cause typescript return `value is boolean` will not generate an error.
13641364
if (!is.undefined(config.a)) {
13651365
configFunction(config.a);
13661366
}

packages/type/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,12 +1355,12 @@ function configFunction(value: string): string {
13551355
return '';
13561356
}
13571357

1358-
// Cause typescript return `boolean` this will generate an type error
1358+
// Cause typescript returns `boolean` this will generate a type error
13591359
if (is.not.undefined(config.a)) {
13601360
configFunction(config.a);
13611361
}
13621362

1363-
// Cause typescript return `value is boolean` this will not generate an error
1363+
// Cause typescript return `value is boolean` will not generate an error.
13641364
if (!is.undefined(config.a)) {
13651365
configFunction(config.a);
13661366
}

0 commit comments

Comments
 (0)