Skip to content

Commit 9daddd7

Browse files
authored
duplicated "to a" (#3417)
1 parent 1019cfc commit 9daddd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/documentation/copy/en/release-notes/TypeScript 3.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export default {
380380
One thing to note is that `const` assertions can only be applied immediately on simple literal expressions.
381381

382382
```ts
383-
// Error! A 'const' assertion can only be applied to a
383+
// Error! A 'const' assertion can only be applied
384384
// to a string, number, boolean, array, or object literal.
385385
let a = (Math.random() < 0.5 ? 0 : 1) as const;
386386
let b = (60 * 60 * 1000) as const;

0 commit comments

Comments
 (0)